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 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.
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
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.
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
I'm glad that the issue has been resolved.
In addition to the startup solution, here are some links to get you started with NetAdvantage for ASP.NET.
Online Samples
Online Documentation
Somehing very strange happended.
i did what you told me to do, I had .ASP NET uninstalled, the solution folder deleted, reinstalled ASP NET from the Complete Bundle Package, applied the 2025 Service Release, openend the solution, built it and it threw the same error as before.
It was one of these typical IIS pages you get if your website cannot be executed correctly.
It referred to the "targetFramework" property. Unfortunately I did not save the message.
Then my colleague logged in on the same development machine (at the same time than me) and started the Startup Solution in VS2010 from the "All users" location and for him it worked without any problems.
Then I tried as well again (same solution from "All users") and suddenly it worked for me too.
Just for your info: It seemed to be a problem with my local profile. The system is a Windows Server 2003 R2
So problem solved but the reason is unclear.
Thank you for explaining the security policy.
If you have the complete bundle, you can do the following steps.
1. Make sure that the Startup Solution location is empty after the uninstall. Sometimes files will be left behind after building the solution or making changes.
2. Install the ASP.NET product (build 1019) from the complete bundle.
3. Install the service release (build 2025). This should be a separate .msp file.
4. Build and run the startup solution.
Let me know how it goes. If it does not work, I will ask Developer Support to send you the files directly.
I cannot use the Platform Installer as described above on my development machine as I do not have an internet connection that allows me to access the Infragistics downloads website.
I can access the infragistics website but then the download website remains empty.
This is part of our company's security policy.
That's why I used the Complete Bundle in the first place.
I had to download the package on another machine, copy the bundle file and then install it on the development machine.
The problem now seems to be that there is no package based on version 2025 that does a complete install.
My current status is: I uninstalled the .ASP NET part using teh Complete Bundle installer.
How can I reinstall up to service release 2025 with out using the Platform Installer?
Seems to be a neverending story.
Thanks for your support
To uninstall the product and re-install with the latest service release, please try the following steps.
1. Uninstall the product, including the service release.
2. Check the location of the Startup Solution, and delete any remaining files or folders.
3. Go here and download the Platform Installer (image attached).
4. Choose to install ASP.NET, making sure that the "Install with the latest service release" option is checked. A screenshot of this is attached to the initial reply. This will download and install the service release automatically after the product is installed.
5. Open the Startup Solution and build it.
Let me know if this is successful. I thought of attaching a zip file of the Startup Solution, but it is too large for the forums because of the databases. I see there is a case open for you with developer support, so if the problem persists, I will ask them to get in touch with you to provide you a zip of the files.