Click here to Skip to main content
15,909,039 members
Home / Discussions / C#
   

C#

 
QuestionIn Multi threaded Application, OpenFileDialog-> My Computer tree not showing Drives available Pin
kumar.bs24-Sep-06 18:53
kumar.bs24-Sep-06 18:53 
AnswerRe: In Multi threaded Application, OpenFileDialog-> My Computer tree not showing Drives available Pin
S. Senthil Kumar24-Sep-06 20:10
S. Senthil Kumar24-Sep-06 20:10 
GeneralRe: In Multi threaded Application, OpenFileDialog-> My Computer tree not showing Drives available Pin
kumar.bs25-Sep-06 0:24
kumar.bs25-Sep-06 0:24 
QuestionHow to make Collection classes serializable Pin
King Shez24-Sep-06 18:50
King Shez24-Sep-06 18:50 
AnswerRe: How to make Collection classes serializable Pin
Nader Elshehabi24-Sep-06 23:42
Nader Elshehabi24-Sep-06 23:42 
Questioneditor Pin
sarojkumarjena24-Sep-06 17:55
sarojkumarjena24-Sep-06 17:55 
AnswerRe: editor Pin
Christian Graus24-Sep-06 19:40
protectorChristian Graus24-Sep-06 19:40 
Questionerror generating the XML document Pin
lagumaster24-Sep-06 17:37
lagumaster24-Sep-06 17:37 
hi everyone,

i'm getting this error: "There was an error generating the XML document" when i try to serialize a class. it works for other classes except for classes like these :

public class studentList()
{
public student[] students //has only one member and it is an array of another class
}

i didn't get much info from stackTrace which says:
at System.Xml.Serialization.XmlSerializationWriter.WriteTypedPrimitive(String name, String ns, Object o, Boolean xsiType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write3_Object(String n, String ns, Object o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write228_studentRegistration(String n, String ns, studentRegistration o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write5_studentBody(String n, String ns, studentBody o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write1_studentMessage(String n, String ns, studentMessage o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write242_studentMessage(Object o)

my question is, is it the class? this is a project at work. i was given these schema files and just generated classes from those schemas to use for the project. i already did searching online and i found one that it says it is a problem on the class. let me know please. i will really appreciate your reply. thanks
AnswerRe: error generating the XML document Pin
S. Senthil Kumar24-Sep-06 20:12
S. Senthil Kumar24-Sep-06 20:12 
Questionsql server connection via ip address Pin
keroed_edmond24-Sep-06 16:02
keroed_edmond24-Sep-06 16:02 
AnswerRe: sql server connection via ip address Pin
Judah Gabriel Himango24-Sep-06 16:14
sponsorJudah Gabriel Himango24-Sep-06 16:14 
QuestionPublic Key Encrytpion with Web Services Pin
Guinness4Strength24-Sep-06 13:16
Guinness4Strength24-Sep-06 13:16 
AnswerRe: Public Key Encrytpion with Web Services Pin
Ed.Poore24-Sep-06 13:32
Ed.Poore24-Sep-06 13:32 
JokeRe: Public Key Encrytpion with Web Services Pin
Nader Elshehabi24-Sep-06 15:35
Nader Elshehabi24-Sep-06 15:35 
QuestionPorting this to event-based? Pin
Lord Kixdemp24-Sep-06 12:31
Lord Kixdemp24-Sep-06 12:31 
AnswerRe: Porting this to event-based? Pin
Nader Elshehabi24-Sep-06 12:44
Nader Elshehabi24-Sep-06 12:44 
GeneralRe: Porting this to event-based? Pin
Lord Kixdemp24-Sep-06 14:27
Lord Kixdemp24-Sep-06 14:27 
GeneralRe: Porting this to event-based? Pin
Nader Elshehabi24-Sep-06 14:54
Nader Elshehabi24-Sep-06 14:54 
GeneralRe: Porting this to event-based? Pin
Lord Kixdemp24-Sep-06 15:13
Lord Kixdemp24-Sep-06 15:13 
GeneralRe: Porting this to event-based? Pin
Nader Elshehabi24-Sep-06 15:30
Nader Elshehabi24-Sep-06 15:30 
GeneralRe: Porting this to event-based? Pin
Lord Kixdemp25-Sep-06 11:25
Lord Kixdemp25-Sep-06 11:25 
GeneralRe: Porting this to event-based? Pin
Nader Elshehabi25-Sep-06 11:44
Nader Elshehabi25-Sep-06 11:44 
GeneralRe: Porting this to event-based? Pin
Lord Kixdemp25-Sep-06 14:27
Lord Kixdemp25-Sep-06 14:27 
GeneralRe: Porting this to event-based? Pin
Nader Elshehabi25-Sep-06 14:36
Nader Elshehabi25-Sep-06 14:36 
GeneralRe: Porting this to event-based? Pin
Lord Kixdemp25-Sep-06 15:02
Lord Kixdemp25-Sep-06 15:02 

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.