I'm deploying my application to an Sharepoint Foundation Farm... In my application there is a web service (tt2sp.asmx) installed in the _vti_bin directory.

On my site the anonymous access is disabled.

When i try to get SPContext.Current it always return me NULL..

Where is the problem? I tried to deploy also in _layouts but the problem was the same..

I checked the web.config looking for anonimous access allows, but seems allright..

Any suggestion?

Thank you very much!

  • Did you put the web service straight in the ISAPI folder in the 12/14 hive? – James Love Feb 8 '12 at 11:54
  • Yes, already done.. – Ziba Leah Feb 8 '12 at 12:32
  • Have you looked at this? – AlexSSE Feb 8 '12 at 14:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.