VS2017: System.AccessViolationException
Hi,
I downloaded the XbimWindowsUI and compiled it in VS 2017 without changes. With every IFC model I'm getting a System.AccessViolationException at context.CreateContext(worker.ReportProgress, true); in private void OpenAcceptableExtension(object s, DoWorkEventArgs args) in XplorerMainWindow.xaml.cs
Could you please help?
Regards, Harold
Did you resolve this?
i have the same problem,...how to solve?
Hi, Can you be more precise about the line where the error occurs? Does it occur with every IFC file or just some? Can you share a stack trace, please?
I'm not sure how I can be more precise. I think it's line 281 in XplorerMainWindow.xaml.cs. As mentioned it's with every model I tried. The most irritating point is that it's gone. I changed the OS to Win10 and now it's running without problems ?! So I can't provide a stack trace. Maybe ccc21232 is in a position
Hello @haschulz,
code-wise are you referring to: https://github.com/xBimTeam/XbimWindowsUI/blob/13bb09ab7543d23a6fee1892e60c250c374150d3/XbimXplorer/XplorerMainWindow.xaml.cs#L281
If so, it could have been a problem with Esent database on Windows7 in the Geometry library.
Does the pre-built setup work for anybody with this issue? You can download it from:
http://www.overarching.it/dload/XbimXplorer5/Setup.exe
Thanks, Claudio