Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.