473,416 Members | 1,660 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

Missing ?.NET? file in a C:\winnt\assembly "subdirectory"

Hi -

Problem: The file below has become zero length
\winnt\assembly\GAC_MSIL\system.deployment\2.0.0.0 _b03f5f7f11d50a3a
\system.deployment.dll

Details follow ...

I've been programming computers for a long, long time, but VB/.NET/
etc. is not my specialty.

I suspect that the folks who read this .NET forum are the ones who
have a clue about what is in the GAC_MSIL "directory." That's why I've
asked this question here.

The file below has been wiped out (made into a zero length file). It
happened when power went out while I was defragmenting my hard drive.
I have backups for the other files lost, but not for this file.

\winnt\assembly\GAC_MSIL\system.deployment\2.0.0.0 _b03f5f7f11d50a3a
\system.deployment.dll

The question is what should I do to try to recover from this
situation? I believe that the file system.deployment.dll is a .NET v2
file, is that correct?

The PC is running the software below:

Windows 2000 __________ fully patched
Microsoft Office 2000 _ fully patched
VB6 version 6.4.99.72 _ VB5 not installed
..NET Framework v2.0 ___ (see below, 7 "paragraphs" down)

When I look in Windows Explorer I see the C:\WINNT\assembly directory
and the "file" "System.Deployment" .

When I right click on that file and look at properties I see ...
Name: ___________________ System.Deployment
Processor Architecture: _ MSIL
Last Modified: __________ 4/1/2008 1:47:18 AM
Culture: ________________ Neutral
Version: ________________ 2.0.0.0
Public Key Token: _______ b03f5f7f11d50a3a
CodeBase:

When I peek in via a DOS command line I see ...

C:\>dir \WINNT\assembly\GAC_MSIL\System.Deployment
\2.0.0.0__b03f5f7f11d50a3a
Volume in drive C is WD120
Volume Serial Number is CE41-D396

Directory of C:\WINNT\assembly\GAC_MSIL\System.Deployment
\2.0.0.0__b03f5f7f11d50a3a

04/01/2008 01:47a ____ <DIR________ .
04/01/2008 01:47a ____ <DIR________ ..
04/01/2008 01:47a _________________ 0 System.Deployment.dll
______________ 1 File(s) ___________ 0 bytes
______________ 2 Dir(s) 24,007,331,840 bytes free

When I run ngen from the command line I get ...

C:\>\WINNT\Microsoft.NET\Framework\v2.0.50727\ngen /?
Microsoft (R) CLR Native Image Generator - Version 2.0.50727.1433

Can I get the System.Deployment.dll file from some CAB in my
installation media? I suspect not. I believe that the file came from
windows update.

I notice that when I do an internet search for "System.Deployment.dll"
that one or more different versions are available. I'm clueless about
which one to download and then how to "appropriately" put the new file
in place.

Should I uninstall and then reinstall office/VB/something-else ?

Should I install the Microsoft .NET Framework 3.0 or 3.5
Redistributable Package? Maybe that's a way around this sticky
situation.

I would appreciate any suggestions that the folks here might have.

Thank You!
Aug 6 '08 #1
1 2059

THIS POST CONTAINS (almost exclusively) DETAILS THAT ARE SPECIFIC TO
WINDOWS 2000.

It turns out that the Windows 2000 file below is indeed a .NET v2
file. My main problem was figuring that out. One blog entry from a
well known .NET Microsoftian made me think that the file might be an
MS-SQL or MS Jet file, but that is not so.

\winnt\assembly\GAC_MSIL\system.deployment\2.0.0.0 _b03f5f7f11d50a3a
\system.deployment.dll

In short, the solution was to uninstall .NET 2 SP1, install .NET 2,
install .NET 2 SP1.

The not short version of the solution follows ...

FIRST, uninstall "Microsoft .NET Framework 2.0 Service Pack 1" (that's
the way it is listed) by using add/remove programs in control panel.
"Because .NET 2.0 SP1 is a major upgrade which uninstalls previous
versions of .NET 2.0, toward the end of the installation it
[uninstalls] .NET 2.0 which is a maintenance installation." (see
bottom for link to this web page) This means that you don't, at this
point, have to uninstall .NET 2.0 . Don't be fooled by the fact that
all the files are still there in the file system. The registry will
have been cleaned of the important keys. You can check if you wish
and you will see (if all has gone well) that the key below is gone
from the registry.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramewor k\Policy

If, for some reason, you never installed .NET 2.0 SP1 then instead
uninstall "Microsoft .NET Framework 2.0" via add/remove programs.

After the uninstall completes reboot your PC.

SECOND, install .NET Framework 2.0 ... you can get it from the URL
below. The file name is dotnetfx.exe and it is 23 MB.

http://www.microsoft.com/downloads/d...displaylang=en

You could probably skip this step and go right to step 3. I didn't. If
you don't skip this step then reboot your PC at this point.

THIRD, install .NET Framework 2.0 Service Pack 1. The file is named
NetFx20SP1_x86.exe. It is 24 MB and can be gotten from the URL below.
Afterwards, I now realize that this is really .NET Framework 2.0 with
SP1 and that step 2 probably could have been skipped.

http://www.microsoft.com/downloads/d...displaylang=en

Reboot your PC at this point.

I ran a windows update afterwards, but no updates were called for.

If you have any problems with uninstalling/installing .NET see the
URLs below. They provide some useful insights/suggestions/etc. for
dealing with problems that arise during .NET installs/uninstalls.

http://blogs.msdn.com/astebner/archi...11/479928.aspx

http://blogs.msdn.com/astebner/archi...7/8108332.aspx

http://blogs.msdn.com/astebner/archi...30/611355.aspx

http://blogs.msdn.com/heaths/archive...o-install.aspx
Aug 6 '08 #2

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

Similar topics

43
by: steve | last post by:
I am quite frustrated with php’s include, as I have spent a ton of time on it already... anyone can tell me why it was designed like this (or something I don’t get)? The path in include is...
3
by: Bart Lateur | last post by:
For some reason, "Database" isn't recognised by Access as a built-in/predefined type, in Access' own VBA. Whenever I try to compile a line like Dim db as Database I get the complaint that...
7
by: David Elliott | last post by:
I have created an application that will dynamically load other DLLs (plugins). The new plugin is a winform with an embedded IE Browser. I am wanting to have the form to run in its own thread....
2
by: Murphy | last post by:
Our website contains subdirectories for each subsidiary company, each company has it's own look and feel to the pages in their subdirectory although they are all part of the main website. The...
2
by: Danny Boy | last post by:
Hi, "Snif" is an excellent little script to index files and directories. It's just one single file, and the advantage is that you merely drop it into the directory you want to index, point a...
2
by: Philip | last post by:
Can you clarify use of the Section allowDefinition="machineToApplication". I have copied the definition from the MSDN documentation further down below. In this definition it says..."....This...
1
by: laredotornado | last post by:
Hi, I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed using Apache's apxs and the php library was installed to /usr/local/php. However, when I set my "error_reporting"...
23
by: deathtospam | last post by:
A day or two ago, I wrote a quick ASPX page with a CS codebehind using Visual Studio .NET 2005 -- it worked, I saved it and closed the project. Today, I came back to the project, reopened the...
2
by: -Lost | last post by:
And by assets, just in case it is a moronic term, I mean CSS, JavaScript, images, server-side includes et cetera. Primarily I am worried about just the CSS, JavaScript, and image aspect. I've...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
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,...
0
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...
0
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,...
0
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...
0
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...
0
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...
0
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...

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.