ASP .NET Compiler Error Message: CS1595 - IIS related problem???

A

abh1508

Following a release of code the following problem occurs on certain asp
..net pages. This is not a problem on other testing/demo environments.
IIS seems to be creating certain files twice in the temporary internet
files directory. Any advice or suggestions appreciated.


Server Error in '/ContactCentre/Global' 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: CS1595: '_ASP.HeadTags_ascx' is defined in
multiple places; using definition from
'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\contactcentre_global\1982c402\70d720c2\r41qv5s7.dll'

Source Error:



Line 7: <HEAD>
Line 8: <title>WEX - Contact Centre - Pitching</title>
Line 9: <global:headertags id="ucHeaderTags"
runat="Server"></global:headertags>
Line 10: </HEAD>
Line 11: <body>


Source File: D:\Websites\WEX3\Live\contactcentre\Global\Pitching.aspx
Line: 9



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\contactcentre_global\1982c402\70d720c2\dawr89ub.dll"
/R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll"
/R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.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\contactcentre_global\1982c402\70d720c2\assembly\dl2\f521d60f\00fce484_7512c501\microsoft.applicationblocks.data.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\contactcentre_global\1982c402\70d720c2\assembly\dl2\5fc1b09e\0004ac5d_e9b9c501\s-cool.exceptionmanagement.dll"
/R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\contactcentre_global\1982c402\70d720c2\assembly\dl2\64241aa2\00fe0d4f_97cdc501\wex.ui.contactcentre.businessmanagement.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\contactcentre_global\1982c402\70d720c2\assembly\dl2\198a131e\00728707_97cdc501\wexcore.dll"
/R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\contactcentre_global\1982c402\70d720c2\assembly\dl2\1c66106f\004a7e4c_8eb3c501\s-cool.configurationmanagement.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\contactcentre_global\1982c402\70d720c2\assembly\dl2\299285ed\00fe0d4f_97cdc501\wex.ui.contactcentre.global.dll"
/R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.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\contactcentre_global\1982c402\70d720c2\assembly\dl2\66fd9f9e\00728707_97cdc501\wex.services.reporting.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\contactcentre_global\1982c402\70d720c2\r41qv5s7.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\microsoft.net\framework\v1.1.4322\temporary asp.net
files\contactcentre_global\1982c402\70d720c2\n5nm0x-9.dll"
/out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\contactcentre_global\1982c402\70d720c2\rs11zxfp.dll" /debug-
/optimize+
/win32res:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files\contactcentre_global\1982c402\70d720c2\rs11zxfp.res"
/warnaserror /w:1
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\contactcentre_global\1982c402\70d720c2\rs11zxfp.0.cs"


Microsoft (R) Visual C# .NET Compiler version 7.10.6310.4 for Microsoft
(R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation
2001-2002. All rights reserved.

D:\Websites\WEX3\Live\contactcentre\Global\Pitching.aspx(9,19): error
CS1595: '_ASP.HeadTags_ascx' is defined in multiple places; using
definition from 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files\contactcentre_global\1982c402\70d720c2\r41qv5s7.dll'
D:\Websites\WEX3\Live\contactcentre\Global\Pitching.aspx(14,19): error
CS1595: '_ASP.Header_ascx' is defined in multiple places; using
definition from 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files\contactcentre_global\1982c402\70d720c2\r41qv5s7.dll'
D:\Websites\WEX3\Live\contactcentre\Global\Pitching.aspx(21,19): error
CS1595: '_ASP.Footer_ascx' is defined in multiple places; using
definition from 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files\contactcentre_global\1982c402\70d720c2\r41qv5s7.dll'
 
J

Juan T. Llibre

The compiler is telling you that you have defined
HeadTags multiple times in your code, and that it's
using the definition it found in that dll.

Look for duplicate versions of HeadTags.ascx and insure that
within the scope of the compiler's command your HeadTags
are identified only once.

If you need to have different HeadTags in different pages,
give them different names.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,149
Members
46,695
Latest member
StanleyDri

Latest Threads

Top