report authentication: windows prompt removal
Hello,
I'm writing a small program to access reports on a remote server. When simply accessing the server, using the reportviewer, I get a windows prompt for login. I would like to avoid this by passing the account information.
How should I do this? (Maybe through network credentials)
Could someone send me some example code?
Thank you.
Jos
March 6th, 2006 12:03am
i'm not sure but i think you mean that you want to acces it through internet explorer?
if that's the case , demanding the credentials depends on the zone your page is in
see internet explorer>extra>internet options>security
by default internet explorer demands credentials for public sites and uses integrated login for intranet, that i wouldn't change
the clue is that any address with a dot . (be it in an ip or dns notation, eg 10.2.54.56 or webserver.domain.local) is regarded by default as a public address
so either you add the adress in the intranet zoneor you change the adress in wins notation style ( eg //webserver/reports)
Free Windows Admin Tool Kit Click here and download it now
March 6th, 2006 12:21pm
Well I want to access the reports through a small asp.net program. You may see the source code in http://www.odetocode.com/Articles/95.aspx
When I access my reportserver (http://sqlreport244_9.mysite4now.com/reportserver) I get prompted for a windows login.
What I would like to do is to set the credentials on the code of the asp.net program to avoid being shown the prompt. This program will be used by several users and don't want them to have to insert the password each time they access the reports.
Thanks
March 6th, 2006 3:26pm
I am really scared about Microsoft. I found a lot of queries regarding the Logon Prompt issue, but unable to find a solution for a long time.
Hope its better to stop using MS Products.
selva
Free Windows Admin Tool Kit Click here and download it now
April 29th, 2011 4:17pm