neronikita
Technical User
Hi!
I have some experience with ASP pages, but am new to ASP.Net and visual studio 2008 and visual studio 2010 web.
I have a database on a virtual server, which is also where my IIS is set up. I'm trying to create an internal web site that we can use to access our database. No matter what I try, I get the same error and can't seem to get past it:
Server Error in '/Dispatch' Application.
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>
I am creating the website remotely using FTP. I'm so new at this that I'm not sure what else to mention here. I get that it's not working because it's on a remote machine and there's some error that it won't tell me for security reasons. I tried creating it on my local machine, but can't get attached to the remote database for some reason - it won't even let me create a new, empty local database - so I have to get past this to do anything. If anyone has any ideas, I would really appreciate the input.
Thanks in advance!
Di
PS: When I go to the virtual machine and try to access the page, I get this error:
Server Error in '/' Application.
--------------------------------------------------------------------------------
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 20: <forms loginUrl="~/Account/Login.aspx" timeout="2880"/>
Line 21: </authentication>-->
Line 22: <authentication mode="Windows"/>
Line 23: <membership>
Line 24: <providers>
Source File: C:\WEB\esidb.local\esi database 2\web.config Line: 22
I have some experience with ASP pages, but am new to ASP.Net and visual studio 2008 and visual studio 2010 web.
I have a database on a virtual server, which is also where my IIS is set up. I'm trying to create an internal web site that we can use to access our database. No matter what I try, I get the same error and can't seem to get past it:
Server Error in '/Dispatch' Application.
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>
I am creating the website remotely using FTP. I'm so new at this that I'm not sure what else to mention here. I get that it's not working because it's on a remote machine and there's some error that it won't tell me for security reasons. I tried creating it on my local machine, but can't get attached to the remote database for some reason - it won't even let me create a new, empty local database - so I have to get past this to do anything. If anyone has any ideas, I would really appreciate the input.
Thanks in advance!
Di
PS: When I go to the virtual machine and try to access the page, I get this error:
Server Error in '/' Application.
--------------------------------------------------------------------------------
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 20: <forms loginUrl="~/Account/Login.aspx" timeout="2880"/>
Line 21: </authentication>-->
Line 22: <authentication mode="Windows"/>
Line 23: <membership>
Line 24: <providers>
Source File: C:\WEB\esidb.local\esi database 2\web.config Line: 22