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
Dustin Taylor
Dustin Taylor
StrataFrame Team Member (938 reputation)
Group: StrataFrame Users
Posts: 364, Visits: 771
Ok, Trent took a look at this and he actually isn't sure the issue is within the strataframe database. To test that. Backup your existing strataframe database and then create a new (blank) one. From there, go into the BOM and try to create a new project for your FixTrack solution, and let's see what happens. If nothing else it will give us a better idea of where the problem lies.
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
Hi Dustin,

I tried your suggestion, but I still get the same 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)

Obviously this method EnvDTE.ProjectItem.get_Name() is the one where the error is being generate, what does this method do?

Since this is happening with all my projects, then could it be something with VS2008?

That reminds me the old VFP problems with the resource files, is there something in VS/VB.NET that may need to be clean up?


Edhy Rijo

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
Well Google is always one of our best friend Smile

Since you didn't have a clue of what may have gone wrong, and it was not the SF database,  then I did a search on Google and found many links related to the same AccessViolationException error.  One of the post indicated to re-install .NET 2.0 which I did and guess what? that solved the problem Tongue.

In my case I simply repaired the installation of Microsoft .NET Framework 2.0 SDK (x64).

Edhy Rijo

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