I am new to asp.net and can not gat it to work.

Last post 10-31-2006 9:17 PM by Kumar Reddi. 3 replies.

Sort Posts:

  • I am new to asp.net and can not gat it to work.

    10-26-2006, 2:07 PM
    • Loading...
    • toadmar
    • Joined on 10-26-2006, 6:01 PM
    • Posts 21

    Hi,

    I have a windows 2003 running iis6.0.

    i wote a program on Visual Web Developer 2005, and tested just fine.  When i put it on the web server 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>

     

     

     

    Can someone help?

     

    Tahnk you

     

     

    Filed under: , , ,
  • Re: I am new to asp.net and can not gat it to work.

    10-27-2006, 3:30 AM

    hi,

    how did you put in webserver. did you created virtual directory!!!

    regards,

    satish.

    Kind Attn: If a reply to your post helped you, kindly mark it as Answered.
    __________________________________________________
    Please save Animals Help World Society For Protection Of Animals,
    Protect these speechless creatures of GOD
  • Re: I am new to asp.net and can not gat it to work.

    10-30-2006, 11:18 AM
    • Loading...
    • toadmar
    • Joined on 10-26-2006, 6:01 PM
    • Posts 21
    Yes the code is in a virtual directory.
  • Re: I am new to asp.net and can not gat it to work.

    10-31-2006, 9:17 PM
    Answer

    ok. do what the error message suggests and turn off the customErrors. It should give you the actual error. So, we can take it from there

    <configuration>
    <system.web>
    <customErrors mode="Off"/>
    </system.web>
    </configuration>
     

    Kumar Reddi
Page 1 of 1 (4 items)
Microsoft Communities
Page view counter