Click here to Skip to main content
15,891,473 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I tried to deploy my .asmx in www.domain.com/samples/service.asmx and i uploaded the files using /ftp in server.when i tried to access a href="http://www.domain.com/samples/service.asmx.
The following error gets displayed

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.

ASP.NET to identify an incoming user.

authentication mode=Windows

how to get the webservice done.
Posted
Updated 27-Apr-11 23:53pm

1 solution

Give your virtual directory an Application Name that does not have dots (.) in the name. To make sure you are not having naming issues, give a short name such as MK as your Virtual Directory name.


Hope this will solve your problem.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900