Re: C# & Microsoft

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I can understand why OS is not, but plenty of MS apps are (SBA, BizTalk,
WPF, WCF, etc).

Yes, some are, but not the most crucial ones.

What happened? Did you figure out the root cause (Beta sw install/remove,
virus, other)?

Thanks for asking! I didn't experience anything system-wide, only affected
MDX 9. I kept getting a strange and inexplicable exception in any MDX 9 app
I ran - "File Not Found" - when loading modules.

It took me about 4 days to track it down, because it turns out that it was a
native image that was causing the problem, and those are nearly impossible
to find, much less fix. I had to use everything from Dependency Walker to
listDlls to FileMon to WinDebug to find it. It was a VisualC.dll native
image that was causing the problem, and oddly enough, that is not a managed
DLL, and shouldn't have been loaded at all. Uisng nGen didn't fix it, so I
uninstalled all versions of the .Net platform, the DirectX SDK, both
versions of Visual Studio.Net, and all .Net components, deleted all the
remaining files, rebooted, reinstalled everything, and it was fine.

I believe it was related to an install of an early beta of the WinFX SDK
that I did around December. I remember having a bear of a time trying to
install it. But until now, it had not caused any problems. But of course,
MDX is a bit different than most .Net software.

But as I was doing the uninstalling, I realized that thankfully, the rest of
my non-DotNet software was unscathed by the process. So, I'm thinking that
once Vista comes out, with basically a form of .Net built into the OS, we
may see more critical apps written in .Net. Still, MS may have to do
something about the GAC, at least along the lines of being able to repair
it. And of course, mostly for the use of developers and those of us brave
enough to beta test their software!

--

Kevin Spencer
Microsoft MVP
Professional Numbskull

Hard work is a medication for which
there is no placebo.

"William Stacey [MVP]" <william.stacey@xxxxxxxxx> wrote in message
news:eGSXeyaeGHA.2068@xxxxxxxxxxxxxxxxxxxxxxx
|I can give you one good reason why OS and other MS apps are not written
in
| .Net, after my recent experience.

I can understand why OS is not, but plenty of MS apps are (SBA, BizTalk,
WPF, WCF, etc).

| The .Net platform can be removed, changed, and corrupted, although this
is
| not common. Still, it happened to me, and was a pain in the *** to
| diagnose. The OS can also be corrupted, but its much more difficult to
do
| so. Once the platform is corrupted, everything that uses it is
corrupted.

What happened? Did you figure out the root cause (Beta sw install/remove,
virus, other)?

--
William Stacey [MVP]





.


Quantcast