StrataFrame Forum

BO Mapper not working ...

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

By JKelly - 6/27/2006

Hey guys, when I try to use the Business Object mapper I am getting an error

NotImplementedException
 The method or operation is not implemented.

Source     : EnvDTE

Stack Trace:
   at EnvDTE.Project.get_CodeModel()
   at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.CompileProjectCollection()
   at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.CompileProjectItemCollection()
   at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.InitForm()

I have a deployed ap & I was going in to work on some areas and 'all of a sudden' this just started happening - not being able to use the BO mapper. Everything compiles fine and I've gone through the usually litany of open/close IDE, reboot, et al to no avail.

Ideas? Reinstall?

Tx - J

By StrataFrame Team - 6/27/2006

No, don't reinstall... there's a language conflict... meaning we're trying to do something that is not available in the language you're using (C# or VB.NET).  Can you get this into a reproducable state?  Does it happen immediately when you open the BOMapper, or does it happen when you do something within the BOMapper?

Also, if you could post a screen shot of your "Solution Explorer" window within Visual Studio, that might help... there might be an object within your project that the BOMapper isn't expecting.

By JKelly - 6/27/2006

Thanks, data sent via PM - J
By StrataFrame Team - 6/28/2006

Thanks for the screen shots... looks like the CodeModel is failing because of a non-implementation on one of the properties we are accessing, and I would guess it's either from one of the .sql files, or your xsd file.  I'll test both of those and let you know.
By StrataFrame Team - 6/28/2006

OK, turns out the CodeModel is not implemented for setup projects, so... I'll go in and fix the BOMapper.  I should have a build posted for you within the hour.  Thanks for you patience.
By StrataFrame Team - 6/28/2006

OK, JKelly, the install is built and has been posted to the My Account downloads section.  The download is the one labeled "StrataFrame Application Framework 1.4.1 PR (DevEx 6.1.5)" because I didn't rebuild it for DevExpress 6.1.4. 

Let me know if you run into anything else Smile

By JKelly - 6/28/2006

Thanks Ben,

Unfortunately my installs of 1.4.1 beta and pre-release failed each time, most recently in activation.exe (attachments) but 1.4.0 seems fairly solid so I rolled back to that (and re-mapped all my bo's in all my projects as the sf db was wiped (I should have unchecked that box)).

The good news is that thanks to your hint (about the setup project), the bo mapper works again - I just have to remove the setup project from the solution. When I go to deploy I just readd that project.

Thanks again - J