[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Vishal Bamba

11/21/2002 4:57:00 PM

2 Answers

Christoph Schittko

11/21/2002 9:16:00 PM

0

Are you calling the code from inside an assembly signed with a strong name
by any chance ?

--
Christoph Schittko
Software Architect

"Vishal Bamba" <vbamba@msn.com> wrote in message
news:e02d01c29176$c071d810$8df82ecf@TK2MSFTNGXA02...
> I have a .cs file that has been generated from a schema
> (xsd) file. When I try to create a new instance of the
> Serializer using a class from the generated .cs file, I
> get an error as shown below:
>
> An unhandled exception of
> type 'System.IO.FileNotFoundException' occurred in
> mscorlib.dll
>
> Additional information: File or assembly name
> h2znavkt.dll, or one of its dependencies, was not found.
>
> The code snippet that throws the error is as follows:
>
> OLifE doc = new OLifE();
> XmlSerializer serializer = new XmlSerializer(typeof
> (OLifE)); //error at this line
> //deserialize object
> doc = (OLifE) serializer.Deserialize(xmlStream);
>
> I've included the relevant source code for the class that
> is being called as "olife.cs".
>
> Any help would be much appreciated.
>
> Thanks
> Vishal


Vishal Bamba

11/22/2002 11:26:00 PM

0