Webservice not enabled error Options
ralin
Posted: Friday, October 05, 2007 4:00:28 PM
Rank: Newbie

Joined: 10/5/2007
Posts: 2
Hello

I am working at an asp.net web application that must use the Umbraco API and to do that I must use the umbraco webservices like documentService, nodeService and so on. I added web references to the services I need, the problem is that when I want to acces a method form any webservice I receive this error:

System.Exception: Webservices not enabled
at umbraco.webservices.BaseWebService.Authenticate(String username, String password)
at umbraco.webservices.documents.documentService.read(Int32 id, String username, String password)


I tried to modify the web.config of umbraco (and restarting the IIS) by adding this:
<!-- ASPNETAJAX -->
<system.web.extensions>
<scripting>
<!-- added the following 2 lines-->
<webServices enable="True">
</webServices>
<!--no result-->

<scriptResourceHandler enableCompression="true" enableCaching="true" />
</scripting>
</system.web.extensions>

If anyone has a solution to this I would be more than greateful.
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.