Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности
|
|
|
Помогите с ошибкой
|
|||
|---|---|---|---|
|
#18+
Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off". <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration> Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL. <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> </system.web> </configuration> ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.08.2006, 11:16 |
|
||
|
Помогите с ошибкой
|
|||
|---|---|---|---|
|
#18+
Это описание абсолютно неинформативно. По нему можно только понять, что Вы обратились к какой-то странице своего ASP.NET сайта с удаленной машины и там что-то не работает. Описание ошибки скрыто из соображений безопасности :) 1) Попробуйте зайти на сайт с локальной для него машины ("The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.") 2) Проверьте, что все необходимые сервера и базы живы ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.08.2006, 11:24 |
|
||
|
Помогите с ошибкой
|
|||
|---|---|---|---|
|
#18+
Локально все работает. Я не сильный специалист в ASP.NET. Я только учусь. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.08.2006, 11:35 |
|
||
|
Помогите с ошибкой
|
|||
|---|---|---|---|
|
#18+
С той ошибкой разобрался, появилась новая. Server Error in '/' Application. -------------------------------------------------------------------------------- The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\V2.0.50727\Temporary ASP.NET Files'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\V2.0.50727\Temporary ASP.NET Files'. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [HttpException (0x80004005): The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\V2.0.50727\Temporary ASP.NET Files'.] System.Web.HttpRuntime.SetUpCodegenDirectory(CompilationSection compilationSection) +3474107 System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags) +226 [HttpException (0x80004005): The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\V2.0.50727\Temporary ASP.NET Files'.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3426839 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +149 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.08.2006, 12:41 |
|
||
|
Помогите с ошибкой
|
|||
|---|---|---|---|
|
#18+
NT AUTHORITY\NETWORK SERVICE вот этому пользователю, надо поставить права на запись к папке C:\WINDOWS\Microsoft.NET\Framework\V2.0.50727\Temporary ASP.NET File судя по тексту ошибки.:) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.08.2006, 13:20 |
|
||
|
Помогите с ошибкой
|
|||
|---|---|---|---|
|
#18+
Право на запись дал теперь такое: Server Error in '/' Application. -------------------------------------------------------------------------------- The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested URL: /WEB1/Default.aspx -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.08.2006, 14:15 |
|
||
|
Помогите с ошибкой
|
|||
|---|---|---|---|
|
#18+
проверь, реально ли там ресурс находится. по этому пути /WEB1/Default.aspx ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.08.2006, 14:19 |
|
||
|
Помогите с ошибкой
|
|||
|---|---|---|---|
|
#18+
C:\inetpub\wwwroot\Default.aspx лежит там а в домашний коталог. локальный путь C:\inetpub\wwwroot все правильно? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.08.2006, 14:35 |
|
||
|
Помогите с ошибкой
|
|||
|---|---|---|---|
|
#18+
нет. C:\inetpub\wwwroot\ WEB1\ Default.aspx где WEB1 - папка, в которой леджит весь проект. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.08.2006, 14:40 |
|
||
|
Помогите с ошибкой
|
|||
|---|---|---|---|
|
#18+
исправил теперь такая ошибка. ASP.NET Version:2.0.50727.42 Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. Source Error: Line 44: <!-- Web.Config Configuration File --> Line 45: Line 46: <authentication mode="Forms"/> Line 47: <!-- Line 48: The <customErrors> section enables configuration Source File: C:\inetpub\wwwroot\web1\web.config Line: 46 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.08.2006, 15:00 |
|
||
|
Помогите с ошибкой
|
|||
|---|---|---|---|
|
#18+
в настройках IIS следующее: зайти в IIS Manager, там в Default Web Site, найдт ппку с именем своего проекта. В свойствах проекта, на первой закладке нажми копнку Create напротив Application name. Должно помочь. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.08.2006, 15:04 |
|
||
|
Помогите с ошибкой
|
|||
|---|---|---|---|
|
#18+
А я могу вызывать модально окна в Web? Если да, то как избежать ошибки? Server Error in '/WEB1' Application. Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.] System.Windows.Forms.Form.ShowDialog(IWin32Window owner) +2084501 System.Windows.Forms.Form.ShowDialog() +6 WebConClass.WebFormClass.Connect() in C:\Documents and Settings\Administrator\Desktop\VS Temp\WebConClass\WebConClass\WebFormClass.cs:13 _Default.Page_Load(Object sender, EventArgs e) +59 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +47 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061 Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.08.2006, 15:24 |
|
||
|
Помогите с ошибкой
|
|||
|---|---|---|---|
|
#18+
Признаюсь насчет вызова модальных окон не знаю:( так как пока не приходилось пользоваться... проверь код приложения, и исправь все в соответсвии с ошибкой. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.08.2006, 15:32 |
|
||
|
Помогите с ошибкой
|
|||
|---|---|---|---|
|
#18+
Самое интересное что, в дебагере в VS2005 все работает без ошибок. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.08.2006, 15:41 |
|
||
|
Помогите с ошибкой
|
|||
|---|---|---|---|
|
#18+
А я могу вызывать модально окна в Web? Если да, то как избежать ошибки? Server Error in '/WEB1' Application. Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Модальный диалог надо вызывать средствами JavaScript с помощью метода window.showModalDialog. Методы из пространства имен System.Windows.Forms в ASP.NET нельзя использовать. Из-за этого ошибка и возникает. Дело в том, что раз ASP.NET выполняется на сервере, то и диалог при таком вызове должен был бы появится на сервере (а не у клиента), но настройки сервиса не дают ему прав на такое действие. В любом случае это неправильный подход. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.08.2006, 15:58 |
|
||
|
|

start [/forum/topic.php?fid=18&fpage=895&tid=1390218]: |
0ms |
get settings: |
10ms |
get forum list: |
15ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
24ms |
get topic data: |
10ms |
get forum data: |
3ms |
get page messages: |
47ms |
get tp. blocked users: |
2ms |
| others: | 218ms |
| total: | 335ms |

| 0 / 0 |
