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

C#

 
GeneralRe: How can I use a MemoryStream in a System.Generic.List<> Pin
mbudak19-Dec-08 2:14
mbudak19-Dec-08 2:14 
GeneralRe: How can I use a MemoryStream in a System.Generic.List<> Pin
Mark Salsbery19-Dec-08 5:34
Mark Salsbery19-Dec-08 5:34 
Questionhow do import class of c++ to c# ? Pin
ahmeteor18-Dec-08 23:28
ahmeteor18-Dec-08 23:28 
AnswerRe: how do import class of c++ to c# ? Pin
benjymous19-Dec-08 0:16
benjymous19-Dec-08 0:16 
Questionhow i convert LinkButton to Button? Pin
Ravi Munde18-Dec-08 22:57
Ravi Munde18-Dec-08 22:57 
AnswerRe: how i convert LinkButton to Button? Pin
Expert Coming18-Dec-08 23:03
Expert Coming18-Dec-08 23:03 
GeneralRe: how i convert LinkButton to Button? Pin
Ravi Munde18-Dec-08 23:22
Ravi Munde18-Dec-08 23:22 
GeneralRe: how i convert LinkButton to Button? Pin
Expert Coming18-Dec-08 23:30
Expert Coming18-Dec-08 23:30 
GeneralRe: how i convert LinkButton to Button? Pin
J4amieC18-Dec-08 23:47
J4amieC18-Dec-08 23:47 
Questionmerge two image into a single picture box Pin
sree.P18-Dec-08 22:52
sree.P18-Dec-08 22:52 
AnswerRe: merge two image into a single picture box Pin
Expert Coming18-Dec-08 23:05
Expert Coming18-Dec-08 23:05 
AnswerRe: merge two image into a single picture box Pin
Christian Graus18-Dec-08 23:17
protectorChristian Graus18-Dec-08 23:17 
GeneralRe: merge two image into a single picture box Pin
#realJSOP18-Dec-08 23:43
professional#realJSOP18-Dec-08 23:43 
QuestionCan we read data from powerpoint presentation file????? Pin
tozy18-Dec-08 22:44
tozy18-Dec-08 22:44 
AnswerRe: Can we read data from powerpoint presentation file????? Pin
Expert Coming18-Dec-08 23:07
Expert Coming18-Dec-08 23:07 
AnswerRe: Can we read data from powerpoint presentation file????? Pin
ParthibanSudhaman1-Aug-11 8:34
ParthibanSudhaman1-Aug-11 8:34 
QuestionEditing cells of alternate rows in windows datagrid Pin
mukkanti00718-Dec-08 22:34
mukkanti00718-Dec-08 22:34 
AnswerRe: Editing cells of alternate rows in windows datagrid Pin
Expert Coming18-Dec-08 23:09
Expert Coming18-Dec-08 23:09 
AnswerRe: Editing cells of alternate rows in windows datagrid Pin
Expert Coming18-Dec-08 23:10
Expert Coming18-Dec-08 23:10 
GeneralRe: Editing cells of alternate rows in windows datagrid Pin
mukkanti00721-Dec-08 18:11
mukkanti00721-Dec-08 18:11 
QuestionVC6 dll in VC#.net 2005 Pin
raghunathSG18-Dec-08 22:18
raghunathSG18-Dec-08 22:18 
QuestionXmlSerializer not always working Pin
JoZ CaVaLLo18-Dec-08 21:16
JoZ CaVaLLo18-Dec-08 21:16 
Hi people!!!

I had to develop an application that has to work as standalone and also as "add on" of some ERP systems. One of the things done in my program is to have an object serialized to an XML File.

It works 90% of the time... but under ONE of the ERP Systems (SAP) I get a System.InvalidOperationException: "There was an error generating the XML document", InnerException is "Could not load file or assembly 'Swissdec..."

What is driven me crazy is that this exception is generated inside that assembly...

Does somebody have an idea???

here is the stack:

Title: System.InvalidOperationException
Date/Time: 19.12.2008 08:53:43
Message: There was an error generating the XML document.
StackTrace:
at SCS.Swissdec.XmlGenerator.GenerateXmlFileAsDeclareSalary(String pPathToGenerate)
at SCS.Swissdec.SwissdecLogic.Send(DateTime pFromDate, DateTime pToDate, String pSubstituteRequestId)
at SCS.SalaryGUI.Tools.SwissdecControl.btnSend_Click(Object sender, EventArgs e)
******************************
Message: Could not load file or assembly 'Swissdec, Version=10.10.108.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
StackTrace: at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterDeclareSalary.Write81_DeclareSalary(Object o)
******************************
Message: String cannot have zero length.
StackTrace: at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at SCS.Salary_B1AddOn.currentDomain_AssemblyResolve(Object sender, ResolveEventArgs args)
at System.AppDomain.OnAssemblyResolveEvent(String assemblyFullName)
******************************

Life is not short... the problem is only how you organize yourself

QuestionXmlSerializer not always working Pin
JoZ CaVaLLo4-Jan-09 20:48
JoZ CaVaLLo4-Jan-09 20:48 
QuestionSocket connection problem Pin
yesu prakash18-Dec-08 19:57
yesu prakash18-Dec-08 19:57 
AnswerRe: Socket connection problem Pin
Jimmanuel19-Dec-08 1:41
Jimmanuel19-Dec-08 1:41 

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.