Hello,
I am a newbie to the Infragistics products as I have just taken over the job from someone else. On our development machine we have older versions of Infragistics Ultimate 2008 & 2010 installed. Recently we have upgraded to 2011.2.
After the installation of Infragistics Netadvatange Ultimate Version 2011.2, I want to investigate the function of the different controls using the example solution "Startup Solution". First I had to convert to a VS2010 solution which was working fine without error messages.
When building the project with VS2010, I get the following error message.
------ Build started: Project: C:\...\Startup Solution\, Configuration: Debug Any CPU ------
Validating Web Site
C:\Documents and Settings\All Users\Documents\Infragistics\NetAdvantage 2011.2\ASP.NET\Startup Solution\web.config(38): Build (web): Could not load file or assembly 'Infragistics35.WebUI.UltraWebGrid.ExcelExport.v11.2, Version=11.2.20112.1019, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies. The system cannot find the file specified.
Validation Complete
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
Note that in the web.config many other assembly references are passing the build process without problems such as:
<add assembly="Infragistics35.Web.v11.2, Version=11.2.20112.1019, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/> <add assembly="Infragistics35.Web.jQuery.v11.2, Version=11.2.20112.1019, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/> <add assembly="Infragistics35.WebUI.WebScheduleDataProvider.v11.2, Version=11.2.20112.1019, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/> <add assembly="Infragistics35.WebUI.WebSchedule.v11.2, Version=11.2.20112.1019, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/> <add assembly="Infragistics35.WebUI.Shared.v11.2, Version=11.2.20112.1019, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/> <add assembly="Infragistics35.WebUI.UltraWebChart.v11.2, Version=11.2.20112.1019, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/> <add assembly="Infragistics35.WebUI.UltraWebGauge.v11.2, Version=11.2.20112.1019, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/> <add assembly="Infragistics35.WebUI.Misc.v11.2, Version=11.2.20112.1019, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/> <add assembly="Infragistics35.WebUI.Shared.v11.2, Version=11.2.20112.1019, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/> <add assembly="Infragistics35.WebUI.UltraWebCalcManager.v11.2, Version=11.2.20112.1019, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>
The ASP.NET instyallation of the 2011.2 was reported to be successful, so what could be the problem?
Removing the line <add assembly="Infragistics35.WebUI.UltraWebGrid.ExcelExport.v11.2, Version=11.2.20112.1019, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>
results in a set of other error message.
How do I get the example solution to work?
Thank you very much for your support
Hello again,
sorry for the delay of my response.
I have executed steps 1. to 5 whereas 1. to 4. are ok and step 5 fails with the following build error message:
Building directory '/Startup Solution/App_GlobalResources/'.
Building directory '/Startup Solution/js/combined/min/'.
Building directory '/Startup Solution/WebSchedule/forms/'.
Building directory '/Startup Solution/WebSchedule/'.
C:\Documents and Settings\All Users\Documents\Infragistics\NetAdvantage 2011.2\ASP.NET\Startup Solution\WebSchedule\BindingWeekView.aspx(1): Build (web): The file '/Startup Solution/WebSchedule/BindingWeekView.aspx.cs' does not exist.
It seems that parts of the solution were not reinstalled with the 2025 service pack.
I wanted to follow your instruction as described in point 6.
However, I do not see which package installer you are refering to.
I could not find a package installer version 2025 on the previously linked web-site.
Please advise
Thanks a lot for your support
Kind regards,
Carsten
Hello Carsten,
It sounds like the assemblies were successfully updated to build 2025, but the startup solution was not updated. Since it is looking for build 1019, it is failing to build at an earlier line.
Could you please try the following?
1. Close the project and delete the folder "Startup Solution" from the location you listed above.
2. Reinstall (repair) the service release.
3. Check the file path to make sure the Startup Solution was reinstalled.
4. Check the web.config file to make sure it references Version=11.2.20112.2025.
5. If these two checks succeed, rebuild the solution.
6. If these two checks do not succeed, uninstall the product completely, and reinstall using the platform installer with the latest service release option.
In the service release, the startup solution was upgraded to use .NET Framework 4.0.
Let me know if this works.
Elizabeth AlbertLocalization Engineer
Thanks a lot for your support.
Sorry again...I have downloaded the service release 2025 and installed it successfully.
However the solution "StartupSamples.sln" does not seem to be replaced. I just have the original one in the folder C:\Documents and Settings\All Users\Documents\Infragistics\NetAdvantage 2011.2\ASP.NET\Startup Solution and I cannot find it anywhere else on my system drive.
Opening the original solution (converted to VS2010) "StartupSamples.sln" and building it results in the following error message: Note: It seems to stop even earlier on assemblies it cannot find.
C:\Documents and Settings\All Users\Documents\Infragistics\NetAdvantage 2011.2\ASP.NET\Startup Solution\web.config(39): Build (web): Could not load file or assembly 'Infragistics35.Web.v11.2, Version=11.2.20112.1019, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies. The system cannot find the file specified.
why is it using .NET Framework 3.5 anyway?
Shouldn't it use version 4.0 already?
Thanks again for your support
Hello eardenti,
The startup solution was fixed in a service release. In the RTM version (1019), which you have installed, the solution contained some references to assemblies that had been removed.
I just tried it with the latest service release build 2025, and the startup solution builds and runs successfully in Visual Studio 2010.
Could you please apply the latest service release and try to build the solution again? You can get the latest service release easily through the Platform Installer (image attached).
I would recommend reading this blog post about the changes made to the ASP.NET product in 11.2.
ASP.NET Product Changes in 11.2
If the project you have taken over uses any of the Classic Controls, like WebGrid, it might be better to use version 11.1, which contains the Classic Controls.
Let me know if you have any further questions.