I
Invalidlastname
Hi,
Our developer team recently started getting the compilation error, see below, once a while running the asp.net web application from Visual Studio 2003 (in debug mode), and we have to rebuild the solution or deleted the VsWebcache to get rid of this error
I suspect this error is related to that we strong named several assemblies for using queued components in NET EnterpriseServices. In development environment, we did not install those strong named assemblies in the GAC.
I'd like to know if this error is related the strong named assemblies and GAC. If that is the case, what is the best practice for using assemblies in the GAC. Based on the Q article 306149 http://support.microsoft.com/default.aspx?scid=kb;en-us;306149, it requires registry changes in order to use the assemblies installed in the GAC. I don't want our development team worries these little issues and tedious steps to setup the development environment instead of focusing on coding. Any helps on setting up the development enviroment will be appreciated.
extra information
OS: w2k3 server
VSNET 2003 Ent
Thanks
ILN
Server Error in '/Subscribers' Application.
--------------------------------------------------------------------------------
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0006: Metadata file 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\f94eef42\72cb53f8_98a4c301\microsoft.applicationblocks.data.dll' could not be found
Source Error:
[No relevant source lines]
Source File: Line: 0
Show Detailed Compiler Output:
c:\windows\system32\inetsrv> "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe" /t:library /utf8output /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\f94eef42\72cb53f8_98a4c301\microsoft.applicationblocks.data.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll" /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\0f25138e\080bf2f7_98a4c301\microsoft.applicationblocks.exceptionmanagement.dll" /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\1845cea9\1cd701f9_98a4c301\Xyz.common.dll" /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\93ba770d\6aa3b7fb_98a4c301\Xyz.accounts.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\fb4d13b5\801f8cf9_98a4c301\Xyz.async.dll" /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\0062a316\5e5592ab_9aa4c301\subscribers.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\05497ed1\f0fd62f7_98a4c301\microsoft.applicationblocks.exceptionmanagement.interfaces.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\8ed15ef6\1afa0bfb_98a4c301\Xyz.dal.dll" /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\subscribers\9d4a3ae8\9cc35165\0bkomtws.dll" /DEBUG /debug+ /optimize- /warnaserror /w:1 "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\subscribers\9d4a3ae8\9cc35165\0bkomtws.0.cs" Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4for Microsoft (R) .NET Framework version 1.1.4322Copyright (C) Microsoft Corporation 2001-2002. All rights reserved. error CS0006: Metadata file 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\f94eef42\72cb53f8_98a4c301\microsoft.applicationblocks.data.dll' could not be founderror CS0006: Metadata file 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\1845cea9\1cd701f9_98a4c301\Xyz.common.dll' could not be founderror CS0006: Metadata file 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\93ba770d\6aa3b7fb_98a4c301\Xyz.accounts.dll' could not be founderror CS0006: Metadata file 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\05497ed1\f0fd62f7_98a4c301\microsoft.applicationblocks.exceptionmanagement.interfaces.dll' could not be found
Show Complete Compilation Source:
Line 1: //------------------------------------------------------------------------------Line 2: // <autogenerated>Line 3: // This code was generated by a tool.Line 4: // Runtime Version: 1.1.4322.573Line 5: //Line 6: // Changes to this file may cause incorrect behavior and will be lost if Line 7: // the code is regenerated.Line 8: // </autogenerated>Line 9: //------------------------------------------------------------------------------Line 10: Line 11: namespace ASP {Line 12: using System;Line 13: using System.Collections;Line 14: using System.Collections.Specialized;Line 15: using System.Configuration;Line 16: using System.Text;Line 17: using System.Text.RegularExpressions;Line 18: using System.Web;Line 19: using System.Web.Caching;Line 20: using System.Web.SessionState;Line 21: using System.Web.Security;Line 22: using System.Web.UI;Line 23: using System.Web.UI.WebControls;Line 24: using System.Web.UI.HtmlControls;Line 25: Line 26: Line 27: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]Line 28: public class Global_asax : Subscribers.Global {Line 29: Line 30: private static bool __initialized = false;Line 31: Line 32: public Global_asax() {Line 33: if ((ASP.Global_asax.__initialized == false)) {Line 34: ASP.Global_asax.__initialized = true;Line 35: }Line 36: }Line 37: }Line 38: }Line 39:
Our developer team recently started getting the compilation error, see below, once a while running the asp.net web application from Visual Studio 2003 (in debug mode), and we have to rebuild the solution or deleted the VsWebcache to get rid of this error
I suspect this error is related to that we strong named several assemblies for using queued components in NET EnterpriseServices. In development environment, we did not install those strong named assemblies in the GAC.
I'd like to know if this error is related the strong named assemblies and GAC. If that is the case, what is the best practice for using assemblies in the GAC. Based on the Q article 306149 http://support.microsoft.com/default.aspx?scid=kb;en-us;306149, it requires registry changes in order to use the assemblies installed in the GAC. I don't want our development team worries these little issues and tedious steps to setup the development environment instead of focusing on coding. Any helps on setting up the development enviroment will be appreciated.
extra information
OS: w2k3 server
VSNET 2003 Ent
Thanks
ILN
Server Error in '/Subscribers' Application.
--------------------------------------------------------------------------------
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0006: Metadata file 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\f94eef42\72cb53f8_98a4c301\microsoft.applicationblocks.data.dll' could not be found
Source Error:
[No relevant source lines]
Source File: Line: 0
Show Detailed Compiler Output:
c:\windows\system32\inetsrv> "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe" /t:library /utf8output /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\f94eef42\72cb53f8_98a4c301\microsoft.applicationblocks.data.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll" /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\0f25138e\080bf2f7_98a4c301\microsoft.applicationblocks.exceptionmanagement.dll" /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\1845cea9\1cd701f9_98a4c301\Xyz.common.dll" /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\93ba770d\6aa3b7fb_98a4c301\Xyz.accounts.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\fb4d13b5\801f8cf9_98a4c301\Xyz.async.dll" /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\0062a316\5e5592ab_9aa4c301\subscribers.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\05497ed1\f0fd62f7_98a4c301\microsoft.applicationblocks.exceptionmanagement.interfaces.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\8ed15ef6\1afa0bfb_98a4c301\Xyz.dal.dll" /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\subscribers\9d4a3ae8\9cc35165\0bkomtws.dll" /DEBUG /debug+ /optimize- /warnaserror /w:1 "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\subscribers\9d4a3ae8\9cc35165\0bkomtws.0.cs" Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4for Microsoft (R) .NET Framework version 1.1.4322Copyright (C) Microsoft Corporation 2001-2002. All rights reserved. error CS0006: Metadata file 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\f94eef42\72cb53f8_98a4c301\microsoft.applicationblocks.data.dll' could not be founderror CS0006: Metadata file 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\1845cea9\1cd701f9_98a4c301\Xyz.common.dll' could not be founderror CS0006: Metadata file 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\93ba770d\6aa3b7fb_98a4c301\Xyz.accounts.dll' could not be founderror CS0006: Metadata file 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\subscribers\9d4a3ae8\9cc35165\assembly\dl2\05497ed1\f0fd62f7_98a4c301\microsoft.applicationblocks.exceptionmanagement.interfaces.dll' could not be found
Show Complete Compilation Source:
Line 1: //------------------------------------------------------------------------------Line 2: // <autogenerated>Line 3: // This code was generated by a tool.Line 4: // Runtime Version: 1.1.4322.573Line 5: //Line 6: // Changes to this file may cause incorrect behavior and will be lost if Line 7: // the code is regenerated.Line 8: // </autogenerated>Line 9: //------------------------------------------------------------------------------Line 10: Line 11: namespace ASP {Line 12: using System;Line 13: using System.Collections;Line 14: using System.Collections.Specialized;Line 15: using System.Configuration;Line 16: using System.Text;Line 17: using System.Text.RegularExpressions;Line 18: using System.Web;Line 19: using System.Web.Caching;Line 20: using System.Web.SessionState;Line 21: using System.Web.Security;Line 22: using System.Web.UI;Line 23: using System.Web.UI.WebControls;Line 24: using System.Web.UI.HtmlControls;Line 25: Line 26: Line 27: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]Line 28: public class Global_asax : Subscribers.Global {Line 29: Line 30: private static bool __initialized = false;Line 31: Line 32: public Global_asax() {Line 33: if ((ASP.Global_asax.__initialized == false)) {Line 34: ASP.Global_asax.__initialized = true;Line 35: }Line 36: }Line 37: }Line 38: }Line 39: