By Jeff Pagley - 7/22/2008
Hi SF Team,When attempting to use the wizard, the wait message window and the form initially appear and then the form dissappears leaving the wait message window running. Thank you for the great support. Jeff
|
By Edhy Rijo - 7/22/2008
Hi Jeff,If you have not updated yet, make sure you have the latest beta release and let it update the SF database.
|
By Trent L. Taylor - 7/22/2008
Jeff,I will send you a custom Extensibility assembly that you will want to drag into the GAC and copy to the c:\Program Files\Common Files\MicroFour\StrataFrame folder. Then go back into Visual Studio, run the wizard, and it should show you the red exception dialog with the stack trace and error.
|
By Trent L. Taylor - 7/22/2008
Just FYI, Jeff, I sent you the PM. Let me know if you do not get it.
|
By Jeff Pagley - 7/22/2008
Hi Trent,Where should my reference paths for my project be pointed to? C:\Program Files\MicroFour\StrataFrame\Assemblies or C:\Program Files\Common Files\MicroFour\StrataFrame
|
By Trent L. Taylor - 7/22/2008
As long as you copy the file to both it won't matter.
|
By Jeff Pagley - 7/22/2008
Trent,Could you give the a link to the latest StrataFrameSetup.exe so that I can make sure I have the current version on my machine. Thanks, Jeff
|
By Trent L. Taylor - 7/22/2008
You can get it here. We will post this in the standard location later, but this will het you going.http://www.strataframe.net/downloads/strataframesetup.exe
|
By Jeff Pagley - 7/22/2008
Hi Trent,This is what I did. I installed the StrataFrameSetup.exe attached to the link you sent me. Then I copied the Extensibility.dll into the GAC, Common/Stataframe and Strataframe/Assembly folders. Open my solution, added a new SF form, placed the SF listview on the form and launch the PopulationDataSourceSettings wizard. I still get the same behavior and I do NOT get the red exceptions dialog box. Also, I now get the error below when trying to run my program. I have the updated DevExpress 8.1.6 version of the controls which were working fine before I installed this SF.exe. Unfortunately, I am stuck until I get this resolved. Thanks so much for the help. Attention!!! EMS Internal Error occured. See Error messages at the end of error report. Could not load file or assembly 'DevExpress.XtraEditors.v8.1, Version=8.1.1.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1' or one of its dependencies. The system cannot find the file specified. Exception (FileNotFoundException): Source="UJ.ExceptionManagement"; Target=null; Tag=null; Message = "Could not load file or assembly 'DevExpress.XtraEditors.v8.1, Version=8.1.1.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1' or one of its dependencies. The system cannot find the file specified." FileName = "DevExpress.XtraEditors.v8.1, Version=8.1.1.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1" FusionLog = "=== Pre-bind state information === LOG: User = STRUSS\JPagley LOG: DisplayName = DevExpress.XtraEditors.v8.1, Version=8.1.1.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1 (Fully-specified) LOG: Appbase = file:///C:/Documents and Settings/JPagley/Desktop/Projects/CMPR/bin/Debug/ LOG: Initial PrivatePath = NULL Calling assembly : MicroFour StrataFrame Inherited UI, Version=1.6.0.0, Culture=neutral, PublicKeyToken=99fe9917f71608a7. === LOG: This bind starts in default load context. LOG: Using application configuration file: C:\Documents and Settings\JPagley\Desktop\Projects\CMPR\bin\Debug\CMPR.vshost.exe.config LOG: Using machine configuration file from c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config. LOG: Post-policy reference: DevExpress.XtraEditors.v8.1, Version=8.1.1.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1 LOG: Attempting download of new URL file:///C:/Documents and Settings/JPagley/Desktop/Projects/CMPR/bin/Debug/DevExpress.XtraEditors.v8.1.DLL. LOG: Attempting download of new URL file:///C:/Documents and Settings/JPagley/Desktop/Projects/CMPR/bin/Debug/DevExpress.XtraEditors.v8.1/DevExpress.XtraEditors.v8.1.DLL. LOG: Attempting download of new URL file:///C:/Documents and Settings/JPagley/Desktop/Projects/CMPR/bin/Debug/DevExpress.XtraEditors.v8.1.EXE. LOG: Attempting download of new URL file:///C:/Documents and Settings/JPagley/Desktop/Projects/CMPR/bin/Debug/DevExpress.XtraEditors.v8.1/DevExpress.XtraEditors.v8.1.EXE. " Environment: ThreadIdentity="" DateTime=["2008-07-22 11:40:48.156"] ThreadName=null WindowsIdentity="STRUSS\JPagley" ThreadId="11" DomainName="CMPR.vshost.exe" OSVersion=["Microsoft Windows NT 5.1.2600 Service Pack 3"] MachineName="1LPJPAGLEY" UserName="JPagley" Frame0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - at CMPR.CreditMemoForm.InitializeComponent() at CMPR.CreditMemoForm..ctor(Boolean isOpenAsDebitMemo) in C:\Documents and Settings\JPagley\Desktop\Projects\CMPR\Forms\CreditMemoForm.vb:line 25 Implementer (CreditMemoForm): components=null; ToolStripContainer1=null; MaintenanceFormToolStrip1=null; GroupBox1=null; Label1=null; lblOrderNumber=null; Label5=null; Label3=null; Label4=null; Label6=null; Frame1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - at CMPR.MDIMainForm.tsbtnCreditMemo_Click(Object sender, EventArgs e) in C:\Documents and Settings\JPagley\Desktop\Projects\CMPR\Forms\MDIMainForm.vb:line 37 Implementer (MDIMainForm): components=null; tsbtnCreditMemo=(->sender); tsbtnProblemReview={Problem Reviews}; ToolStripSeparator1=System.Windows.Forms.ToolStripSeparator; ToolStripSeparator2=System.Windows.Forms.ToolStripSeparator; ToolStripSeparator5=System.Windows.Forms.ToolStripSeparator; tsmFile=&File; tsmFile_Exit=E&xit; tsbtnTransfers=Transfers; ToolsToolStripMenuItem=Tools; tsmTools_Maintenance=Maintenance; tsmTools_CMPR={Credit Memos/Problem Reviews}; tsmTools_CMPR_LockUnlockMonths={Lock/Unlock Months}; tsmTools_Transfers=Transfers; tsmTools_Transfers_LockUnlockMonths={Lock/Unlock Months}; tsmTools_Transfers_AccountsLocations={Accounts Locations}; tsmTools_Transfers_LocationsDivisions={Locations Divisions}; tsmTools_Transfers_CompaniesCostCenters={Companies Cost Centers}; tsmTools_Transfers_ExportToGL={Export To GL}; tsmTools_CMPR_ExportToGL={Export To GL}; tsmTools_Maintenance_Customers=Customers; tsbtnDebitMemo={Debit Memo}; tsbtnCreditMemosApproval={Credit Memos Approval}; tsbtnProblemReviewsApproval={Problem Reviews Approval}; tsbtnTest=Test; tsmFile_Properties=&Properties; ToolStripSeparator3=System.Windows.Forms.ToolStripSeparator; tsbtnTransfersReceiving={Transfer Receiving}; scrollPosition (Point): x=0; y=0; ToolStrip1 = {System.Windows.Forms.ToolStrip, Name: ToolStrip1, Items: 11} MenuStrip1 = {System.Windows.Forms.MenuStrip, Name: MenuStrip1, Items: 2} Parameters: sender={Credit Memos}; e=System.EventArgs; Remaining Stack Trace - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ToolStrip.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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) EMS Internal Error(s): - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ---------------------------------------------------------------- System.IO.FileNotFoundException: Could not load file or assembly 'DevExpress.XtraEditors.v8.1, Version=8.1.1.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1' or one of its dependencies. The system cannot find the file specified. File name: 'DevExpress.XtraEditors.v8.1, Version=8.1.1.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1' at System.Signature._GetSignature(SignatureStruct& signature, Void* pCorSig, Int32 cCorSig, IntPtr fieldHandle, IntPtr methodHandle, IntPtr declaringTypeHandle) at System.Signature.GetSignature(SignatureStruct& signature, Void* pCorSig, Int32 cCorSig, RuntimeFieldHandle fieldHandle, RuntimeMethodHandle methodHandle, RuntimeTypeHandle declaringTypeHandle) at System.Signature..ctor(RuntimeFieldHandle fieldHandle, RuntimeTypeHandle declaringTypeHandle) at System.Reflection.RtFieldInfo.get_FieldType() at System.Reflection.RtFieldInfo.GetOneTimeFlags() at S... (truncated) ...rWinForms.ProcessForm(ObjectInfo formInfo) === Pre-bind state information === LOG: User = STRUSS\JPagley LOG: DisplayName = DevExpress.XtraEditors.v8.1, Version=8.1.1.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1 (Fully-specified) LOG: Appbase = file:///C:/Documents and Settings/JPagley/Desktop/Projects/CMPR/bin/Debug/ LOG: Initial PrivatePath = NULL Calling assembly : MicroFour StrataFrame Inherited UI, Version=1.6.0.0, Culture=neutral, PublicKeyToken=99fe9917f71608a7. === LOG: This bind starts in default load context. LOG: Using application configuration file: C:\Documents and Settings\JPagley\Desktop\Projects\CMPR\bin\Debug\CMPR.vshost.exe.config LOG: Using machine configuration file from c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config. LOG: Post-policy reference: DevExpress.XtraEditors.v8.1, Version=8.1.1.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1 LOG: The same bind was seen before, and was failed with hr = 0x80070002.
|
By Jeff Pagley - 7/22/2008
Hi Trent,FYI on the previous post. The error only shows when you are loading a form that has an Strataframe wrapped DevExpress XtraEditors controls on them. Thanks, Jeff
|
By Paul Chase - 7/22/2008
Jeff,Looks like you need to rebuild the SF Dev-Express Wrapper to match your version of Dev Ex.
|
By Jeff Pagley - 7/22/2008
Paul,How do I do that? Thanks, Jeff
|
By StrataFrame Team - 7/22/2008
Jeff, you can open the source code for the MicroFour StrataFrame Inherited UI project, replace each DevExpress reference with the proper version of the required DevExpress DLL and rebuild the solution. It should automatically register the DLLs within the Common Files location and the GAC.
|
By Jeff Pagley - 7/22/2008
Hi Ben,I have not done this before. So what source code file do I download? Source Code 1.6.5 or 1.6.6 Beta. To be clear about what I do in VS 2005. I open the project file "MicroFour StrataFrame Inherited UI" in VS 2005. Perform a search and replace within the project for version 8.1.1 to be replaced by 8.1.6. Rebuild the solution to recreate the DLLs. Is this correct? Thanks, Jeff
|
By Trent L. Taylor - 7/23/2008
Jeff,I have just reposted the 1.6.6 beta source code. So get the 1.6.6 source from the My Account area.
|
By Jeff Pagley - 7/23/2008
Hi Trent,I have replaced all of the DevExpress references in the MicroFour StrataFrame Inherited UI.vbpro to current version 8.1.6 and rebuilt the solution. I am getting the following error and warning in the Error List within VS 2005 IDE: Error 1 The command ""C:\Program Files\MicroFour\StrataFrame Source Code\MicroFour StrataFrame Inherited UI\AfterBuild.bat" "C:\Program Files\MicroFour\StrataFrame Source Code\MicroFour StrataFrame Inherited UI\bin\Release\MicroFour StrataFrame Inherited UI.dll" "C:\Program Files\MicroFour\StrataFrame Source Code\MicroFour StrataFrame Inherited UI\bin\Release\MicroFour StrataFrame Inherited UI.xml"" exited with code 9009. MicroFour StrataFrame Inherited UI Warning 2 'Public Property EnumTopMostText() As String' is obsolete: 'This property has been depreciated and is no longer used. Use the TopMostText and TopMostValue properties on the SearchFieldItem class instead.' C:\Program Files\MicroFour\StrataFrame Source Code\MicroFour StrataFrame Inherited UI\DevExpress Extended\Dialogs\browsedialogwindow.vb 1126 77 MicroFour StrataFrame Inherited UI What do I need to do to eliminate these? Thanks, Jeff
|
By Trent L. Taylor - 7/23/2008
The second one is a warning and can be ignored. The first one can be remedied by copying the afterbuild.bat file from the C:\Program Files\MicroFour\StrataFrame Source Code folder and put it into the C:\Program Files\MicroFour\StrataFrame Source Code\MicroFour StrataFrame Inherited UI folder. Then just rebuild and it should build successfully.
|
By Jeff Pagley - 7/24/2008
Hi Trent/Ben,Here are couple of previous posts I was looking for some help on: The Solution Preferences dialog box is not showing when I select it from the Strataframe->Solution Preferences menu within VS2005. What do I need to do to get this to display? When attempting to use the Listview's PopulateDataSourceSettings Wizard, the wait message window and the form initially appear and then the form dissappears leaving the wait message window running. I included both posts in this one, because I thought they might be related. Thanks, Jeff
|
By Edhy Rijo - 7/24/2008
Hi Jeff,When you installed the recent beta release, did you also updated the SF database?, if not, then re-run the setup and let it update the SF database.
|
By Jeff Pagley - 7/25/2008
Hi Edhy,Yes. I have updated the SF databases. However, thank you for the suggestion.
|
By StrataFrame Team - 7/25/2008
I think we're going to have to change the extensibility to add some Try/Catches that will show the exception dialog. We have a global catch for the add-ins, but Visual Studio likes to snuff exceptions without telling you what the exception was.
|
By Jeff Pagley - 7/25/2008
Hi Ben,Do you know when I will be getting the error trapping extensibility to show the exception dialogs on these two features? Also, I am having errors when loading any SF/DevExpress VS Templates probably due to the fact I am using the latest version (8.1.6) of the DevExpress controls. Do you know when you will have all of the SF/DevExpress stuff updated to work with this latest version? FYI. I am still using VS 2005. Thanks, Jeff
|
By Jeff Pagley - 7/26/2008
Hi Trent/Ben,Good news. At Edhy suggestion, even though I thought I updated the SF database structures, I decided to do another reinstall of SF making sure it doesn't skip updating the SF database. Now the Solutions Preferences and the listview's PopulationsDataSourceSettings wizard is now working. Sorry about the confusion. Thanks, Jeff
|
By Trent L. Taylor - 7/26/2008
Cool
|
|