modularbeing Posted April 13, 2004 Posted April 13, 2004 Im using System.Net.HttpWebRequest.Create(url) to access sql reporting services in my asp.net page. However when I do this I get an error 401 unauthorized. I was wondering if anyone knew what credentials are used when using this class, so that I can permission them in reportings services and in sql. thanks, Josh Quote
Moderators Robby Posted April 13, 2004 Moderators Posted April 13, 2004 Would it not suite you better to setup a Web Service then make requests to the service? Quote Visit...Bassic Software
modularbeing Posted April 14, 2004 Author Posted April 14, 2004 Would it not suite you better to setup a Web Service then make requests to the service? for the project I am doing I need to modify the HTML portion of the report in a way that reporting services cannot offer me, so what I plan on doing is grabbing the html from the reporting web service and then making the changes I need before I pass it along to the client. Quote
Moderators Robby Posted April 14, 2004 Moderators Posted April 14, 2004 So you will be parsing an html report that you created in the first place? Quote Visit...Bassic Software
modularbeing Posted April 14, 2004 Author Posted April 14, 2004 So you will be parsing an html report that you created in the first place? yes, I need to replace an image with a check box for the customer to check that they agree to the conditions of the form. Rather than creating 10 more aspx pages and sql proc's for each form to pull the data and display it to the customer so they can click an I Agree box. Quote
modularbeing Posted April 14, 2004 Author Posted April 14, 2004 I figured it out, I was not passing the credentials correctly. I was using defaultcredentials and I needed to add a credential to credentialcache. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.