Solved

VB6 DLL called from IIS - Need to configure DCOM

Posted on 2008-10-19
2
226 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This video teaches users how to migrate an existing Wordpress website to a new domain.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

831 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