Click here to Skip to main content
15,902,299 members
Home / Discussions / C#
   

C#

 
Question[Message Deleted] Pin
R_L_H13-Dec-06 9:49
R_L_H13-Dec-06 9:49 
AnswerRe: How do you programmatically restart a Service? (specifically SQL Server) Pin
Colin Angus Mackay13-Dec-06 11:29
Colin Angus Mackay13-Dec-06 11:29 
GeneralRe: How do you programmatically restart a Service? (specifically SQL Server) Pin
navyjax224-Dec-08 13:14
navyjax224-Dec-08 13:14 
AnswerRe: How do you programmatically restart a Service? (specifically SQL Server) Pin
Andy Brummer13-Dec-06 11:37
sitebuilderAndy Brummer13-Dec-06 11:37 
QuestionResize row height in DataGrid (Pocket PC)? Pin
george ivanov13-Dec-06 7:17
george ivanov13-Dec-06 7:17 
Questionwin form datagridview sort by column Pin
fmardani13-Dec-06 6:07
fmardani13-Dec-06 6:07 
AnswerRe: win form datagridview sort by column Pin
Milky Way13-Dec-06 10:17
Milky Way13-Dec-06 10:17 
QuestionUnable to Deserialize - [cannot find an Assembly ] Pin
Eytukan13-Dec-06 5:48
Eytukan13-Dec-06 5:48 
ERROR:
Cannot find the assembly MyProject, Version=1.0.1123.4445, Culture=neutral, PublicKeyToken=null.
CODE :
<br />
bytes bs[];<-- Receives data from Socket<br />
BinaryFormatter formatter = new BinaryFormatter();<br />
MemoryStream memStream2 = new MemoryStream(bs);<br />
obj = (object)formatter.Deserialize(memStream2); //Looks like it's impossible :(<br />

When you send any data(anything object, like a DataTable) recognized by the framework, it doesn't throw this error.
But when I send my own structure, it throws this exception. Please help.

REFERENCE:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=961147&SiteID=1[^]

But the above thread talks about a web application. Mine is a windows application.
Also note, I'm new to .net Frown | :(








:Gong: 歡迎光臨 吐 西批 :Gong:

AnswerRe: Unable to Deserialize - [cannot find an Assembly ] Pin
Karthik Kalyanasundaram13-Dec-06 6:03
Karthik Kalyanasundaram13-Dec-06 6:03 
GeneralRe: Unable to Deserialize - [cannot find an Assembly ] Pin
Eytukan13-Dec-06 18:05
Eytukan13-Dec-06 18:05 
QuestionDataTable.AcceptChanges Pin
wasife13-Dec-06 5:19
wasife13-Dec-06 5:19 
AnswerRe: DataTable.AcceptChanges Pin
Andrew Rissing13-Dec-06 7:23
Andrew Rissing13-Dec-06 7:23 
QuestionWriting to an access database with credentials Pin
Beaumont113-Dec-06 4:28
Beaumont113-Dec-06 4:28 
AnswerRe: Writing to an access database with credentials Pin
led mike13-Dec-06 6:39
led mike13-Dec-06 6:39 
GeneralRe: Writing to an access database with credentials Pin
Beaumont113-Dec-06 7:11
Beaumont113-Dec-06 7:11 
GeneralRe: Writing to an access database with credentials Pin
led mike13-Dec-06 7:22
led mike13-Dec-06 7:22 
GeneralRe: Writing to an access database with credentials Pin
Beaumont113-Dec-06 7:24
Beaumont113-Dec-06 7:24 
Questionhow to read from a ethernet connection Pin
faladrim13-Dec-06 3:43
faladrim13-Dec-06 3:43 
QuestionClass inheritance and interfaces Pin
Dario Solera13-Dec-06 3:39
Dario Solera13-Dec-06 3:39 
AnswerRe: Class inheritance and interfaces Pin
J4amieC13-Dec-06 3:45
J4amieC13-Dec-06 3:45 
GeneralRe: Class inheritance and interfaces Pin
Dario Solera13-Dec-06 3:52
Dario Solera13-Dec-06 3:52 
QuestionHow to insert listbox[multiselect] data Pin
mohd imran abdul aziz13-Dec-06 3:31
mohd imran abdul aziz13-Dec-06 3:31 
AnswerRe: How to insert listbox[multiselect] data Pin
althamda13-Dec-06 4:25
althamda13-Dec-06 4:25 
GeneralRe: How to insert listbox[multiselect] data Pin
mohd imran abdul aziz13-Dec-06 16:42
mohd imran abdul aziz13-Dec-06 16:42 
GeneralRe: How to insert listbox[multiselect] data Pin
althamda13-Dec-06 22:46
althamda13-Dec-06 22:46 

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.