Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

.svc services do not work on List specific url

$
0
0

Hi,

I have a veeery strange issue. I am trying to access an url like:

http://<server>/site1/Lists/List1/_vti_bin/MyServices/Service.svc

I have installed this service on two farms. On the one farm this url works, on the other I receive 404 and in the log I can find an error <nativehr>0x80070002</nativehr><nativestack></nativestack>There is no Web named "/site1/Lists/List1/_vti_bin/MyServices/Service.svc".

But the url http://<server>/site1/_vti_bin/MyServices/Service.svc works on both farms...

The error is quite clear and I thought that I should execute this service only on site relative url but it works on the other farm for list relative url! This is not all. I think that earlier it works on my Server1 and does not work on Server2 and now it works on Server2 and does not work on Server1.

All asmx services from _vti_bin works on both kind of urls on both servers. All svc services does not work on list relative urls or... all works sometimes :| I have no idea how to fix this :|.


...



Viewing all articles
Browse latest Browse all 11571

Trending Articles