Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access denied
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00805379
Message ID:
00805412
Views:
21
Kevin,

I would unregister the current exe com server first. I would then rename the directory to the old name, rename the exe to the old name, register and unregister as the old path and name just to get things back to where you were when you started.

Afterwards, create the new com server in the new path as you would like it, and test again.

regards,

JE

>I completely shut down my computer and brought it back up. Now trying to run:
>
>loServer = CreateObject("gasweb.gas_rpts")
>
>
>returns a "Class definition gasweb.gas_rpts is not found." error. any thoughts on that? I am still trying to go through everything to find what I'm missing. Thanks again, Kevin
>
>
>>Kevin,
>>
>>What Operating System are you using? Is this all local or is this a distributed object of some kind (DCOM, MTS, COM+) ?
>>What user rights does the user you are logged on as have to the PDF writer printer and the dll that contains gasweb.gas_rpts ?
>>
>>regards,
>>
>>JE
>>
>>>I have created a com object for creating pdf reports from fox using Rick Strahl's example on his website. I got it all working, but went back to do some clean up on the code and the naming of files. After that, I'm just trying to run through the fox command window. When I run:
>>>
>>>loServer = CreateObject("gasweb.gas_rpts")
>>>
>>>
>>>I get:
>>>OLE error code 0x80070005: Access is denied.
>>>
>>>I've tried to revert most changes, but still haven't had any luck getting past this message. Any ideas/help would be appreciated.
>>>
>>>Thanks,
>>>Kevin
Previous
Reply
Map
View

Click here to load this message in the networking platform