I am having trouble getting any of my ASP.NET pages to run on a remote server. All of the problems are contained within one project. I can make projects that run with ASP.NET fine in other directories on the server. I gave ASP.NET Modify on teh directory the
project is in, and allowed to permissions to propagate through the directory structure. Here is the error msg: Server Error in '/seminartest/test' 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 tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then
have its "mode" attribute set to "Off". 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 configuration tag to point to a custom error page URL. I've followed
these instructions, and here is my web.config file:
Set compilation debug="true" to insert debugging symbols (.pdb information)
into the compiled page. Because this creates a larger file that executes
more slowly, you should set this value to true only when debugging and to
false at all other times. For more information, refer to the documentation about
debugging ASP.NET files.
-->
Set customErrors mode="On" or "RemoteOnly" to enable custom error messages, "Off" to disable.
Add tags for each of the errors you want to handle.
-->
This section sets the authentication policies of the application. Possible modes are "Windows",
"Forms", "Passport" and "None"
-->
This section sets the authorization policies of the application. You can allow or deny access
to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous
(unauthenticated) users.
-->
roles="[comma separated list of roles]"/>
<deny users="[comma separated list of users]"
roles="[comma separated list of roles]"/>
-->
Application-level tracing enables trace log output for every page within an application.
Set trace enabled="true" to enable application trace logging. If pageOutput="true", the
trace information will be displayed at the bottom of each page. Otherwise, you can view the
application trace log by browsing the "trace.axd" page from your web application
root.
-->
By default ASP.NET uses cookies to identify which requests belong to a particular session.
If cookies are not available, a session can be tracked by adding a session identifier to the URL.
To disable cookies, set sessionState cookieless="true".
-->
<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;user id=sa;password="
cookieless="false"
timeout="20"
/>
This section sets the globalization settings of the application.
-->
It is possible that the error is in config and thus the customError setting is not applied. I suggest: 1) Reduce your app's web config to just: 2) set custom errors off in machine.config 3) go (terminal server) to the machine and issue a request from there.
I have the same problem Here is my web.config: <forms name="CheckUserID" loginUrl="login.aspx" protection="All" timeout="30" path="/"> </forms> and I don't know how to request from the terminal server. Please help
Minimize or remove the web.config file and test again. Also check (or remove) the global.asax file and test. Common reasons for this error are problems with the web.config or global.asax files - or it could even be permissions-related in which case you'll need
to get your system administrator (or web host) involved to correct it.
No luck when I tried renaming to web.config to oldweb.configold and global.asax to oldglobal.asaxold . I'll try changing the setting in the machine.config tomorrow. As for the machine.config file, will the customerrors directive in there override the settings
on other webs?
OK. So you renamed both of them and tested a simple ASP.Net? Like just a hello world page? If so, then I'd start looking at permissions. If the ASPNET account (or whatever account you might have used for the process identity [if you changed it])) doesn't have
access to the content folders *and the parent folders* that can also trigger this error.
Yep - gave Hello World a whirl - no luck. ASPNet Has List, Read & Execute form InetPub on down. My folder is in the root of wwwroot. I'm going to try setting up a folder & virtual dir + app mapping in the root of the server's hard drive (E:\MyFolder), and trying
it out tomorrow also. I haven't messed with the Impersonation settings o any of the processModel stuff.
"InetPub on down" You mean down or up? If the webs are on D:, try assigning ASPNET with read permissions on D:, D:\inetpub\, and D:\inetpub\wwwroot\ (if it isn't already) and see if that makes any difference.
I tried running the pages from Internet Explorer directly on the webserver. Same error message. ASPNET has Read + Execute starting at Inetpub, and the permissions are inherited throughout the rest of the tree below it.
bdesmond
Contributor
4745 Points
944 Posts
MVP
Server Error in '\' Application
Jul 18, 2002 11:51 PM|LINK
Set compilation debug="true" to insert debugging symbols (.pdb information) into the compiled page. Because this creates a larger file that executes more slowly, you should set this value to true only when debugging and to false at all other times. For more information, refer to the documentation about debugging ASP.NET files. --> Set customErrors mode="On" or "RemoteOnly" to enable custom error messages, "Off" to disable. Add tags for each of the errors you want to handle. --> This section sets the authentication policies of the application. Possible modes are "Windows", "Forms", "Passport" and "None" --> This section sets the authorization policies of the application. You can allow or deny access to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous (unauthenticated) users. --> roles="[comma separated list of roles]"/> <deny users="[comma separated list of users]" roles="[comma separated list of roles]"/> --> Application-level tracing enables trace log output for every page within an application. Set trace enabled="true" to enable application trace logging. If pageOutput="true", the trace information will be displayed at the bottom of each page. Otherwise, you can view the application trace log by browsing the "trace.axd" page from your web application root. --> By default ASP.NET uses cookies to identify which requests belong to a particular session. If cookies are not available, a session can be tracked by adding a session identifier to the URL. To disable cookies, set sessionState cookieless="true". --> <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa;password=" cookieless="false" timeout="20" /> This section sets the globalization settings of the application. -->Windows Server MVP - Directory Services
http://www.briandesmond.com
DmitryR
Member
180 Points
36 Posts
Microsoft
Re: Server Error in '\' Application
Jul 19, 2002 08:10 PM|LINK
ultrafunkyed
Member
5 Points
1 Post
Re: Server Error in '\' Application
Jul 25, 2002 05:53 PM|LINK
sbradk
Participant
1110 Points
224 Posts
ASPInsiders
Re: Server Error in '\' Application
Jul 28, 2002 12:21 PM|LINK
MCSE, ASPInsider
www.orcsweb.com
bdesmond
Contributor
4745 Points
944 Posts
MVP
Re: Server Error in '\' Application
Jul 30, 2002 08:30 PM|LINK
Windows Server MVP - Directory Services
http://www.briandesmond.com
sbradk
Participant
1110 Points
224 Posts
ASPInsiders
Re: Server Error in '\' Application
Jul 30, 2002 08:58 PM|LINK
MCSE, ASPInsider
www.orcsweb.com
bdesmond
Contributor
4745 Points
944 Posts
MVP
Re: Server Error in '\' Application
Jul 31, 2002 12:40 AM|LINK
Windows Server MVP - Directory Services
http://www.briandesmond.com
sbradk
Participant
1110 Points
224 Posts
ASPInsiders
Re: Server Error in '\' Application
Jul 31, 2002 02:11 AM|LINK
MCSE, ASPInsider
www.orcsweb.com
sbradk
Participant
1110 Points
224 Posts
ASPInsiders
Re: Server Error in '\' Application
Jul 31, 2002 02:12 AM|LINK
MCSE, ASPInsider
www.orcsweb.com
bdesmond
Contributor
4745 Points
944 Posts
MVP
Re: Server Error in '\' Application
Jul 31, 2002 07:16 PM|LINK
Windows Server MVP - Directory Services
http://www.briandesmond.com