Programmatically create a Vantage session

I found some code here recently that showed a way to make a connection to
Vantage with Visual Studio 2005. I am trying to get it to work in Vista
V800.811B.

Code:
Private Sub DirectConnect()

'References:
' EPICOR.MFG.CORE.SESSION
' PROGRESS.MESSAGES

Dim objSess As Epicor.Mfg.Core.Session

objSess = New Epicor.Mfg.Core.Session("manager", "manager", _
"AppServerDC://admserv1:3097", _
Epicor.Mfg.Core.Session.LicenseType.Default)

End Sub

This always gives me the error:

Progress.Open4GL.Exceptions.Open4GLException was unhandled
Message="Type of value has a mismatch with column typeCouldn't store
<System.Byte[]> in DBRowIdent Column. Expected type is Rowid."
MessageId=281470681743359
Source="Progress.o4glrt"
StackTrace:
at Progress.Open4GL.DynamicAPI.Session.runProcedure(String requestID,
String procedureName, ParameterSet parms, Boolean persistent, Boolean
internal_Renamed, Int64 procId, MetaSchema localSchema)
at Progress.Open4GL.DynamicAPI.Session.runProcedure(String requestID,
String procedureName, ParameterSet parms, Object procId, MetaSchema
localSchema)
at Progress.Open4GL.DynamicAPI.PersistentProc.runProcedure(String
procedureName, ParameterSet parms, MetaSchema schema)
at Epicor.Mfg.Proxy.UserFileImpl.GetByID(String dcdUserID)
at Epicor.Mfg.BO.UserFile.Epicor.Mfg.IF.IUserFile.GetByID(String )
at Epicor.Mfg.Core.Session.setUserDefaults(String userID)
at Epicor.Mfg.Core.Session..ctor(String userID, String password,
String asUrl, LicenseType licenseType)
at TestDBDirect.frmMain.DirectConnect() in
D:\Vista8\Customizations\TestDBDirect\TestDBDirect\frmMain.vb:line 25
<Snipped the rest of the stack trace>


Has anyone seen this and have a fix? Maybe it just won't work in Vista?

Thanks

Bob
Vista 8.00.811b
Progress 10.0b
Windows XP SP3
Windows Server 2003