开发者

WCF RIA Services fail with authentication error if service call is more than 20 seconds

I have a Silverlight application which uses WCF RIA services and WindowsAuthentication mode. When I deploy to our web server calls that are greater than 20 seconds in length seem to lose authentication and I get a dialog box from IE to re-enter my username and password.

Does anyone know how to fix this issue?

UPDATE: I found out that the issue had nothing to do with what Fiddler was indicating and the authentication dialog was a side effect of another issue.

When I turned on WCF diagnostic tracing I found that what was really happening was that the service was throwing an exception due to the max number of items in graph. My bindings in my web.config to override the service had an old service name so it was not picked up.

Based on this I would highly suggest that anyone having an issue turn on WCF diagnostic tracing on the web server and see what that says before following an error out of fiddler...

Thanks for the response开发者_运维技巧 to the post and your will to help out...


I think it should be caused by the timeout issue, take a look at following link:

receiveTimeout

Hope it help you. If it doesn't work, you may try to look at other timeouts, for example inactivityTimeout in reliable session.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜