M
Mark Rae
Hi,
I have an ASP.NET 2 web application (not web site) project and am using a
web deployment project to deploy to the testing, then the production server.
All has been working well for months now, but today after a recompilation,
the app is throwing the error below when accessing a certain page, although
there are no errors in the compilation process.
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: CS0433: The type 'iss_proposal' exists in both
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\assembly\dl3\37c9bf8f\a2199b8c_7af3c601\intranet.DLL'
and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\assembly\dl3\e4bee18e\a092dc96_7af3c601\intranet_deploy.DLL'
Source Error:
[No relevant source lines]
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\App_Web_proposal.aspx.f71204e2.dwpdglvi
..0.cs Line: 110
Show Detailed Compiler Output:
c:\windows\system32\inetsrv>"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe"
/t:library /utf8output
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.DirectoryServices\2.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NETFiles\intranet\982f569e\da8b6663\assembly\dl3\37c9bf8f\a2199b8c_7af3c601\intranet.DLL"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\App_Web_default.master.28963a75.kbekoadw.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll"
/R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET
Files\intranet\982f569e\da8b6663\assembly\dl3\a891d961\be9bd039_7ed9c601\FreeTextBox.DLL"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\App_Web_note.ascx.cdcab7d2.0336jmcb.dll"
/R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll"
/R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\assembly\dl3\e4bee18e\a092dc96_7af3c601
\intranet_deploy.DLL"
/out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\App_Web_proposal.aspx.f71204e2.dwpdglvi
..dll" /debug-
/optimize+/win32res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET Files\intranet\982f569e\da8b6663\7iemp9ws.res" /w:4
/nowarn:1659;1699
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\App_Web_proposal.aspx.f71204e2.dwpdglvi
..0.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\App_Web_proposal.aspx.f71204e2.dwpdglvi
..1.cs"
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\App_Web_proposal.aspx.f71204e2.dwpdglvi
..0.cs(110,46): error CS0433: The type 'iss_proposal' exists in both
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\assembly\dl3\37c9bf8f\a2199b8c_7af3c601\intranet.DLL'
and
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\assembly\dl3\e4bee18e\a092dc96_7af3c601\intranet_deploy.DLL'
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\assembly\dl3\37c9bf8f\a2199b8c_7af3c601\intranet.DLL:
(Location of symbol related to previous error)
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\assembly\dl3\e4bee18e\a092dc96_7af3c601\intranet_deploy.DLL:
(Location of symbol related to previous error)
Error in: /intranet/iss/proposal.aspx
Url: /intranet/iss/proposal.aspx
Error Message: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET
Files\intranet\982f569e\da8b6663\App_Web_proposal.aspx.f71204e2.gyaz0bv3
..0.cs(110): error CS0433: The type 'iss_proposal' exists in both
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\assembly\dl3\37c9bf8f\a2199b8c_7af3c601\intranet.DLL'
and
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NETFiles\intranet\982f569e\da8b6663\assembly\dl3\e4bee18e\a092dc96_7af3c601\intranet_deploy.DLL'
Error Source: System.Web
Error Target Site: System.CodeDom.Compiler.CompilerResults Compile() Error
Description: System.Web.HttpCompileException:
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\App_Web_proposal.aspx.f71204e2.gyaz0bv3
..0.cs(110): error CS0433: The type 'iss_proposal' exists in both
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\assembly\dl3\37c9bf8f\a2199b8c_7af3c601\intranet.DLL'
and
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\assembly\dl3\e4bee18e\a092dc96_7af3c601\intranet_deploy.DLL'
at System.Web.Compilation.AssemblyBuilder.Compile()
at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath
virtualPath)
at
System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath
virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean
allowBuildInPrecompile)
at
System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext
context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp,
Boolean allowBuildInPrecompile)
at
System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath
virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath
virtualPath, Type requiredBaseType, HttpContext context, Boolean
allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContextcontext,
String requestType, VirtualPath virtualPath, String physicalPath)
at
System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext
context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String
requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at
System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)
A quick Google search revealed quite a few possibilities for fixing this,
such as clearing out the temporary files folder, running iisreset, rebooting
the development machine, rebooting the server, adding batch="false" to
web.config, etc.
I tried all of the above and more, but to no avail.
Has anyone else had any experience of this and, if so, is there a solution?
Any assistance gratefully received.
Mark
I have an ASP.NET 2 web application (not web site) project and am using a
web deployment project to deploy to the testing, then the production server.
All has been working well for months now, but today after a recompilation,
the app is throwing the error below when accessing a certain page, although
there are no errors in the compilation process.
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: CS0433: The type 'iss_proposal' exists in both
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\assembly\dl3\37c9bf8f\a2199b8c_7af3c601\intranet.DLL'
and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\assembly\dl3\e4bee18e\a092dc96_7af3c601\intranet_deploy.DLL'
Source Error:
[No relevant source lines]
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\App_Web_proposal.aspx.f71204e2.dwpdglvi
..0.cs Line: 110
Show Detailed Compiler Output:
c:\windows\system32\inetsrv>"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe"
/t:library /utf8output
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.DirectoryServices\2.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NETFiles\intranet\982f569e\da8b6663\assembly\dl3\37c9bf8f\a2199b8c_7af3c601\intranet.DLL"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\App_Web_default.master.28963a75.kbekoadw.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll"
/R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET
Files\intranet\982f569e\da8b6663\assembly\dl3\a891d961\be9bd039_7ed9c601\FreeTextBox.DLL"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\App_Web_note.ascx.cdcab7d2.0336jmcb.dll"
/R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll"
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll"
/R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll"
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\assembly\dl3\e4bee18e\a092dc96_7af3c601
\intranet_deploy.DLL"
/out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\App_Web_proposal.aspx.f71204e2.dwpdglvi
..dll" /debug-
/optimize+/win32res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET Files\intranet\982f569e\da8b6663\7iemp9ws.res" /w:4
/nowarn:1659;1699
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\App_Web_proposal.aspx.f71204e2.dwpdglvi
..0.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\App_Web_proposal.aspx.f71204e2.dwpdglvi
..1.cs"
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\App_Web_proposal.aspx.f71204e2.dwpdglvi
..0.cs(110,46): error CS0433: The type 'iss_proposal' exists in both
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\assembly\dl3\37c9bf8f\a2199b8c_7af3c601\intranet.DLL'
and
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\assembly\dl3\e4bee18e\a092dc96_7af3c601\intranet_deploy.DLL'
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\assembly\dl3\37c9bf8f\a2199b8c_7af3c601\intranet.DLL:
(Location of symbol related to previous error)
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\assembly\dl3\e4bee18e\a092dc96_7af3c601\intranet_deploy.DLL:
(Location of symbol related to previous error)
Error in: /intranet/iss/proposal.aspx
Url: /intranet/iss/proposal.aspx
Error Message: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET
Files\intranet\982f569e\da8b6663\App_Web_proposal.aspx.f71204e2.gyaz0bv3
..0.cs(110): error CS0433: The type 'iss_proposal' exists in both
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\assembly\dl3\37c9bf8f\a2199b8c_7af3c601\intranet.DLL'
and
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NETFiles\intranet\982f569e\da8b6663\assembly\dl3\e4bee18e\a092dc96_7af3c601\intranet_deploy.DLL'
Error Source: System.Web
Error Target Site: System.CodeDom.Compiler.CompilerResults Compile() Error
Description: System.Web.HttpCompileException:
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\App_Web_proposal.aspx.f71204e2.gyaz0bv3
..0.cs(110): error CS0433: The type 'iss_proposal' exists in both
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\assembly\dl3\37c9bf8f\a2199b8c_7af3c601\intranet.DLL'
and
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\intranet\982f569e\da8b6663\assembly\dl3\e4bee18e\a092dc96_7af3c601\intranet_deploy.DLL'
at System.Web.Compilation.AssemblyBuilder.Compile()
at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath
virtualPath)
at
System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath
virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean
allowBuildInPrecompile)
at
System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext
context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp,
Boolean allowBuildInPrecompile)
at
System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath
virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath
virtualPath, Type requiredBaseType, HttpContext context, Boolean
allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContextcontext,
String requestType, VirtualPath virtualPath, String physicalPath)
at
System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext
context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String
requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at
System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)
A quick Google search revealed quite a few possibilities for fixing this,
such as clearing out the temporary files folder, running iisreset, rebooting
the development machine, rebooting the server, adding batch="false" to
web.config, etc.
I tried all of the above and more, but to no avail.
Has anyone else had any experience of this and, if so, is there a solution?
Any assistance gratefully received.
Mark