We don't use .NET so I don't know.  Did you do some debugging to see where 
the exception is being thrown (e.g. what is your service is doing when 
this exception is thrown)?

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313




From:   Sumanta Ray <sumanta.ray.in...@gmail.com>
To:     staf-users@lists.sourceforge.net, 
Date:   07/04/2012 05:39 AM
Subject:        [staf-users] STAFProc fails to load service DLL and throws 
STAFInvalidObjectException



Hi,
    I am new to STAF. We have a native application which uses STAF for 
automation and is running on windows platform. We use the framework to 
emulate 
a callcenter agent and perform various call control scenarios. We have few 

service dlls specific to certain PBX vendors which work fine. I have 
written a 
new service dll mimicing the exiting service dll implementation to support 
a 
new PBX. STAFProc is failing to load my service dll and throws the 
following 
exception...

Caught unknown exception in main()
20120707-15:54:17;4284;00000100;Caught STAFException in HandleRequest(), 
Exception: STAFInvalidObjectException, Text: STA, Error code: 41

The only difference i see between the working service dll and my service 
dll 
is that I have used C++/CLI mixed mode programming to accomodate the PBX 
specific APIs which is .NET based. I would like to know will STAF support 
dlls 
built with .NET managed extensions? If it does, then am I missing 
something 
which is causing this exception. Any help is appreciated.


Thanks & Reards,
Sumanta


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to