Question

Je reçois une erreur avec essayer de faire un httpwebrequest à l'intérieur d'une partie de la liste, je reçois une exception SecurityException disant que System.net.WebPermission a échoué.Lors de la recherche d'une réponse, je suis tombé sur Cette question .L'une des réponses était d'utiliser une solution agricole.Je suis très nouveau pour développer avec SharePoint, donc je ne suis pas vraiment sûr de ce que cela signifie.

J'ai actuellement un développement SharePoint VM configuré avec Visual Studio en cours d'exécution.Comment puis-je pouvoir travailler sur ma part et pouvoir ne pas obtenir cette exception lancée?

Merci une tonne!

Était-ce utile?

La solution

When you create a SharePoint project in VS, look at the dialog that appears: it asks which site you want to use for debugging, and the second question is whether you want it to be a sandbox or a farm solution. (or, for an existing project, you can change this in the properties of the project).

There's already been a lot written on both, so read up on them and post any specific questions you have.

Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top