Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automation Server Won't Instantiate
Message
From
03/03/2014 21:53:03
David Greene
Productive Solutions, LLC
California, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Automation Server Won't Instantiate
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01595709
Message ID:
01595709
Views:
55
I have an out-of-process Automation Server for a website running Windows Server 2012 R2 and cannot seem to figure out which security setting will work in an old-school asp page where the following line generates a http 500 error:
  Set oLic = Server.CreateObject("trglic.license")
trglic.exe is a VFP9 executable saved from a project with Multi Instance selected. On the server, trglic.exe /regserver runs without error and we can find trglic.license in the registry along with its CLSID.

We have ADODB working without any trouble in our web pages but need this for that one function ADODB can't address. The ASP code above works fine on a Windows 2003 web server on the existing host's site but we need to move it to a more reliable site and can't do so until we can get this simple tool working.

Any direction toward a solution would be deeply appreciated.

Best regards.


We found the trouble is that there is no entry in DCOM for which Launch and Access permissions can be adjusted. We're using a Windows 7 64-bit machine and IIS 7.5. We've run trglic.exe /regserver and can instantiate the object just fine in VFP, but without the entry in the DCOM list we can't get this to run successfully from classic ASP pages on IIS.

Any thought would be appreciated.
David Greene
Productive Solutions, LLC
Los Angeles
Reply
Map
View

Click here to load this message in the networking platform