run iis6 asmx on iis7

I have a webservice that was build with 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">
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Amandeep Singh BhullarCommented:
In your application there are two web.config files.
Remove all web.config files which are not in root directory.
glenn_rAuthor Commented:
set the application starting point

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.