Click here to Skip to main content
15,891,981 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have used ASP.NET Website Configuration To my application. It works in my Local Server fine but When i publish to the hosting server it shows error while login and login fails with an error.
The error is "Server Error in '/' Application."
Please help me out what to do.
Posted
Comments
[no name] 25-Jul-13 5:09am    
You need to read the rest of the error message and do what it says.
Jiban jyoti Rana 25-Jul-13 5:49am    
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".
[no name] 25-Jul-13 6:02am    
And so? Now go do what it tells you so you can find out the real error message.

1 solution

The error message is pretty specific - it gives you the instructions you need to follow to find out what the problem is.
Look at the "details" section of the error message, and follow the instructions. Then run your site again, and you should see the "proper" error message and a line of code reference where the error occurred.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900