Hi together,
I have a prroblem using Infragistics4.WebUI.Documents.excel on a Mono Environment. If I try to set the with of a column I get the following exception:
Description: HTTP 500. Error processing request.
Stack Trace:
System.ArgumentNullException: Could not open display (X-Server required. Check you DISPLAY environment variable) Parameter name: Display at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] in <filename unknown>:0 at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename unknown>:0 at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in <filename unknown>:0 at System.Windows.Forms.XplatUI..cctor () [0x00000] in <filename unknown>:0
Are there any workarounds to suppress the invoke of the Windows Forms Framework when i access the Excel classes.
Thanks for the help
Hello Abuerstner,
I am able to reproduce the issue you are describing on the mono server and our development team has determined this as a bug. So I am the process of logging a development issue regarding this matter. I will update you with the ID once I have this information.
Please let me know if you have any further questions regarding this matter.
Hello Praba,
thank you for your Answer,
We found a workaraound on this issue, by creating a virtual desktop ove vnc and set the display environment variable in the application_Start Method.
But unfortunatly, we found a second issue by saving the document to the response stream. When the save method will be invoked, this method will do an PInvoke call to the gdi32.dll. And because this is a Windows OS dll, the call will be fail.
Best regards
Andreas