473,325 Members | 2,774 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,325 software developers and data experts.

Invalid format of DLL

I've compiled a number of projects that have a dependency on a DLL containing
the projects' dataset definitions. They're all VB.NET projects and compile
cleanly under one solution in Visual Studio.
I then move the resultant EXEs and DLLs to the company's server from my
local C: drive, and everything looks ok for about five minutes.
After about five minutes, when I try to execute the the EXEs, the message
"Invalid format for Dataset.dll" appears, and when I look at the properties
of the DLL, I find that the version tab has disappeared (it was there 5
minutes earlier).
Also, the EXEs' icons revert to the windows default.
It seems Windows XP is running some sort of background cleanup and disabling
the DLL and its dependent EXEs.
I'm not using strong names or the GAC.
Can someone tell me what the solution to this problem is? I suspect this is
some sort of .NET versioning control, but haven't a clue about fixing it. I
thought the CLR only took action with programs when its made to run them; not
whilst they're sitting in a library.

Thanks,
TrevJ

May 5 '06 #1
2 1795
The only thing that I know that WinXP does is their file protection
process. If a different version of a file (such as notepad.exe) is
copied into the Windows or System32 folder, Windows will silently
re-copy the correct version of it back in. You're not placing any
..dll's in any Windows System folder are you?

When you notice that your files have changed, do they still have the
same date/time stamp on the hard drive? Could you have a virus or
rootkit operating that affects .dll and .exe files?

May 5 '06 #2
"Chris Dunaway" <du******@gmail.com> wrote in message
news:11*********************@e56g2000cwe.googlegro ups.com...
The only thing that I know that WinXP does is their file protection
process. If a different version of a file (such as notepad.exe) is
copied into the Windows or System32 folder, Windows will silently
re-copy the correct version of it back in. <snip>


Here's info on that functionality, if interested.

Windows File Protection on Windows 2000 and Windows XP
http://msdn.microsoft.com/library/de...windows_xp.asp

--
Ken Halter - MS-MVP-VB (visiting from VB6 world) - http://www.vbsight.com
Please keep all discussions in the groups..
May 5 '06 #3

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

Similar topics

1
by: Goran Djuranovic | last post by:
Hi everyone, I copied an asp.net project to another machine by using "Copy Project" menu item from "Project" menu in VS.NET 2003 IDE. The project contains Crystal Reports that are being exported...
2
by: Rubycon | last post by:
Hi all, can anybody tell me what he invalid parameter is in this code. When I try to execute the mmioDescendParent I get a returncode 11, meaning that an invalid parameter has been passed. I...
0
by: David Valle | last post by:
Hi, i've follow an example that Gabriele G. Ponti wrote on 8/5/2003 about the export of a report made in Crystal Report in PDF format, this: ...
15
by: David | last post by:
Hi, I have built a web application that will be a very high profile application. We had tested it, demonstrated it and shown that it all works. On a dress rehearsal run through, it failed...
9
by: MR | last post by:
I get the following Exception "The data at the root level is invalid. Line 1, position 642" whenever I try to deserialize an incoming SOAP message. The incoming message is formed well and its...
2
by: js | last post by:
I got this error when I moved my application to a new Windows 2003 server. I installed and recompiled the 'Microsoft.Practices.EnterpriseLibrary - June 2005" then added these assemblies to the...
1
by: Timbo | last post by:
Hi all, This is my first message here so i'll try and include all the information that will help you help me out, if possible. Basically I am using C# in ASP.NET 2.0 and have a Repeater...
2
by: sree reddy | last post by:
..cs using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls;
3
by: O.B. | last post by:
I recently changed a struct to a class and made its layout Sequential instead of Explicit for Marshalling. And now I'm getting the following error when running my unit tests. I have verified that...
4
by: mattehz | last post by:
Hey there, I am trying to upload old source files and came across these errors: Warning: Invalid argument supplied for foreach() in /home/mattehz/public_html/acssr/trunk/inc_html.php on line 59...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.