Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 SSRS Unauthorized Access from .net

Author  Topic 

Dev@nlkss

134 Posts

Posted - 2009-04-25 : 03:33:39
Hi,

I have deployed the reports to the report server(centralized server). when i try to access the reports directly thru report server i.e http://servername//ReportServer in my local system. it asks for the username/password, when i give the username and password it accepts and shows me the report.

the same report i try to access in .NET Application, i do not know how to pass the credentials and it throws the error :"The request failed with HTTP status 401: Unauthorized ".

I am using VS 2005 and SQL Server 2005 and SQL Reporting Services 2005.





$atya.

Love All Serve All.

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2009-04-25 : 04:37:42
See www.connectionstrings.com how to pass your credentials when connection to a database.



E 12°55'05.63"
N 56°04'39.26"
Go to Top of Page

Dev@nlkss

134 Posts

Posted - 2009-04-25 : 05:21:29
Sorry I am unable to go forward.
actually am new to this.
can u more clear.
Its very urgent.
Thanks for any help.

$atya.

Love All Serve All.
Go to Top of Page

Dev@nlkss

134 Posts

Posted - 2009-04-27 : 01:00:16
Thanks for reply,
I solved it.
now its working fine.

$atya.

Love All Serve All.
Go to Top of Page
   

- Advertisement -