Errors Loading BO Mapper


Author
Message
Michael Reese
Michael Reese
StrataFrame User (413 reputation)StrataFrame User (413 reputation)StrataFrame User (413 reputation)StrataFrame User (413 reputation)StrataFrame User (413 reputation)StrataFrame User (413 reputation)StrataFrame User (413 reputation)StrataFrame User (413 reputation)StrataFrame User (413 reputation)
Group: StrataFrame Users
Posts: 235, Visits: 1.6K
When I load the Business Object Mapper I get the attached errors.

My workstation is a

Dell 810 Laptop

WindowsXP SP2

VS2005

SQL server 2005

Attachments
Error1.gif (226 views, 21.00 KB)
Error2.gif (210 views, 27.00 KB)
StrataFrame Team
S
StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
The first error is possibly coming from a project type or project item type within your solution.  The second error is occuring because the database connection for StrataFrame has been changed.  In VS, go to the StrataFrame menu and then to the Database Connection option.  In the window, edit the database connection and make sure that it it pointing to the StrataFrame database, not to the StrataFrameSample databse or whatever database you're application is using.  This database connection is used by the design-time components to access the StrataFrame database.  It is not used by the runtime components of your application in any way, so it needs to stay pointing to the StrataFrame database.
John Grzegorczyk
John Grzegorczyk
StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)
Group: Forum Members
Posts: 1, Visits: 1
I am having the same issue with one added problem. When i close the business object mapper i get the following error as well:

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

Source     : mscorlib

Stack Trace:
   at System.Runtime.InteropServices.UCOMIConnectionPoint.Unadvise(Int32 dwCookie)
   at EnvDTE._dispSolutionEvents_EventProvider.remove_AfterClosing(_dispSolutionEvents_AfterClosingEventHandler A_1)
   at EnvDTE.SolutionEventsClass.remove_AfterClosing(_dispSolutionEvents_AfterClosingEventHandler A_1)
   at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.RemoveSolutionHandlers()

I have tried the solution here and it does not help.

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
John,

Try this and see if the error persists.

  1. Create a new project (TestProject)
  2. Create a new business object
  3. Open the BO Mapper
  4. Create a new Mapper project
  5. Select the desired table or structure for the business object
  6. Build the partial class
  7. Exit

Did the error occur?  Thanks. Smile

dgsoft
dgsoft
StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)
Group: StrataFrame Users
Posts: 93, Visits: 236
Hi,

We are in the company has not same problem



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)



The development currently stay, because not possible to rebuild business object!

Please help ASAP!



OS. Windows Server 2009 R2 Version.5.2 R2 (build 3790.srv03_sp2_gdr.090319-1204: ServicePack 2)

- my steps to solve problem

- reinstall Strataframe framework - does not help

- uninstall installAware - does not help

- Create new project/bo/ and so on.. as was written in your steps - does not help.. error happens!



Please help!
dgsoft
dgsoft
StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)
Group: StrataFrame Users
Posts: 93, Visits: 236
Maybe it will help. for previous problem.. now when I click customize wizard error also happens



NullReferenceException

Object reference not set to an instance of an object.



Source : MicroFour StrataFrame AddIns



Stack Trace:

at MicroFour.StrataFrame.AddIns.DTEprojectsBO.FillProjects(String[] ProjectPaths)

at MicroFour.StrataFrame.AddIns.PartialClassBuilderCustomizeWizard.ᜀ(ᜎ A_0)

at MicroFour.StrataFrame.AddIns.PartialClassBuilderCustomizeWizard.ᜀ()

at MicroFour.StrataFrame.AddIns.PartialClassBuilderCustomizeWizard.OnLoad(EventArgs e)

at System.Windows.Forms.Form.OnCreateControl()

at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

at System.Windows.Forms.Control.CreateControl()

at System.Windows.Forms.Control.WmShowWindow(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

at System.Windows.Forms.ContainerControl.WndProc(Message& m)

at System.Windows.Forms.Form.WmShowWindow(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at System.Windows.Forms.Control.ControlNativewindow.OnMessage(Message& m)

at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)

at System.Windows.Forms.Nativewindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow)

at System.Windows.Forms.Control.SetVisibleCore(Boolean value)

at System.Windows.Forms.Form.SetVisibleCore(Boolean value)

at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.SetVisibleCore(Boolean value)

at System.Windows.Forms.Control.set_Visible(Boolean value)

at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)

at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)

at System.Windows.Forms.Application.RunDialog(Form form)

at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)

at System.Windows.Forms.Form.ShowDialog()

at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.ᜃ()

dgsoft
dgsoft
StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)
Group: StrataFrame Users
Posts: 93, Visits: 236
And Maybe it helps also



I create separate project

Add one line and try build

Imports MicroFour.StrataFrame.AddIns

Public Class Form1

Dim lo As MicroFour.StrataFrame.AddIns.DTEprojectsBO = New MicroFour.StrataFrame.AddIns.DTEprojectsBO()

End Class



------ Build started: Project: WindowsApplication1, Configuration: Debug Any CPU ------

Consider app.config remapping of assembly "EnvDTE, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" from Version "7.0.3300.0" [] to Version "8.0.0.0" [C:\Programme\Gemeinsame Dateien\Microsoft Shared\MSEnv\PublicAssemblies\EnvDTE.dll] to solve conflict and get rid of warning.



C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3247:

Found conflicts between different versions of the same dependent assembly.



It seems after InstallAware installation something happens in system with DLLs... DLL hell goes on?
Juan Carlos Pazos
Juan Carlos Pazos
StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)StrataFrame User (228 reputation)
Group: Forum Members
Posts: 144, Visits: 227
Hi

It seems after InstallAware installation something happens in system with DLLs... DLL hell goes on?

I have the same problem after installing InstallAware, install the NET Framework 2 SDK and the problem should go.

Regards

Smile Everything is possible, just keep trying...

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Actually we discussed this on another thread in more depth recently as this came up with 4 or 5 other developers (including ourselves) after InstallAware was loaded. You may try Juan's suggestion and see if that resolves it. Other times, reloading the add-ins resolved the issue. Below is a link to the thread. The link will take you to about the mid-way discussion of this, but I am sure that at least one of these should help you get going.



http://forum.strataframe.net/FindPost21973.aspx
dgsoft
dgsoft
StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)
Group: StrataFrame Users
Posts: 93, Visits: 236
Juan Carlos, Trent!

Yeeeeeeessssssssss! It works! Realy we lost completed day today to search whats happens Smile) Thanks a lot!
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