Click here to Skip to main content
15,888,461 members
Home / Discussions / C#
   

C#

 
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 
QuestionHow to make DOS Printing in C# using VS 2005 Pin
rowdykuttan18-Dec-08 19:29
rowdykuttan18-Dec-08 19:29 
AnswerRe: How to make DOS Printing in C# using VS 2005 Pin
Dave Kreskowiak19-Dec-08 4:21
mveDave Kreskowiak19-Dec-08 4:21 
QuestionReplacing a reference within a library Pin
Minalien18-Dec-08 18:33
Minalien18-Dec-08 18:33 
AnswerRe: Replacing a reference within a library Pin
Minalien18-Dec-08 19:24
Minalien18-Dec-08 19:24 
Questionusing MSN live search Webservice but giving error Pin
bhatted18-Dec-08 18:02
bhatted18-Dec-08 18:02 
QuestionTypeInitializationException was unhandled? Pin
dec8218-Dec-08 16:19
dec8218-Dec-08 16:19 
AnswerRe: TypeInitializationException was unhandled? Pin
PIEBALDconsult18-Dec-08 16:32
mvePIEBALDconsult18-Dec-08 16:32 
QuestionN-Tier DataTable Validation... Pin
Illegal Operation18-Dec-08 12:16
Illegal Operation18-Dec-08 12:16 
QuestionHow to handle errors right? Pin
skyline9218-Dec-08 11:39
skyline9218-Dec-08 11:39 
AnswerRe: How to handle errors right? Pin
Christian Graus18-Dec-08 11:45
protectorChristian Graus18-Dec-08 11:45 
AnswerRe: How to handle errors right? Pin
Expert Coming18-Dec-08 11:47
Expert Coming18-Dec-08 11:47 
AnswerRe: How to handle errors right? Pin
led mike18-Dec-08 12:21
led mike18-Dec-08 12:21 
QuestionHttpWebRequest with Client certs Pin
kicknit218-Dec-08 11:15
kicknit218-Dec-08 11:15 
Questionconnecting to sqlConnection after restarting SQL server process fails Pin
calanit18-Dec-08 10:06
calanit18-Dec-08 10:06 

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.