Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

VB6 DLL called from IIS - Need to configure DCOM

Posted on 2008-10-19
2
Medium Priority
?
232 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 1500 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

Simplify Your Workload with One Tool

How do you combat today’s intelligent hacker while managing multiple domains and platforms? By simplifying your workload with one tool. With Lunarpages hosting through Plesk Onyx, you can:

Automate SSL generation and installation with two clicks
Experience total server control

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

705 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