amillyard
asked on
.net site compilation error
Getting the following error via the server.
The asp.net site compiles without errors.
How do I resolve this as cannotsee any web-pages currently.
Many thanks.
__________________________ __________ __________ __________ _________
Server Error in '/' 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: CS0009: Metadata file 'c:\Windows\Microsoft.NET\ Framework\ v2.0.50727 \Temporary ASP.NET Files\root\4ff5f87a\700b8b af\assembl y\dl3\98b8 7759\47d3e 9a3_db92c9 01\Tools.D LL' could not be opened -- 'Error importing module 'Tools.netmodule' of assembly 'c:\Windows\Microsoft.NET\ Framework\ v2.0.50727 \Temporary ASP.NET Files\root\4ff5f87a\700b8b af\assembl y\dl3\98b8 7759\47d3e 9a3_db92c9 01\Tools.D LL' -- The system cannot find the file specified. '
Source Error:
[No relevant source lines]
Source File: Line: 0
Show Detailed Compiler Output:
c:\windows\system32\inetsr v> "c:\Windows\Microsoft.NET\ Framework\ v3.5\csc.e xe" /t:library /utf8output /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Runtim e.Serializ ation\3.0. 0.0__b77a5 c561934e08 9\System.R untime.Ser ialization .dll" /R:"C:\Windows\Microsoft.N ET\Framewo rk\v2.0.50 727\mscorl ib.dll" /R:"C:\Windows\assembly\GA C_MSIL\Mic rosoft.JSc ript\8.0.0 .0__b03f5f 7f11d50a3a \Microsoft .JScript.d ll" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Runtim e.Serializ ation.Form atters.Soa p\2.0.0.0_ _b03f5f7f1 1d50a3a\Sy stem.Runti me.Seriali zation.For matters.So ap.dll" /R:"C:\Windows\Microsoft.N ET\Framewo rk\v2.0.50 727\Tempor ary ASP.NET Files\root\4ff5f87a\700b8b af\assembl y\dl3\0b8d fe30\51be0 e9a_da92c9 01\By360Im pact.AutoE mail.DLL" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Xml.Li nq\3.5.0.0 __b77a5c56 1934e089\S ystem.Xml. Linq.dll" /R:"C:\Windows\Microsoft.N ET\Framewo rk\v2.0.50 727\Tempor ary ASP.NET Files\root\4ff5f87a\700b8b af\assembl y\dl3\bd4b f623\e5ca4 6d2_f692c9 01\FORTUNE .DLL" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Web.Mo bile\2.0.0 .0__b03f5f 7f11d50a3a \System.We b.Mobile.d ll" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Workfl owServices \3.5.0.0__ 31bf3856ad 364e35\Sys tem.Workfl owServices .dll" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Web.Ex tensions\3 .5.0.0__31 bf3856ad36 4e35\Syste m.Web.Exte nsions.dll " /R:"C:\Windows\assembly\GA C_32\Syste m.Data.Ora cleClient\ 2.0.0.0__b 77a5c56193 4e089\Syst em.Data.Or acleClient .dll" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Design \2.0.0.0__ b03f5f7f11 d50a3a\Sys tem.Design .dll" /R:"C:\Windows\assembly\GA C_MSIL\Mic rosoft.Vsa \8.0.0.0__ b03f5f7f11 d50a3a\Mic rosoft.Vsa .dll" /R:"C:\Windows\assembly\GA C_32\Syste m.Web\2.0. 0.0__b03f5 f7f11d50a3 a\System.W eb.dll" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Xml\2. 0.0.0__b77 a5c561934e 089\System .Xml.dll" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Securi ty\2.0.0.0 __b03f5f7f 11d50a3a\S ystem.Secu rity.dll" /R:"C:\Windows\Microsoft.N ET\Framewo rk\v2.0.50 727\Tempor ary ASP.NET Files\root\4ff5f87a\700b8b af\assembl y\dl3\4c88 dce7\42c1a 1c7_da92c9 01\EO.Web. DLL" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Identi tyModel\3. 0.0.0__b77 a5c561934e 089\System .IdentityM odel.dll" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem\2.0.0. 0__b77a5c5 61934e089\ System.dll " /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Servic eModel\3.0 .0.0__b77a 5c561934e0 89\System. ServiceMod el.dll" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Web.Se rvices\2.0 .0.0__b03f 5f7f11d50a 3a\System. Web.Servic es.dll" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Window s.Forms\2. 0.0.0__b77 a5c561934e 089\System .Windows.F orms.dll" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Data.D ataSetExte nsions\3.5 .0.0__b77a 5c561934e0 89\System. Data.DataS etExtensio ns.dll" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Core\3 .5.0.0__b7 7a5c561934 e089\Syste m.Core.dll " /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Drawin g\2.0.0.0_ _b03f5f7f1 1d50a3a\Sy stem.Drawi ng.dll" /R:"C:\Windows\assembly\GA C_32\Syste m.Data\2.0 .0.0__b77a 5c561934e0 89\System. Data.dll" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Web.Ex tensions.D esign\3.5. 0.0__31bf3 856ad364e3 5\System.W eb.Extensi ons.Design .dll" /R:"C:\Windows\Microsoft.N ET\Framewo rk\v2.0.50 727\Tempor ary ASP.NET Files\root\4ff5f87a\700b8b af\assembl y\dl3\ec2f 4e0e\ba7a4 895_da92c9 01\AjaxCon trolToolki t.DLL" /R:"C:\Windows\Microsoft.N ET\Framewo rk\v2.0.50 727\Tempor ary ASP.NET Files\root\4ff5f87a\700b8b af\assembl y\dl3\98b8 7759\47d3e 9a3_db92c9 01\Tools.D LL" /R:"C:\Windows\assembly\GA C_32\Syste m.Enterpri seServices \2.0.0.0__ b03f5f7f11 d50a3a\Sys tem.Enterp riseServic es.dll" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Config uration\2. 0.0.0__b03 f5f7f11d50 a3a\System .Configura tion.dll" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Drawin g.Design\2 .0.0.0__b0 3f5f7f11d5 0a3a\Syste m.Drawing. Design.dll " /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Servic eModel.Web \3.5.0.0__ 31bf3856ad 364e35\Sys tem.Servic eModel.Web .dll" /R:"C:\Windows\Microsoft.N ET\Framewo rk\v2.0.50 727\Tempor ary ASP.NET Files\root\4ff5f87a\700b8b af\assembl y\dl3\e449 f5f9\c7040 da2_db92c9 01\Telerik .Web.UI.DL L" /out:"C:\Windows\Microsoft .NET\Frame work\v2.0. 50727\Temp orary ASP.NET Files\root\4ff5f87a\700b8b af\App_glo bal.asax.k _mhw5c1.dl l" /D:DEBUG /debug+ /optimize- /w:4 /nowarn:1659;1699;1701 /warnaserror- "C:\Windows\Microsoft.NET\ Framework\ v2.0.50727 \Temporary ASP.NET Files\root\4ff5f87a\700b8b af\App_glo bal.asax.k _mhw5c1.0. cs" "C:\Windows\Microsoft.NET\ Framework\ v2.0.50727 \Temporary ASP.NET Files\root\4ff5f87a\700b8b af\App_glo bal.asax.k _mhw5c1.1. cs"
Microsoft (R) Visual C# 2008 Compiler version 3.5.30729.1
for Microsoft (R) .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.
fatal error CS0009: Metadata file 'c:\Windows\Microsoft.NET\ Framework\ v2.0.50727 \Temporary ASP.NET Files\root\4ff5f87a\700b8b af\assembl y\dl3\98b8 7759\47d3e 9a3_db92c9 01\Tools.D LL' could not be opened -- 'Error importing module 'Tools.netmodule' of assembly 'c:\Windows\Microsoft.NET\ Framework\ v2.0.50727 \Temporary ASP.NET Files\root\4ff5f87a\700b8b af\assembl y\dl3\98b8 7759\47d3e 9a3_db92c9 01\Tools.D LL' -- The system cannot find the file specified. '
-------------------------- ---------- ---------- ---------- ---------- ---------- ----
Version Information: Microsoft .NET Framework Version:2.0.50727.3074; ASP.NET Version:2.0.50727.3074
The asp.net site compiles without errors.
How do I resolve this as cannotsee any web-pages currently.
Many thanks.
__________________________
Server Error in '/' 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: CS0009: Metadata file 'c:\Windows\Microsoft.NET\
Source Error:
[No relevant source lines]
Source File: Line: 0
Show Detailed Compiler Output:
c:\windows\system32\inetsr
Microsoft (R) Visual C# 2008 Compiler version 3.5.30729.1
for Microsoft (R) .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.
fatal error CS0009: Metadata file 'c:\Windows\Microsoft.NET\
--------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3074; ASP.NET Version:2.0.50727.3074
You could also try deleting the folder:
C:\Windows\Microsoft.NET\F ramework\v 2.0.50727\ Temporary ASP.NET Files\root
If access is denied, quit VS and/or restart IIS and try again.
C:\Windows\Microsoft.NET\F
If access is denied, quit VS and/or restart IIS and try again.
ASKER
nmarun: the site is compliled locally (development pc) -- then uploaded using ftp (via VS) -- when accessing the remote site (browser), the compille error occurs at that time.
Have you tried using "Publish Website" on the project in Visual Studio?
ASKER
DotNetThinker: yes, the ftp referred above is using the built-in VS 2008 web publisher (its ftp based).
ASKER
what is this tools.dll that the compiler keeps asking for (at runtime) -- the below is displayed when I am trying to simply start a local page (complile and run in local browser).
source compiles ok -- just when trying to view via browser stage -- not compiling there.
source compiles ok -- just when trying to view via browser stage -- not compiling there.
Server Error in '/' 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: CS0009: Metadata file 'c:\Users\Admin\AppData\Local\Temp\Temporary ASP.NET Files\root\66123f81\42cdff03\assembly\dl3\d4e82d1f\09920c30_9b94c901\Tools.DLL' could not be opened -- 'Error importing module 'Tools.netmodule' of assembly 'c:\Users\Admin\AppData\Local\Temp\Temporary ASP.NET Files\root\66123f81\42cdff03\assembly\dl3\d4e82d1f\09920c30_9b94c901\Tools.DLL' -- The system cannot find the file specified. '
Source Error:
[No relevant source lines]
Source File: Line: 0
Show Detailed Compiler Output:
C:\Users\Admin\Desktop> "c:\Windows\Microsoft.NET\Framework\v3.5\csc.exe" /t:library /utf8output /R:"C:\Windows\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Security\2.0.0.0__b03f5f7f11d50a3a\System.Security.dll" /R:"C:\Windows\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Users\Admin\AppData\Local\Temp\Temporary ASP.NET Files\root\66123f81\42cdff03\assembly\dl3\84863fc3\00037b4c_1244c901\EO.Web.DLL" /R:"C:\Windows\assembly\GAC_MSIL\Microsoft.Vsa\8.0.0.0__b03f5f7f11d50a3a\Microsoft.Vsa.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Drawing.Design\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.Design.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml.Linq\3.5.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Extensions.Design\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.Design.dll" /R:"C:\Users\Admin\AppData\Local\Temp\Temporary ASP.NET Files\root\66123f81\42cdff03\assembly\dl3\24398942\e1fe5aa1_de95c901\FORTUNE.DLL" /R:"C:\Windows\assembly\GAC_MSIL\Microsoft.JScript\8.0.0.0__b03f5f7f11d50a3a\Microsoft.JScript.dll" /R:"C:\Windows\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Runtime.Serialization.Formatters.Soap\2.0.0.0__b03f5f7f11d50a3a\System.Runtime.Serialization.Formatters.Soap.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\Users\Admin\AppData\Local\Temp\Temporary ASP.NET Files\root\66123f81\42cdff03\assembly\dl3\d4e82d1f\09920c30_9b94c901\Tools.DLL" /R:"C:\Windows\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\assembly\GAC_32\System.Data.OracleClient\2.0.0.0__b77a5c561934e089\System.Data.OracleClient.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Data.DataSetExtensions\3.5.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\Users\Admin\AppData\Local\Temp\Temporary ASP.NET Files\root\66123f81\42cdff03\assembly\dl3\56075996\003dea0d_434ec901\Telerik.Web.UI.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Users\Admin\AppData\Local\Temp\Temporary ASP.NET Files\root\66123f81\42cdff03\assembly\dl3\6f1229c1\90001f8e_f394c901\AjaxControlToolkit.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Users\Admin\AppData\Local\Temp\Temporary ASP.NET Files\root\66123f81\42cdff03\assembly\dl3\5bbf9bce\00e42ac5_5308c901\By360Impact.AutoEmail.DLL" /out:"C:\Users\Admin\AppData\Local\Temp\Temporary ASP.NET Files\root\66123f81\42cdff03\App_global.asax.2mcvruwv.dll" /D:DEBUG /debug+ /optimize- /w:4 /nowarn:1659;1699;1701 /warnaserror- "C:\Users\Admin\AppData\Local\Temp\Temporary ASP.NET Files\root\66123f81\42cdff03\App_global.asax.2mcvruwv.0.cs" "C:\Users\Admin\AppData\Local\Temp\Temporary ASP.NET Files\root\66123f81\42cdff03\App_global.asax.2mcvruwv.1.cs"
Microsoft (R) Visual C# 2008 Compiler version 3.5.30729.1
for Microsoft (R) .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.
fatal error CS0009: Metadata file 'c:\Users\Admin\AppData\Local\Temp\Temporary ASP.NET Files\root\66123f81\42cdff03\assembly\dl3\d4e82d1f\09920c30_9b94c901\Tools.DLL' could not be opened -- 'Error importing module 'Tools.netmodule' of assembly 'c:\Users\Admin\AppData\Local\Temp\Temporary ASP.NET Files\root\66123f81\42cdff03\assembly\dl3\d4e82d1f\09920c30_9b94c901\Tools.DLL' -- The system cannot find the file specified. '
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3074; ASP.NET Version:2.0.50727.3074
There seems to be a tools.dll in your application. Have a look in the References section in the solution explorer of VS2008. See if this assembly is being copied to the destination when you publish it.
Do you know if this tools.dll was compiled against .net 2.0 or 3.5? Also check if the server is on the same version of the .net framework as your local dev machine.
ASKER
.net 3.5 sp1 is installed locally and on remote server.
ASKER
in the reference list (expandable list within VS) -- there is nothing pointing to tools.dll
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
cannot find this folder on the server? using windows server standard (2008)
how about local?
ASKER
yes, could find local ... deleted (didn't any file reference to tools.dll) -- just deleted the tmp sub-folders.
now publish the application to the server and see what happens?
ASKER
resolved - thanks :-)
just remove tools.dll file from bin folder.
I could be missing something, you said the site compiles without error, but the Detailed Compiler Output is showing a fatal error.