By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,847 Members | 2,392 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,847 IT Pros & Developers. It's quick & easy.

Problem with .NET application accessing MS Exchange Server 6.0

P: n/a
I have a Windows Service written in VB .NET which
connects to an Exchange Server and accesses the messages
in the Public Folders. I am using Collaborative Data
Objects to do this. When I run the service, I get the
following error...

System.Runtime.InteropServices.COMException (0x80010106):
[Collaboration Data Objects - [UNKNOWN_ERROR(80010106)]]
at System.RuntimeType.ForwardCallToInvokeMember(Strin g
memberName, BindingFlags flags, Object target, Int32[]
aWrapperTypes, MessageData& msgData)
at MAPI.SessionClass.Logon(Object ProfileName, Object
ProfilePassword, Object ShowDialog, Object NewSession,
Object ParentWindow, Object NoMail, Object ProfileInfo)
at EMailParser.EMailParser.EmailApp()

My logon method looks like this ...

oSession = New MAPI.Session

'** Logon to the Exchange Server **'
Try
oSession.Logon(, , , , , , server & vbLf & user)
Catch e As System.Runtime.InteropServices.COMException
EventLog1.WriteEntry(e.ToString())
End Try

here server is the name of the Exchange Server and user
is name of the mailbox account on the exchange server.
This piece of code works perfectly on one exchange server
and does what it is supposed to do but when it is run on
another exchange server, it throws the above error. Both
the exchange servers are running Service Pack 3.

Any help will be appreciated.

Thanks in advance.

Arun
Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.