473,545 Members | 2,678 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Microsoft Exchange Data Corruption

I've been doing some minor stuff with an Access Database that creates
an email, or a calendar item etc. for a couple of years now. I have
had no problem using the MAPI code and haven't had any reason to be
concerned about what I was doing. I was looking into direcly linking
somebody's sent item folder with my database but I wanted to see if I
could pull in the attachment with the table or at the least, create a
link to the file on my network. I have been unable to find anything
that allows me to do that, so I am not sure what I can do about that.
My boss, asked me to talk to our independant Exchange/Network guy. I
threw the question at him and he went completely bonkers, freaking out
that I might be corrupting the exchange files and hence would paralyze
my whole office's email some day. I've looked in this group and in
the exchange group and haven't found anything that would lead me to
believe that this is a problem. Would anybody know if I should be
worried about this?

Jeff
jm***@welchcapi tal.com
Nov 12 '05 #1
10 1890
jm***@welchcapi tal.com (jeff) wrote:
I've been doing some minor stuff with an Access Database that creates
an email, or a calendar item etc. for a couple of years now. I have
had no problem using the MAPI code and haven't had any reason to be
concerned about what I was doing. I was looking into direcly linking
somebody's sent item folder with my database but I wanted to see if I
could pull in the attachment with the table or at the least, create a
link to the file on my network. I have been unable to find anything
that allows me to do that, so I am not sure what I can do about that.
My boss, asked me to talk to our independant Exchange/Network guy. I
threw the question at him and he went completely bonkers, freaking out
that I might be corrupting the exchange files and hence would paralyze
my whole office's email some day. I've looked in this group and in
the exchange group and haven't found anything that would lead me to
believe that this is a problem. Would anybody know if I should be
worried about this?


Your network admin guy is an idiot. If you were dealing directly with the exchange
files under the hood so to speak, I'd agree with him. But you are using the standard
Microsoft interfaces so this isn't a problem. You are using the same interfaces that
Outlook and other software uses. So not a problem.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Nov 12 '05 #2

On Wed, 21 Apr 2004 21:02:38 GMT, Tony Toews <tt****@teluspl anet.net>
wrote in comp.databases. ms-access:
Your network admin guy is an idiot. If you were dealing directly with the exchange
files under the hood so to speak, I'd agree with him. But you are using the standard
Microsoft interfaces so this isn't a problem. You are using the same interfaces that
Outlook and other software uses. So not a problem.


I'd second Tony's comments, but with a caveat.

Tony is absolutely correct about raw file i/o versus working through
Jet, but its important to add that just because you are using Jet for
accessing email rather than your own home grown raw file i/o doesn't
mean you're using Jet wisely, or in a fashion that could not result in
just the outcome this network guy warned against.

Let's take a simple example. You want to display header information
for sent messages, so you create a query that does what you want, and
use it as the data source for a given interface element. This is what
Outlook does anyway, so no problems, right? Well, what if Outlook
pulled in a snapshot, and created a separate transparent transaction
for editing, and you pulled back an editable recordset? You both get
the same results and functionality, except that if Exchange needed to
write new data out, it might be blocked by your program, but would
have been fine with the interaction of Outlook alone.

Just my 2c.

Peter Miller
_______________ _______________ _______________ _______________
PK Solutions -- Data Recovery for Microsoft Access/Jet/SQL
Free quotes, Guaranteed lowest prices and best results
www.pksolutions.com 1.866.FILE.FIX 1.760.476.9051
Nov 12 '05 #3
Peter Miller <pm*****@pksolu tions.com> wrote in message news:<pl******* *************** **********@4ax. com>...
On Wed, 21 Apr 2004 21:02:38 GMT, Tony Toews <tt****@teluspl anet.net>
wrote in comp.databases. ms-access:
Your network admin guy is an idiot. If you were dealing directly with the exchange
files under the hood so to speak, I'd agree with him. But you are using the standard
Microsoft interfaces so this isn't a problem. You are using the same interfaces that
Outlook and other software uses. So not a problem.


I'd second Tony's comments, but with a caveat.

Tony is absolutely correct about raw file i/o versus working through
Jet, but its important to add that just because you are using Jet for
accessing email rather than your own home grown raw file i/o doesn't
mean you're using Jet wisely, or in a fashion that could not result in
just the outcome this network guy warned against.

Let's take a simple example. You want to display header information
for sent messages, so you create a query that does what you want, and
use it as the data source for a given interface element. This is what
Outlook does anyway, so no problems, right? Well, what if Outlook
pulled in a snapshot, and created a separate transparent transaction
for editing, and you pulled back an editable recordset? You both get
the same results and functionality, except that if Exchange needed to
write new data out, it might be blocked by your program, but would
have been fine with the interaction of Outlook alone.

Just my 2c.

Peter Miller
_______________ _______________ _______________ _______________
PK Solutions -- Data Recovery for Microsoft Access/Jet/SQL
Free quotes, Guaranteed lowest prices and best results
www.pksolutions.com 1.866.FILE.FIX 1.760.476.9051


Peter and Tony, thanks for the response. But let me clarify. The
four things I am doing are:

Creating a new email which obviously would be specific to the person
running the code.

Creating a new calendar item in a public folder.

Creating a new task item in a users private task folder.

Lastly, I have linked a sent items folder with my database, using the
wizard. I just realized I could link any Exchange folder as well
using the wizard, darn, sometimes they make this sooooo easy. (Not
that I have thought how I would use this yet, but would youz two be
against it?)
It's the last one that I think my guy was most worried about and I
think Peter warned against. I obviously don't need to edit anything
in my sent items folder thru my database so is there away I could make
it uneditable, if it isn't already and would that be enough to avoid
any problems?
Nov 12 '05 #4

Jeff,

On 22 Apr 2004 05:38:27 -0700, jm***@welchcapi tal.com (jeff) wrote in
comp.databases. ms-access:
Peter and Tony, thanks for the response. But let me clarify. The
four things I am doing are:

Creating a new email which obviously would be specific to the person
running the code.

Creating a new calendar item in a public folder.

Creating a new task item in a users private task folder.
These are all totally fine, and many custom Access apps do these sort
of things.
Lastly, I have linked a sent items folder with my database, using the
wizard. I just realized I could link any Exchange folder as well
using the wizard, darn, sometimes they make this sooooo easy. (Not
that I have thought how I would use this yet, but would youz two be
against it?)
It's the last one that I think my guy was most worried about and I
think Peter warned against.
Yes.
I obviously don't need to edit anything
in my sent items folder thru my database so is there away I could make
it uneditable, if it isn't already and would that be enough to avoid
any problems?


Well, instead of linking the folder, how about simply making a query
that pulls back the fields you're after, then when you are happy with
it, just grabbing the underlying sql statement and using it in code
whenever your program needs the contents of the folder (ie, results of
the query), making sure that any recordsets used are of the snapshot
type. The original query could be deleted.

Peter Miller
_______________ _______________ _______________ _______________
PK Solutions -- Data Recovery for Microsoft Access/Jet/SQL
Free quotes, Guaranteed lowest prices and best results
www.pksolutions.com 1.866.FILE.FIX 1.760.476.9051
Nov 12 '05 #5
Peter Miller <pm*****@pksolu tions.com> wrote in message news:<sf******* *************** **********@4ax. com>...
Jeff,

On 22 Apr 2004 05:38:27 -0700, jm***@welchcapi tal.com (jeff) wrote in
comp.databases. ms-access:
Peter and Tony, thanks for the response. But let me clarify. The
four things I am doing are:

Creating a new email which obviously would be specific to the person
running the code.

Creating a new calendar item in a public folder.

Creating a new task item in a users private task folder.


These are all totally fine, and many custom Access apps do these sort
of things.
Lastly, I have linked a sent items folder with my database, using the
wizard. I just realized I could link any Exchange folder as well
using the wizard, darn, sometimes they make this sooooo easy. (Not
that I have thought how I would use this yet, but would youz two be
against it?)
It's the last one that I think my guy was most worried about and I
think Peter warned against.


Yes.
I obviously don't need to edit anything
in my sent items folder thru my database so is there away I could make
it uneditable, if it isn't already and would that be enough to avoid
any problems?


Well, instead of linking the folder, how about simply making a query
that pulls back the fields you're after, then when you are happy with
it, just grabbing the underlying sql statement and using it in code
whenever your program needs the contents of the folder (ie, results of
the query), making sure that any recordsets used are of the snapshot
type. The original query could be deleted.

Peter Miller
_______________ _______________ _______________ _______________
PK Solutions -- Data Recovery for Microsoft Access/Jet/SQL
Free quotes, Guaranteed lowest prices and best results
www.pksolutions.com 1.866.FILE.FIX 1.760.476.9051


thanks Peter, obviously a little more difficult than just using the
wizard but I shouldn't have too many problemst. I forwarded your
responses to my IT guy, hopefully they'll suffice. I did edit the
part out about him being an idiot though.

Jeff
Nov 12 '05 #6
jm***@welchcapi tal.com (jeff) wrote:
I forwarded your
responses to my IT guy, hopefully they'll suffice. I did edit the
part out about him being an idiot though.


Awwww. <smile>

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Nov 12 '05 #7
1) It's his job to make sure the mail works. If you mess it up,
he could get fired.

2) For every time I've seen Jet database corruption, I've seen
100 examples where someone deleted the wrong record, or overwrote
the data. I've got applications with elaborate security to
prevent users getting directly at the data. And now you are
suggesting that you are going to just go in and play with his
data?

I don't have a problem with the technology, but I've got a
lot of sympathy with him as a database administrator.

(david)

"jeff" <jm***@welchcap ital.com> wrote in message
news:8a******** *************** ***@posting.goo gle.com...
I've been doing some minor stuff with an Access Database that creates
an email, or a calendar item etc. for a couple of years now. I have
had no problem using the MAPI code and haven't had any reason to be
concerned about what I was doing. I was looking into direcly linking
somebody's sent item folder with my database but I wanted to see if I
could pull in the attachment with the table or at the least, create a
link to the file on my network. I have been unable to find anything
that allows me to do that, so I am not sure what I can do about that.
My boss, asked me to talk to our independant Exchange/Network guy. I
threw the question at him and he went completely bonkers, freaking out
that I might be corrupting the exchange files and hence would paralyze
my whole office's email some day. I've looked in this group and in
the exchange group and haven't found anything that would lead me to
believe that this is a problem. Would anybody know if I should be
worried about this?

Jeff
jm***@welchcapi tal.com

Nov 12 '05 #8
"david epsom dot com dot au" <david@epsomdot comdotau> wrote:
1) It's his job to make sure the mail works. If you mess it up,
he could get fired.


But when I read the term "completely bonkers" that meant to me the IT admin person
overreacted just a bit. Well, a lot. If the IT admin had asked some questions about
what was going on that would be much more reasonable.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Nov 12 '05 #9
Well I do have sympathy for him, and I do appreciate his concerns, if
he isn't concerned in general then we've got a bad adminsistrator. I
was still surprised at his response which was probably due to my
ignorance on the issue but at the same time he doesn't know much about
what I'm doing either, he's just concerned about it, but it is his ass
on the line. Suffice to say, both of us are reasonably ignorant on
this issue.

Peter suggested for prudence's sake that instead of directly linking
to Exchange I should write a query, take out a snapsnot and then do
what I want with it. My administrator still seemed to be concerned so
if anybody else who has had experience in linking to exchange and can
talk about the risks of data corruption and how to avoid it, it would
be greatly appreciated.

Jeff
Nov 12 '05 #10

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

Similar topics

0
1904
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 service, I get the following error... System.Runtime.InteropServices.COMException (0x80010106): ] at...
1
1819
by: Jim in Arizona | last post by:
I have no idea how to get started, really, but I am looking for a way to have an email sent via an ASP page via our Exchange 2000 server. I have a fairly simple asp page that displays data from a SQL 2000 database in the form of web links. A part of this page allows people to post links to the database for display. When someone posts a link,...
1
1613
by: Ginters | last post by:
I'm not asking a lot. I just want to know if I can connect from an Exchange server to a SQl server without having to use Access linked tables. Surely MS must have had a look at this but I can't find anything out there. Help appreciated. Ginters
10
1284
by: jeff | last post by:
I've been doing some minor stuff with an Access Database that creates an email, or a calendar item etc. for a couple of years now. I have had no problem using the MAPI code and haven't had any reason to be concerned about what I was doing. I was looking into direcly linking somebody's sent item folder with my database but I wanted to see if...
6
4171
by: Helmut | last post by:
Hello, I am Helmut, my database has a Frontend of 15.4 MB which cause Acc2K to corruption: Limit is 12.5 MB. Service Pack 3. On three different PCs with 256, 512 and 1.000 MB RAM. All on W2K, german system. Database is secured and was corrupted. I gave rights to the aministrator and users to import all objects, which I did in portions of...
2
5801
by: James | last post by:
Is it possible for me to generate Outlook objects in an ASP.NET application on a web server (like a calander event for example) and then attach that object to an email so that the recipient can open it and add a calander event to THEIR Outlook file? I already know how to send mail using the SmtpMail object. If it is possible, how difficult...
1
1896
by: Usha | last post by:
Hi I would like to know if it is possible to access the calendar data from MS exchange server 2000 from an ASP.NET application. If possible, please provide reference to relevant articles/code samples etc. Thanks in advance Usha
2
1750
by: nepdae | last post by:
Please forgive me, this is a long one. My 11-user Access 2000 database is having recurring corruption problems. The symptoms include the following: 1) corrupted fields in recently created or accessed records 2) incorrectly linked records via primary and foreign keys (looking at the tables displays the correct key number but when filtered...
13
2646
by: Szabolcs Szucs | last post by:
Hi all, How can I exchange the values of two integer variable without using an auxiliary one. =--= kotee
0
7685
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, 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. ...
0
7941
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7452
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...
0
7784
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6014
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5354
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3467
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1916
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
1
1039
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.