|
| Site not working after hosting |
 |
Sat, 23 Feb 2008 05:01:15 +000 |
I had developed a site using asp.net 2.0, C# 2005. The site is working very well
on my local machine where the site is developed, but after I upload/publish the
site on the server it gives an error message.
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.
You can check this right now on url http://exs.co.in/newone/ I dont know why. I
had also added "<customErrors mode="Off"/>" tag as
stated in the error message.
On my local machine where I had developed the site, IIS version is 5.1, and the
server where I am hosting the site is having IIS version 5.0. Is this the reason
why I am getting error message?
What can be done to run the site properly on the server. Please let me know.
Thanks & Regards
Girish Nehte
|
| Post Reply
|
| Re: Site not working after hosting |
 |
Sat, 23 Feb 2008 05:26:40 +000 |
Make sure you are working on the correct .NET version for the hosting site. This
can be set in the ASP.NET tab of your web properties in the IIS.
Thanks
|
| Post Reply
|
| Re: Site not working after hosting |
 |
Sat, 23 Feb 2008 07:57:17 +000 |
What is probably happening is that something in your web.config file is invalid
so it's not able to apply the <customErrors mode="Off"/> to tell
you what the real error is. What I suggest is to strip your web.config file to
as bare as possible and upload and do a simple test of a test.aspx page. Once
you have that working, then start adding back parts until you have it fully
working.
A common error that you may have is that the /newone/ folder isn't marked as an
application, and you have settings that aren't allowed in a regular subfolder.
You should set your newone folder as an application and see if that addresses
the first error.
So, you have 2 errors. One is causing the original error, and the second is
keeping your web.config file from allowing you to show you the real error.
|
| Post Reply
|
| Re: Site not working after hosting |
 |
Sat, 23 Feb 2008 23:58:43 +000 |
Make sure you have configured your app folder as an application in IIS.
Jeff
|
| Post Reply
|
|
|
|
|
|
|
|
|
|