System.Net.WebPermission

M

Mohamed Refaat

i'm using infopath with sharepoint portal
the infopath form calls a web service in this manner

IAppCreate.IAppCreate wsObj = new IAppCreate.IAppCreate();
wsObj.PreAuthenticate = true;
wsObj.Credentials = new System.Net.NetworkCredential
("username","pwd","domain");
wsObj.Url = "Webservice url";
wsObj.Save(parametr);


when i published this form to the sharepoint server i
always recieve this error
"System.Net.WebPermission"
 

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