framework 4

I'm working with the aspx pages to get a working paypal page. Our server is supposed to support Framework 4.0. All I see is this:

Server Error in '/' Application. --------------------------------------------------------------------------------Configuration 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 11: <customErrors mode="Off" />Line 12: <compilation debug="true" strict="false" explicit="true" targetFramework="4.0" />Line 13: <authentication mode="Forms">Line 14: <forms loginUrl="~/Account/Login.aspx" timeout="2880" />Line 15: </authentication>

Source File: C:\inetpub\wwwroot\miccant\htdocs\neil\web.config Line: 13

Show Additional Configuration Errors:--------------------------------------------------------------------------------Version Information: Microsoft .NET Framework Version:2.0.50727.5456; ASP.NET Version:2.0.50727.5456

Can anyone shed any light on this?

This isn't a problem with our example. There's something messed up in your configuration. See:

Source Error:

Line 11: <customErrors mode="Off" />Line 12: <compilation debug="true" strict="false" explicit="true" targetFramework="4.0" />Line 13: <authentication mode="Forms">Line 14: <forms loginUrl="~/Account/Login.aspx" timeout="2880" />Line 15: </authentication>