Link to home
Start Free TrialLog in
Avatar of glenn_r
glenn_r

asked on

run iis6 asp.net asmx on iis7

I have a webservice that was build with vb.net 2005 and runs on winxp pro sp2 iis5. I want to upload this to my webhost. The hosting service is server 2008 iis7. The app does not run. What do I need to do to (quickly) get the webserver up and running.

Initial error:
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 34:             ASP.NET to identify an incoming user.
Line 35:         -->
Line 36:     <authentication mode="Forms">
Line 37:       <forms loginUrl="install/login.aspx">
Line 38:         <credentials passwordFormat="Clear">
 
Avatar of Kumaraswamy R
Kumaraswamy R
Flag of India image

In your application there are two web.config files.
Remove all web.config files which are not in root directory.
ASKER CERTIFIED SOLUTION
Avatar of glenn_r
glenn_r

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial