PC Review


Reply
Thread Tools Rate Thread

ActiveX Credential Issue to Connect to Web Service

 
 
Gunady
Guest
Posts: n/a
 
      24th Nov 2007
Hi All,

I have used ActiveX (written in C# 2.0) to render report and print it
silently to printer. I have given up to use pure Javascript to do
this. The code in ActiveX will connect to the Reporting Services and
render the report and print it to the printer. The problem is when I
establish connection to Reporting Services, I use DefaultCredential,
and it throws exception "Unauthorized".

The web application/report server is located at different domain, so
when user access the web application/reportserver, there will be a
prompt to enter different domain/username and password. I am afraid
the Credential that is used to connect from ActiveX is not the
username that is used to connect to the web application, but the
windows username (run the browser). I try to hardcode the username/
password using NetworkCredential, and it works perfectly, but
hardcoding username/password is very bad.



Anyone has idea how to overcome this issue? Thank you.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Domain Credential Cache Service Pack 3 Marc Winkler Windows XP General 4 21st Nov 2008 04:39 PM
Crystal Reports ActiveX Designer can't connect to Oracle 10g Big George Microsoft ASP .NET 0 24th Nov 2006 02:05 PM
ActiveX issue Billy Bob Windows XP Help 2 13th Mar 2005 04:22 PM
IIS security, issue with win2k3 credential . ..URGENT =?Utf-8?B?U2FuamF5?= Windows XP Security 0 19th Aug 2004 05:03 PM
Activex issue StuMac Windows XP Internet Explorer 0 15th Oct 2003 05:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:13 PM.