AccessViolationException in BOM v1.6.5.3


Author
Message
Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
I am getting the following error:

AccessViolationException
  Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Source     : EnvDTE

Stack Trace:
   at EnvDTE.ProjectItem.get_Name()
   at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.ᜁ(Project A_0, String A_1)
   at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.ᜁ(String A_0, Project A_1)

AccessViolationException
  Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Source     : EnvDTE

Stack Trace:
   at EnvDTE.ProjectItem.get_Name()
   at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.ᜁ(Project A_0, String A_1)
   at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.ᜀ(String A_0, String A_1, Project A_2)

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.

Edhy Rijo

Replies
Douglas Riley
Douglas Riley
StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)StrataFrame Novice (59 reputation)
Group: StrataFrame Users
Posts: 21, Visits: 267
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.
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Sorry for the delay in getting back with you. I actually missed this post. Blush



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?



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!



So it is definitely environmental. Because something within my environment changed that allowed be to get to the DTE.



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).



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 Sad I will see if I can get it to happen again on my side.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Edhy Rijo - 17 Years Ago
Dustin Taylor - 17 Years Ago
Edhy Rijo - 17 Years Ago
Edhy Rijo - 17 Years Ago
Edhy Rijo - 17 Years Ago
                         Dustin, Trent, I would really appreciate if you can take a look at...
Edhy Rijo - 17 Years Ago
Dustin Taylor - 17 Years Ago
Edhy Rijo - 17 Years Ago
Edhy Rijo - 17 Years Ago
Dustin Taylor - 17 Years Ago
Edhy Rijo - 17 Years Ago
Edhy Rijo - 17 Years Ago
Dustin Taylor - 17 Years Ago
Keith Chisarik - 16 Years Ago
Keith Chisarik - 16 Years Ago
Edhy Rijo - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Keith Chisarik - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Keith Chisarik - 16 Years Ago
Douglas Riley - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Douglas Riley - 16 Years Ago
Trent L. Taylor - 16 Years Ago
                         Tried a new project on my laptop and everything works fine. This all...
Douglas Riley - 16 Years Ago
                             You know what...come to think of it, that is when my problem started!...
Trent L. Taylor - 16 Years Ago
                                 Ok. Do I need to touch the Strataframe database during reinstallation?...
Douglas Riley - 16 Years Ago
                                     Oh, that really shouldn't be part of the formula. But go ahead and...
Trent L. Taylor - 16 Years Ago
Douglas Riley - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Keith Chisarik - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Edhy Rijo - 16 Years Ago
                     Thanks for the update, Edhy! :)
Trent L. Taylor - 16 Years Ago
Douglas Riley - 16 Years Ago
Edhy Rijo - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Edhy Rijo - 15 Years Ago
Dustin Taylor - 15 Years Ago
Larry Caylor - 13 Years Ago
             Thanks for sharing, Larry.
Ivan George Borges - 13 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search