Web Hosting Talk







View Full Version : Web services


firehawk1010
08-13-2005, 08:52 PM
Hi there.

I have made my own webservice using ASP.NET (C# codebehind)

It of course runs fine on my local computer, however I cannot seem to get it to work on the web server (it does support ASP.NET!)

I seem to get this error:

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 43: by Microsoft that offers a single logon and core profile services for member sites.
Line 44: -->
Line 45: <authentication mode="Windows" />
Line 46:
Line 47: <!-- AUTHORIZATION


Source File: wwwroot\apps\services\WMPRUpdate\web.config Line: 45



I have also changed the authentication mode to None but that did not seem to make a difference.

What do I have to do and set in order for the webservice to run?

I appreciate your help!