iis

Why am I getting Server Error in '/' Application in IIS?


Server Error in '/' Application.

The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested URL: /Account/Examples/fio.aspx

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18044

This page I am trying to assess is here now:

 http://localhost/<mysitename>/Account/Examples/fio.aspx

but when I was writing and debugging site in Visual Studio ,everything worked fine and my page was here

/Account/Examples/fio.aspx

Since this morning. I have no idea how to fix it.


Solution

  • Add the below code to your web.config file. Your browser will then show you the full error message.

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