| | | StrataFrame Beginner
       
Group: Forum Members Last Login: 03/20/2008 1:30:33 PM Posts: 22, Visits: 481 |
| | Olá . Ao mapear meus BO's tenho a seguinte msg de erro. Isso acontece após a atualização do SF para a versão 1.6.5. Já tentei várias configurações diferentes e não sei o que pode ser... Essa é a mensagem. Abraços..... BusinessLayerException An error occurred while refreshing the data from field 'DTEproject_item_exceptionsBO.piex_FieldDescription' to property 'Text' on control 'Textbox1.' Are you missing FieldPropertyDescriptor forcustom prope a rty? ArgumentException Column 'piex_FieldDescription' does not belong to table DTEproject_item_exceptions. Source : MicroFour StrataFrame Business Stack Trace: at System.Data.DataRow.GetDataColumn(String columnName) at System.Data.DataRow.get_Item(String columnName) at MicroFour.StrataFrame.AddIns.DTEproject_item_exceptionsBO.ᜀ.GetValue(Object component) at System.Windows.Forms.BindToObject.GetValue() at System.Windows.Forms.Binding.PushData(Boolean force) at System.Windows.Forms.Binding.UpdateIsBinding() at System.Windows.Forms.Binding.CheckBinding() at System.Windows.Forms.Binding.SetListManager(BindingManagerBase bindingManagerBase) at System.Windows.Forms.ListManagerBindingsCollection.AddCore(Binding dataBinding) at System.Windows.Forms.BindingsCollection.Add(Binding binding) at System.Windows.Forms.BindingContext.UpdateBinding(BindingContext newBindingContext, Binding binding) at System.Windows.Forms.Binding.SetBindableComponent(IBindableComponent value) at System.Windows.Forms.ControlBindingsCollection.AddCore(Binding dataBinding) at System.Windows.Forms.ControlBindingsCollection.Add(Binding binding) at MicroFour.StrataFrame.Business.BusinessLayer.AddBinding(Control ControlToRefresh, String PropertyName, String FieldName) at MicroFour.StrataFrame.Business.BusinessLayer.RefreshControl(IBusinessBindable ControlToRefresh, Boolean DataPresent) at MicroFour.StrataFrame.Business.BusinessLayer.RefreshBoundControls() at MicroFour.StrataFrame.Business.BusinessLayer.raise_Navigated(NavigatedEventArgs e) at MicroFour.StrataFrame.Business.BusinessLayer.OnNavigated(NavigatedEventArgs e) at MicroFour.StrataFrame.Business.BusinessLayer.Navigate(BusinessNavigationDirection Direction, Int32 AbsoluteIndex, Object[] PrimaryKeyValues, Boolean AttemptToCheckRules, Boolean IsRefill) at MicroFour.StrataFrame.Business.BusinessLayer.Add(Boolean CheckSecurity) at MicroFour.StrataFrame.Business.BusinessLayer.Add() at MicroFour.StrataFrame.AddIns.DTEproject_item_exceptionsBO.GetOrCreateException(Int32 ProjectItemPK, String FieldName) at MicroFour.StrataFrame.AddIns.PartialClassBuilderExceptionDialog.ᜀ() at MicroFour.StrataFrame.Business.BusinessLayer.raise_ParentFormLoading() at MicroFour.StrataFrame.Business.BusinessLayer.OnParentFormLoading() at MicroFour.StrataFrame.Business.BusinessLayer.RaiseParentFormLoadingEvent() at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.InitializeFormLoadObjects() at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.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.Form.ShowDialog(IWin32Window owner) at System.Windows.Forms.Form.ShowDialog() at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.ᜁ(Int32 A_0, String A_1)
|
| | | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 2:02:58 PM Posts: 644, Visits: 10,954 |
| | Quando você instalou a versão 1.6.5, deixou que fosse feita a atualização do banco de dados do StrataFrame? |
| | | | StrataFrame Beginner
       
Group: Forum Members Last Login: 03/20/2008 1:30:33 PM Posts: 22, Visits: 481 |
| | | | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 2:02:58 PM Posts: 644, Visits: 10,954 |
| | Estranho, Valdair... Por favor, certifique-se que atualizou o banco de dados do SF no servidor para onde seu projeto está setado, pois a mensagem parece dizer que não encontra um campo de uma tabela do SF, que provavelmente é um campo novo criado nesta versão. |
| | | | StrataFrame Beginner
       
Group: Forum Members Last Login: 03/20/2008 1:30:33 PM Posts: 22, Visits: 481 |
| | Ok Ivan. Vou refazer o processo e já te digo o que q deu.... Abraço. |
| | | | StrataFrame Beginner
       
Group: Forum Members Last Login: 03/20/2008 1:30:33 PM Posts: 22, Visits: 481 |
| | Oi Ivan. Fiz uma restauração do SF direcionado para o banco de dados onde está meu projeto. Eu consigo conectar e mapear normal. Assim como eu fiz após a atualização, mas ao customizar um campo qualquer a msg que postei acima é mostrada. Quando tento compilar meu BO tenho o mesmo erro com o campo "piex_FieldDescription".... At.. |
| | | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 2:02:58 PM Posts: 644, Visits: 10,954 |
| | Ah, você está criando um custom field? Dê uma olhada no Help file, Application Framework / Getting Started / Tutorials / Creating a WinForms App [VB] / Adding Custom Field Properties. Dê uma olhada no tópico... já no final ele te demonstra como criar seu FieldPropertyDescriptor. |
| | | | StrataFrame Beginner
       
Group: Forum Members Last Login: 03/20/2008 1:30:33 PM Posts: 22, Visits: 481 |
| | Ao tentar customizar tenho essa mensagem...... BusinessLayerException An error occurred while refreshing the data from field 'DTEproject_item_exceptionsBO.piex_FieldDescription' to property 'Text' on control 'Textbox1.' Are you missing FieldPropertyDescriptor for a custom property? ArgumentException Column 'piex_FieldDescription' does not belong to table DTEproject_item_exceptions. Source : MicroFour StrataFrame Business Stack Trace: at System.Data.DataRow.GetDataColumn(String columnName) at System.Data.DataRow.get_Item(String columnName) at MicroFour.StrataFrame.AddIns.DTEproject_item_exceptionsBO.ᜀ.GetValue(Object component) at System.Windows.Forms.BindToObject.GetValue() at System.Windows.Forms.Binding.PushData(Boolean force) at System.Windows.Forms.Binding.UpdateIsBinding() at System.Windows.Forms.Binding.CheckBinding() at System.Windows.Forms.Binding.SetListManager(BindingManagerBase bindingManagerBase) at System.Windows.Forms.ListManagerBindingsCollection.AddCore(Binding dataBinding) at System.Windows.Forms.BindingsCollection.Add(Binding binding) at System.Windows.Forms.BindingContext.UpdateBinding(BindingContext newBindingContext, Binding binding) at System.Windows.Forms.Binding.SetBindableComponent(IBindableComponent value) at System.Windows.Forms.ControlBindingsCollection.AddCore(Binding dataBinding) at System.Windows.Forms.ControlBindingsCollection.Add(Binding binding) at MicroFour.StrataFrame.Business.BusinessLayer.AddBinding(Control ControlToRefresh, String PropertyName, String FieldName) at MicroFour.StrataFrame.Business.BusinessLayer.RefreshControl(IBusinessBindable ControlToRefresh, Boolean DataPresent) at MicroFour.StrataFrame.Business.BusinessLayer.RefreshBoundControls() at MicroFour.StrataFrame.Business.BusinessLayer.raise_Navigated(NavigatedEventArgs e) at MicroFour.StrataFrame.Business.BusinessLayer.OnNavigated(NavigatedEventArgs e) at MicroFour.StrataFrame.Business.BusinessLayer.Navigate(BusinessNavigationDirection Direction, Int32 AbsoluteIndex, Object[] PrimaryKeyValues, Boolean AttemptToCheckRules, Boolean IsRefill) at MicroFour.StrataFrame.Business.BusinessLayer.Add(Boolean CheckSecurity) at MicroFour.StrataFrame.Business.BusinessLayer.Add() at MicroFour.StrataFrame.AddIns.DTEproject_item_exceptionsBO.GetOrCreateException(Int32 ProjectItemPK, String FieldName) at MicroFour.StrataFrame.AddIns.PartialClassBuilderExceptionDialog.ᜀ() at MicroFour.StrataFrame.Business.BusinessLayer.raise_ParentFormLoading() at MicroFour.StrataFrame.Business.BusinessLayer.OnParentFormLoading() at MicroFour.StrataFrame.Business.BusinessLayer.RaiseParentFormLoadingEvent() at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.InitializeFormLoadObjects() at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.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.Form.ShowDialog(IWin32Window owner) at System.Windows.Forms.Form.ShowDialog() at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.ᜁ(Int32 A_0, String A_1)
Ao compilar meu objeto tenho essa tela.... At.... |
| |
|
|