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 Andreas,
When web application, that is developed under MonoDevelop IDE, uses Excel Engine library to manipulate documents, runtime error is thrown." has been addressed in service release versions ASP.NET_11.2.20112.2141, ASP.NET_12.1.20121.2020, ASP.NET_11.1.20111.2225.
To download the current service release for NetAdvantage for .NET from our website, please follow these instructions:
1) Navigate to the "My Keys and Downloads" page on our website. You may be asked to log in using your Infragistics member profile's user name and password. You can reach the My Keys and Downloads page via the following link:<http://es.infragistics.com/Membership/Default.aspx>
2) Click on the "NetAdvantage" tab. This will show all of your registered license keys for NetAdvantage.
3) Click on the license key for the product and version for which you would like to download a service release. This will bring up all available public downloads for this product and version.
4) In the "Service Releases" section, click on the link for the appropriate version of NetAdvantage. Note that there is a service release for each CLR version and in some cases a separate hot fix for an ASP.NET-only, Windows-Forms-only, WPF-only, or full installation.
If your license key is not listed on the My Keys and Downloads page in step 2, then your key has not been registered to your member profile. To register your license key, please go to the Product Registration page, via the following link:<http://devcenter.infragistics.com/Protected/ProductRegistration.Aspx>
Once your license key is registered, it should appear in the My Keys and Downloads page, thus allowing you to download service releases for that version of NetAdvantage.
If you are unable to register your license key for some reason, such as that it is already registered to another user, please contact our Registrations department at the following email address: registrations@infragistics.com
Please let me know if you have any further questions regarding this matter.
I have investigated your issue and, I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 108013. The next step will be for a developer to review my investigation and confirm my findings or to offer a fix, or other resolution.
I will leave this case open and update you with any new information after the review. You can also continue to send updates to this case at any time.
You can view the status of the development issue connected to this case by going to the “My IG” tab on our website, hovering to the "My Support Activity" dropdown and selecting the "Development Issues" tab.
Please let me know if you need more information.
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
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.