How to fix "Server error in '/' Application" error?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shobhyadav
    New Member
    • Jan 2011
    • 2

    How to fix "Server error in '/' Application" error?

    Sir,

    I am new to ASP.Net, I have created a sample website in VS.Net but i am finding it difficult in hosting it in IIS 6 Windows 2003 server.
    The folllowing error has occured when i am trying to host
    SERVER ERROR IN '/' Application
    An error occured during the processing of a configuration file required to service this request.

    Code:
    <system.Codedom>
          <Compilers>
             <Compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.Csharp.CsharpProvider,version=2.0.0.0,Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
    </Compilers>
    </System.codedom>

    Thanks in Advance
    Last edited by Niheel; Jan 31 '11, 05:43 PM.
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Make sure that the server has the .NET framework installed that matches the .NET framework that your application was developed for.

    In IIS, make sure that you have enabled ASP.NET (allowed it) and make sure that you have chosen the correct ASP.NET version to run your application under.

    -Frinny

    Comment

    Working...