Deserialization problem
-
Hi! I have the following problem: I have two application one of them serializes a class(serialization is OK a can Deserialize it in this app too) The problem is that when I am trying to Deserialize a class from file using the second application, i am getting FileNotFound error. What can be wrong? I am using Binary formmaters. Looking through the serialized file I found that the name of programm i also serialized and probably that name dont let another program to deserialize the class?
-
Hi! I have the following problem: I have two application one of them serializes a class(serialization is OK a can Deserialize it in this app too) The problem is that when I am trying to Deserialize a class from file using the second application, i am getting FileNotFound error. What can be wrong? I am using Binary formmaters. Looking through the serialized file I found that the name of programm i also serialized and probably that name dont let another program to deserialize the class?
-
The problem seems to be finding that file, not the object serialization. Have you written the right location of the file? have you used "\\" (double slash) in the string instead of simply "\", that's a very common error
No it is not the case, there are two progs, and File not found message is raised during serialization proccess not stream opening, it is also said that he was searching for the program that created that file.