Unable to load sample code

Hello,

Just installed Essential Studio 4.3.0.30 and tried to open up the GroupCustomers C# source code in VS2005 but failed. I selected the GroupCustomers_2005.sln. It loaded without problems but when I double clicked on Form1.cs in Solution Explorer it gave me the following errors. Also, all the References (ie Syncfusion.Core, Syncfusion.Grid.Base, etc) have a yellow exclaimation mark on it. I tried to re-add them from the Precompiledassemblies folder, but it still displays that yellow exclaimation mark.

What should I do?

Object reference not set to an instance of an object.
Hide

at Microsoft.VisualStudio.Design.Serialization.CodeDom.MergedCodeDomParser.System.CodeDom.Compiler.ICodeParser.Parse(TextReader stream)
at System.CodeDom.Compiler.CodeDomProvider.Parse(TextReader codeStream)
at Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom.CodeDomDocDataAdapter.get_CompileUnit()
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)

1 Reply

GR Golda Rebecal Syncfusion Team November 2, 2007 09:59 AM UTC

Hi Titus,

We regret for the delayed response.

The issue you have mentioned occurs when the assemblies are not properly referenced in the project.

Could you please try the following to ensure that the correct v4.3.0.30 assemblies are referenced in the project?

1) Run the AssemblyManager of v4.3.0.30.

2) In the AssemblyManager, select the 'Remove All Versions' option and then click 'Perform Action'. This will remove all the Syncfusion assemblies from the GAC (C:\Windows\Assembly) and the PublicAssemblies folder ({Install Drive}:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies).

3) Then in the AssemblyManager, select the 'Install version 4.3.0.30' option and then click the 'Perform Action'. This will install the Syncfusion assemblies of version 4.3.0.30 in the GAC and the PublicAssemblies folder.

4) Open the project. In the Solution Explorer of the specific project, for each Syncfusion assembly in the reference node, open the properties window and check whether the 'path' refers to the PublicAssemblies folder mentioned above and the 'version' of the assembly is 4.3.0.30. The 'SpecificVersion' property should be made false.

5) Build the project and then open the Form in the designer.

Kindly let me know if this helps you.

We appreciate your interest in Syncfusion products.

Best regards,
Golda


Loader.
Up arrow icon