Sunday, February 19, 2012

integrated windows authentication

Hello,
In my report application, I had to remove anonymous
authentication and set integrated windows authentication
in IIS manager, in this case,
http://localhost/ReportServer?%2fReport+Project1%
2fReport1&rs%3aClearSession=true&rc%3aView=9d451448-9098-
4b71-8511-c7e08926c50a
works fine, but in the same computer,
http://myserverName/ReportServer?%2fReport+Project1%
2fReport1&rs%3aClearSession=true&rc%3aView=9d451448-9098-
4b71-8511-c7e08926c50a
asks me use id and password when I use myServerName
instead of localhost. Wow can I get windows authentication
works without asking username password?
Thanks,
Jim.Hi Jim,
JIM.H. wrote:
> http://localhost/ReportServer?%2fReport+Project1%
> 2fReport1&rs%3aClearSession=true&rc%3aView=9d451448-9098-
> 4b71-8511-c7e08926c50a
> works fine, but in the same computer,
> http://myserverName/ReportServer?%2fReport+Project1%
> 2fReport1&rs%3aClearSession=true&rc%3aView=9d451448-9098-
> 4b71-8511-c7e08926c50a
> asks me use id and password when I use myServerName
> instead of localhost. Wow can I get windows authentication
> works without asking username password?
I believe that localhost works because it is considered an Intranet site.
You could try adding http://myserverName to your list of Local Intranet
sites (IE, Tools | Internet Options, Security tab, Local Intranet, Sites,
Advanced). That should suppress the dialog and pass your Windows
authentication through automatically.
--
Regards,
Jake Marx
MS MVP - Excel
www.longhead.com
[please keep replies in the newsgroup - email address unmonitored]|||Thanks Jake,
It works fine when myServerName is in trusted list. Now, I
have another problem, I have a report application:
http://myServerName/ReportServer?%2fReport+Project1%
2fReport1&rs:Command=Render. This is working fine in any
computer. I also have an asp.net application that has this
report embedded as a report viewer, so
http://myServerName/App/WebForm1.aspx works fine and bring
report in myServerName server. However when I do
http://myServerName/App/WebForm1.aspx in any other
computer other than myServerName, report viewer is not
showing in IE.
I am not sure what repoet viewer parameters should be but
I am using ReportPath as /Report Project1/Report1,
ServerUrl as http:// myServerName /reportserver.
What is problem?
Thanks,
Jim.
>--Original Message--
>Hi Jim,
>JIM.H. wrote:
>> http://localhost/ReportServer?%2fReport+Project1%
>> 2fReport1&rs%3aClearSession=true&rc%3aView=9d451448-
9098-
>> 4b71-8511-c7e08926c50a
>> works fine, but in the same computer,
>> http://myserverName/ReportServer?%2fReport+Project1%
>> 2fReport1&rs%3aClearSession=true&rc%3aView=9d451448-
9098-
>> 4b71-8511-c7e08926c50a
>> asks me use id and password when I use myServerName
>> instead of localhost. Wow can I get windows
authentication
>> works without asking username password?
>I believe that localhost works because it is considered
an Intranet site.
>You could try adding http://myserverName to your list of
Local Intranet
>sites (IE, Tools | Internet Options, Security tab, Local
Intranet, Sites,
>Advanced). That should suppress the dialog and pass your
Windows
>authentication through automatically.
>--
>Regards,
>Jake Marx
>MS MVP - Excel
>www.longhead.com
>[please keep replies in the newsgroup - email address
unmonitored]
>.
>

No comments:

Post a Comment