General information
Category:
Internet applications
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only