The request failed with HTTP status 401: Unauthorized.

I delployed a SSRS report to the Report Server.  Dropped a script manager control and report viewer control on a webform, using vb.net I can successfully access the report.  Then I did the same in an existing solution using c#, and now I get the dreaded error: The request failed with HTTP status 401: Unauthorized.

Any ideas?  It works in one solution (vb.net) but not the other (c#)?
MariaHaltAsked:
Who is Participating?
 
Russell_VenableCommented:
Can you post the code? You might get more responses when you give something to work with.
0
 
MariaHaltAuthor Commented:
Saw many different solutions to this very broad error message, this one worked for me.  Maybe it can help someone else someday.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.