Monday, May 2, 2011

Event Handler: The object cannot be created from sandboxed code assembly

I create an solution of event handler whose name is "eventHandler-v1.0" and then bind the event handler to a list in SharePoint.

When I start debugging the solution in Visual Studio 2010, an error message is shown as below
"Error creating instance of sandboxed code object. The object cannot be created from sandboxed code assembly."


I suspect the problem comes from the name of my solution which contains '.', so  I try to create a solution whose name without '.' and everything works fine.

No comments:

Post a Comment