StrataFrame Forum

Error With BO Designers

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

By choyt - 7/21/2008

Hi All

I just started getting the below errors today but have been using this project for over a year now without problems. I have verified that none of the files have been modified since last May. I have done successful deployments of this same project as last as last week.  Oddly, not every BO is effected and of those effected, not all are effected in the same manner. A couple of the objects inherit from other BOs and are not directly bound to a table themselves.

I have done a Clean on the solution, restarted IIS, rebooted my machine and keep getting this error. This is fairly critical for me b/c I bascially cannot compile or continue to work until this is rectified.

Thanks!

Clay

  • Error 45 'Public Overrides Overloads Function Save() As MicroFour.StrataFrame.Data.SaveUndoResult' cannot override 'Public Overridable Function Save() As MicroFour.StrataFrame.Data.SaveUndoResult' because they differ by their return types. E:\US_AIR_FORCE\PIPS\PIPSBO\Member.vb 49 41 PIPSBO
  • Error 99 function 'CreateNewFieldSecurityEventArgs' cannot be declared 'Overrides' because it does not override a function in a base class. E:\US_AIR_FORCE\PIPS\PIPSBO\Utility\Navigation.Designer.vb 591 38 PIPSBO
  • Error 100 'Public Overrides Property ParentRelationship() As MicroFour.StrataFrame.Business.IBusinessParentRelationship' cannot override 'Public Overrides Property ParentRelationship() As MicroFour.StrataFrame.Business.IBusinessParentRelationship' because they differ by their return types. E:\US_AIR_FORCE\PIPS\PIPSBO\Utility\NavigationLookup.Designer.vb 71 35 PIPSBO
  • Error 91 'Public Overrides Overloads Function Save(IsTransactional As Boolean) As MicroFour.StrataFrame.Data.SaveUndoResult' cannot override 'Public Overridable Function Save(Transactional As Boolean) As MicroFour.StrataFrame.Data.SaveUndoResult' because they differ by their return types. E:\US_AIR_FORCE\PIPS\PIPSBO\PCSTrackingNumber.vb 49 41 PIPSBO

Here is a screen cap of one of the errors; unfortunately, your upload must have a size governor on it so the resolution is poor.

By choyt - 7/21/2008

I have tried doing a "Build Partial" on 2 of these objects to see if it would fix the problem and it did not.
By Trent L. Taylor - 7/21/2008

It looks as though you either built or moved old SF assemblied into you GAC and/or Program Files/Common Files/MicroFour/StrataFrame folders.  The error that is appearing is telling you that the Save method is not overridable, when in fact, it is.  This was changed a while back, so be sure that you have the most recent SF assemblies and SF source.
By choyt - 7/21/2008

Hi Trent

That was my first thought...already tested it though. I have 2 other BOs pointing to the same DLLs and they are working fine.

By choyt - 7/21/2008

Fixed it...

I had originally gone into properties and reregistered the DLLs. That didn't do the trick. This time I went into the References folder, physically deleted the DLLs from there then re-registered them. This did the trick.

Thanks

Clay

By Trent L. Taylor - 7/21/2008

Cool Cool