all groups > sql server reporting services > march 2005 >
You're in the

sql server reporting services

group:

401 error again-ASP.NEt app


401 error again-ASP.NEt app Bach
3/16/2005 10:07:04 PM
sql server reporting services:
Hi,
I know this topic comes up alot and i've tried everything mentioned here
with no luck. Basically what I want to do is accesing the reports via the Web
Service from an ASP.NET form. below is how I do it:

ReportingService rService = new ReportingService();
rService.Credentials = new NetworkCredential('username','password','domain');
rService.Url = reportServer;
CatalogItem[] catalogItems;
catalogItems = rService.ListChildren(reportPath, true);

The error I get is 401:Unauthorized. I have tested this user account using
the Microsoft RSExplorer sample that comes with Reporting Services and
everything is working OK. The only difference is it's a windows app.

I have tried setting <identity impersonate=true /> ,(which I shouldnt have
to as I supply the username and password) but it still didnt work.

Please help!
RE: 401 error again-ASP.NEt app Bach
3/16/2005 11:05:02 PM
I sometimes (not always) get this error as well:
"An unhandled exception of type 'System.EntryPointNotFoundException'
occurred in system.dll

Additional information: Unable to find an entry point named
EnumerateSecurityPackagesW in DLL security.dll.
"
The strange thing is that this doesnt always occur. I still always get the
401 error

[quoted text, click to view]
AddThis Social Bookmark Button