Solved

VB6 DLL called from IIS - Need to configure DCOM

Posted on 2008-10-19
2
225 Views
Last Modified: 2009-01-14
Hi Folks.

Ok - I have written a VB6 DLL (that has some MS Office components within it). I want this to be accessed via a ASP page, however when the DLL is run I want it to look like the Administrator was running it to get around some of the permissions and access denied issues.

It will be running on a Windows 2003 Server.

Can anyone tell me what settings to use in the DCOM area to ensure that this happens.

Many many thanks

Dave
0
Comment
Question by:CVSmarc
2 Comments
 
LVL 2

Accepted Solution

by:
njackson60 earned 500 total points
ID: 22873480
Still need help with this?
If so, your best bet is to just host the DLL in Component Services and set up the Component Service Application with the permissions you need.
Let me know if you need the details on how to do this.
HTH
0
 
LVL 4

Author Comment

by:CVSmarc
ID: 22927913
Hi HTH
Ok - Yes that is what I want to do.  I know about creating a component etc but my biggest issue has always been the permissions section
When someone uses IIS they are automatically logged on as IUser_xxx, however that account has very limited access.
I want to ensure that when the component is run - the component is run as administrator so to get around anything issues.
 
Many thanks
Dave
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ASP.Net Session State alternatives 3 83
IIS6 Virtual SMTP server resends old email after reboot 13 56
Prevent user closing word document opened with VB6 6 74
Help me. 3 54
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question