Tried New VISX with VS 2013 and Win 10


Author
Message
StrataFrame Team
S
StrataFrame Developer (6.3K reputation)StrataFrame Developer (6.3K reputation)StrataFrame Developer (6.3K reputation)StrataFrame Developer (6.3K reputation)StrataFrame Developer (6.3K reputation)StrataFrame Developer (6.3K reputation)StrataFrame Developer (6.3K reputation)StrataFrame Developer (6.3K reputation)StrataFrame Developer (6.3K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
You can use your VS2015 to debug your VS2015.  When you start up a new session and attach to devenv.exe, check the Modules window.  It will list the location where all of the modules have been loaded.  It shouldn't be pulling from C:\Windows\assembly because that's the .NET 2.0 location, so we probably don't have to worry about removing them.

While you're at it, will you send me the output of the Help -> About Microsoft Visual Studio -> Copy Info?  There might be something in there that could give us a clue as to why you're getting the access violation exception in the BOMapper.

And yes, the GAC solved several things about DLL Hell, but it introduced it's own version of DLL Hades Wink
Edhy Rijo
E
StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Ben,

You are right, the assemblies are being loaded correctly from C:\Windows\Microsoft.NET\assembly\GAC_32.

Here is the Exception I got:
System.AccessViolationException was unhandled
Message: An unhandled exception of type 'System.AccessViolationException' occurred in MicroFour StrataFrame

AddIns.dll
Additional information: Attempted to read or write protected memory. This is often an indication that

other memory is corrupt.


Here is a video of the error:
http://screencast.com/t/eBbTtgnvgtc

And here is the IntelliTrace file:
www.progytech.com/downloads/sf/devenv_150929_120802.iTrace.zip


Here is the VS About info:

Microsoft Visual Studio Enterprise 2015
Version 14.0.23107.0 D14REL
Microsoft .NET Framework
Version 4.6.00079

Installed Version: Enterprise

Architecture and Modeling Tools   00322-80000-00000-AA524
Microsoft Architecture and Modeling Tools
   
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc.

in the United States and other countries.

Microsoft Visual Studio Tools for Applications 2015   00322-80000-00000-AA524
Microsoft Visual Studio Tools for Applications 2015

Visual Basic 2015   00322-80000-00000-AA524
Microsoft Visual Basic 2015

Visual C# 2015   00322-80000-00000-AA524
Microsoft Visual C# 2015

Visual C++ 2015   00322-80000-00000-AA524
Microsoft Visual C++ 2015

Windows Phone SDK 8.0 - ENU   00322-80000-00000-AA524
Windows Phone SDK 8.0 - ENU

Application Insights Tools for Visual Studio Package   1.0
Application Insights Tools for Visual Studio

ASP.NET and Web Tools   14.0.20711.0
ASP.NET and Web Tools

ASP.NET Web Frameworks and Tools 2013   5.2.30624.0
For additional information, visit http://www.asp.net/

CodeRush for Visual Studio   15.1.7.0
CodeRush for Visual Studio

Common Azure Tools   1.6
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

CreateLayoutWizard   1.0
Create layout wizard.

DevExpress.DeploymentTool   1.0
A useful tool for deploying DevExpress assemblies.

GenerateUnitTest   1.0
Generates unit test code for methods in classes under test.

MicroFour StrataFrame   1.0
VSIntegration package for MicroFour StrataFrame V1

Microsoft Azure HDInsight HQL Service   2.0.2600.0
Language service for Hive query

Microsoft Azure HDInsight Tools for Visual Studio   2.0.2600.0
An integrated development environment for HDInsight application development.

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

Microsoft Azure Tools   2.7
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.7.30818.1601

Microsoft Code Digger   0.9
Microsoft Code Digger

Microsoft.Pex.VisualStudio   1.0
Pex

NuGet Package Manager   3.2.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

Office Developer Tools for Visual Studio 2015 ENU   14.0.23025
Microsoft Office Developer Tools for Visual Studio 2015 ENU

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   14.0.50901.0
Microsoft SQL Server Data Tools

SQL Server Integration Services  
Microsoft SQL Server Integration Services Designer
Version 13.0.500.53

Visual Studio Tools for Universal Windows Apps   14.0.23309.00 d14oob
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can

reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10

Software Development Kit.

Workflow Manager Tools 1.0   1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

Xamarin   3.11.837.0 (f10676f)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   5.1.5.3 (f98871a95a479f6d71b3067b7e5834d41fcb2118)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   8.10.4.0 (6db87c53c073f4af2f5247fb738a27ea08c094fd)
Visual Studio extension to enable development for Xamarin.iOS.

Xamarin.iOS Unified Migration   1.0
Automated migration for Xamarin iOS Classic projects to Unified

Xamarin.TestCloud.Integration   1.0
Early preview of Xamarin Test Cloud integration

XtraReports package   1.0
XtraReports package


Edhy Rijo

Attachments
ModulesLoaded.jpg (148 views, 292.00 KB)
StrataFrame Team
S
StrataFrame Developer (6.3K reputation)StrataFrame Developer (6.3K reputation)StrataFrame Developer (6.3K reputation)StrataFrame Developer (6.3K reputation)StrataFrame Developer (6.3K reputation)StrataFrame Developer (6.3K reputation)StrataFrame Developer (6.3K reputation)StrataFrame Developer (6.3K reputation)StrataFrame Developer (6.3K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Alright, Edhy, I've been doing a bunch of research on this between yesterday and this morning:

Most will tell you that reinstalling VS or repairing VS will fix it:

http://www.heapoverflow.me/question-nuget-keeps-crashing-visual-studio-2013-30744059
https://bugzilla.xamarin.com/show_bug.cgi?id=27445
https://connect.microsoft.com/VisualStudio/feedback/details/621125/vs-2010-crashes-when-wpf-silverlight-designer-shown

Others will say it's due to the interaction between different add-ins and extensions:

http://stackoverflow.com/questions/9849055/nuget-crashes-vs2010-ultimate
http://stackoverflow.com/questions/13924891/visual-studio-crashes-when-removing-projects-from-c-solution-through-envdte-ad

And this has definitely been a persistent problem:

http://forum.strataframe.net/Topic18722.aspx

And then this one gave me an idea:

https://arildfi.wordpress.com/2006/11/12/ankh-and-accessviolationexceptions/

It's 9 years old, but VS still uses the same stuff internally.  VS has an object model for working with Solutions -> Projects -> ProjectItems -> Sub-ProjectItems and it's possible that there is a ProjectItem hanging around in your object tree that is broken.  It might have been temporarily added by VS and we've held onto the reference, or VS detached the pointer and didn't remove the item from the object model or something, but the item is now stale, and we're trying to access it.  Or it could be a project item that doesn't have a containing project, so it's detached (like an object in a solution folder) or something.  I'm going to comb through the EnvDTE namespace interfaces and see if I can find a way to detect stale objects and ignore them.

In the meantime, will you send me a screenshot of what your solution explorer looks like?  Expand all of the nodes and then use SnagIt or something to do a scrolling screenshot so I can see the whole tree?  Or email me a screen capture video where you scroll through everything expanded.
Edhy Rijo
E
StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Ben,
Wow, thanks so much for checking into this and I am sorry, this is happening.

I just sent you a PM with a video link to my Solution Explorer, even though, this BOM error is happening with all my SF Solutions.

I am wonder, if the BOM exe file depends on the .Net 2.0? I may try re-installing that since when I upgraded my computer from Win7 to Win 10, I had to re-run some setups like MS SQL and MS Word and some of the SF assemblies I re-added to the GAC using gacutil.exe.

Edited: 9/30/2015 1:27pm EST
FYI: I repaired the .Net 2.0 setup in my computer, but still BOM is crashing on all SF solutions.

Edhy Rijo

Edited 9 Years Ago by Edhy Rijo
Edhy Rijo
E
StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Ben,
FYI, since I still have VS2013 installed, I opened one of my solutions not converted to VS2015 and try to re-build a BO and the BOM crashed at the same point as on VS2015.

Also in VS2013, I disabled the SF Extension and re-activated the old AddIn, I know they both use the same assemblies, well BOM crashed again, so my take is that there must be something in the new assemblies that is causing this crash in any solution in VS2013 & VS2015 in my system.

Is anybody else in this thread able to re-buid BO with the BOM using THE NEW VSIX?

Edhy Rijo

Edited 9 Years Ago by Edhy Rijo
Buffie
Buffie
Advanced StrataFrame User (559 reputation)Advanced StrataFrame User (559 reputation)Advanced StrataFrame User (559 reputation)Advanced StrataFrame User (559 reputation)Advanced StrataFrame User (559 reputation)Advanced StrataFrame User (559 reputation)Advanced StrataFrame User (559 reputation)Advanced StrataFrame User (559 reputation)Advanced StrataFrame User (559 reputation)
Group: StrataFrame Users
Posts: 119, Visits: 11K
I was having issues with the New VSIX so I just reinstalled the old stuff and went back to VS2013 and the old Strataframe. Just could not get the new stuff to work and so I gave up.


Edhy Rijo
E
StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)StrataFrame VIP (6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Terry,

Buffie (10/2/2015)
I was having issues with the New VSIX so I just reinstalled the old stuff and went back to VS2013 and the old Strataframe. Just could not get the new stuff to work and so I gave up.

Thanks for the confirmation, unfortunately in my case I cannot go back that easy since I already released a version of my application using .Net 4.6 and some of the new stuff in there, so I will have to help Ben replicate this issue so it can be fixed ASAP.  Also I use DevExpress and due to some previous bugs on their code I have to keep the latest version, so we need to move on.

Edhy Rijo

Buffie
Buffie
Advanced StrataFrame User (559 reputation)Advanced StrataFrame User (559 reputation)Advanced StrataFrame User (559 reputation)Advanced StrataFrame User (559 reputation)Advanced StrataFrame User (559 reputation)Advanced StrataFrame User (559 reputation)Advanced StrataFrame User (559 reputation)Advanced StrataFrame User (559 reputation)Advanced StrataFrame User (559 reputation)
Group: StrataFrame Users
Posts: 119, Visits: 11K
I understand. Good luck. If there is anything I can do let me know.
Michael Reese
Michael Reese
Advanced StrataFrame User (521 reputation)Advanced StrataFrame User (521 reputation)Advanced StrataFrame User (521 reputation)Advanced StrataFrame User (521 reputation)Advanced StrataFrame User (521 reputation)Advanced StrataFrame User (521 reputation)Advanced StrataFrame User (521 reputation)Advanced StrataFrame User (521 reputation)Advanced StrataFrame User (521 reputation)
Group: StrataFrame Users
Posts: 235, Visits: 1.6K
No luck here.
Buffie
Buffie
Advanced StrataFrame User (559 reputation)Advanced StrataFrame User (559 reputation)Advanced StrataFrame User (559 reputation)Advanced StrataFrame User (559 reputation)Advanced StrataFrame User (559 reputation)Advanced StrataFrame User (559 reputation)Advanced StrataFrame User (559 reputation)Advanced StrataFrame User (559 reputation)Advanced StrataFrame User (559 reputation)
Group: StrataFrame Users
Posts: 119, Visits: 11K
I have a question about DevExpress but I am not sure I should ask it here?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search