Help - Security issues using Visual Studio Infopath Toolkit

S

SG

Hi,

I'm creating an infopath form using the visual studio infopath toolkit.
This form will programmatically create a sharepoint site, and update a
list. However, just accessing the sharepoint object model throws me a
security error - Request for the permission of type
'Microsoft.SharePoint.Security.SharePointPermission,
Microsoft.SharePoint.Security, Version=11.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c' failed.


I'm an admin on the sharepoint box, and I've tried impersonating an
admin user. Any ideas?
 
S

S.Y.M. Wong-A-Ton

You've got a code access security issue, not an authentication or
authorization issue. Your code needs permission to call into the SharePoint
object model. Have you already tried signing your form with a digital
certificate?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top