StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Error With BO DesignersExpand / Collapse
Author
Message
Posted 07/21/2008 10:16:54 AM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: 2 days ago @ 9:37:19 PM
Posts: 78, Visits: 244
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.

Post #17944
Posted 07/21/2008 10:24:52 AM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: 2 days ago @ 9:37:19 PM
Posts: 78, Visits: 244
I have tried doing a "Build Partial" on 2 of these objects to see if it would fix the problem and it did not.
Post #17946
Posted 07/21/2008 10:38:44 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 2:14:29 PM
Posts: 4,901, Visits: 4,886
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.
Post #17947
Posted 07/21/2008 10:39:34 AM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: 2 days ago @ 9:37:19 PM
Posts: 78, Visits: 244
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.

Post #17948
Posted 07/21/2008 10:44:29 AM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: 2 days ago @ 9:37:19 PM
Posts: 78, Visits: 244
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

Post #17952
Posted 07/21/2008 10:59:04 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 2:14:29 PM
Posts: 4,901, Visits: 4,886
Cool
Post #17953
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 6:14pm

Powered by InstantForum.NET v4.1.4 © 2009
Execution: 0.094. 11 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.