there is many way to do this.
"Nayan" <nayan_scet_eng@yahoo.com> wrote in message
news:94C1CF11-0C0D-4F6E-8470-902B33823CE0@microsoft.com...
> Thank you very much for the prompt reply... I think you are right coz this
> report has some images but now I dont know which property to set so it
> just
> use the same credentials.
>
> Any idea ???
>
>
> --
> Nayan Patel (MCSE, MCDBA, MCSD.net)
>
www.binaryworld.net > A Powerful Knowledge Sharing Platform
>
>
>
>
> "Jéjé" wrote:
>
>> maybe there is some access to javascripts or image rendered into the
>> report
>> which access the /reportserver folder.
>> this cause the user to type a login/password.
>> (look at the HTML generated to see if there is any reference to an image
>> outside your application)
>>
>> you have to add some redering properties to setup the web page to render
>> these sub-requests.
>> I don't remember the code.
>>
>> "Nayan" <nayan_scet_eng@yahoo.com> wrote in message
>> news:4915FF22-DB35-4C66-9AF5-889AB1D07023@microsoft.com...
>> >I am trying the following code in my ASP.net page to pass network
>> >credentials
>> > to the ReportServer.
>> > This code renders the report without any problem but for some reason
>> > after
>> > rendering the report it also prompt windows login prompt Is this a
>> > known
>> > bug
>> > with RS ???
>> >
>> > --// Code //--
>> >
>> > Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
>> > System.EventArgs) Handles MyBase.Load
>> > ' Create Web proxy object and set credentials
>> > Dim rs As New RSWebService.ReportingService
>> > rs.Credentials = System.Net.CredentialCache.DefaultCredentials
>> > '//rs.Credentials = New System.Net.NetworkCredential("username",
>> > "mypassword", "mydomain")
>> >
>> > ' Render the report as an HTML4.0 fragment using the Web service
>> > Dim results As [Byte]()
>> > results = rs.Render("/SampleReports/Company Sales", "HTML4.0",
>> > Nothing,
>> > "<DeviceInfo><HTMLFragment>True</HTMLFragment></DeviceInfo>", Nothing,
>> > Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing)
>> >
>> > ' Write the results to the current Web page
>> > Response.BinaryWrite(results)
>> > End Sub
>> >
>> >
>> >
>> > Thanks ......
>> >
>> > --
>> > Nayan Patel (MCSE, MCDBA, MCSD.net)
>> >
www.binaryworld.net >> > A Powerful Knowledge Sharing Platform
>> >
>> >
>>
>>
>>