server error in application...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lily86
    New Member
    • Aug 2008
    • 16

    server error in application...

    I create one aspx page but when i wan run through server it can't run and show the error....

    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=xml]
    <!-- Web.Config Configuration File -->

    <configuratio n>
    <system.web>
    <customErrors mode="Off"/>
    </system.web>
    </configuration>
    [/code]

    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirec t" attribute of the application's <customErrors > configuration tag to point to a custom error page URL.

    [code=xml]
    <!-- Web.Config Configuration File -->

    <configuratio n>
    <system.web>
    <customErrors mode="RemoteOnl y" defaultRedirect ="mycustompage. htm"/>
    </system.web>
    </configuration>
    [/code]
    but i don't have web.config file so what should i do? help please.... thanks!!!
    Last edited by pbmods; Feb 7 '09, 06:55 AM. Reason: Added CODE tags.
  • amirghaffarie1362
    New Member
    • Jan 2009
    • 19

    #2
    You shoudl have web.config file ?????? y u dont have one????

    Comment

    Working...