Solved

VB6 DLL called from IIS - Need to configure DCOM

Posted on 2008-10-19
2
229 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

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

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This video teaches users how to migrate an existing Wordpress website to a new domain.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

734 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