Permission Denied 'CreateObject' with FoxPro COM+ component

Posted on 2009-12-16
Last Modified: 2013-11-17

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
Question by:acampos
    1 Comment
    LVL 27

    Accepted Solution

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
    Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
    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.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    761 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

    7 Experts available now in Live!

    Get 1:1 Help Now