Performed Upgrade to latest version of product. Used the ProjectConverter tool to upgrade the projects. After doing so received "Could not load file or assembly" error on DevExpress.Data.v11.2.resources.
References look correct. Web.config looks correct. All references set to "copy local".
<compilation debug="true">
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="DevExpress.Data.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<add assembly="DevExpress.Printing.v11.2.Core, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<add assembly="DevExpress.Utils.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<add assembly="DevExpress.Web.ASPxEditors.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<add assembly="DevExpress.Web.ASPxGridView.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<add assembly="DevExpress.Web.ASPxGridView.v11.2.Export, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<add assembly="DevExpress.Web.ASPxThemes.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<add assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<add assembly="DevExpress.XtraPrinting.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
</assemblies>
</compilation>
Exception Detail:
System.IO.FileNotFoundException occurred
Message="Could not load file or assembly 'DevExpress.Data.v11.2.resources' or one of its dependencies. The system cannot find the file specified."
Source="mscorlib"
FileName="DevExpress.Data.v11.2.resources"
FusionLog="=== Pre-bind state information ===\r\nLOG: User = RWK-ACPEDEV\SJanis\r\nLOG: DisplayName = DevExpress.Data.v11.2.resources\n (Partial)\r\nLOG: Appbase = file:///D:/ACPE/Source/CPEMonitor/Trunk/CPEMonitorWeb/\r\nLOG: Initial PrivatePath = D:\ACPE\Source\CPEMonitor\Trunk\CPEMonitorWeb\bin\r\nCalling assembly : (Unknown).\r\n===\r\nLOG: This bind starts in default load context.\r\nLOG: Using application configuration file: D:\ACPE\Source\CPEMonitor\Trunk\CPEMonitorWeb\web.config\r\nLOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.\r\nLOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).\r\nLOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/c8a1a319/d2bcd67/DevExpress.Data.v11.2.resources.DLL.\r\nLOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/c8a1a319/d2bcd67/DevExpress.Data.v11.2.resources/DevExpress.Data.v11.2.resources.DLL.\r\nLOG: Attempting download of new URL file:///D:/ACPE/Source/CPEMonitor/Trunk/CPEMonitorWeb/bin/DevExpress.Data.v11.2.resources.DLL.\r\nLOG: Attempting download of new URL file:///D:/ACPE/Source/CPEMonitor/Trunk/CPEMonitorWeb/bin/DevExpress.Data.v11.2.resources/DevExpress.Data.v11.2.resources.DLL.\r\nLOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/c8a1a319/d2bcd67/DevExpress.Data.v11.2.resources.EXE.\r\nLOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/c8a1a319/d2bcd67/DevExpress.Data.v11.2.resources/DevExpress.Data.v11.2.resources.EXE.\r\nLOG: Attempting download of new URL file:///D:/ACPE/Source/CPEMonitor/Trunk/CPEMonitorWeb/bin/DevExpress.Data.v11.2.resources.EXE.\r\nLOG: Attempting download of new URL file:///D:/ACPE/Source/CPEMonitor/Trunk/CPEMonitorWeb/bin/DevExpress.Data.v11.2.resources/DevExpress.Data.v11.2.resources.EXE.\r\n"
StackTrace:
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
InnerException:
Hopefully someone can assist with this issue.
Regards.
--Steve J.
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Hello Steve,
This issue often occurs after an upgrade when new and older assemblies of our controls are mixed in a project. I suggest that you clear the project's Bin and Obj folders, look for the App_Licenses.dll file within the solution, and delete the file if you find it. Finally, rebuild the project.
In addition, I recommend you take a look at the following sources:
Upgrade Notes
Upgrade problem with DXperience - Compilation Error
Please let us know whether or not this helps.
Thanks,
Marion
I tried the suggested solution but with no success. I cleared the .NET Temporary Files, App_Licenses.dll file was not in any of my solution directories, reset IIS, cleared all DLLs from BIN and then rebuilt. Received same error. The only way I can get the build to run successful is if I copy the resource dlls from the <project>\bin\es directory to the <project>\bin directory - then the error goes away. The following files were copied:
DevExpress.Data.v11.2.resources.dll
DevExpress.Utils.v11.2.resources.dll
DevExpress.Web.ASPxEditors.v11.2.resources.dll
DevExpress.Web.ASPxGridView.v11.2.resources.dll
DevExpress.Web.v11.2.resources.dll
DevExpress.XtraPrinting.v11.2.resources.dll
Please advise.
--Steve J.
Hello Steve:
Thank you for your response.
Would you please provide a complete web.config file?
The trick is that by design ASP.NET searches for an assembly DLL first in the private Bin directory of an application. If this assembly is not found there, ASP.NET starts searching in the GAC of the server. Unless I am mistaken, there are no DevExpress assemblies in the GAC, that is why you get this error.
If assemblies are placed in a subdirectory under the .bin directory, the name of this subdirectory should be specified in the privatePath attribute of the <probing> element in the web.config file:
http://msdn.microsoft.com/en-us/library/823z9h8w.aspx
Thanks
Kate.
Personally I believe this is a bug with the Project Upgrade process. New DLL's were introduced under language folders it appears. This folder with resource dll's didnot exist in the previous version. I manually added references in the project to those resource DLL's and now the project compiles and runs just fine. All these DLL's had the ".resources" in the naming convention and were associated with the DLL's I already had references to in the existing project.
Regards.
--Steve J.
Hello Steve:
Please pardon my unclear answer.
Starting from DXperience v2011 vol 2 DevExpress ASP.NET controls may be localized with satellite resource assemblies. We install localized satellite assemblies for a few languages along with our components. The installer also registers satellite assemblies in the GAC.
When the CopyLocal property for DevExpress assembly reference is set to True, Visual Studio copies corresponding satellite assemblies into the project output folder.
See the following article for more detailed information:
Localization Overview
So, the solution is to redeploy the upgraded project with new resource libraries.
Thanks
Kate.