Tagged Questions
0
votes
1answer
74 views
Same code in Sandbox solution generates error
I am using following code in a Web Part to read Rss (atom). Same Web Part works in Farm Solution but generates error (don't know what) in a Sandbox solution.
WebClient wc = new WebClient();
...
1
vote
1answer
105 views
How to access AD users in SharePoint 2010 Sandboxed solution?
I am running with an issue to accessing AD users in Sandbox solution. Can anyone has idea how to do that.
I know how to do in normal SharePoint 2010 solution. But I am not able to do in the same ...
2
votes
1answer
192 views
Install-SPUserSolution: Sandboxed code execution request failed
When executing Install-SPUserSolution powershell command the following error is shown:
Install-SPUserSolution : Sandboxed code execution request failed.
At line:1 char:23
+ ...
3
votes
0answers
11 views
How to upload file in document library in sandbox solution? [duplicate]
Possible Duplicate:
Upload file using sandbox solution
How to upload file in document library in sandbox solution ? File upload control is not working sandbox in sandbox solution
0
votes
1answer
235 views
Error while creating Event Receiver
This is Sample of my Code
SPList list = new SPSite(siteURL).OpenWeb().Lists[listName];
SPEventReceiverDefinitionCollection eventReceivers = list.EventReceivers;
SPEventReceiverDefinition ...
0
votes
1answer
255 views
SandBox Visual Web Part with Power Tools issue with ExchangeService
I am trying to make Sandbox Visual Web Part using Power Tools.
It has given me below error :
Web Part Error: Unhandled exception was thrown by the sandboxed code wrapper's
Execute method in the ...
0
votes
1answer
179 views
Using XSLT in SandBox Web Part
I need to fetch data from the list (which I am getting in XML) and then I need to apply the XML data to my XSLT so that it can produce HTML output.
I tried using SPUtility.GetGenericSetupPath to get ...
0
votes
0answers
61 views
SPUtility.ExecuteRegisteredProxyOperations throws nullreferenceexception in my sandboxed solution
I a very basic event reciever that executes on both the ItemAdded and ItemUpdated events inside of document libraries. To handle exceptions, we've created a full-trust farm based solution to write ...
