When I am Exporting data to Excel I am getting a Constant crash with this error message
"vshost32-clr2.exe has stopped working"
This is my code:
ExFileName = "DOC_ EXCEL TRAIL"
Dim saveFileDialog1 As New SaveFileDialog()
saveFileDialog1.Filter =
"Excel File 2007|*.xlsx|Excel File 2007|*.xlsx"
saveFileDialog1.Title = "Save an Excel File"
saveFileDialog1.FileName = ExFileName
saveFileDialog1.ShowDialog()
Dim fs As String = ""
If saveFileDialog1.FileName <> "" Then
fs = (saveFileDialog1.FileName)
UltraGrid1.Export(UltraGrid1)
End If
If con.State = ConnectionState.Open Then
con.Close()
Hi Marius,
Which versions of the Net Advantage for Windows forms are you using? Is this standalone application ? I see you have open connection during the export, are you working with the data in the same time when you try to export it ?
Hi
This is a application that is working on SQL - server.
Should I close the connection?
Their may be users that are using the data at the same time. However it does that when only the Administrator is connected as well
I am using version 10.
About the version we have 3 major releases or NetAdvantage 2010 (I guess this is what you mean by 10), can you clarify which exact version are you using? For example the latest service release that we provide for 10.3. Is 10.3. 2145. Please check the version properties of the referenced Infragistics Dlls in your project. Note that I am asking for this because we have fixed few issues in the excel exporter and I want to be sure you got the latest version available for your version.
About the connection I was curios if the same time you export the data you are loading or updating it to the server? What you mean about the administrator , is the error appear only if Admin is log in?
I am not sure which one of the Ver 10, I think it is V10.1 , here is one the file names in my Bin folder "Infragistics2.Win.UltraWinGrid.v10.1.XML"
I have Ver11, but when I install it, it causes my forms to stop working. I need to get rid of the old version 10 and I don't know how to do this.
Can this be the only issue here?
Hello,
I am just checking about the progress of this issue. Let me know If you need my further assistance on this issue?
Thank you for using Infragistics Components.
Hi,
You can check the correct version when you navigate to the dll on the physical location and check the properties of the dll file. On the Details tab you will see the full version number. For example 13.1 20131.1001.
Anyway if you want to upgrade to 11.1 or 11.1 you should easily do this. What you should pay attention as a start is to reference the same dlls in your project , be sure that they are installed on your machine and clear the license file that is located under the project solution.
When you tried to upgrade to Netadvantage 11.x what kind of issues did you face, did the form stop working an run time or also in Design time?
If you have any sample project that can demonstrate to me it will be perfect, I will be able to look at your version and check what happened?