Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: WLM 2012 Started Crashing when Sending Emails

03 Nov 2014   #91
nikki605

Windows 7 Pro x64
 
 

Quote   Quote: Originally Posted by Slartybart View Post
Good work Gary, glad you found the MS Fixit.

You didn't mention it, but I'm guessing you ran Windows Update between msvcrt version (year, not bit depth) installs.
Yes, that's what the KBxxxxxxx numbers represent. For example, I installed 2005 x86, then installed 2005 x64 then checked for Windows Updates. It found only KB2538242 so I installed it. Repeat with other redists...

Quote   Quote: Originally Posted by Slartybart View Post
Are the files directly under \ (C:\msdia80.dll) or is there some folder (C:\VC\msdia80.dll)? I used VC as an example, it could be anything - everything I read seems to indicate the files are not in a folder, but I figured I should ask.
Yes, directly in the root of C:\ - here is a screen shot. I've highlighted the files that were newly placed there after installing the redists, but I may have missed a couple:



There are 2 files in the C:\Program Files\Common Files\Microsoft Shared\VC folder:



The file in question is msdia80.dll but your instructions reference msdiag80.dl? with a 'g' added. There is no such file on the C: drive.

I searched for msdia80.dll and found 3 instances:

C:\
C:\Program Files (x86)\Common Files\microsoft shared\VC
C:\Program Files (x86)\Common Files\microsoft shared\VC\amd64

I'll let you take a look at this before doing anything else.


My System SpecsSystem Spec
.
04 Nov 2014   #92
Slartybart

x64 (6.3.9600) Win8.1 Pro & soon dual boot x64 (6.1.7601) Win7_SP1 HomePrem
 
 

You have very good eyes! Habit on my part to abbreviate diagnostic as diag I suppose - thanks for catching my typo. I fixed my post (msdia is correct, msdiag was incorrect)

The VC\amd64 subfolder throws a tiny wrinkle into getting past this. The documentation states that the correct location is
C:\Program Files\Common Files\microsoft shared\VC
This is the 'common' x64 location ... the redist is so old that who knows what MS decided back in 2004.
The VC\amd64 subfolder is not mentioned at all (or I missed it) - it makes sense in a way, but it almost appears to be an install tree, not the tree resulting from an install. In reality, the location isn't important as long as the service is registered correctly. That's what I expect the ATL fix does - puts the msdia80.dll in a location and registers the dll from that location.

Did you run the ATL download for x86 and x64? If not, please do for both (x86 first, then x64). See if Windows Update offers anything - I doubt that it will, but please check.

Also please run the two dir commands in post #90 and attach the output file. It's easier for me to grab the text file and search or sort to analyze (dates, location, size, etc).

This is a minor distraction - few programs were 64-bit back in 2005 and few, if any used the 64-bit redist. Newer applications used newer redists, but I have a few open source pgms that do carry the 2005 x86 redist. If you recall, this was a blanket approach - put all possible redists on the machine, getting them directly from Microsoft to eliminate a possibly bad c++ library installed by an application.

Early .NET can be troubling as well - so I really hope that you don't have to go through this exercise with .NET. There is a repair tool, but I'll have to look that up. Don't worry about .NET until you know that the work you've done with c++ has or has not resolved the issue.

Let me know if WLM or IE chokes again - or have they since the msvcrt redist changes?

Thanks,

Bill
.
My System SpecsSystem Spec
04 Nov 2014   #93
nikki605

Windows 7 Pro x64
 
 

I was waiting to run the ATL download until I heard back from you so I just ran it. A file called vcredist_IA64.exe was also offered, but since you didn't specifically mention it, I did not run it. I did check for Windows Updates after installing the other two files, but there were no updates.

I then ran the dir commands from Post #90 as requested and attached the TXT file.

Just a couple questions to help me understand the steps you've had me take the past few days:
1. Was it the last IE crash that started you thinking about reinstalling the redists?
2. What about the last WLM crash where my wife was replying to her sister's email. Do you think the WLM crashes are possibly related to the redists or are a separate issue?
Neither IE or WLM have had any additional crashes, but then I didn't get the redists reinstalled until Sunday.


Attached Files
File Type: txt ListRedist.txt (3.6 KB, 2 views)
My System SpecsSystem Spec
.

04 Nov 2014   #94
Slartybart

x64 (6.3.9600) Win8.1 Pro & soon dual boot x64 (6.1.7601) Win7_SP1 HomePrem
 
 

Hmmmm, I lost a post somehow - I probably closed the window before I hit the post button.

I won't retype it - but basically, the WLM log and the WER information solidified the early suspicion of msvcrt redist. I just didn't want to put either of us through this exercise without exhausting other possible solutions.

I looked at the output file and msdia80.dll is in the ...(x86)...\VC\adm64 sub-folder and it has the correct size.

Please download and run the attached RedistQry.bat file and attach the resulting output: UserProfile\Downloads\RedistQry.txt.

This will tell me what Windows thinks are the shared dlls for the c++ redists and give me a list of both 32 and 64 bit folder locations and a full directory list of C:\midia*
RedistQry.bat

I've also attached RedistMv.bat that will clean up the files on C:\. It creates the folder: badInstall under
the ...(x86)...\VC\amd64 subfolder and moves the files from the root to the new folder. You could do this by hand if you want; same procedure, create a folder and move the files. Why move? I'm cautious, but I have fat fingers, so please take a look at the batch file if you decide to use it. I didn't redirect the output to a file, so there's no file to attach after running it.
RedistMv.bat

Bill
.


My System SpecsSystem Spec
04 Nov 2014   #95
nikki605

Windows 7 Pro x64
 
 

I downloaded the RedistQry.bat file and tried to run it, but no output file was created. I even tried Run As Administrator. I am logged in at the administrator level.
My System SpecsSystem Spec
05 Nov 2014   #96
Slartybart

x64 (6.3.9600) Win8.1 Pro & soon dual boot x64 (6.1.7601) Win7_SP1 HomePrem
 
 

I just downloaded the batch file and ran it in a standard Command Prompt. I thought that might be the difference. But the output is created on my machine whether I run a Standard or an elevated Command Prompt.

In case my notation wasn't clear, the output file name is RedistQry.txt and should be in your Downloads folder.

Win7 might have an issue because the batch file was downloaded from another computer. Try unblocking RedistQry.bat (right click the file, select properties, click the unblock button).

If all else fails you can just execute the commands by hand in a command prompt.
These are the commands that produce the output I'd like to see
Code:
reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs /f msdia80

reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs /f msdia

dir /s /a "C:\Program Files\Common Files\microsoft shared\VC\"

dir /s /a "C:\Program Files (x86)\Common Files\microsoft shared\VC\"

C:
cd \
dir /s /a msdia*.dll
The echo lines in the batch file only helped identify the output. IF you run the commands by hand, the output goes to the screen.
Use the command prompt editor (right click the title bar) to select all and then copy. Paste the screen capture into a text file and attach that.

And I thought I was making it easier.

This is just a way for you to check that the msdia80.dll is registered from it's location ...(x86)...\VC\amd64
If doing this 'check' becomes tedious, you can skip this step; it isn't crucial to solving the issue.

If my abbreviations or shorthand isn't clear, let me know and I'll type things longhand.

Since this process wasn't as successful as I had hoped, don't try the move batch file (RedistMv.bat). The file are small enough and won't hurt anything sitting on the C: drive.

We can come back to both of these after it is determined that the redists helped or not.

Recap:
1) you can try the query batch file again as described above or forget about it for now.
2) forget about the move batch file - don't try to run it.
You might revisit this later to clean up, but it isn't necessary - just good housekeeping

Back in the wait for WLM to crash (or not crash)
Bill
.
My System SpecsSystem Spec
05 Nov 2014   #97
nikki605

Windows 7 Pro x64
 
 

I edited your bat file and got it to work. The RedistQry.txt file is attached. I had to change the output folder. The %USERPROFILE% was failing on my machine. I've had this problem before, I think because the User Name contains a ' & ' (space ampersand space).

I'll hold off on the move bat file. Like you said, the files are small and not hurting anything.

Regarding the vcredist_IA64.exe file - what is it and was I right not to install it?


Attached Files
File Type: txt RedistQry.txt (3.5 KB, 0 views)
My System SpecsSystem Spec
05 Nov 2014   #98
nikki605

Windows 7 Pro x64
 
 

These redists are going to drive me crazy. As I've been following your instructions on the desktop system with the WLM problem, I've mirrored the steps on my laptop. Yesterday (11/04/2014) after I installed the last redist on this machine, I did the same on the laptop.

On this machine, I can see the 2 I installed yesterday. But on the laptop, I see those 2 plus a third one installed yesterday. Can you identify it?

c++ 2008 Redistributable x86 9.0.30729.17

+EDIT

Wait a minute, I think I answered my own question. The redists I installed yesterday were 2005 not 2008. I remembered that later yesterday afternoon, I got a prompt from Lenovo that a new version of their Power Manager program was available, so I downloaded and installed it.

Norton has a neat feature that tracks downloads and installs so I looked at it. Sure enough, along with installing the Power Manager update, it also installed this 2008 redist. Here's a screen shot:

WLM 2012 Started Crashing when Sending Emails-installs1.jpg


My System SpecsSystem Spec
05 Nov 2014   #99
Slartybart

x64 (6.3.9600) Win8.1 Pro & soon dual boot x64 (6.1.7601) Win7_SP1 HomePrem
 
 

Quote   Quote: Originally Posted by nikki605 View Post
I edited your bat file and got it to work. The RedistQry.txt file is attached. I had to change the output folder. The %USERPROFILE% was failing on my machine. I've had this problem before, I think because the User Name contains a ' & ' (space ampersand space).

I'll hold off on the move bat file. Like you said, the files are small and not hurting anything.

Regarding the vcredist_IA64.exe file - what is it and was I right not to install it?
Thanks, I should have put quotes around the output file, but thought the environment variable would take care of the spaces - my error and my apologies. Testing on my machine worked because my user name does not contain any spaces.

The move batch file might have a similar mistake in it - yes .. hold off on that.

You were right - do not install any IA64 updates unless your machine has an IA64 chip in it. Mostly only HP servers have a chip with this architecture and that's being phased out soon (by Intel anyway - HP might keep it alive as long as they can). This was one of the things I mentioned in my 'lost' post.

I'll take a look at the 'new' 2008 redist - Windows Update should have supplied all of the redist updates, why Lenevo Power mgr needed a special redist, I do not know.

Welcome to my world! There are certain things that drive me a little closer to the funny farm (c++ redists and .NET are just two of them - I've recently added IE10 and IE11 )

It's always my pleasure working with a member who works hard to solve the issue on their machine. Thanks for your diligence.

Bill
.
My System SpecsSystem Spec
05 Nov 2014   #100
nikki605

Windows 7 Pro x64
 
 

Quote   Quote: Originally Posted by Slartybart View Post
Welcome to my world! There are certain things that drive me a little closer to the funny farm (c++ redists and .NET are just two of them - I've recently added IE10 and IE11 )
I feel the same way about c++ redists & .NET. Over the years those have become out of control beasts. Programs like Power Manger needing it's own c++ version just adds to the mess.

So I guess we are back in wait-and-see mode to see if I get any more crashes.

[sound of Gary tapping his fingers on the desk]

I did have an IE crash on my laptop early this morning, but that's a subject for a new topic if I even decide to investigate it. It happened when I was trying to post the Norton screen shot from the laptop. Gee just think, that PC already has all new c++ redists.

+EDIT

Oops, never mind about the laptop crash. I just checked the Event Viewer and it points to Ad Block Plus which I still have installed on that machine.
My System SpecsSystem Spec
Reply

 WLM 2012 Started Crashing when Sending Emails




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Sending mail from the Outbox on WLM 2012
Hi I am using Windows Live Mail 2012 on Windows 7 64 bit. The program is set up to transfer finished mail to the Outbox before sending, to give me time to check it. However, when I open the Outbox the mail is there waiting to be sent BUT after a minute or so it sends itself without any input...
Browsers & Mail
Outlook 2010 Not sending emails
I have 3 POP/SMTP accounts and 1 MAPI (hotmail) account configured. The last couple of days they are presenting problems because they will not allow me to send an email. I have tried sending one email from any one of the three to the other, or any other recipient and the error is this: "Your...
Microsoft Office
Outlook 2010 not sending emails
I currently run Outlook 2010, I have already set up an email account. My problem is as follows; If I open Outlook, and wait till its fully loaded,i.e. its done a full sweep and downloaded any new emails, if I then try and send ( or even reply back to a new email, the following happens....
Microsoft Office
Windows Live Mail not sending emails through Comcast
All the WLM functions work except 'send'. Yep....I checked and the incoming and outgoing server addresses are OK. All the setup elements look ok...so where do I look from here?
Browsers & Mail
Outlook 2007 hangs on sending html emails in Windows 7
Hi I have been using Win7 64bit for around 2 weeks and previously was on Vista 32bit. Everything is pretty smooth except for Office 2007 Outlook. As far as it is, I have attempted to forward html emails but failed. Outlook will freeze and the round hourglass cursor will keep turning. Anymore...
Browsers & Mail
Outlook not sending emails.
I deleted my contact in my address book, but now when i try send an email, i get the following error message. Check Names- Microsoft Outlook doesn't recognize"....". (between " " is the email address i am trying to send it too) I have tried reinstalling Outlook, repairing the pst file but it...
Microsoft Office


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 23:50.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App