spcontext
Wrong SPContext in Wcf Service
I have SharePoint 2010 (_http://sp2010/, for instance). I have created site (_http://sp2010/site/) and WCF Service, which is hosted in ISAPI folder. In service I have such test method:[详细]
2023-03-22 02:07 分类:问答SharePoint 2007 HttpHandler NullReferenceException using SPContext.Current.Site/Web when called from jQuery
I have the need to develop a custom HttpHandler in SharePoint. To start, I just coded up a simple example: http://pastebin.com/HXLjR2xT. On line 35 or 36 of开发者_运维知识库 that code I get a NullRefe[详细]
2023-01-14 06:39 分类:问答SPWeb.Url returns wrong URL
I have a web application in SharePoint that has been extended to another zone (Extranet). The access URL for the default zone is http ://server1, and the URL for the extranet zone is https: //www.serv[详细]
2022-12-17 09:17 分类:问答No current context when creating a sharepoint site
I\'ve added a feature to my onet.xml file which gets activated whenever a site gets created. However, that feature needs to know the url of the site being created. I 开发者_StackOverflow中文版thought[详细]
2022-12-15 19:31 分类:问答