UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server Windows and Linux VPS Forum > Technical Support > Windows Dedicated Server

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-10-2006, 00:43
Senior System Administrator
 
Join Date: Oct 2006
Posts: 145
Thumbs up How can I display sql reporting service reports without login?

The simplest way is to wrong an asp page with following code:


Quote:
[%

set objhttp = server.createobject(\\\"microsoft.xmlhttp\\\")

url = \"http://sqlreport339.mysite4now.com/ReportServer?/chris/sales order detail/&rs:Command=Render&rs:Format=HTML4.0&rc:Toolbar=Tr ue&rc:JavaScript=False&rc:LinkTarget=_top&rc:Area= Report\\\"

objhttp.open \\\"get\\\", url, false, \\\"login\\\", \\\"password\\\"

objhttp.send
response.write objhttp.responsetext

%]
You must know the report server url, your report path, and report server parameters. You can use the parameter shown in the sample. For detail of the parameters you can search msdn.

If the report you designed requires interaction between report and browswer or there\\\'s embeded item like images in your report, this does not work well and user will get password prompt.

Best Regards,
UKShane
http://www.eukhost.com
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 01:33.

 

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by Web Hosting 3.1.0
Copyright © 2001-2008, eUKhost.com. All rights reserved.

 
Site Map

knowledgebase articles

popular blog categories