You need to sign in to do that
Don't have an account?

Classic ASP and Salesforce
Hey,
I searched and found several threads on using the COM object "SForceOfficeToolkit.SForceSession" to access salesforce from ASP but when I try to create this object I get an error as if the COM were not installed. I have installed the Office Toolkit but it makes no difference. Do I have the COM name wrong? do I need a different installation package? ( I installed SForce_Office_Toolkit_MSI and sforce_connect_616 )
Thanks
Are you using ASP .net or ASP classic?
What is the line that is failing and what is the error message?
Server.CreateObject Failed
Thanks for taking the time to help.
Heh, I really should read more before I talk.
dim fh
set fh = Server.CreateObject("SForceOfficeToolkit3.SForceSession3.1")
Why doesn't the CreateObject method work in WSF files. I am getting the following error.
Microsoft VBScript runtime error: ActiveX component can't create object: 'SForceOfficeToolkitLib3.SForceSession3.1'
Here is my code:
Dim sfdcSession
Set sfdcSession = CreateObject("SForceOfficeToolkitLib3.SForceSession3.1")
Dim isLoggedIn
isLoggedIn = sfdcSession.Login("[username]","[password]")
WScript.StdOut.Write isLoggedIn