Strange HRESULT error

G

Guest

H
Im developing a server/client software that interacts with Exchange with help of adodb. It works fine on the development-machine and on our testservers running diffrent OS (SBS2000 and SBS2003). The problem is that when installing and running on a customers server the program returns this error

System.Runtime.InteropServices.COMException (0x80150804): Exception from HRESULT: 0x80150804
at ADODB.RecordClass.Open(Object Source, Object ActiveConnection, ConnectModeEnum Mode, RecordCreateOptionsEnum CreateOptions, RecordOpenOptionsEnum Options, String UserName, String Password
at swserver.Form1.Form1_Load(Object sender, EventArgs e
at System.Windows.Forms.Form.OnLoad(EventArgs e
at System.Windows.Forms.Form.OnCreateControl(
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible
at System.Windows.Forms.Control.CreateControl(
at System.Windows.Forms.Control.WmShowWindow(Message& m
at System.Windows.Forms.Control.WndProc(Message& m
at System.Windows.Forms.ScrollableControl.WndProc(Message& m
at System.Windows.Forms.ContainerControl.WndProc(Message& m
at System.Windows.Forms.Form.WmShowWindow(Message& m
at System.Windows.Forms.Form.WndProc(Message& m
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam

<-- snip --

Can anyone help me with this
Thanks in advance

/Hylsan
 
D

Dmitriy Lapshin [C# / .NET MVP]

Hi,

The first thing I'd do is checking the versions of the Exchange OLEDB
provider and the MDAC itself on these computers.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://www.x-unity.net/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

Hylsan said:
Hi
Im developing a server/client software that interacts with Exchange with
help of adodb. It works fine on the development-machine and on our
testservers running diffrent OS (SBS2000 and SBS2003). The problem is that
when installing and running on a customers server the program returns this
error ;
System.Runtime.InteropServices.COMException (0x80150804): Exception from HRESULT: 0x80150804.
at ADODB.RecordClass.Open(Object Source, Object ActiveConnection,
ConnectModeEnum Mode, RecordCreateOptionsEnum CreateOptions,
RecordOpenOptionsEnum Options, String UserName, String Password)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top