A sandbox is a restricted execution environment that enables programs to access only certain resources in a controlled way

learn more… | top users | synonyms (1)

6
votes
3answers
1k views

How do I find out what's wrong with my sandboxed solution in SharePoint Online?

I have created a custom web part which presents a form to create a SharePoint site below the current site, while performing some ancillary actions like updating a list of subsites on the front page to ...
3
votes
1answer
900 views

Can site columns be deployed in sandboxed solutions?

I have created a package in Visual Studio 2010 for SharePoint 2010 which contains a single feature, called "SiteColumns", which link to a single elements file defining a single site column. I have ...
2
votes
1answer
3k views

Error occurred in deployment step 'Add Solution': Sandboxed code execution request failed (but no implementation at all)

I realize of course that there is another question with the same title, and mine is a very similar question, but with a slightly different issue, I think: I have created an empty feature with an ...
2
votes
2answers
3k views

Enable feature of SharePoint sandbox solution

I have a .wsp file that is deployed to the remote server by powershell script. The solution is deployed successfully and I can see the solution feature in the site collection features, I can activate ...
1
vote
2answers
704 views

How to refresh a Sandboxed web part after leaving Edit Display Mode?

I have a test SP page hosting a Sandbox WebPart, code only. The WebPart in turn contains a GridView. I'd like to refresh the WebPart (actually, to fire the GridView-ObjectContainerDataSource ...
0
votes
1answer
390 views

SPMetal Person column generation

I'm using SPMetal to generate a class for my lists to use in a Sandbox-solution (with Sandbox Visual WebParts). However, when I generate the classes for a list column of type "Person or Group" with ...
2
votes
2answers
262 views

ServiceLocator in Sandbox: is anyone experiencing RemotingExceptions?

I posted an issue on SP Guidance tracker after quite some searching, but I saw several unanswered issues there so I'm trying here as well. I think I have a very simple Proof Of Concept: a Sandbox ...
2
votes
1answer
1k views

Custom file upload in sandbox

I have a custom web part in a sandbox solution. Inside of the web part I have added an <input type="file" />. Upon postback I read the file using HttpContext.Current.Request.Files and save the ...
1
vote
1answer
326 views

Server side event for button in sandbox solution

i am developing one sandbox solution. i have one .aspx page in my solution, there i need to create one button and need to write server-side event for that button. But i couldn't do it. getting error ...
4
votes
1answer
523 views

Use Visual Studio 2010 To Create SandBoxed Site with Content

I have a site that was built with the UI: It has a lot of custom .aspx pages with webparts and there are custom site columns, content types, and even a document library with several support files. My ...
6
votes
1answer
2k views

Send email via code in Office365

I am developing a custom web part in an Office 365 environment. I am trying to send email to a user during the execution of the code in the web part. I have tried two alternatives: ...
2
votes
1answer
241 views

Asynchronously load a Sandboxed Web Part

I'm wondering if there is an way to load custom Sandboxed Web Parts asynchronously. I have done this earlier with ScriptManager, I understand that this not possible with Sandboxed solutions. And these ...
2
votes
1answer
1k views

VS Power Tools for SharePoint - InitializeControl does not exist in the current context

I don't think this qualifies as a 3rd party product, so I'm posting here. I have a clean VM with VS2010 SP1 installed. I then installed the VS Power Tools for SharePoint. I'm attempting to create a ...
6
votes
2answers
1k views

Object cache in sandbox solutions

I am building a SharePoint sandbox solution which consists of multiple web parts. I want to be able to somehow cache POCO objects (Plain Old CLR Objects) in such a way that the cache is persisted ...
2
votes
0answers
264 views

How to customize Feature image for a SharePoint 2010 Sandbox solution? [duplicate]

Possible Duplicate: Own Feature-Icon in Sandbox Solutions Ok, as usual, after searching for a solution on the rest of the net, here I am on StackExchange :) How can I stuff a PNG image in ...
9
votes
3answers
2k views

How to localize webpart title, description, group, quickadd group in Sandbox solution

I've seen other similar questions (like this one), checked Microsoft documentation (like all the ones stemming from and related to the page Localization of Sandboxed Solutions in SharePoint 2010), ...
4
votes
1answer
140 views

Can WSPBuilder be used with Sandbox Solutions?

Does anyone know if you can use WSPBuilder to create Sandbox Solutions for SharePoint 2010?
3
votes
3answers
676 views

Sandboxed Solution - SPWeb Property Bag

I'm trying to create an SP2010 Sandboxed solution which involves a site collection administrator storing a piece of information in the Site collection root web property bag. I can't think of a way I ...
1
vote
1answer
1k views

How do I send an email from a sandboxed workflow action?

I have been tasked with creating a SharePoint 2010 sandboxed workflow that essentially scans a custom list and sends emails to specific users when certain conditions for a given list item are true. ...
1
vote
1answer
2k views

Safe to convert a Sandbox Web Part solution to a Farm solution?

We've run into the Sandbox solution error (Web Part Error: The sandboxed code execution request was refused because the Sandboxed Code Host Service was too busy to handle the request.). So we want to ...
1
vote
1answer
408 views

Can't deactivate a user solution without breaking the site

[Edit] Rewrote the question, as there are simpler ways to reproduce the problem. [/Edit] I have built a reusable workflow with SharePoint Designer 2010. I saved the workflow as template, grab the ...
4
votes
4answers
944 views

Error while adding Sandbox WebPart

I created a simple "Hello World" sandbox webpart in VS.NET 2010. After uploading the .wsp file to SharePoint site, I activated the webpart. But while trying to add it to a page, I was getting this ...
1
vote
1answer
171 views

spdatasource control in sandboxed solution?

I was surprised to not found the SPDataSource control in sandboxed solution (I simply want to populate a drop down list). Did I missed something, or is this actually one the limitation of the ...
6
votes
4answers
6k views

Sandboxed web part failing with “No available sandboxed code execution server could be found”

I'm deploying a web part as a component of a sandboxed solution from Visual Studio 2010 to Windows 7 SharePoint Foundation Server 2010 on my development box, and I receive the following error when ...
3
votes
2answers
2k views

How do I deploy custom list edit forms in the sandbox?

I'm creating a List Definition for use on 2007, 2010 (Sandboxed), and 2010 (unrestricted) that will need custom new and edit forms; unfortunately the Sandbox specifically excludes custom application ...
1
vote
0answers
400 views

troubles with a custom SPD activity in sandboxed solution

I want to build a custom activity for SPD 2010 that can extract the full url of a workflow task. I did not found something like this OOB. Did I missed something ? I wrote the following code : ...
2
votes
2answers
1k views

How to send a document from a document library directly as attachment?

Is there a way to change the behavior of the "send to"-drop-down in a DL from "E-Mail a link" to "E-Mail as attachment"?
6
votes
4answers
2k views

How to customize Feature image for a sandbox solution?

I'd like to add my own icon graphic to a feature. I found out that the ImageUrl attribute in the feature.xml definition points to the /_layouts/IMAGES folder which is out of scope for sandboxed ...
7
votes
1answer
9k views

Can't Activate Solution from Site Settings in SharePoint foundation 2010

I'm currently tasked with developing a branding solution for SharePoint Foundation sites. I've created a WSP file which can be deployed through my local machine through Visual Studios, but when I ...
7
votes
1answer
436 views

Compressing Files in a Document Library with Server-side Code

Anyone know of a way, that within the context of server-side code (like in the callback of a WebPart) to compress a set of given files in a document library, placing the resulting compressed file back ...
0
votes
1answer
148 views

Download solution package? [closed]

I was reading this article by Vesu http://blogs.msdn.com/b/vesku/archive/2010/10/14/sharepoint-2010-and-web-templates.aspx#stepbystep and at the end of article he posted the solution file. But my ...
3
votes
3answers
977 views

Is it possible to create a Multi-lingual List Definition in a SandBox

I have a sandbox solution that for the some of it I have german translations for, like the feature name and description. However to make this a proper multi-lingual solution I need to do the same for ...
2
votes
3answers
4k views

Can I activate the Sharepoint Server publishing Infrastructure feature at the site collection level within a sandbox solution?

I have this code which works in a farm solution, but not in a sandbox solution. Is it possible to do this with a sandbox solution? The table in this link ...
3
votes
1answer
388 views

Does Create Content Type need to be a farm solution?

I've found a couple of examples of creating a content type using visual studio. http://stevemannspath.blogspot.com/2010/11/sharepoint-2010-leveraging-visual.html ...
1
vote
2answers
1k views

Problem adding sharepoint sandboxed solution using powershell

I have powershell script which will create the WebApplication and SiteCollection and upload the solution. Creation of WebApplication and SiteCollection for user X works fine but Add-SpUserSolution is ...
3
votes
3answers
2k views

Sandbox Solutions, resetting the quota

I'm looking into the possibility of developing sandbox solutions (mainly web parts) for our SharePoint 2010 internet site. One thing that I keep reading is that if the quota is exceeded, then all ...
1
vote
0answers
696 views

Deploying InfoPath 2010 browser enabled forms as Sandbox solutions using WSP

Is there a way through which I can deploy a InfoPath browser enabled form with code behind as a Sandbox solution via WSP? I tried something around the approach we used to follow for deploying ...
1
vote
3answers
127 views

Solutions and Office.com

Does anyone know when/how office.com will integrate with sandbox solutions Google ...
0
votes
6answers
6k views

SharePoint 2010 Sandboxed solution error during debugging

I'm in the process of creating a sandboxed web part, during debugging though once it is on the site the web part displays the error shown below: Web Part Error: Unhandled exception was thrown by the ...
12
votes
2answers
2k views

Cannot add custom web part to page using the JS OM

I'm trying to add a custom web part (that is one I have written myself) using the new Javascipt OM available with SharePoint 2010. My solution is also running within the Sandbox. I have it working ...
4
votes
1answer
2k views

Deploy a web part to a page during feature activation within a Sandbox Solution

I've been hitting my head against a wall on this one for the last couple of days. I have a pretty simple requirement but I cant see how it can be achieved within a Sandboxed solution. I'm depressed ...
1
vote
1answer
2k views

Deploy event receiver to sandboxed solution

I am working with Sharepoint Foundation 2010 on both my development and production machines. My production site is hosted. I am trying to deploy a sandboxed event receiver to the production site ...
1
vote
1answer
4k views

Deploying dll's in a Sandboxed solution from VS 2010

I am testing out Visual Studio 2010. I have created a sandboxed solution with a webpart. It deployed OK. I then tried adding a dll to the solution that would contain the business logic. This dll is ...
16
votes
3answers
1k views

How to check if code is running as sandboxed solution?

Is it possible to check, from within solution, if it was deployed as sandboxed or not, e.g. something like this: if(this.IamSandboxedSolution) // do something else // do something else
2
votes
3answers
2k views

Problem debugging web part on SharePoint 2010 beta and Visual Studio 2010 beta

I have created a "Hello World" web part. When I pressed F5 in Visual Studio 2010, I got the following error. I have already got Microsoft SharePoint Foundation User Code Service started. Can anyone ...
7
votes
3answers
390 views

SharePoint 2010 Sandboxed solutions performance

Does code that is deployed through a Sandboxed solution perform just a well as code deployed through a Farm solution? Does the overhead that comes with interprocess communication (since Sandboxed ...