A
Abbas
Hello,
I have a COM+ application built using C# and the MSI for it runs just
dandy, its basically a COM proxy for .NET to ASP. However, when
running a test VBScript, I get the following message whenever I
attempt to execute one of the methods (object seems to get created
though)..
on this line: set objCreditAppEntity =
objComProxy.GetSavedApplication(1, "CITDE")
with this message: Error retrieving certificate with ID <> from
location LocalMachine
and this stack trace:
System.Configuration.ConfigurationException
Stack Trace:
at
CIT.EAI.Crypto.CertificateManager.RetrieveCertificateFromStore(X509Certific
ateStore
store, String keyIdentifier)
at CIT.EAI.Crypto.CertificateManager.GetDefaultCertificate()
at CIT.EAI.Web.Security.WseUtilities.GetClientToken()
at
CIT.EAI.Web.Security.WseUtilities.ConfigureProxy(WebServicesClientProtocol
protocol)
at CIT.EAI.EFCanada.ComProxy.RepositoryFactory.GetCreditAppWS()
at
CIT.EAI.EFCanada.ComProxy.EFCanadaComProxy.GetSavedApplication(Int32
creditAppId, String applicationCode)
Any ideas why? seems to be a WSE thing, but I'm lost as I'm still
kind
of a newbie to COM, etc...This proxy talks to three web services by
the way.
VBScript test code given below
----------------------------------------------
Dim objComProxy
Dim arrContact
Dim errCode
Dim objCreditAppEntity
Dim objCreditAppEntityList
Dim objQuoteEntity
Dim objQuoteEntityList
dim xmlDoc, sPath, sFile, sInFileName
Set objComProxy =
CreateObject("CIT.EAI.EFCanada.ComProxy.EFCanadaComProxy")
'ERROR HERE
set objCreditAppEntity = objComProxy.GetSavedApplication(1, "CITDE")
WScript.Echo "Credit app ID: " & objCreditAppEntity.CreditAppId
WScript.Echo "Credit app status code: " &
objCreditAppEntity.CreditAppStatusCd
I have a COM+ application built using C# and the MSI for it runs just
dandy, its basically a COM proxy for .NET to ASP. However, when
running a test VBScript, I get the following message whenever I
attempt to execute one of the methods (object seems to get created
though)..
on this line: set objCreditAppEntity =
objComProxy.GetSavedApplication(1, "CITDE")
with this message: Error retrieving certificate with ID <> from
location LocalMachine
and this stack trace:
System.Configuration.ConfigurationException
Stack Trace:
at
CIT.EAI.Crypto.CertificateManager.RetrieveCertificateFromStore(X509Certific
ateStore
store, String keyIdentifier)
at CIT.EAI.Crypto.CertificateManager.GetDefaultCertificate()
at CIT.EAI.Web.Security.WseUtilities.GetClientToken()
at
CIT.EAI.Web.Security.WseUtilities.ConfigureProxy(WebServicesClientProtocol
protocol)
at CIT.EAI.EFCanada.ComProxy.RepositoryFactory.GetCreditAppWS()
at
CIT.EAI.EFCanada.ComProxy.EFCanadaComProxy.GetSavedApplication(Int32
creditAppId, String applicationCode)
Any ideas why? seems to be a WSE thing, but I'm lost as I'm still
kind
of a newbie to COM, etc...This proxy talks to three web services by
the way.
VBScript test code given below
----------------------------------------------
Dim objComProxy
Dim arrContact
Dim errCode
Dim objCreditAppEntity
Dim objCreditAppEntityList
Dim objQuoteEntity
Dim objQuoteEntityList
dim xmlDoc, sPath, sFile, sInFileName
Set objComProxy =
CreateObject("CIT.EAI.EFCanada.ComProxy.EFCanadaComProxy")
'ERROR HERE
set objCreditAppEntity = objComProxy.GetSavedApplication(1, "CITDE")
WScript.Echo "Credit app ID: " & objCreditAppEntity.CreditAppId
WScript.Echo "Credit app status code: " &
objCreditAppEntity.CreditAppStatusCd