[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 550
  • Last Modified:

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">
 
0
glenn_r
Asked:
glenn_r
1 Solution
 
Amandeep Singh BhullarCommented:
In your application there are two web.config files.
Remove all web.config files which are not in root directory.
0
 
glenn_rAuthor Commented:
set the application starting point
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now