Web Connection
COM permissions locating data path
Gravatar is a globally recognized avatar based on your email address. COM permissions locating data path
  Paul Nesci
  All
  Jun 29, 2021 @ 07:22am

Hi Rick and rest

I have an issue with COM permissions. When the APP is run in File mode it has no issues seeing the data in either a Mapped Drive or \Machine\Path notation. When the APP is set to operate in COM mode it cannot access either path specification. I am using the APP.INI file here:

[Mconnect]
Datapath=P:\mggclive
Datapath=\\mga-dc1\Slice\mggclive\

(Note only 1 line for Datapath exists as I have just shown both examples)

It seems COM mode lacks some authority when it is invoked. Any ideas or help please.. Thanks Paul

Gravatar is a globally recognized avatar based on your email address. re: COM permissions locating data path
  Rick Strahl
  Paul Nesci
  Jun 29, 2021 @ 08:50am

You need to make sure that either the IIS Application Pool - with the Launching User for Foxpro - or using DCOM if you're using an explicit user account to run your FoxPro COM server - has the rights needed to access data on the network share. A local account like SYSTEM or NETWORK SERVICE will not be able to access a network share due to permissions, so you need a specific account that can access that remote folder without explicit logon (ie. a domain account).

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: COM permissions locating data path
  Paul Nesci
  Rick Strahl
  Jun 29, 2021 @ 08:46pm

Hey Rick this is why I love this product 😃

For those who may follow see image below is how it was solved: Edit the identity to suit. Cheers Paul

© 1996-2021