FileNotFoundException when calling UserAgentClient.ProcessUserAuthorization

37 views
Skip to first unread message

vitalij....@gmail.com

unread,
May 29, 2012, 9:34:59 AM5/29/12
to DotNetOpenAuth
Code is pretty straight forward

string url = "http://example.com/?code=" + authCode;
var state = ProcessUserAuthorization(new Uri(url),
authorizationState);


The code above throws FileNotFoundException

Could not find file 'C:\Users\User\AppData\Local\IsolatedStorage
\440mtlvi.s2l\4vnnbxet.nac\Url.2khlhx1bx01vd23pzkw1pbmriad0m3gg
\StrongName.ood31qlkwlfxjfp4m43qg5ljqg5ziszs\Files\identity.txt'.

Any ideas what can cause this problem?

Thanks

Werner Strydom

unread,
May 29, 2012, 6:53:24 PM5/29/12
to dotnet...@googlegroups.com
You may want to disable reporting within DotNetOpenAuth.  I frequently see this exception if reporting is enabled.

Werner

Andrew Arnott

unread,
May 29, 2012, 6:58:18 PM5/29/12
to dotnet...@googlegroups.com
I agree with the workaround.

I've never seen this exception myself.  I'm interested in fixing whatever bugs may explain this, and catching the exception in any case.  Can you please include the callstack for this exception?

Thanks.
--
Andrew Arnott
"I [may] not agree with what you have to say, but I'll defend to the death your right to say it." - S. G. Tallentyre


On Tue, May 29, 2012 at 3:53 PM, Werner Strydom <blou...@gmail.com> wrote:
You may want to disable reporting within DotNetOpenAuth.  I frequently see this exception if reporting is enabled.

Werner

--
You received this message because you are subscribed to the Google Groups "DotNetOpenAuth" group.
To view this discussion on the web visit https://groups.google.com/d/msg/dotnetopenid/-/A5BCCNNM0_AJ.

To post to this group, send email to dotnet...@googlegroups.com.
To unsubscribe from this group, send email to dotnetopenid...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dotnetopenid?hl=en.

vitalij....@gmail.com

unread,
May 30, 2012, 1:28:56 AM5/30/12
to DotNetOpenAuth
I can't send you callstack right now, because next morning its just
working again. If i see this exception again i'd post more information
here.
Reply all
Reply to author
Forward
0 new messages