Vikram Saxena
|
|
Group: Forum Members
Posts: 41,
Visits: 99
|
Hi, Finally, after getting my activation done when i try to create any SF form [windows control] it throws the following error and i cant proceed further.  | 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 could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: Form1 --- The base class 'Object' could not be loaded. Ensure the assembly has been referenced and that all projects have been built. Hide | at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager manager) 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)
|
|
|
|
Trent Taylor
|
|
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 7K
|
This is the standard Visual Studio designer error message. This can from from about 100 places ... but I am willing to bet in your case your application references are wrong. Below are the instructions we sent out to update your StrataFrame references for 1.5. - Close all open instances of the Visual Studio IDE.
- Uninstall all previous versions of StrataFrame.
- Download and install the 1.5 update from the My Account area of the StrataFrame website.
- Before using StrataFrame for the first time, all users must reactivate their StrataFrame products. This is due to the new activation system, and will only need to be done once per machine.
- Existing StrataFrame projects will have references to what are now obsolete (and non-existant) StrataFrame DLLs. These references will need to be removed, and references to the 1.5 StrataFrame DLLs will need to be added in their place. To update the references of a given project:
 - Open the project in Visual Studio.
- Ensure that the Show All Files option is selected within the solution explorer.
- Remove the refrences to the old StrataFrame DLLs (highlighted in the image above).
- Right-click within the References folder and select "Add Reference..." from the context menu.
- In the Add Reference dialog, choose the “.NET” tab and select these 4 MicroFour StrataFrame DLLs:
- MicroFour StrataFrame Base
- MicroFour StrataFrame Business
- MicroFour StrataFrame Database Engine
- MicroFour StrataFrame UI
- Click "OK" to add the selected references to your project.
- Rebuild the partial classes for your business objects through the Business Object Mapper. To do this, open the Business Object Mapper and on each project node that contains business objects, right-click and select “Rebuild All” to rebuild all of the partial classes for your business objects.
- If you are using DevExpress controls, you will need to update your install to DevExpress version 6.2.3, and change the applicable DevExpress refrences.
|
|
|
Vikram Saxena
|
|
Group: Forum Members
Posts: 41,
Visits: 99
|
I did exactly as per your instructions but this time, it refused to activate my license [snapshot attached] and after that when i tried the manual license file sent across by the Sales Team, it gave me teh following error on adding a new SF form.  | 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 path is not of a legal form. Hide | at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck) at System.IO.Path.GetFullPathInternal(String path) at System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile) at Microsoft.VisualStudio.Design.VSTypeResolutionService.AddProjectDependencies(Project project) at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.get_Assembly() at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.Search(String fullName, String typeName, Boolean ignoreTypeCase, Assembly& assembly, String description) at Microsoft.VisualStudio.Design.VSTypeResolutionService.SearchProjectEntries(AssemblyName assemblyName, String typeName, Boolean ignoreTypeCase, Assembly& assembly) at Microsoft.VisualStudio.Design.VSTypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, ReferenceType refType) at Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetType(String name, Boolean throwOnError, Boolean ignoreCase) at Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetType(String name) at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.GetType(String typeName) at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager manager) 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)
|
|
|
|
Trent Taylor
|
|
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 7K
|
Well... you did not actually have to reactivate since we have already sent you your license file. But it seems like you are having a pathing issue now. If you create a new StrataFrame project, do you get this error?
|
|
|
Vikram Saxena
|
|
Group: Forum Members
Posts: 41,
Visits: 99
|
I get this error when i try to add a SF form to a normal Windows application.
|
|
|
Vikram Saxena
|
|
Group: Forum Members
Posts: 41,
Visits: 99
|
Finally, it got fixed. the reference to Strataframe.Base was showing <cannot find the file....> Many thanks for your patience, support & QUICK responses. I really needed this to work today.
|
|
|
Trent Taylor
|
|
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 7K
|
Great! I am glad to hear you are working.
|
|
|
Vikram Saxena
|
|
Group: Forum Members
Posts: 41,
Visits: 99
|
Hello Trent, It seems SF wants me to struggle a bit more before i start running.  Now, Winforms are added successfully, but when i try to use DDT, Localization & Messaging Editor, it says "Feature not Purchased" where as i have purchased it. Vikram
|
|
|
StrataFrame Team
|
|
Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
When you purchased it, did you reactivate? If you didn't then your trial license is still active, which might have expired, thereby giving you the "not purchased" message. What you can do is go to the StrataFrame menu and choose License Information. This will bring up the activation client... just click Next and tell it that Yes, you are sure you want to deactivate your product. Then you can re-run the same activation client and when you click Next, it will take you through the wizard again and build you a "purchased" license file rather than the trial one that you had initially.
|
|
|
Vikram Saxena
|
|
Group: Forum Members
Posts: 41,
Visits: 99
|
Hello Ben, I had reactivated after installation using Manual Installation file. but now, if i try to recativate it does not allows me to do so. please see teh attached document for teh series of snapshots. Vikram [Edit: Ben Chase: Removed attachment (10-16-06)]
|
|
|