Pergunta

Eu estou recebendo um erro ao tentar fazer um httpwebrequest dentro de uma web part, estou recebendo uma segurança dizendo que System.net.Webpermission falhou.Ao procurar uma resposta, me deparei com Esta questão .Uma das respostas foi usar uma solução agrícola.Eu sou muito novo para se desenvolver com o SharePoint, então eu não sei exatamente o que isso significa.

Atualmente tenho um desenvolvimento VM do SharePoint configurado com o Visual Studio em execução.Como seria capaz de trabalhar na minha web e ser capaz de não ter essa exceção lançada?

Obrigado uma tonelada!

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a sharepoint.stackexchange
scroll top