Error after uploading aspx files... please help

Discussion in 'C#' started by newbee_seo, Feb 2, 2010.

  1. #1
    Hi...
    I have made a website in asp.net and want to upload it to a reserved domain. I have uploaded all the files but the following error is coming after opening the site:

    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>


    I have set customErrors mode to off but still I am not able to resolve the error.
    Please help..
     
    newbee_seo, Feb 2, 2010 IP
  2. jonmaster

    jonmaster Peon

    Messages:
    181
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    SET YOUR CUSTOM ERROR TO ON, FOR NOW

    <customErrors mode="On" defaultRedirect="mycustompage.htm"/>

    , then you will see the error.


    since this is the first time you are getting this error, it should be

    configuring your virtual directory in the hosting to application.

    cheers
     
    jonmaster, Feb 2, 2010 IP
  3. SeoKungFu

    SeoKungFu Active Member

    Messages:
    206
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #3
    Yes, go after debugging then take it off, after allocate/fixing is done.
     
    SeoKungFu, Feb 3, 2010 IP
  4. oliver_ajans

    oliver_ajans Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Please chech web.config in custom areas.
     
    oliver_ajans, Mar 6, 2010 IP