random dll names

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a VB2003 app (very simple) that runs on XP SP2

when I call the Constructor on XMLSerializer I get a
System.IO.FilenotFoundException in mscorlib.dll

quote

Additional information: File or assembly name ldvld7z2.dll, or one of its
dependencies, was not found.

/quote
The odd thing is each time i run the app the name of the file e.g.

ldvld7z2.dll
viqr5fl6.dll
mnu_zic1.dll
6uqb3zc3.dl

changes, it appears to be completely randomly generated and never a name I
have seen before. The only consistent thing is that it is always an 8
chracter file name and the extension is .dll !

any ideas?

guy
 
guy said:
I have a VB2003 app (very simple) that runs on XP SP2

when I call the Constructor on XMLSerializer I get a
System.IO.FilenotFoundException in mscorlib.dll

quote

Additional information: File or assembly name ldvld7z2.dll, or one of its
dependencies, was not found.

/quote
The odd thing is each time i run the app the name of the file e.g.

ldvld7z2.dll
viqr5fl6.dll
mnu_zic1.dll
6uqb3zc3.dl

changes, it appears to be completely randomly generated and never a name I
have seen before. The only consistent thing is that it is always an 8
chracter file name and the extension is .dll !

Could you post a short but complete program which demonstrates the
problem?

See http://www.pobox.com/~skeet/csharp/complete.html for details of
what I mean by that.

My guess is that the XmlSerializer is creating a new temporary assembly
behind the scenes for you, to do the serialization, but for some reason
something goes wrong. We'll know more when we can reproduce it.
 
There's a very useful article on MSDN that explains common problems
encountered when using XML Serialization and ways to work out what is going
wrong.

The Article is called "Troubleshooting Common Problems with the
XmlSerializer" and can be found online at
http://msdn2.microsoft.com/en-us/library/aa302290.aspx

Hope this helps,

Nick Hall
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top