Runtime Error 
March 26th, 2008, 10:19 AM
| | Newbie | | Join Date: Jan 2008
Posts: 9
| | Runtime Error
Can anyone explain why I am getting this error message? I uploaded my files onto the server and when I go to the site the default page does not display only the error message. If it helps to know the site was developed in javascript and the default page is .aspx. what do this mean and how can I correct it? Here is what I get.
Server Error in '/' 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>
| 
March 26th, 2008, 04:28 PM
|  | Expert | | Join Date: May 2007 Location: Illinois
Posts: 663
| |
Does the application build successfully on your local machine? How are you copying the files to the production server? Have you verified that the dll for this application exists on the production server?
Nathan
| 
March 26th, 2008, 06:19 PM
|  | Moderator | | Join Date: Apr 2007 Location: New England
Posts: 6,731
| |
If you wish to know what the error is, follow the directions they give you and edit the web.config file to have
<customErrors mode="Off"/>
So that it will show you more details about the error message.
| 
March 27th, 2008, 01:08 AM
|  | Moderator | | Join Date: Mar 2007 Location: Canada Age: 33
Posts: 757
| | Quote: |
Originally Posted by Plater If you wish to know what the error is, follow the directions they give you and edit the web.config file to have
<customErrors mode="Off"/>
So that it will show you more details about the error message. | Or fire up Internet Explorer on the server and load the website - it'll give you the detailed error message if you load it up on the server, just not if you load it up on another machine.
| 
March 27th, 2008, 02:11 AM
| | Newbie | | Join Date: Jan 2008
Posts: 9
| | Quote: |
Originally Posted by Plater If you wish to know what the error is, follow the directions they give you and edit the web.config file to have
<customErrors mode="Off"/>
So that it will show you more details about the error message. | Seems that was the fix. Thanks all!
| 
March 27th, 2008, 02:12 AM
| | Newbie | | Join Date: Jan 2008
Posts: 9
| | Quote: |
Originally Posted by nateraaaa Does the application build successfully on your local machine? How are you copying the files to the production server? Have you verified that the dll for this application exists on the production server?
Nathan | That was the fix! Thanks
| 
March 27th, 2008, 02:13 AM
| | Newbie | | Join Date: Jan 2008
Posts: 9
| | Quote: |
Originally Posted by balabaster Or fire up Internet Explorer on the server and load the website - it'll give you the detailed error message if you load it up on the server, just not if you load it up on another machine. |
You Guys are the bomb! It works fine now!
|  | | Thread Tools | Search this Thread | | | | | | | What is Bytes?
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 220,989 network members.
|