exchangefreaks.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Exch 2003 VCard script stopped working after critical update

 
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange 2000 Miscellaneous
Author Message
Mike Gilbert



Joined: 05 Aug 2007
Posts: 2

PostPosted: Fri Jun 02, 2006 12:32 am    Post subject: Exch 2003 VCard script stopped working after critical update Reply with quote

Help!

I have a customer whose public web site collects lead registrations and
stores them in vcard files. Then every 30 minutes a CDOEX script runs on the
Exchange server system which reads in the vcard files and puts them into a
contacts-style public folder.

After working for years, this script suddenly stopped working in mid April
and I can't figure out why. I suspect it was because of the install of a
recent Exchange or Windows critical update. I have tried the same script on
2 other Exchange 2003 servers at different customer sites which also have all
current critical updates, and the script fails in the same way. I don't have
access to older Exchange servers for testing, but like I said this script ran
flawlessly since 2004 until just recently.

The script is extremely simple and it fails right at the beginning; I've
enclosed a stripped-down version. It creates a CDO.Person object and then
gets the Vcard stream so it can read a Vcard. The fetch of the Vcard stream
is what is failing. I could understand if a save failed or something because
security is always getting tighter, but this failure happens when we are just
creating an empty person object in memory!

My customer is eager to start processing sales leads again. Can you give me
any tips on how to see why this failing or how to fix it? If you have an
up-to-date Exchange server, it's easy to try this yourself.

Thanks for any help you can give me!

Regards,
Mike Gilbert

Here's the script that fails - save this as vcard.vbs and double click it to
see the error:
'Create New Contact object and fill it in from the vcard.
Dim oContact, vStream
set oContact = CreateObject("CDO.Person")
if err.number 0 then wscript.quit

'the line below fails with 80040201 after latest Exchange/Win 2003 updates
set vStream = oContact.GetvCardStream
'vStream.LoadFromFile(vCardFile.Path)

Here's the example that the script followed:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_cdo_creating_a_contact_from_a_vcard_stream.asp

Archived from group: microsoft>public>exchange2000>misc
Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
password not working I have one user that when they try to open outlook, it prompts them for thier password. it has teh then in the next box, it asked for their password. Thier password has not changed. Yet they try typing in thier password, yet it still does

Exchange 2003 OWA 2003 problems Hi All, I wonder if someone could help. Basically when I login to OWA 2003 and then click on an email with a link e.g. it goes back to the username and password screen of OWA eventhough I already any ideas? Thanks in advance!

exchange 2003 service pack 2 local delivery queue retry I have a client thats running SBS 2003 with all the service packs installed. They are not receiving emails and the local drlivery queue is backed up. How do I get the messages to deliver to the users mail boxes? Thanks! Mark S. Daly

Out of office not working after migration to exch2003 Hi I have one user that i can not get his OOO working. He was recently migrated from 5.5 to 2003 however i'm not sure if that is what is causing the issue. others work just fine. When i log into his profile while outlook, i get the promt "Out of office as

History of Exchange Server 2003 Hello: Not sure if this is the right forum to ask these questions. I contacted Microsoft but was unable to get relevant information. I'm enrolled in a High Technology Product Planning and Marketing course, and have been asked to develop a
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange 2000 Miscellaneous All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group