Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I've created a fulltrust proxy:

string assembly = "FullTrustProxyExecise1, Version=1.0.0.0, 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 ?

share|improve this question
    
Could you please work on your accept rate? 14% is very small. You're supposed to mark answers as accepted if they helped you. This will show that the answer is really correct. And also this will encourage site experts to help you. –  Andrey Markeev Jun 15 '12 at 6:25
    
Okay Andrey, thank you for the reminder. –  Dre Jun 15 '12 at 8:54
    
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

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.