Click here to Skip to main content
15,921,179 members
Home / Discussions / C#
   

C#

 
Questioncan any one tell Pin
ajhhuer7-Nov-07 7:34
ajhhuer7-Nov-07 7:34 
AnswerRe: can any one tell Pin
Judah Gabriel Himango7-Nov-07 7:39
sponsorJudah Gabriel Himango7-Nov-07 7:39 
AnswerRe: can any one tell Pin
Pete O'Hanlon7-Nov-07 10:16
mvePete O'Hanlon7-Nov-07 10:16 
AnswerRe: can any one tell Pin
Paul Conrad7-Nov-07 12:08
professionalPaul Conrad7-Nov-07 12:08 
QuestionSerialization / Deserialization Problem Pin
Sautin.net7-Nov-07 6:37
Sautin.net7-Nov-07 6:37 
AnswerRe: Serialization / Deserialization Problem Pin
led mike7-Nov-07 6:50
led mike7-Nov-07 6:50 
GeneralRe: Serialization / Deserialization Problem Pin
Sautin.net7-Nov-07 6:58
Sautin.net7-Nov-07 6:58 
GeneralRe: Serialization / Deserialization Problem Pin
led mike7-Nov-07 8:06
led mike7-Nov-07 8:06 
Sautin.net wrote:
because it tells me that it cannot find the .dll that this ArrayList was origionally serialized from,


Sautin.net wrote:
Considering that the application that serialized the object is not the .dll and the values that went into the arraylist are the string values of the .dll class and not the class itself being serialized why would it write the typestring and type into the stream. I can see if you are serializing an object but not an array of strings.


At some point you did serialize an object, you have to, period, that's how it works.

"Finally, when serializing an object, the full name of the type and the name of the type's defining assembly are written to the byte stream."

Your EXE is an assembly. If the error message is citing the DLL name, you have not stated so, then something from that DLL must have been serialized. If the error message is generic "can't find the source DLL" it might be misleading by assuming a DLL when in fact the source assembly was an EXE.

Regardless, the information is in the data and the assembly doesn't exist in your current solution. That is all that is significant here, correct? So now you need to figure out what you can and want to do about it.

In the future you might consider using best practices (isolation / "Separation of Concerns" - Dykstra ) and design patterns like MVC which could assist in avoiding tightly coupled issues.



AnswerRe: Serialization / Deserialization Problem Pin
Giorgi Dalakishvili7-Nov-07 6:56
mentorGiorgi Dalakishvili7-Nov-07 6:56 
GeneralRe: Serialization / Deserialization Problem Pin
Sautin.net7-Nov-07 8:01
Sautin.net7-Nov-07 8:01 
GeneralRe: Serialization / Deserialization Problem Pin
Giorgi Dalakishvili7-Nov-07 8:07
mentorGiorgi Dalakishvili7-Nov-07 8:07 
QuestionNewbie Problem Pin
kingletas7-Nov-07 5:29
kingletas7-Nov-07 5:29 
AnswerRe: Newbie Problem Pin
snorkie7-Nov-07 5:38
professionalsnorkie7-Nov-07 5:38 
GeneralRe: Newbie Problem Pin
kingletas7-Nov-07 6:37
kingletas7-Nov-07 6:37 
AnswerRe: Newbie Problem Pin
Michael Sync7-Nov-07 5:52
Michael Sync7-Nov-07 5:52 
GeneralRe: Newbie Problem Pin
kingletas7-Nov-07 6:44
kingletas7-Nov-07 6:44 
GeneralRe: Newbie Problem Pin
Michael Sync7-Nov-07 7:01
Michael Sync7-Nov-07 7:01 
GeneralRe: Newbie Problem Pin
kingletas7-Nov-07 8:14
kingletas7-Nov-07 8:14 
QuestionSystem.Net settings [modified] Pin
Stevo Z7-Nov-07 5:10
Stevo Z7-Nov-07 5:10 
AnswerRe: System.Net settings Pin
Judah Gabriel Himango7-Nov-07 7:44
sponsorJudah Gabriel Himango7-Nov-07 7:44 
GeneralRe: System.Net settings Pin
Stevo Z7-Nov-07 21:29
Stevo Z7-Nov-07 21:29 
JokeRe: System.Net settings Pin
Judah Gabriel Himango8-Nov-07 4:17
sponsorJudah Gabriel Himango8-Nov-07 4:17 
QuestionMDI Parent & Child Form Pin
tantja7-Nov-07 4:52
tantja7-Nov-07 4:52 
AnswerRe: MDI Parent & Child Form Pin
Matthew Butler7-Nov-07 5:43
Matthew Butler7-Nov-07 5:43 
GeneralRe: MDI Parent & Child Form Pin
tantja7-Nov-07 5:54
tantja7-Nov-07 5:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.