Hi
I installed the latest hotfix for infragistics netadvantage 2008 now no matter what web application I run from VS 2008 I get error:
Could not load file or assembly 'Infragistics35.WebUI.UltraWebGrid.ExcelExport.v8.1, Version=8.1.20081.1000 Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies. The system cannot find the file specified.
This happens for every web application run from VS 2008. Even if it isn't using any infragistics I still get this error. This started hapenning after I installed the folowing Hotfixes for infragistics:
NetAdvantage_ASPNET_20081_CLR35_HotFix_2013NetAdvantage_WinForms_20081_CLR20_HotFix_2013NetAdvantage_AppStylist_20081_CLR20_HotFix_2013
Everything was working before I installed these. Now I cannot run ANY apps from VS 2008.
Can you help.
ThanksPete
Hi,
Did you run the Project Upgrade Utility on your projects? Alternatively run a search and replace to replace "Version=8.1.20081.1000" with "Version=8.1.20081.2013"
Everything has been replaced. However, I suspect that the issue is not with the projects, but with a change Infragistics made to the IDE or to IIS7. Not sure.
Because no matter what project I run (even projects that do not contain infragistics controls or references) I still get this error.In fact I created a new web application with a simple page that says hello and when I run it I still get this error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
[FileNotFoundException: Could not load file or assembly 'Infragistics35.WebUI.UltraWebGrid.ExcelExport.v8.1, Version=8.1.20081.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies. The system cannot find the file specified.] System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0 System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +54 System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211 System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141 System.Reflection.Assembly.Load(String assemblyString) +25 System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +32 [ConfigurationErrorsException: Could not load file or assembly 'Infragistics35.WebUI.UltraWebGrid.ExcelExport.v8.1, Version=8.1.20081.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies. The system cannot find the file specified.] System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +596 System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +70 System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +177 System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +185 System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) +230 System.Web.Compilation.BuildManager.CompileGlobalAsax() +49 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +462 [HttpException (0x80004005): Could not load file or assembly 'Infragistics35.WebUI.UltraWebGrid.ExcelExport.v8.1, Version=8.1.20081.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies. The system cannot find the file specified.] System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +57 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +612 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +644 [HttpException (0x80004005): Could not load file or assembly 'Infragistics35.WebUI.UltraWebGrid.ExcelExport.v8.1, Version=8.1.20081.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies. The system cannot find the file specified.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3465475 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +69 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +279
Version Information: Microsoft .NET Framework Version:2.0.50727.1434; ASP.NET Version:2.0.50727.1434
Solved. Im using Forms Authentication and I redirect everythign to another app. When I installed the hotfix for infragistics the app I redirect to was under source control and did not get updated with the new references. Since all other apps get redirected to the login screen of that one, then all of the apps were broken.