﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » AccessViolationException in BOM v1.6.5.3</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Thu, 16 Apr 2026 11:39:57 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: AccessViolationException in BOM v1.6.5.3</title><link>http://forum.strataframe.net/FindPost30992.aspx</link><description>Thanks for sharing, Larry. </description><pubDate>Mon, 27 Feb 2012 18:04:47 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>AccessViolationException in BOM v1.6.5.3</title><link>http://forum.strataframe.net/FindPost18722.aspx</link><description>I am getting the following error:&lt;/P&gt;&lt;P&gt;[quote]AccessViolationException&lt;BR&gt;&amp;nbsp; Attempted to read or write protected memory. This is often an indication that other memory is corrupt.&lt;/P&gt;&lt;P&gt;Source&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : EnvDTE&lt;/P&gt;&lt;P&gt;Stack Trace: &lt;BR&gt;&amp;nbsp;&amp;nbsp; at EnvDTE.ProjectItem.get_Name()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.ᜁ(Project A_0, String A_1)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.ᜁ(String A_0, Project A_1)&lt;BR&gt;[/quote]&lt;/P&gt;&lt;P&gt;[quote]AccessViolationException&lt;BR&gt;&amp;nbsp; Attempted to read or write protected memory. This is often an indication that other memory is corrupt.&lt;/P&gt;&lt;P&gt;Source&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : EnvDTE&lt;/P&gt;&lt;P&gt;Stack Trace: &lt;BR&gt;&amp;nbsp;&amp;nbsp; at EnvDTE.ProjectItem.get_Name()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.ᜁ(Project A_0, String A_1)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.ᜀ(String A_0, String A_1, Project A_2)&lt;BR&gt;[/quote]&lt;/P&gt;&lt;P&gt;I get the error when right click a BO in BOM and choose Rebuild, and after the error the BOM Results forms show everything as OK, but the BO classes are not rebuild.</description><pubDate>Mon, 27 Feb 2012 18:04:47 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: AccessViolationException in BOM v1.6.5.3</title><link>http://forum.strataframe.net/FindPost30991.aspx</link><description>I thought I'd post my experience with installing InstallAware 2012 on Windows 7 64-bit and VS2010 in case someone else runs into the same issue. After completing the install I received the memory read errors described earlier in this thread when running BO mapper. Running the .Net 2.0 SDK setup program in repair mode fixed the problem. What ever caused this issue in earlier releases of InstallAware is still with us in the latest version.</description><pubDate>Mon, 27 Feb 2012 17:37:32 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: AccessViolationException in BOM v1.6.5.3</title><link>http://forum.strataframe.net/FindPost27019.aspx</link><description>Yeah, I've taken to unchecking the "Visual Studio Add-In" component of InstallAware to avoid any potential issues here. We still haven't gotten official confirmation/denial that would confirm InstallAware as the culprit of these issues, but it follows suit with the experience of most here, as well as Trent and myself.&amp;nbsp;</description><pubDate>Wed, 28 Apr 2010 16:54:20 GMT</pubDate><dc:creator>Dustin Taylor</dc:creator></item><item><title>RE: AccessViolationException in BOM v1.6.5.3</title><link>http://forum.strataframe.net/FindPost26993.aspx</link><description>Updated...&lt;P&gt;After installing VS2010 in Windows 7 x64, I installed InstallAware 8.1 and again the BOM stop working with the same errors explained here.&lt;/P&gt;&lt;P&gt;I had to reinstall the .Net 2.0 "en_net_framework_sdk_20_x64.exe" and that fixed the problem with the BOM.</description><pubDate>Sun, 25 Apr 2010 13:53:14 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: AccessViolationException in BOM v1.6.5.3</title><link>http://forum.strataframe.net/FindPost23633.aspx</link><description>[quote]ow that I know what is needed to get back to Kansas[/quote]&lt;br&gt;
&lt;br&gt;
LOL...I am glad that you mentioned the InstallAware piece.  I had been scratching my head profusely (and slapping myself in the face ever now and then) up until that point!  I knew that there had to be some common denominator here.&lt;br&gt;
&lt;br&gt;
On a good note, I am actually running, with success, at this point with all installed.  So it is possible, just painful :D</description><pubDate>Fri, 19 Jun 2009 14:38:03 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: AccessViolationException in BOM v1.6.5.3</title><link>http://forum.strataframe.net/FindPost23631.aspx</link><description>[quote][b]Douglas Riley (06/19/2009)[/b][hr]... I may just try installing IA to see if I can recreate the error (now that I know what is needed to get back to Kansas :w00t:).[/quote]&lt;br&gt;
&lt;br&gt;
Hi Doug, &lt;br&gt;
&lt;br&gt;
In your case, if you have the time I may do just that, install IA and do the following:&lt;br&gt;
1 - Test the BOM&lt;br&gt;
2 - Reboot the computer&lt;br&gt;
3 - Test again the BOM&lt;br&gt;
&lt;br&gt;
That may give us a better clue.  FYI, I am using IA in the same working computer with VS and SF.&lt;br&gt;</description><pubDate>Fri, 19 Jun 2009 14:33:22 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: AccessViolationException in BOM v1.6.5.3</title><link>http://forum.strataframe.net/FindPost23630.aspx</link><description>Trent,&lt;br&gt;
Sorry I am just getting back to you.  I ended up doing a repair of Visual Studio 2008 (praying I did not have to reformat the machine!).  I reinstalled everything (Strataframe and Infragistics NetAdvantage 2009) except InstallAware.  Went back to my project, opened the BOM and everything worked! &lt;br&gt;
&lt;br&gt;
Now I am a little gun shy about installing InstallAware 9 back on this machine unless I can exclude that VS add-in option (or get a separate machine to create IA packages...ugh!).  I may just try installing IA to see if I can recreate the error (now that I know what is needed to get back to Kansas :w00t:).&lt;br&gt;
&lt;br&gt;
Doug</description><pubDate>Fri, 19 Jun 2009 14:29:05 GMT</pubDate><dc:creator>Douglas Riley</dc:creator></item><item><title>RE: AccessViolationException in BOM v1.6.5.3</title><link>http://forum.strataframe.net/FindPost23626.aspx</link><description>Thanks for the update, Edhy! :)</description><pubDate>Fri, 19 Jun 2009 12:02:21 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: AccessViolationException in BOM v1.6.5.3</title><link>http://forum.strataframe.net/FindPost23625.aspx</link><description>[quote][b]Trent L. Taylor (06/19/2009)[/b][hr]Edhy, if you read this post would you comment if this was after your IntsallAware install as well?  Thanks![/quote]&lt;br&gt;
Hi Trent, &lt;br&gt;
&lt;br&gt;
I honestly don't remember if I did something with IA at the time of getting this problem, but that may be the case since I also use IA and may have probably install an update which at any case will simple remove the current installation and install the new one :D &lt;br&gt;
&lt;br&gt;
In my case re-installing the .Net 2.0 fixed the problem, don't know if IA could mess with that, but at least now we all have another factor in this case "InstallAware".  Probably you could setup a VPC and play with this installing IA.&lt;br&gt;
&lt;br&gt;
FYI, my version of IA is: 8.01 (Build Ame - Rej.RTM, 110408).&lt;br&gt;</description><pubDate>Fri, 19 Jun 2009 12:00:50 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: AccessViolationException in BOM v1.6.5.3</title><link>http://forum.strataframe.net/FindPost23611.aspx</link><description>LOL...yeah, I am not holding my breath!  But I think this is starting to shed some light.  &lt;br&gt;
&lt;br&gt;
Edhy, if you read this post would you comment if this was after your IntsallAware install as well?  Thanks!</description><pubDate>Fri, 19 Jun 2009 09:01:00 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: AccessViolationException in BOM v1.6.5.3</title><link>http://forum.strataframe.net/FindPost23610.aspx</link><description>I had this and as I posted a reinstall fixed it, luckily. It was also after an install of the InstallAware trial. I didnt think it a factor at the time, but this post made the lightbulb go off and I figured you would like another data point.&lt;/P&gt;&lt;P&gt;Good luck with Microsoft, after 3 hours on the phone with them trying to troubleshoot a WDAC error on my machine, the fix was of course "reload your OS".</description><pubDate>Fri, 19 Jun 2009 08:58:41 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: AccessViolationException in BOM v1.6.5.3</title><link>http://forum.strataframe.net/FindPost23608.aspx</link><description>Sorry for the delay in getting back with you.  I actually missed this post. :blush:&lt;br&gt;
&lt;br&gt;
Please answer one question for me as it might give us a clue.  You have been a user for a while, so what changed on this development machine between when things worked and when it stopped?&lt;br&gt;
&lt;br&gt;
This is one of the most frustrating errors that I have seen as I have figured out what piece is failing, but Microsoft could not give me any straight answers (or to this point ... ANY answers).  I was excited the other day because I could debug it and I thought I would be able to isolate the issue....but it went away and started working again!&lt;br&gt;
&lt;br&gt;
So it is definitely environmental.  Because something within my environment changed that allowed be to get to the DTE.&lt;br&gt;
&lt;br&gt;
I had the same issue with a Macro that we had created in house.  When you create a macro, it hands you the DTE object...so...you would think that VS would give you a valid instance to work with...but in my case it failed.  I moved it over to the Add-In and it worked (makes no sense).  I also had the issue with the BO Mapper shortly afterwards (the machine I am working on is a new development machine...thus the newness of the issue).  But after debugging and changing some things...it started to work.  I didn't change any drastic, just rebuilt the extensibility solution several times (maybe like 20).  &lt;br&gt;
&lt;br&gt;
I will see if I can reproduce again.  But this definitely environmental and we have not yet figured out the root of the cause...sorry :(  I will see if I can get it to happen again on my side.</description><pubDate>Fri, 19 Jun 2009 08:39:32 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: AccessViolationException in BOM v1.6.5.3</title><link>http://forum.strataframe.net/FindPost23582.aspx</link><description>Uninstalled Strataframe completely (database included) and reinstalled.  Received the same error in the BOM.  I am out of ideas right now.  I'll take any suggestions.</description><pubDate>Thu, 18 Jun 2009 10:22:37 GMT</pubDate><dc:creator>Douglas Riley</dc:creator></item><item><title>RE: AccessViolationException in BOM v1.6.5.3</title><link>http://forum.strataframe.net/FindPost23575.aspx</link><description>Oh, that really shouldn't be part of the formula.  But go ahead and let it update the database for good measure.</description><pubDate>Thu, 18 Jun 2009 08:11:13 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: AccessViolationException in BOM v1.6.5.3</title><link>http://forum.strataframe.net/FindPost23574.aspx</link><description>Ok. Do I need to touch the Strataframe database during reinstallation?  Thanks!</description><pubDate>Thu, 18 Jun 2009 08:03:16 GMT</pubDate><dc:creator>Douglas Riley</dc:creator></item><item><title>RE: AccessViolationException in BOM v1.6.5.3</title><link>http://forum.strataframe.net/FindPost23573.aspx</link><description>You know what...come to think of it, that is when my problem started!  I loaded InstallAware and it added a VS Addin and toolbar...and now that you mention it, that is when I started running into the issue.&lt;br&gt;
&lt;br&gt;
I reloaded the extensibility about 20 times (and a number of other things) and gave up...the next day I came in and had forgotten about it, went into the BO Mapper, and it did not have any issue accessing the DTE2 object.&lt;br&gt;
&lt;br&gt;
I did track down where it fails through all of this.  We tie into the DTE using the IDTE2 interface which allows us to access the VS IDE environment, enumeration projects, solutions, etc. The DTE object itself would get created, however, the internal properties, such as the documents and projects, would show an access violation exception.&lt;br&gt;
&lt;br&gt;
There is something within the environment and a very unique set of circumstances that causes this issue.  I plan on changing how we get to the CodeDOM and DTE altogether when we rework the BO Mapper before long, but I would sure like to try and figure out what environmental piece is causing this.&lt;br&gt;
&lt;br&gt;
I never uninstalled InstallAware as it never dawned on me that my problems started after I loaded that.  Now that it is uninstalled, try reloading SF to see if anything gets put back into the GAC and add-in environment correctly.</description><pubDate>Thu, 18 Jun 2009 07:56:54 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: AccessViolationException in BOM v1.6.5.3</title><link>http://forum.strataframe.net/FindPost23572.aspx</link><description>Tried a new project on my laptop and everything works fine.  This all started on my desktop yesterday evening.  Only thing that changed on this PC was an installation of InstallAware Express 9 (on Monday).  I had uninstalled it this morning before trying all of these options.</description><pubDate>Thu, 18 Jun 2009 07:49:17 GMT</pubDate><dc:creator>Douglas Riley</dc:creator></item><item><title>RE: AccessViolationException in BOM v1.6.5.3</title><link>http://forum.strataframe.net/FindPost23571.aspx</link><description>Really....I have never seen it happen on a 32-bit machine....until now! :)&lt;br&gt;
&lt;br&gt;
Just for testing purposes, do you have another machine or laptop that you could load SF on to see if you have the same problem?  You have been a user for a while so do you know what changed or when the problem started?</description><pubDate>Thu, 18 Jun 2009 07:38:23 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: AccessViolationException in BOM v1.6.5.3</title><link>http://forum.strataframe.net/FindPost23570.aspx</link><description>Trent,&lt;br&gt;
Yes, I tried a brand new project and got the same error.  I am using Windows XP (32 bit OS).&lt;br&gt;
Doug</description><pubDate>Thu, 18 Jun 2009 07:36:10 GMT</pubDate><dc:creator>Douglas Riley</dc:creator></item><item><title>RE: AccessViolationException in BOM v1.6.5.3</title><link>http://forum.strataframe.net/FindPost23569.aspx</link><description>You know, I ran into this the other day myself.  So I am willing to bet that you may be running a 64-bit OS.  This is the only time I have ever seen this.  And it has to do with accessing the CodeDOM or the DTE2 depending on where it fails.  I would be curious if you have tried this on a new project.  Just for troubleshooting purposes, if you create a new project, add a new BO, then go into the BO Mapper do you still get the error?&lt;br&gt;
&lt;br&gt;
I did a number of things the other day and the error went away when I was not expecting it to.  But let's start by troubleshooting this with a new project and solution.</description><pubDate>Thu, 18 Jun 2009 07:27:27 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: AccessViolationException in BOM v1.6.5.3</title><link>http://forum.strataframe.net/FindPost23568.aspx</link><description>Is anyone still running into this error?  I now have the same problem using 1.6.6. &lt;br&gt;
&lt;br&gt;
AccessViolationException&lt;br&gt;
  Attempted to read or write protected memory. This is often an indication that other memory is corrupt.&lt;br&gt;
&lt;br&gt;
Source     : EnvDTE&lt;br&gt;
&lt;br&gt;
Stack Trace: &lt;br&gt;
   at EnvDTE.ProjectItem.get_Name()&lt;br&gt;
   at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.ᜁ(Project A_0, String A_1)&lt;br&gt;
   at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.ᜁ(String A_0, Project A_1)&lt;br&gt;
&lt;br&gt;
I have tried all the suggestions listed (reinstalled Strataframe 1.6.6, installed 1.6.7, reinstalled the frameworks) but still receive the same error.  Any help would be appreciated!!  I am about out of ideas.&lt;br&gt;
&lt;br&gt;
Doug</description><pubDate>Thu, 18 Jun 2009 07:23:35 GMT</pubDate><dc:creator>Douglas Riley</dc:creator></item><item><title>RE: AccessViolationException in BOM v1.6.5.3</title><link>http://forum.strataframe.net/FindPost21973.aspx</link><description>Installing 1.6.7 beta fixed this on my 2nd development machine :)</description><pubDate>Fri, 13 Feb 2009 23:32:58 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: AccessViolationException in BOM v1.6.5.3</title><link>http://forum.strataframe.net/FindPost21475.aspx</link><description>LOL....well, you know what the Cowboys and a possum have in common don't you?&lt;/P&gt;&lt;P&gt;They play dead at home and get killed on the road. :crazy:&lt;/P&gt;&lt;P&gt;Hopefully they will get their act together for next year....but I am rooting for the Cardinals now! :D</description><pubDate>Mon, 12 Jan 2009 10:09:57 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: AccessViolationException in BOM v1.6.5.3</title><link>http://forum.strataframe.net/FindPost21473.aspx</link><description>I have been avoiding any form of gloating due to fear of my posts mysteriously falling silent :P , but since you mentioned it.&lt;P&gt;"Hello T.O.? How is the vacation?"&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/7bfcc50e-2eb1-4dad-a236-71b6.jpg"&gt;</description><pubDate>Mon, 12 Jan 2009 09:57:41 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item></channel></rss>