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

sql server reporting services

group:

No authentication prompt when running report


No authentication prompt when running report Jason
3/4/2006 10:04:27 AM
sql server reporting services:
Strange problem: When I go to the reports site, I get prompted to login. I
can log in successfully. When I attempt to run a report, I should be
prompted again. For some reason, I am not getting prompted when running the
report so I am given an Action canceled, web page could not be found error.
The strange part is that if I log into the Reports site on the server hosting
reports, I am prompted this second time and can run the report successfully.
Does anyone know of any authentication settings that might be causing this
RE: No authentication prompt when running report petery NO[at]SPAM online.microsoft.com
3/6/2006 5:43:11 AM
Hello,

Basd on my scope, I think it is normal becasue sessionstate/cookies are
enabled for report manager.

However, if you use Windows authentication, you shall not be prompted to
log on in the first place. You may want to check the following IE settings:

Tools->Internet Options->Security->Custom level
Under User authentication, check if "Prompt for user name and password" is
selected.

Best Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================


This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
[quoted text, click to view]
RE: No authentication prompt when running report Jason
3/6/2006 6:11:31 AM
Peter, thanks for the reply. Unfortunately, this is not the answer. This
site is set up in Trusted Zones and it is set to prompt for un/pw. On the
server, both the Reports and Reports Server vdirs are set to Basic Auth. The
domain is not configured to work with windows auth so I should be prompted
twice. This is the case on a second server I have SQL Reports configured on
and it works correctly. Any further ideas?

[quoted text, click to view]
RE: No authentication prompt when running report petery NO[at]SPAM online.microsoft.com
3/7/2006 12:00:00 AM
Hello,

This could occur if the user is not in content manager role. You may try to
log on as a user with admin role on SRS to test.

Best Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
[quoted text, click to view]
RE: No authentication prompt when running report Jason
3/7/2006 6:21:02 AM
Peter,

The user is a content admin. I have also tried it with the domain admin.
The strangest part about this is that I get the second prompt and the report
loads successfully when accessing it from the web server. It's only remote
connections that have this behavior.

[quoted text, click to view]
RE: No authentication prompt when running report petery NO[at]SPAM online.microsoft.com
3/8/2006 3:09:36 AM
Hello Jason,

Based on my further research, this issue might relate to MS04-044. Please
refer to the following article for details:

Implement a Single-Sign On solution by using basic authentication and
Internet Explorer client
http://support.microsoft.com/default.aspx?scid=kb;EN-US;837104

You may want to check if you have this update installed. Also, please check
if there is any proxy settings on the clients. You may want to check if the
issue occurs for Windows XP SP2/Win2003 SP1 machine.

If the issue persists, you may want to use netmon to trace the HTTP packets
to see the sequence of packets.

Best Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================


This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
[quoted text, click to view]
<A2nfhDOQGHA.944@TK2MSFTNGXA03.phx.gbl>
<274E132B-C794-4406-BBA5-6D3CF04796F1@microsoft.com>
<G1$RKvbQGHA.5448@TK2MSFTNGXA03.phx.gbl>
[quoted text, click to view]
RE: No authentication prompt when running report Jason
3/10/2006 7:49:28 AM
Peter,

I've been working with the IIS logs. I wonder if this info could shed a
little more light on the situation. This first excerpt is from my client
machine where I am not getting the appropriate auth prompt and the report
will not render (where xxx.xx.173.3 represents my client IP):
2006-03-10 15:11:29 xxx.xx.174.70 POST /ReportServer/reportservice.asmx - 80
- xxx.xx.174.70 - 401 2 2148074254
2006-03-10 15:11:29 xxx.xx.174.70 POST /ReportServer/reportservice.asmx - 80
CAMMXSS2\sqluser xxx.xx.174.70 - 200 0 0
2006-03-10 15:11:29 xxx.xx.174.70 POST /ReportServer/reportservice.asmx - 80
- xxx.xx.174.70 - 401 2 2148074254
2006-03-10 15:11:29 xxx.xx.174.70 POST /ReportServer/reportservice.asmx - 80
CAMMXSS2\sqluser xxx.xx.174.70 - 200 0 0
2006-03-10 15:11:29 xxx.xx.174.70 POST /ReportServer/reportservice.asmx - 80
- xxx.xx.174.70 - 401 2 2148074254
2006-03-10 15:11:29 xxx.xx.174.70 POST /ReportServer/reportservice.asmx - 80
CAMMXSS2\sqluser xxx.xx.174.70 - 200 0 0
2006-03-10 15:11:29 xxx.xx.174.70 POST /ReportServer/reportservice.asmx - 80
- xxx.xx.174.70 - 401 2 2148074254
2006-03-10 15:11:29 xxx.xx.174.70 POST /ReportServer/reportservice.asmx - 80
CAMMXSS2\sqluser xxx.xx.174.70 - 200 0 0
2006-03-10 15:11:29 xxx.xx.174.70 POST /ReportServer/reportservice.asmx - 80
- xxx.xx.174.70 - 401 2 2148074254
2006-03-10 15:11:29 xxx.xx.174.70 POST /ReportServer/reportservice.asmx - 80
CAMMXSS2\sqluser xxx.xx.174.70 - 200 0 0
xxx.xx.176.3
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 200 0 0
2006-03-10 15:11:29 xxx.xx.174.70 GET /Reports/js/ReportingServices.js - 80
sqluser xxx.xx.176.3
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 304 0 0
2006-03-10 15:11:29 xxx.xx.174.70 GET /Reports/styles/ReportingServices.css
- 80 sqluser xxx.xx.176.3
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 304 0 0
2006-03-10 15:11:29 xxx.xx.174.70 GET
/aspnet_client/system_web/1_1_4322/WebUIValidation.js - 80 - xxx.xx.176.3
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 304 0 0
2006-03-10 15:11:29 xxx.xx.174.70 GET /Reports/images/blank.gif - 80 sqluser
xxx.xx.176.3
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 304 0 0
2006-03-10 15:11:29 xxx.xx.174.70 GET /Reports/images/48report.jpg - 80
sqluser xxx.xx.176.3
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 304 0 0
2006-03-10 15:11:29 xxx.xx.174.70 GET /Reports/images/line_err1.gif - 80
sqluser xxx.xx.176.3
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 304 0 0
2006-03-10 15:11:29 xxx.xx.174.70 GET /Reports/images/toolbar_edge_top.gif -
80 sqluser xxx.xx.176.3
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 304 0 0
2006-03-10 15:11:29 xxx.xx.174.70 GET /Reports/images/HideSharedArea.gif -
80 sqluser xxx.xx.176.3
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 304 0 0
2006-03-10 15:11:35 xxx.xx.174.70 GET
/Reports/images/toolbar_edge_bottom.gif - 80 sqluser xxx.xx.176.3
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 304 0 0



This excerpt is when the report is run locally on the server and I get the
prompt when running the report.

2006-03-10 15:12:48 xxx.xx.174.70 POST /ReportServer/reportservice.asmx - 80
- xxx.xx.174.70 - 401 2 2148074254
2006-03-10 15:12:48 xxx.xx.174.70 POST /ReportServer/reportservice.asmx - 80
CAMMXSS2\sqluser xxx.xx.174.70 - 200 0 0
2006-03-10 15:12:48 xxx.xx.174.70 POST /ReportServer/reportservice.asmx - 80
- xxx.xx.174.70 - 401 2 2148074254
2006-03-10 15:12:48 xxx.xx.174.70 POST /ReportServer/reportservice.asmx - 80
CAMMXSS2\sqluser xxx.xx.174.70 - 200 0 0
2006-03-10 15:12:48 xxx.xx.174.70 POST /ReportServer/reportservice.asmx - 80
- xxx.xx.174.70 - 401 2 2148074254
2006-03-10 15:12:48 xxx.xx.174.70 POST /ReportServer/reportservice.asmx - 80
CAMMXSS2\sqluser xxx.xx.174.70 - 200 0 0
2006-03-10 15:12:48 xxx.xx.174.70 POST /ReportServer/reportservice.asmx - 80
- xxx.xx.174.70 - 401 2 2148074254
2006-03-10 15:12:48 xxx.xx.174.70 POST /ReportServer/reportservice.asmx - 80
CAMMXSS2\sqluser xxx.xx.174.70 - 200 0 0
2006-03-10 15:12:48 xxx.xx.174.70 POST /ReportServer/reportservice.asmx - 80
- xxx.xx.174.70 - 401 2 2148074254
2006-03-10 15:12:48 xxx.xx.174.70 POST /ReportServer/reportservice.asmx - 80
CAMMXSS2\sqluser xxx.xx.174.70 - 200 0 0
2006-03-10 15:12:48 127.0.0.1 GET /Reports/Pages/Report.aspx
ItemPath=%2fSSM+Applicant+Search+Report 80 sqluser 127.0.0.1
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322)
200 0 0
2006-03-10 15:12:48 127.0.0.1 GET /Reports/images/48report.jpg - 80 sqluser
127.0.0.1
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322)
200 0 0
2006-03-10 15:12:48 127.0.0.1 GET /Reports/images/HideSharedArea.gif - 80
sqluser 127.0.0.1
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322)
200 0 0
2006-03-10 15:12:48 xxx.xx.174.70 GET /ReportServer
%2fSSM+Applicant+Search+Report&rs:Command=Render&rc:ReplacementRoot=http://localhost/Reports/Pages/Report.aspx?ServerUrl=
80 - xxx.xx.174.70
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322)
401 2 2148074254



Notice the first difference difference here is after these lines:
/ReportServer/reportservice.asmx - 80
On the client, non working machine, I get this:
xxx.xx.176.3
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 200 0 0

On the local, working machine, I get this:
2006-03-10 15:12:48 127.0.0.1 GET /Reports/Pages/Report.aspx
ItemPath=%2fSSM+Applicant+Search+Report 80 sqluser 127.0.0.1
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322)
200 0 0

Is this significant to you?




[quoted text, click to view]
RE: No authentication prompt when running report Jason
3/10/2006 8:00:28 AM
Peter,
I wish you could edit these posts...I've made a copy error from the logs.
See below. After the
2006-03-10 15:11:29 xxx.xx.174.70 POST /ReportServer/reportservice.asmx - 80
lines, the client machine trying to access the report is logging:

2006-03-10 15:11:29 149.24.174.70 GET /Reports/Pages/Report.aspx
ItemPath=%2fSSM+Applicant+Search+Report 80 sqluser
xxx.xx.176.3
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 200 0 0

while the local machine accessing the report is logging:

2006-03-10 15:12:48 127.0.0.1 GET /Reports/Pages/Report.aspx
ItemPath=%2fSSM+Applicant+Search+Report 80 sqluser 127.0.0.1
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322)
200 0 0
2006-03-10 15:12:48 127.0.0.1 GET /Reports/images/48report.jpg - 80 sqluser
127.0.0.1
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322)
200 0 0

This is not occuring on the client machine:
127.0.0.1
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322)
200 0 0

Can you think of a reason why?





[quoted text, click to view]
RE: No authentication prompt when running report gw1128
3/10/2006 4:23:26 PM
Jason, Peter,

I am having the exact same problem. It appears that credential information
is being automatically in some cases, but apparently is not doing it
properly. I will try to implement the fix contained in your KB article.

Just wanted to let you know you're not alone.

[quoted text, click to view]
RE: No authentication prompt when running report gw1128
3/12/2006 6:29:27 PM
Jason, Peter,

I was able to find the solution to my problem - it boiled down to a name
resolution problem. I am hoping this may help you with your problem.

I installed an HTTP logging tool for my client machine. I found a free one
called HttpWatch. [ The product installs a toolbar button in Explorer -
click on it to get the Watch window. Press Record to start logging browser
requests. ]

What i noticed is that the when my report loaded, all images loaded fine,
except for the frame which is supposed to display the actual report. In that
frame, I get a 'page cannot be displayed' error. I matched the HTTP request
for this frame to an HTTP error ( ERROR_INTERNET_NAME_NOT_RESOLVED) in the
HttpWatch log. The HTTP request for that frame was apparently using the name
of the server that is *only visible inside the company intranet*. This means
that the report would only display properly if Reporting Services was running
on the same machine as the client browser, or within the intranet.

I think the frame is using the internal name of the server because of a
setting configured when Reporting Services was installed. So, one fix may be
to reinstall RS and use a server name that resolves in the intranet and on
the global internet. I am currently fishing through config files and the
registry to see if reinstall is not necessary. If I find it, I'll post
another reply.

[ Note, if you only care about getting access from your own machine, you can
manually add a name-server/ip address mapping in the file
c:/Windows/System32/Drivers/Etc/Hosts. Of course, this is not likely a good
solution for the intended audience of your report ! ]

Good luck,
George Williams.




[quoted text, click to view]
RE: No authentication prompt when running report Jason
3/13/2006 6:16:16 AM
Peter, George,

I resolved this issue on Friday afternoon and came in this morning to see
that the resolution had been posted here as well. It did end up being a DNS
issue. I changed the Report Server URL in the RSWebApplication.config to
reflect the web machine's IP and I can now load the report. I'm still not
sure why it doesn't prompt me a second time (as it does successfully in a
second similarly structured domain) but the reports are now loading which is
what I'm more concerned with. Thanks so much for your attention and time.

Jason

[quoted text, click to view]
RE: No authentication prompt when running report petery NO[at]SPAM online.microsoft.com
3/13/2006 10:54:50 AM
Hello Jason,

According to the sympotms, it seems to be related to FQDN or name
resolution. How did you configure <ReportServerUrl> in
RSWebApplication.Config? How
did you configure <UrlRoot> in RSReportServer.Config ? If you change them
to FQDN URL, what is the result?

Best Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================


This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
[quoted text, click to view]
<A2nfhDOQGHA.944@TK2MSFTNGXA03.phx.gbl>
<274E132B-C794-4406-BBA5-6D3CF04796F1@microsoft.com>
<G1$RKvbQGHA.5448@TK2MSFTNGXA03.phx.gbl>
<FA890089-C850-4F14-B0BC-E0C5F7F2D1FD@microsoft.com>
<jKfd92lQGHA.6824@TK2MSFTNGXA03.phx.gbl>
<62F62F21-6FC3-40B1-AEB7-CF5D94B71BCD@microsoft.com>
[quoted text, click to view]
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+C
LR+2.0.50727) 200 0 0
[quoted text, click to view]
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+C
LR+2.0.50727) 304 0 0
[quoted text, click to view]
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+C
LR+2.0.50727) 304 0 0
[quoted text, click to view]
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+C
LR+2.0.50727) 304 0 0
[quoted text, click to view]
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+C
LR+2.0.50727) 304 0 0
[quoted text, click to view]
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+C
LR+2.0.50727) 304 0 0
[quoted text, click to view]
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+C
LR+2.0.50727) 304 0 0
[quoted text, click to view]
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+C
LR+2.0.50727) 304 0 0
[quoted text, click to view]
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+C
LR+2.0.50727) 304 0 0
[quoted text, click to view]
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+C
LR+2.0.50727) 304 0 0
[quoted text, click to view]
RE: No authentication prompt when running report gw1128
3/13/2006 2:24:27 PM
Peter,

Apparently, there is another config entry in RSReportServer.Config that you
can add to resolve this problem. There are other posts in this forum about
it - but it looks like this:

<ReportServerExternalUrl></ReportServerExternalUrl>

Obviously, you set the proper,externally visible url inside the tag. It
worked for me!

Notes: 1) the spelling and caps are very important for the tag. 2) for more
details about this config file entry, you can search the Reporting Services
help.

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