Errors with New Base Class (Devexpress)
 
Home My Account Forum Try It! Buy It!
About Contact Us Site Map
StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      


««12

Errors with New Base Class (Devexpress)Expand / Collapse
Author
Message
Posted 02/07/2008 1:28:47 AM
StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: Today @ 1:44:09 AM
Posts: 115, Visits: 344
I've installed 1.6.5 Beta version and followed the instructions to run the sample.

At First, I've got an error. But Next time, I couldn't get the same error. Now, Sample is running correctly.

Our Devexpress version is 7.1. To go ahead with testing Inhereted UI, I need sources codes of the beta version to update Dll references.

Post #14150
Posted 02/07/2008 4:19:13 AM
StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: Today @ 1:44:09 AM
Posts: 115, Visits: 344
I've gone some steps further  to make ready for our project ;

- Move the forms into a class library project (*.dll)

- Run sample form by using dll (above)

It works as your sample (Shows the form). I've added a BusinessObject to test project and got the error while loading the designer ;

"Could not load type 'MicroFour.StrataFrame.Business.BaseBusinessObjectAttribute' from assembly 'MicroFour StrataFrame Base, Version=1.6.0.0, Culture=neutral, PublicKeyToken=99fe9917f71608a7'"

Business Object Mapper also fails when configuring the project (Choose project);

BusinessLayerException
  An error occurred while saving an the data to the server.
TypeLoadException
  Could not load type 'MicroFour.StrataFrame.Security.DataAuditAction' from assembly 'MicroFour StrataFrame Base, Version=1.6.0.0, Culture=neutral, PublicKeyToken=99fe9917f71608a7'.

Post #14151
Posted 02/07/2008 7:02:30 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 11:54:01 AM
Posts: 4,104, Visits: 4,177
Yeah, that could be.  Add this (MicroFour StrataFrame Base) assembly to your GAC and c:\program files\common files\microfour\strataframe as well...I will be doing a full rebuild of the 1.6.5 beta late this week or this weekend which will include these updated assemblies, but go ahead and add this one manually for the time being.

  Post Attachments 
MicroFour StrataFrame Base.zip (1 view, 491.26 KB)
Post #14155
Posted 02/07/2008 7:04:08 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 11:54:01 AM
Posts: 4,104, Visits: 4,177

Can I get the changes you make in the Business Dll ? Do these changes will be included in the new releases ? (Final build 1.6.5)

These changes are in the Business assembly posted in the previous post.  Be sure to copy down the Base assembly from your other post as well to get around the BaseBusinessObjectAttribute error.  Yes, these will all be included in the final build of 1.6.5.

Post #14156
Posted 02/08/2008 5:55:28 PM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: 07/02/2008 10:13:48 AM
Posts: 384, Visits: 1,391
Hi,
Thank for great sample.

I also changed the Business assembly to expose two Friend methods to make this easier for you.

Did you change this in latest release as well?

Thank you
Post #14227
Posted 02/08/2008 7:49:14 PM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: 07/02/2008 10:13:48 AM
Posts: 384, Visits: 1,391
Hi,
I am not sure if it is practical. However, I would think if SF team could provides code snippet, template or anything similar for all interface such as IContrainerControl, IBusinessBinding and etc since 90% of code as same everytime we want to implement these interfaces to our custom controls.

From every release, we (SF user) don't know what is changed or broken. Instead, we know what we need to change. Therefore, I would think it is very helpful if we just use code snippet/template shipped with new release, and change any custom code required.

Thank you
Post #14230
Posted 02/09/2008 11:11:02 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 11:54:01 AM
Posts: 4,104, Visits: 4,177
Did you change this in latest release as well?

Yes.  This is in the latest build.  You can get it from here: http://forum.strataframe.net/FindPost14233.aspx .

Post #14236
« Prev Topic | Next Topic »

««12

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 7:30pm

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.078. 11 queries. Compression Enabled.