?
Solved

Permission Denied 'CreateObject' with FoxPro COM+ component

Posted on 2009-12-16
2
Medium Priority
?
688 Views
Last Modified: 2013-11-17
Hello

Ok. after googling and reading for hours i give up.

I made a new fresh installation in my server. I have Windows 2003 R2. IIS 6. I also have a component, which is a FoxPro component registered in my Component Manager Console. I set the permissions in my IIS and COM+ Group to the same domain user which has Administrator rights. I gave to this user full rights in this computer.

In my ASP page (global.asa) y have in line 19 a CreateObject for this COM+ component. The funny this is that before this line i have other CreateObjects for other components and they work perfectly fine. The page displays OK when i comment out this line but it throws that error if i set it back uncommented.

I open the component from Visual FoxPro and it works fine. The datafiles were in another computer... i moved them to local for the sake of testing. still isnt working.

I would really appreciate your help. I am giving away 500 points :)

Thank you
0
Comment
Question by:acampos
1 Comment
 
LVL 27

Accepted Solution

by:
CaptainCyril earned 2000 total points
ID: 26066441
You need to give your component access to the data folder as well in IIS to IWAM and IUSER: read and/or write depending on what you need.
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Question has a verified solution.

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

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses
Course of the Month15 days, 8 hours left to enroll

850 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