473,406 Members | 2,467 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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 1886

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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.