Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM Server OLE error
Message
From
09/07/1999 22:53:02
 
 
To
09/07/1999 14:28:16
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00239562
Message ID:
00239751
Views:
18
>I have created a COM server to be used with FoxIsapi and gotten it working on my local machine using PWS. I then moved the application onto a development IIS web server for testing. VFP6 is installed on the web server for testing purposes. After registering my COM server from the command prompt using the MyServer.exe /regserver syntax, I tried to create an instance of the server in VFP using CREATEOBJECT() in the Command Window to test it within VFP. I get an "OLE Error...Access is denied" error. The COM server resides in the InetPub\Scripts directory and I have set permissions using DCOMCNFG. What am I missing that is not allowing VFP to create the object?
>
>Thanks,
>Bill

Does the user that the COM server is running as have access the the directory that it is in. Perhaps it is trying to open FoxUser.DBF or some other file.

I assume you say you set permission, you enabled the IUSR_yourmachinename to access and launch your COM objects, either by default security, or specifically to your COM object.

Next, you have to give the COM object access to your machine so it can write to the drive. Go to the Identity Tab of the COM object properties in DCOMCNFG and set it to run as the Interactive user.

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform