Hi,

I recently upgraded my webserver from windows2003 server IIS 6.0 to Windows2008 server IIS 7.5.
But when I try to browse any site i get the following error:

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error: 


Line 41:        <!--<customErrors mode="Off"/>-->
Line 42:        <customErrors mode="RemoteOnly"/>
Line 43:        <profile enabled="true" defaultProvider="AspNetSqlProfileProvider">
Line 44:            <providers>
Line 45:                <clear/>


Source File: C:\inetpub\wwwroot\bp\web.config    Line: 43 

what should I look for?

Thanks.

twentynine.

HI

you check connection string.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.