Solved

VB6 DLL called from IIS - Need to configure DCOM

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

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.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…
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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now