Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tough COM / COM+ problems with Server2003 Enterprise
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows Server 2003
Network:
Windows 2003 Server
Divers
Thread ID:
00995127
Message ID:
00995135
Vues:
14
Although it's nowhere in the docs, AFAIK, wrapping the app in COM+ and impersonating a user with rights is generally the way to have access to network resources.
>Hi All
>I am trying to use the fax features in WinServer 2003 in my app using the Fax COM Api ( createobject('FaxServer.Faxserver') etc...) . I tried to run it from the client into a different server, but it always fails on the connect command. After browsing for hours on the net, i found this answer from someone of the MSFT (!! - read Microsoft Printing, Imaging and Fax Team ) http://www.talkaboutsoftware.com/group/microsoft.public.win2000.fax/messages/5854.html
>Anyway, bottom line is you can call it only locally.
>No problem, i'll create a COM wrapper for that one say i. I'll then run CreateObjectEX from my client machines and that's it...Enter Server2003 COM nightmare.
>I created my COM DLL, and registered at the server. At this point, i couldn't find the CLSID of my class, and also not being comfortable with the security issues, i decided then to make that little puppy COM+. In the identity for the component i entered the Administrator, did the whole COM+ creation panoplie, and tried to run CreateObjectEX from the client. Got an "0x80070005: Access denied" error. Entered properties for the COM+ Application, unchecked the "Enforce Access checks for this Application", and eureka, i can now CreateObjectEX from my client, and even filled the Intellisense with the object's methods.
>I then tried to call a function inside my object, but got all the time the same "Access denied" error as above. My guess is there is a different security setting for the methods, but do not find anywhere where to set them. At this point, i am going to add a "Hello world" function to that object to see if the problem is in whatever my function does, but thought maybe someone here from the MSFT :-))) could help...
>On another completely different phase: anybody knows why the heck the Win2003 server does not accept more than one USB fax modem at the same time for faxing? Is it a limit by default?
>
>Jaime
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform