Can not create SF DevExpress Form


Author
Message
fookyean
fookyean
StrataFrame Beginner (20 reputation)StrataFrame Beginner (20 reputation)StrataFrame Beginner (20 reputation)StrataFrame Beginner (20 reputation)StrataFrame Beginner (20 reputation)StrataFrame Beginner (20 reputation)StrataFrame Beginner (20 reputation)StrataFrame Beginner (20 reputation)StrataFrame Beginner (20 reputation)
Group: Forum Members
Posts: 12, Visits: 49
I try to add a new SF DevExpress maintenance form into the project and the followings error come out :



Project Template Wizard



The assembly reference "DevExpress.Utils.v6.1.4.0, culture=neutral, PublicKeyToken=79868b8147b5eae4" could not be added to the project. The wizard will continue to run, but the resulting project may not build properly.



Then I open the form, it shows :



One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes.



The designer cannot process the code at line 24: Me.PanelControl1.Dock = System.Windows.Forms.DockStyle.Fill The code within the method 'InitializeComponent' is generated by the designer and should not be manually modified. Please remove any changes and try opening the designer again.

Hide Edit



at Microsoft.VisualStudio.Design.Serialization.CodeDom.XML.CodeDomXmlProcessor.CreateQuoteExpression(XmlElementData xmlElement)

at Microsoft.VisualStudio.Design.Serialization.CodeDom.XML.CodeDomXmlProcessor.XmlElementData.get_CodeDomElement()

at Microsoft.VisualStudio.Design.Serialization.CodeDom.XML.CodeDomXmlProcessor.EndElement(String prefix, String name, String urn)

at Microsoft.VisualStudio.Design.Serialization.CodeDom.XML.CodeDomXmlProcessor.Parse(XmlReader reader)

at Microsoft.VisualStudio.Design.Serialization.CodeDom.XML.CodeDomXmlProcessor.ParseXml(String xmlStream, CodeStatementCollection statementCollection, String fileName, String methodName)

at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomParser.OnMethodPopulateStatements(Object sender, EventArgs e)

at System.CodeDom.CodeMemberMethod.get_Statements()

at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration)

at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)

at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)

at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)



I am using DevExpress 6.1.5 evaluation, is the new version 6.1.5 not supported ?

Replies
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Glen,

We just got back from Tech-Ed yesterday and will be back in the office Monday.  It is our goal to have an update available on the website by Monday evening with a few fixes and updates, including the DevExpress non-version specific templates.

Thanks.

Glen Germaine
Glen Germaine
StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)
Group: Forum Members
Posts: 8, Visits: 34
Trent L. Taylor (06/17/2006)
Glen,



We just got back from Tech-Ed yesterday and will be back in the office Monday. It is our goal to have an update available on the website by Monday evening with a few fixes and updates, including the DevExpress non-version specific templates.



Thanks.


Hi Guys, any update on the Devex Wrapper as yet?

Cheers,

Glen
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Yes, sir, the non-Version specific update is posted in the MyAccount area.  Have fun Smile
Glen Germaine
Glen Germaine
StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)
Group: Forum Members
Posts: 8, Visits: 34
Thanks for the super-quick reply...



Hmm.. seems I have a little problem. I downloaded that build yesterday...



After Uninstalling, and installing this latest build... opening a Solution and running the 'Create StrataFrame toolbox tab' command from the StrataFrame menu.., I do have the 'StrataFrame Controls and Components' tab, but I do not have StrataFrame Inherited Controls' as shown in the Devexpress Sample video.



Thought I was going nuts not seeing the 'EnhancedList' control until I realised I was missing a tab. I can see and use the 'standard' Winforms controls, no probs.



I have Devexpress 6.1.5 DXProfessional installed.



Oh, and yes, during the install I did have the Install Devexpress Wrapper checkbox checked.



I've tried the Uninstall, reboot Install thing twice.. so any suggestions are welcome.



Thanks Gents.
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
If you check the C:\Program Files\Common Files\MicroFour\StrataFrame\ folder, do you have the MicroFour StrataFrame Inherited UI.dll assembly?  If the assembly is there, then the "Create StrataFrame Toolbox Tab" menu option should be creating both the "StrataFrame Controls & Components" tab and the "StrataFrame Inherited Controls" tab.
Glen Germaine
Glen Germaine
StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)
Group: Forum Members
Posts: 8, Visits: 34
Yup, its there... Microfour StrataFrame Inherited UI.dll (and .xml)

I browsed to the dll from the Toolbox and tried to add it manually, but I received an error referring to 'cannot load file or assembly' Devex Editors 6.1.4.



The Microfour StrataFrame Inherited UI.dll file details are

184KB (188,416 bytes)

Created and Modified dates Wed 21st June 2006 9.10.48 am

File Version 1.4.0.0





Glen Germaine
Glen Germaine
StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)
Group: Forum Members
Posts: 8, Visits: 34
Hold the phone... It's fixed. w00t



A reboot after reinstalling seems to have fixed it... I have no idea why. I now have the Inherited Controls available.





StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Oh, yes, the GAC probably cached the Inherited UI assembly that was tied to 6.1.4 and it was throwing exceptions when trying to add the toolbox items.  After rebooting, the correct assembly that you installed was available and started working.

Dang that GAC Crazy

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Yes, I noticed this yesterday.  The problem is actually in the uninstall because it is leaving the Inherited UI in the GAC for some reason.  You can manually delete the Inherited UI from the GAC after the uninstall and the load the new update and you won't have to reboot.  We will fix this before the official release of 1.4.1.

Glad you got going!

Glen Germaine
Glen Germaine
StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)
Group: Forum Members
Posts: 8, Visits: 34
Hi.. Still having issues with the DX Inherited Controls



1) The toolbox items appeared once (then I jumped the gun and posted on the forum). That was the only time they have been seen.. I closed that solution, created a new SF Winforms App and the Inherited UI toolbox was gone. All the re-running of the 'Create Toolbox', uninstalling, rebooting, disabling addins and a good deal of praying..(and cussing) Wink hasn't done any good.



2) Adding a Devexpress Maintenance Form to a solution results in the same designer warnings listed in this thread in an earlier post:



Could not find type 'MicroFour.StrataFrame.UI.Windows.Forms.DevEx.MaintenanceFormBarManager'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.



Could not find type 'MicroFour.StrataFrame.UI.Windows.Forms.DevEx.GradientFormHeader'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.



The variable 'GradientFormHeader1' is either undeclared or was never assigned.D:\StrateFrame Project\Windows\TianDi\TianDi\Form\ProductGroupForm.Designer.vb Line 71



To ensure that this wasn't something weird with my VS2005 setup, I have run up a clean WinXP SP2 Virtual Machine, and installed only VS2005, Devexpress 6.1.5 and Strataframe. You guessed it.. I see exactly the same errors in that installation.



References are set and the annoying thing is that the solution will run and display the form. It's the Designer that has a cow and refuses to play..



One odd thing I've noticed is that if I browse to the MicroFour StrataFrame Inherited UI.dll from the Toolbox and try to add it, it gives me an error that says "Could not load file or Assembly 'Devexpress.XtraEditors.v6.1, Version 6.1.4, etc etc"



Is it possible there is still something hidden away in that dll that is looking for the specific version?



Cheers,



Glen

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Glen,

Try something for me.  Below is a list of actions I want you to try to see if we can get you going. 

  1. Close down all Visual Studio instances
  2. Download the latest StrataFrame 1.4.1 install from the website.
  3. Uninstall StrataFrame through the Add/remove programs
  4. Open Windows Explorer and navigate to c:\windows\assembly
  5. You will more than likely see two SF libraries.  Delete the MicroFour StrataFrame Inherited UI (leave the license alone)
  6. Now install the new version of SF
  7. Once complete, open Visual Studio and create a new project and open a blank form (just doing this so you can see the toolbar items get created)
  8. From the StrataFrame menu, create the toolbox items
  9. You should see the StrataFrame Inherited tab get created
  10. Close the temp project we created (no need to save)
  11. Close Visual Studio (to remember your tab settings)
  12. Done!

There should be a few steps above that you haven't tried yet.  I think your problem is the old assembly hangin around in the GAC.  There is an issue with the uninstall that is not removing it from the GAC so the new assembly (which has the same version) is loaded, it gets ignored...thus you still have the old assembly reference.

If this doesn't work, we will have a screen sharing session and I will get you going.  Thanks for your patience Smile

Glen Germaine
Glen Germaine
StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)
Group: Forum Members
Posts: 8, Visits: 34
Thanks Trent, Wil go through all the above and report back.



Appreciate the assistance.



Glen
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
In case anyone was wondering, we have a SF 1.4.1 build in the MyAccount area of the website that supports DevX 6.1.5.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
fookyean - 19 Years Ago
StrataFrame Team - 19 Years Ago
fookyean - 19 Years Ago
fookyean - 19 Years Ago
Trent L. Taylor - 19 Years Ago
Glen Germaine - 19 Years Ago
Trent L. Taylor - 19 Years Ago
                         [quote][b]Trent L. Taylor (06/17/2006)[/b][hr]Glen,

We just...
Glen Germaine - 19 Years Ago
                             Yes, sir, the non-Version specific update is posted in the MyAccount...
StrataFrame Team - 19 Years Ago
                                 Thanks for the super-quick reply...

Hmm.. seems I have a...
Glen Germaine - 19 Years Ago
                                     If you check the C:\Program Files\Common Files\MicroFour\StrataFrame\...
StrataFrame Team - 19 Years Ago
                                         Yup, its there... Microfour StrataFrame Inherited UI.dll (and .xml)...
Glen Germaine - 19 Years Ago
                                             Hold the phone... It's fixed. :w00t:

A reboot [b]after[/b]...
Glen Germaine - 19 Years Ago
                                                 Oh, yes, the GAC probably cached the Inherited UI assembly that was...
StrataFrame Team - 19 Years Ago
                                                     Yes, I noticed this yesterday. The problem is actually in the...
Trent L. Taylor - 19 Years Ago
                                                         Hi.. Still having issues with the DX Inherited Controls

1)...
Glen Germaine - 19 Years Ago
                                                             Glen, Try something for me. Below is a list of actions I want you to...
Trent L. Taylor - 19 Years Ago
                                                                 Thanks Trent, Wil go through all the above and report back.
...
Glen Germaine - 19 Years Ago
                             In case anyone was wondering, we have a SF 1.4.1 build in the...
StrataFrame Team - 19 Years Ago
Glen Germaine - 19 Years Ago
Trent L. Taylor - 19 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search