Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old March 26th, 2008, 11:19 AM
Beb Beb is offline
Newbie
 
Join Date: Jan 2008
Posts: 9
Default 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>
Reply
  #2  
Old March 26th, 2008, 05:28 PM
nateraaaa's Avatar
Expert
 
Join Date: May 2007
Location: Illinois
Posts: 661
Default

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
Reply
  #3  
Old March 26th, 2008, 07:19 PM
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 6,121
Default

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.
Reply
  #4  
Old March 27th, 2008, 02:08 AM
balabaster's Avatar
Expert
 
Join Date: Mar 2007
Location: Canada
Age: 32
Posts: 681
Default

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.
Reply
  #5  
Old March 27th, 2008, 03:11 AM
Beb Beb is offline
Newbie
 
Join Date: Jan 2008
Posts: 9
Default

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!
Reply
  #6  
Old March 27th, 2008, 03:12 AM
Beb Beb is offline
Newbie
 
Join Date: Jan 2008
Posts: 9
Default

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
Reply
  #7  
Old March 27th, 2008, 03:13 AM
Beb Beb is offline
Newbie
 
Join Date: Jan 2008
Posts: 9
Default

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!
Reply
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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 network members.
Post your question now . . .
It's fast and it's free

Popular Articles