Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CreateObject and NewObject not working on workstations
Message
 
À
28/07/2009 15:11:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01415148
Message ID:
01415270
Vues:
204
This message has been marked as a message which has helped to the initial question of the thread.
You may not have permissions to load this object on a machine with low rights.

If it's an EXE server you may have to apply DCOM permissions to the server as in low trust scenarios often some components aren't accessible. Also on low trust machines (non-Admin account running app) you may simply not have rights to access these SQL components?

+++ Rick ---

>I have a class (sqlclsss.vcx) included in my executable that I instantiate the object like this:
>
>
>SET CLASSLIB TO sqlclss ADDITIVE
>lcSqlConfgConn = 'oConn'+TRIM(sqlconfg.product)  && example would be 'oConnFire'
>&lcSqlConfgConn = CREATEOBJECT("SQLCLSS.SQLPROC")  && sqlproc has methods and properties  <  -- ERROR HERE
>
>
>The class is included in the executable and it works on my development machine, but not on the client's. any ideas why? It returns a bad command verb error.
>
>NEWOBJECT() fails as well with the 'Unrecognized command verb' error.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform