Current location: Hot Scripts Forums » Programming Languages » ASP.NET » Help Me


Help Me

Reply
  #1 (permalink)  
Old 03-10-08, 09:45 AM
nitesh98 nitesh98 is offline
Newbie Coder
 
Join Date: Mar 2008
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Help Me

Hello Everyone,

I am trying to upload file on a website hosted by godaddy via ftp but it is showing me this error. Please see this error and tell me how to solve this problem.




Quote:
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".

Code:
<!-- 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.

Code:
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>

Last edited by Nico; 03-10-08 at 10:14 AM.
Reply With Quote
  #2 (permalink)  
Old 03-10-08, 12:23 PM
digioz's Avatar
digioz digioz is offline
Community VIP
 
Join Date: Oct 2003
Location: Chicago, IL
Posts: 2,171
Thanks: 3
Thanked 9 Times in 9 Posts
Did you do as it says and create a custom Error tag in your web.config file? The error you are getting is NOT the actual error. You have to do as it says for it to show you the actual error.
__________________
Reply With Quote
  #3 (permalink)  
Old 03-10-08, 11:17 PM
nitesh98 nitesh98 is offline
Newbie Coder
 
Join Date: Mar 2008
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Hello Sir,

Yes, I did the same as it is saying but still there is same error. Is there any other solution?

Thank You
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 02:36 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.