WebBrowser.Navigate - 401 Unauthorized - ASP.Net
I'm using WebBrowser control in my asp.net application by creating a STA thread and using it in the thread. Everything was working fine till I changed my administrator account for my web application.
Since then I'm getting the error "Navigation is cancelled". So I extended the webbrowser control as specified in this MSDN article and I handled the NavigateError ev开发者_JAVA技巧ent. I'm getting the status code 401 which is unauthorized.
Also I tried passing the headers to the Navigate method as given here. But still no use.
Any ideas?
精彩评论