Hi,
We are using Exchange Server 5.5, and have applications written in VB6 and
C# that read and process emails.
We are experiencing intermittent errors similar to
C# Application
System.Runtime. InteropServices .COMException (0x80004005): The client
operation failed. [Microsoft Exchange Server Information Store -
[E_FAIL(80004005 )]] at System.RuntimeT ype.ForwardCall ToInvokeMember( String
memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes,
MessageData& msgData) at MAPI.Attachment .get_Type()
VB Application
-2147467259 = The client operation failed. [Microsoft Exchange
Server Information Store
The error happens on the determination of the attachment type, as shown in
these code snippets:
C# Application
if ((CdoAttachment Type)att.Type ==
MAPI.CdoAttachm entType.CdoEmbe ddedMessage)
VB Application
If CInt(objMessage .Attachments(j) .Type) <> CdoEmbeddedMess age Then
As it is, the fact that there are attachments is recognized, but fails in
determining the attachment types.
Please note that we can open the emails and attachments from Outlook without
any problems.
We noticed that this behavior happens for emails with source containing
something similar to:
X-MS-TNEF-Correlator: 00000000FCD67D6 733BD374CB183ED 8ADF9C0E6BE44E3 100
This is a multi-part message in MIME format.
--Boundary_(ID_UM mVtfCC+Dy+KJBXV N6RQg)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT
--Boundary_(ID_UM mVtfCC+Dy+KJBXV N6RQg)
Content-type: application/ms-tnef; name=winmail.da t
Content-transfer-encoding: base64
Content-disposition: attachment; filename=winmai l.dat
Any help you can provide to help us understand the problem and work towards
a solutions is greatly appreciated.
Thanks and regards,
Romel 2 4559
Romel,
You sand this message to the newsgroup from VBNet and not to C#.
VB6 and VBNet are almost complete different languages and of course
especially the errorcodes. (C# and VBNet are lookalikes and give the same
errorcodes, so maybe you are lucky and somebody recognise that)
However that change is in my opinion small, so why not try it in
microsoft.publi c.dotnet.langua ges.csharp
and maybe for VB6 (the most active VB6 newsgroup VB6 now)
microsoft.publi c.vb.generaldis cussions
I hope you find your solution
Cor
"CTDev Team" <CT********@new sgroup.nospam> Hi,
We are using Exchange Server 5.5, and have applications written in VB6 and C# that read and process emails.
We are experiencing intermittent errors similar to
C# Application
System.Runtime. InteropServices .COMException (0x80004005): The
client operation failed. [Microsoft Exchange Server Information Store - [E_FAIL(80004005 )]] at System.RuntimeT ype.ForwardCall ToInvokeMember( String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData) at MAPI.Attachment .get_Type()
VB Application
-2147467259 = The client operation failed. [Microsoft Exchange Server Information Store
The error happens on the determination of the attachment type, as shown in these code snippets:
C# Application
if ((CdoAttachment Type)att.Type == MAPI.CdoAttachm entType.CdoEmbe ddedMessage)
VB Application
If CInt(objMessage .Attachments(j) .Type) <> CdoEmbeddedMess age Then
As it is, the fact that there are attachments is recognized, but fails in determining the attachment types.
Please note that we can open the emails and attachments from Outlook
without any problems.
We noticed that this behavior happens for emails with source containing something similar to:
X-MS-TNEF-Correlator: 00000000FCD67D6 733BD374CB183ED 8ADF9C0E6BE44E3 100 This is a multi-part message in MIME format. --Boundary_(ID_UM mVtfCC+Dy+KJBXV N6RQg) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT
--Boundary_(ID_UM mVtfCC+Dy+KJBXV N6RQg) Content-type: application/ms-tnef; name=winmail.da t Content-transfer-encoding: base64 Content-disposition: attachment; filename=winmai l.dat
Any help you can provide to help us understand the problem and work
towards a solutions is greatly appreciated.
Thanks and regards, Romel
Hi Cor,
Thanks a lot for your reply.
The same question was originally posted to the just to the csharp group
yesterday, and we decided to post it to the other related groups as well.
As you have suggested though, we are including
microsoft.publi c.vb.generaldis cussions
in this post.
Again, many thanks.
regards,
Romel
"Cor Ligthert" <no**********@p lanet.nl> wrote in message
news:#S******** ******@TK2MSFTN GP09.phx.gbl... Romel,
You sand this message to the newsgroup from VBNet and not to C#.
VB6 and VBNet are almost complete different languages and of course especially the errorcodes. (C# and VBNet are lookalikes and give the same errorcodes, so maybe you are lucky and somebody recognise that)
However that change is in my opinion small, so why not try it in microsoft.publi c.dotnet.langua ges.csharp and maybe for VB6 (the most active VB6 newsgroup VB6 now) microsoft.publi c.vb.generaldis cussions
I hope you find your solution
Cor
"CTDev Team" <CT********@new sgroup.nospam>
Hi,
We are using Exchange Server 5.5, and have applications written in VB6
and C# that read and process emails.
We are experiencing intermittent errors similar to
C# Application
System.Runtime. InteropServices .COMException (0x80004005): The client operation failed. [Microsoft Exchange Server Information Store - [E_FAIL(80004005 )]] at
System.RuntimeT ype.ForwardCall ToInvokeMember( String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData) at MAPI.Attachment .get_Type()
VB Application
-2147467259 = The client operation failed. [Microsoft Exchange Server Information Store
The error happens on the determination of the attachment type, as shown
in these code snippets:
C# Application
if ((CdoAttachment Type)att.Type == MAPI.CdoAttachm entType.CdoEmbe ddedMessage)
VB Application
If CInt(objMessage .Attachments(j) .Type) <> CdoEmbeddedMess age
Then As it is, the fact that there are attachments is recognized, but fails
in determining the attachment types.
Please note that we can open the emails and attachments from Outlook without any problems.
We noticed that this behavior happens for emails with source containing something similar to:
X-MS-TNEF-Correlator:
00000000FCD67D6 733BD374CB183ED 8ADF9C0E6BE44E3 100 This is a multi-part message in MIME format. --Boundary_(ID_UM mVtfCC+Dy+KJBXV N6RQg) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT
--Boundary_(ID_UM mVtfCC+Dy+KJBXV N6RQg) Content-type: application/ms-tnef; name=winmail.da t Content-transfer-encoding: base64 Content-disposition: attachment; filename=winmai l.dat
Any help you can provide to help us understand the problem and work towards a solutions is greatly appreciated.
Thanks and regards, Romel
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Chris Hearson |
last post by:
Hi All,
I'm currently porting a VC++ app that generates SMTP messages to C#. Part
of the generate message header is a TNEF stream that enables a custom form
to be used when that email is received by an Exchange server.
I'm using the System.Web.Mail classes to generate my C# SMTP message. Can
someone point me in the right direction for adding a TNEF stream to a
message of this type.
|
by: Petri Savolainen |
last post by:
Hello,
has anyone seen such a beast? I tried googling, PyPI, Parnassus etc. but
could not find any pure-python code nor extensions to interface with any
of the existing implementations.
I am thinking about taking the Ruby code I found at
http://www.zweknu.org/technical/index.rhtml?s=p%7c15
|
by: Prince Kumar |
last post by:
I joined a company recently and they have a java program which hangs
(does nothing) after a while. This is no way consistent. It could
succeed quite a few times and can fail a few other times. There is no
consistency when it fails.
Could anyone here shed some light on how to debug/resolve the issue. I
guess IBM looked at the issue and were not able to pinpoint where the
issue is.
When the program hangs and when force the DB2...
|
by: CTDev Team |
last post by:
Hi,
We are using Exchange Server 5.5, and have applications written in VB6 and
C# that read and process emails.
We are experiencing intermittent errors similar to
C# Application
System.Runtime.InteropServices.COMException (0x80004005): The client
|
by: Mike Woinoski |
last post by:
(I'm new to VS, so please forgive me if this is a faq.) I'm writing some Java
web services and need to test them with C++ clients. I can use either a Windows
Form application or an MFC application. I used VS.NET 2003 to create a C# client
that successfully processes SOAP messages to and from the Java service. However,
I'm having problems with the C++ client.
I created a new solution and a new project with File > New > Visual C++ Projects...
| |
by: centur |
last post by:
I have a service, which acquire IMessage (CDO Interop) object from
datasource (binary restored eml (RFC822) message from SQL database).
And due to ms-tnef format of message - i can't extract attachments from
it. Is there any example how I should parse TNEF part
(I iterated over BodyParts, and found IBodyPart object with
application/ms-tnef as ContentMediaType. Unfortunately,
IBodyPart.SaveToFile() saves only complete object with...
|
by: David Isaac |
last post by:
I'm aware of
http://cheeseshop.python.org/pypi/pytnef/
but it uses the tnef utility, and I'd like a pure Python solution
(along the lines of http://www.freeutils.net/source/jtnef/ ).
Is there one?
Thanks,
Alan Isaac
|
by: =?Utf-8?B?S2VzdGZpZWxk?= |
last post by:
Hi
Our company has a .Net web service that, when called via asp.net web pages
across our network works 100%! The problem is that when we try and call the
web service from a remote machine, one outside of our domain, we get the
error.. ** Client found response content type of 'text/html;
charset=Windows-1252', but expected 'text/xml' **. We can discover the web
service by typing in the url of the asmx so we know the server can 'see' it...
|
by: prasenjit2007 |
last post by:
I have a main form for inputing the (to/from/mesg/file) with the following code:-
<html>
<body>
<table>
<tr>
<td>To:</td>
<td><input type="text" name="to" size="50"
value="pras_sandilya@rediffmail.com"></td>
</tr>
|
by: compurhythms |
last post by:
I'm having an issue calling a java-based web service from a C#/.NET
2.0 client that uses WSE 3.0. (No WCF)
There is an operation on the web service that takes a single base64
encoded parameter that is transported as a MTOM mime part in a
multipart request.
The web service provider has sent me a trace of a successful SOAP
request and I have traced my SOAP request and I do not see any
differences other than differences in how the...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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 we have to send another system
|
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |