I've created a fulltrust proxy:

string assembly = "FullTrustProxyExecise1, Version=, Culture=neutral, PublicKeyToken=21621f0ea660fe24";
string type = "FullTrustProxyExecise1.WSCreatorProxy";
WSCreatorProxyArgs args = new WSCreatorProxyArgs();
args.Filename = filename;
args.Siteurl = siteurl;
string url=(string) SPUtility.ExecuteRegisteredProxyOperation(assembly, type, args);
return url;

This however gives an Exception:

"Operation is not valid due to the current state of the object."

I've checked with PowerShell if the proxy is available, it is.

Hints anyone ?

  • Am facing same issue, Have you got the solution, Please share me if you have.its very urgent for us. mkrishna.sp2010@gmail.com thanks, Balaram – user11659 Oct 27 '12 at 14:37
  • I'm having the same problem - were u able to resolve it? – user14924 Feb 14 '13 at 22:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.