473,473 Members | 1,844 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Problem with .NET application accessing MS Exchange Server 6.0

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
0 1891

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Malik Asif Joyia | last post by:
Hello I am using win2000 Advance Server....with service pack-4 ....My computer is a Domain Controller.......and i have installed the Exchange Server 2000 on it ..because i want to develope an...
0
by: Yatendra Khandelwal | last post by:
hi, I am a newbie to this (exchange server and workflows) and I am trying to create a test workflow app using workflow designer (office developer) and exchange 2003. I have created a workflow...
0
by: Max | last post by:
I have a major problem with cdo 1.21 and ASP.NET. I hope you can help me. Please, could you guide me in right direction I need to access an Exchange Server 5.5 from ASP.NET application. ASP.NET...
8
by: Rob Edwards | last post by:
When trying to add the Microsoft CDO for Exchange Management Library (aka CDOEXM.dll) I receive the following message: "A reference to 'Microsoft CDO for Exchange Management Library' could not be...
7
by: Mat | last post by:
I am developping multi-user windows application. i use Access database. user edit, add and delete data from database. Request: when an item is deleted ,added or modified by an user, all others...
0
by: Arun T M | last post by:
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...
0
by: Mostro | last post by:
I have had an OMA problem for a month now, and cannot figure it out. A while back, can't rememeber a specific time, I was able to browse to my OMA at the local host using http://127.0.0.1/oma - it...
0
by: Suman | last post by:
Hello Group, I am relatively new to .NET. I am trying to create a user in AD and a corresponding email account in the exchange server from an ASP.NET, C# application. ...
6
by: Senthil | last post by:
Hi All We are having a VB application on SQL. But we need to collect information from persons who will be offline to verify data and insert new data. Generally they will be entering the data in...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.