I've been using the SDK for some time with v1.1 of the .Net framework and Visual Studio 2003 no problem, and the following code works fine in it, however, I can't get this code to work with Visual Studio 2005 and v2 of the framework:
Try
Dim m As IManage.ManDMS = New IManage.ManDMS
Dim s As IManage.IManSession = m.Sessions.Add("WORKSITE")
s.TrustedLogin()
MsgBox(s.UserID)
s.Logout()
Catch ex As Exception
MsgBox(ex.Message)
End TryThe error is:
"Retrieving the COM class factory for component with CLSID {FDD9199A-1BB4-4433-B9E1-D550D3118676} failed due to the following error: 80040154."Can you help? I wondered is there was something special you had to do to get reference the Worksite.dll in Visual Studio 2005?
Thanks
Gary
Edited by garymccl on 11/14/05 03:48 AM (server time).