Is there a quick way of determing weather it's your application thats not working or your IIS Server
I have created a Simple website which I (from another pc) can access -
Index.htm - works no problem
Index.asp - works no problem
Created a one page aspx (not accessing any data - page just says hello) and publish it to my simple website directory and I get this
Any Ideas....
Server Error in '/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 <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".
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.
agwright
Member
8 Points
56 Posts
IIS or Application
Jul 04, 2007 08:48 AM|LINK
Is there a quick way of determing weather it's your application thats not working or your IIS Server
I have created a Simple website which I (from another pc) can access -
Index.htm - works no problem
Index.asp - works no problem
Created a one page aspx (not accessing any data - page just says hello) and publish it to my simple website directory and I get this
Any Ideas....Server Error in '/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 <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".
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.
bhaskar_412
Member
276 Points
55 Posts
Re: IIS or Application
Jul 04, 2007 09:00 AM|LINK
Can you set the customErrors mode = "off", and post the stack strace ?
Thanks
Bhaskar
agwright
Member
8 Points
56 Posts
Re: IIS or Application
Jul 04, 2007 09:10 AM|LINK
Er Yes - is this in the Web.config page ?
??
naturehermit
Star
14610 Points
3046 Posts
Re: IIS or Application
Jul 04, 2007 09:37 AM|LINK
I can assure you, your IIs is working otherwise you wont see that page.
bhaskar_412
Member
276 Points
55 Posts
Re: IIS or Application
Jul 04, 2007 09:43 AM|LINK
yes its in Web.config file. also let me know if you are working on ASP.NET2.0 or 1.1
Thanks
Bhaskar
agwright
Member
8 Points
56 Posts
Re: IIS or Application
Jul 04, 2007 09:52 AM|LINK
HI
In the web.config page added to the bottom off the code and using ASP.NET2.0
Saved the file - and republished the site - and still getting the same error !!
<customErrors mode="Off"/></
system.web></
configuration>naturehermit
Star
14610 Points
3046 Posts
Re: IIS or Application
Jul 04, 2007 10:23 AM|LINK
lol set the customErrors mode="Off">
agwright
Member
8 Points
56 Posts
Re: IIS or Application
Jul 04, 2007 10:33 AM|LINK
Doh LOL
it's now <customErrors mode="on"/>
Again published and tested - same error
So does this mean something is not quite right with my IIS ?
naturehermit
Star
14610 Points
3046 Posts
Re: IIS or Application
Jul 04, 2007 10:40 AM|LINK
Lol sorry, my answer added wrong place..but as I said again your IIs is working fine, now do you have any other web.config in the project.agwright
Member
8 Points
56 Posts
Re: IIS or Application
Jul 04, 2007 12:10 PM|LINK
In my website folder contains:
Folder called Bin
Default.aspx
PrecompiledApp.config
web.config