SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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!

share|improve this question
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 posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.