473,847 Members | 1,493 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET page compilation error

I made some project changes (which seems it doesn't help if I undo) which
have created compilation error:

"
Server Error in '/PCSWebApp1' 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: 'PCSWebApp1.Glo bal' is defined in multiple
places; using definition from
'c:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NET
Files\pcswebapp 1\63c74586\45a5 1b27\assembly\d l2\62413afb\ccf 3302b_2a2fc501\ ASPdb.DLL'

Source Error:

Line 26:
Line 27: [System.Runtime. CompilerService s.CompilerGloba lScopeAttribute ()]
Line 28: public class Global_asax : PCSWebApp1.Glob al {
Line 29:
Line 30: private static bool __initialized = false;
Source File: c:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Temporary ASP.NET
Files\pcswebapp 1\63c74586\45a5 1b27\evkipkjp.0 .cs Line: 28

Show Detailed Compiler Output:
C:\WINDOWS\syst em32> "c:\windows\mic rosoft.net\fram ework\v1.1.4322 \csc.exe"
/t:library /utf8output
/R:"c:\windows\m icrosoft.net\fr amework\v1.1.43 22\mscorlib.dll "
/R:"c:\windows\a ssembly\gac\sys tem.drawing\1.0 .5000.0__b03f5f 7f11d50a3a\syst em.drawing.dll"
/R:"c:\windows\m icrosoft.net\fr amework\v1.1.43 22\temporary asp.net
files\pcswebapp 1\63c74586\45a5 1b27\assembly\d l2\62413afb\ccf 3302b_2a2fc501\ aspdb.dll"
/R:"c:\windows\a ssembly\gac\sys tem.web.mobile\ 1.0.5000.0__b03 f5f7f11d50a3a\s ystem.web.mobil e.dll"
/R:"c:\windows\m icrosoft.net\fr amework\v1.1.43 22\temporary asp.net
files\pcswebapp 1\63c74586\45a5 1b27\assembly\d l2\eb91394c\1a9 b1821_2f2fc501\ aspdbapp.dll"
/R:"c:\windows\a ssembly\gac\sys tem.data\1.0.50 00.0__b77a5c561 934e089\system. data.dll"
/R:"c:\windows\a ssembly\gac\sys tem.enterprises ervices\1.0.500 0.0__b03f5f7f11 d50a3a\system.e nterpriseservic es.dll"
/R:"c:\windows\a ssembly\gac\sys tem.web.service s\1.0.5000.0__b 03f5f7f11d50a3a \system.web.ser vices.dll"
/R:"c:\windows\a ssembly\gac\sys tem.xml\1.0.500 0.0__b77a5c5619 34e089\system.x ml.dll"
/R:"c:\windows\m icrosoft.net\fr amework\v1.1.43 22\temporary asp.net
files\pcswebapp 1\63c74586\45a5 1b27\assembly\d l2\2a56278c\2e9 3d48f_2f2fc501\ pcswebapp1.dll"
/R:"c:\windows\a ssembly\gac\sys tem\1.0.5000.0_ _b77a5c561934e0 89\system.dll"
/R:"c:\windows\a ssembly\gac\sys tem.web\1.0.500 0.0__b03f5f7f11 d50a3a\system.w eb.dll"
/out:"C:\WINDOWS \Microsoft.NET\ Framework\v1.1. 4322\Temporary ASP.NET
Files\pcswebapp 1\63c74586\45a5 1b27\evkipkjp.d ll" /D:DEBUG /debug+ /optimize-
/warnaserror /w:1 "C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary
ASP.NET Files\pcswebapp 1\63c74586\45a5 1b27\evkipkjp.0 .cs"
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

c:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Temporary ASP.NET
Files\pcswebapp 1\63c74586\45a5 1b27\evkipkjp.0 .cs(28,32): error CS1595:
'PCSWebApp1.Glo bal' is defined in multiple places; using definition from
'c:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NET
Files\pcswebapp 1\63c74586\45a5 1b27\assembly\d l2\62413afb\ccf 3302b_2a2fc501\ ASPdb.DLL'

Show Complete Compilation Source:
Line 1:
//------------------------------------------------------------------------------
Line 2: // <autogenerate d>
Line 3: // This code was generated by a tool.
Line 4: // Runtime Version: 1.1.4322.573
Line 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.Collecti ons;
Line 14: using System.Collecti ons.Specialized ;
Line 15: using System.Configur ation;
Line 16: using System.Text;
Line 17: using System.Text.Reg ularExpressions ;
Line 18: using System.Web;
Line 19: using System.Web.Cach ing;
Line 20: using System.Web.Sess ionState;
Line 21: using System.Web.Secu rity;
Line 22: using System.Web.UI;
Line 23: using System.Web.UI.W ebControls;
Line 24: using System.Web.UI.H tmlControls;
Line 25:
Line 26:
Line 27:
[System.Runtime. CompilerService s.CompilerGloba lScopeAttribute ()]
Line 28: public class Global_asax : PCSWebApp1.Glob al {
Line 29:
Line 30: private static bool __initialized = false;
Line 31:
Line 32: public Global_asax() {
Line 33: if ((ASP.Global_as ax.__initialize d == false)) {
Line 34: ASP.Global_asax .__initialized = true;
Line 35: }
Line 36: }
Line 37: }
Line 38: }
Line 39:

"
Whatever I do it seems I can't make this error go away. Any suggestions?
Nov 17 '05 #1
6 2229
Try deleting the pcswebapp folder at:
c:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Temporary ASP.NET Files\

and then delete everything at C:\Documents and
Settings\%YourL oginName%\VSWeb Cache including the VSWebCache folder.

And then restart.

Oh.... one more thing. Be sure that you don't have more than one
Global.asax or any other Global class.

I don't know of those things will fix your problem but one or the other of
the first two steps has been the cause whenever changes that I make in code
are not being reflected when I execute.

HTH

Dale Preston
MCAD, MCDBA, MCSE
"Joachim" <Jo*****@discus sions.microsoft .com> wrote in message
news:C2******** *************** ***********@mic rosoft.com...
I made some project changes (which seems it doesn't help if I undo) which
have created compilation error:

"
Server Error in '/PCSWebApp1' 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: 'PCSWebApp1.Glo bal' is defined in multiple
places; using definition from
'c:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NET
Files\pcswebapp 1\63c74586\45a5 1b27\assembly\d l2\62413afb\ccf 3302b_2a2fc501\ A
SPdb.DLL'
Source Error:

Line 26:
Line 27: [System.Runtime. CompilerService s.CompilerGloba lScopeAttribute ()] Line 28: public class Global_asax : PCSWebApp1.Glob al {
Line 29:
Line 30: private static bool __initialized = false;
Source File: c:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Temporary ASP.NET Files\pcswebapp 1\63c74586\45a5 1b27\evkipkjp.0 .cs Line: 28

Show Detailed Compiler Output:
C:\WINDOWS\syst em32> "c:\windows\mic rosoft.net\fram ework\v1.1.4322 \csc.exe" /t:library /utf8output
/R:"c:\windows\m icrosoft.net\fr amework\v1.1.43 22\mscorlib.dll "
/R:"c:\windows\a ssembly\gac\sys tem.drawing\1.0 .5000.0__b03f5f 7f11d50a3a\syst
em.drawing.dll" /R:"c:\windows\m icrosoft.net\fr amework\v1.1.43 22\temporary asp.net
files\pcswebapp 1\63c74586\45a5 1b27\assembly\d l2\62413afb\ccf 3302b_2a2fc501\ a
spdb.dll" /R:"c:\windows\a ssembly\gac\sys tem.web.mobile\ 1.0.5000.0__b03 f5f7f11d50a3a\s
ystem.web.mobil e.dll" /R:"c:\windows\m icrosoft.net\fr amework\v1.1.43 22\temporary asp.net
files\pcswebapp 1\63c74586\45a5 1b27\assembly\d l2\eb91394c\1a9 b1821_2f2fc501\ a
spdbapp.dll" /R:"c:\windows\a ssembly\gac\sys tem.data\1.0.50 00.0__b77a5c561 934e089\system.
data.dll" /R:"c:\windows\a ssembly\gac\sys tem.enterprises ervices\1.0.500 0.0__b03f5f7f11
d50a3a\system.e nterpriseservic es.dll" /R:"c:\windows\a ssembly\gac\sys tem.web.service s\1.0.5000.0__b 03f5f7f11d50a3a
\system.web.ser vices.dll" /R:"c:\windows\a ssembly\gac\sys tem.xml\1.0.500 0.0__b77a5c5619 34e089\system.x
ml.dll" /R:"c:\windows\m icrosoft.net\fr amework\v1.1.43 22\temporary asp.net
files\pcswebapp 1\63c74586\45a5 1b27\assembly\d l2\2a56278c\2e9 3d48f_2f2fc501\ p
cswebapp1.dll" /R:"c:\windows\a ssembly\gac\sys tem\1.0.5000.0_ _b77a5c561934e0 89\system.dll" /R:"c:\windows\a ssembly\gac\sys tem.web\1.0.500 0.0__b03f5f7f11 d50a3a\system.w
eb.dll" /out:"C:\WINDOWS \Microsoft.NET\ Framework\v1.1. 4322\Temporary ASP.NET
Files\pcswebapp 1\63c74586\45a5 1b27\evkipkjp.d ll" /D:DEBUG /debug+ /optimize- /warnaserror /w:1 "C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary
ASP.NET Files\pcswebapp 1\63c74586\45a5 1b27\evkipkjp.0 .cs"
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

c:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Temporary ASP.NET
Files\pcswebapp 1\63c74586\45a5 1b27\evkipkjp.0 .cs(28,32): error CS1595:
'PCSWebApp1.Glo bal' is defined in multiple places; using definition from
'c:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NET
Files\pcswebapp 1\63c74586\45a5 1b27\assembly\d l2\62413afb\ccf 3302b_2a2fc501\ A
SPdb.DLL'


Show Complete Compilation Source:
Line 1:
//--------------------------------------------------------------------------
---- Line 2: // <autogenerate d>
Line 3: // This code was generated by a tool.
Line 4: // Runtime Version: 1.1.4322.573
Line 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.Collecti ons;
Line 14: using System.Collecti ons.Specialized ;
Line 15: using System.Configur ation;
Line 16: using System.Text;
Line 17: using System.Text.Reg ularExpressions ;
Line 18: using System.Web;
Line 19: using System.Web.Cach ing;
Line 20: using System.Web.Sess ionState;
Line 21: using System.Web.Secu rity;
Line 22: using System.Web.UI;
Line 23: using System.Web.UI.W ebControls;
Line 24: using System.Web.UI.H tmlControls;
Line 25:
Line 26:
Line 27:
[System.Runtime. CompilerService s.CompilerGloba lScopeAttribute ()]
Line 28: public class Global_asax : PCSWebApp1.Glob al {
Line 29:
Line 30: private static bool __initialized = false;
Line 31:
Line 32: public Global_asax() {
Line 33: if ((ASP.Global_as ax.__initialize d == false)) {
Line 34: ASP.Global_asax .__initialized = true;
Line 35: }
Line 36: }
Line 37: }
Line 38: }
Line 39:

"
Whatever I do it seems I can't make this error go away. Any suggestions?

Nov 17 '05 #2
typically, this means that you have two copies of the same dll on your
machine. The easiest way is to search your computer for the offending
assembly and make sure only one exists for that particular application

--
Regards,
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
_______________ __________
"Joachim" <Jo*****@discus sions.microsoft .com> wrote in message
news:C2******** *************** ***********@mic rosoft.com...
I made some project changes (which seems it doesn't help if I undo) which
have created compilation error:

"
Server Error in '/PCSWebApp1' 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: 'PCSWebApp1.Glo bal' is defined in multiple
places; using definition from
'c:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NET
Files\pcswebapp 1\63c74586\45a5 1b27\assembly\d l2\62413afb\ccf 3302b_2a2fc501\ ASPdb.DLL'

Source Error:

Line 26:
Line 27:
[System.Runtime. CompilerService s.CompilerGloba lScopeAttribute ()]
Line 28: public class Global_asax : PCSWebApp1.Glob al {
Line 29:
Line 30: private static bool __initialized = false;
Source File: c:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Temporary
ASP.NET
Files\pcswebapp 1\63c74586\45a5 1b27\evkipkjp.0 .cs Line: 28

Show Detailed Compiler Output:
C:\WINDOWS\syst em32>
"c:\windows\mic rosoft.net\fram ework\v1.1.4322 \csc.exe"
/t:library /utf8output
/R:"c:\windows\m icrosoft.net\fr amework\v1.1.43 22\mscorlib.dll "
/R:"c:\windows\a ssembly\gac\sys tem.drawing\1.0 .5000.0__b03f5f 7f11d50a3a\syst em.drawing.dll"
/R:"c:\windows\m icrosoft.net\fr amework\v1.1.43 22\temporary asp.net
files\pcswebapp 1\63c74586\45a5 1b27\assembly\d l2\62413afb\ccf 3302b_2a2fc501\ aspdb.dll"
/R:"c:\windows\a ssembly\gac\sys tem.web.mobile\ 1.0.5000.0__b03 f5f7f11d50a3a\s ystem.web.mobil e.dll"
/R:"c:\windows\m icrosoft.net\fr amework\v1.1.43 22\temporary asp.net
files\pcswebapp 1\63c74586\45a5 1b27\assembly\d l2\eb91394c\1a9 b1821_2f2fc501\ aspdbapp.dll"
/R:"c:\windows\a ssembly\gac\sys tem.data\1.0.50 00.0__b77a5c561 934e089\system. data.dll"
/R:"c:\windows\a ssembly\gac\sys tem.enterprises ervices\1.0.500 0.0__b03f5f7f11 d50a3a\system.e nterpriseservic es.dll"
/R:"c:\windows\a ssembly\gac\sys tem.web.service s\1.0.5000.0__b 03f5f7f11d50a3a \system.web.ser vices.dll"
/R:"c:\windows\a ssembly\gac\sys tem.xml\1.0.500 0.0__b77a5c5619 34e089\system.x ml.dll"
/R:"c:\windows\m icrosoft.net\fr amework\v1.1.43 22\temporary asp.net
files\pcswebapp 1\63c74586\45a5 1b27\assembly\d l2\2a56278c\2e9 3d48f_2f2fc501\ pcswebapp1.dll"
/R:"c:\windows\a ssembly\gac\sys tem\1.0.5000.0_ _b77a5c561934e0 89\system.dll"
/R:"c:\windows\a ssembly\gac\sys tem.web\1.0.500 0.0__b03f5f7f11 d50a3a\system.w eb.dll"
/out:"C:\WINDOWS \Microsoft.NET\ Framework\v1.1. 4322\Temporary ASP.NET
Files\pcswebapp 1\63c74586\45a5 1b27\evkipkjp.d ll" /D:DEBUG /debug+
/optimize-
/warnaserror /w:1 "C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary
ASP.NET Files\pcswebapp 1\63c74586\45a5 1b27\evkipkjp.0 .cs"
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

c:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Temporary ASP.NET
Files\pcswebapp 1\63c74586\45a5 1b27\evkipkjp.0 .cs(28,32): error CS1595:
'PCSWebApp1.Glo bal' is defined in multiple places; using definition from
'c:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NET
Files\pcswebapp 1\63c74586\45a5 1b27\assembly\d l2\62413afb\ccf 3302b_2a2fc501\ ASPdb.DLL'

Show Complete Compilation Source:
Line 1:
//------------------------------------------------------------------------------
Line 2: // <autogenerate d>
Line 3: // This code was generated by a tool.
Line 4: // Runtime Version: 1.1.4322.573
Line 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.Collecti ons;
Line 14: using System.Collecti ons.Specialized ;
Line 15: using System.Configur ation;
Line 16: using System.Text;
Line 17: using System.Text.Reg ularExpressions ;
Line 18: using System.Web;
Line 19: using System.Web.Cach ing;
Line 20: using System.Web.Sess ionState;
Line 21: using System.Web.Secu rity;
Line 22: using System.Web.UI;
Line 23: using System.Web.UI.W ebControls;
Line 24: using System.Web.UI.H tmlControls;
Line 25:
Line 26:
Line 27:
[System.Runtime. CompilerService s.CompilerGloba lScopeAttribute ()]
Line 28: public class Global_asax : PCSWebApp1.Glob al {
Line 29:
Line 30: private static bool __initialized = false;
Line 31:
Line 32: public Global_asax() {
Line 33: if ((ASP.Global_as ax.__initialize d == false)) {
Line 34: ASP.Global_asax .__initialized = true;
Line 35: }
Line 36: }
Line 37: }
Line 38: }
Line 39:

"
Whatever I do it seems I can't make this error go away. Any suggestions?

Nov 17 '05 #3
Thanks Mr. Prestion,

However, I can't delete the information in the WSWebCache folder and I don't
know how to be able to do it. The file seems to be in use but I have no idea
which program that is using it, since I have closed down Visual Studio.

Kind Regards,
Joachim

"Dale Preston" wrote:
Try deleting the pcswebapp folder at:
c:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Temporary ASP.NET Files\

and then delete everything at C:\Documents and
Settings\%YourL oginName%\VSWeb Cache including the VSWebCache folder.

And then restart.

Oh.... one more thing. Be sure that you don't have more than one
Global.asax or any other Global class.

I don't know of those things will fix your problem but one or the other of
the first two steps has been the cause whenever changes that I make in code
are not being reflected when I execute.

HTH

Dale Preston
MCAD, MCDBA, MCSE
"Joachim" <Jo*****@discus sions.microsoft .com> wrote in message
news:C2******** *************** ***********@mic rosoft.com...
I made some project changes (which seems it doesn't help if I undo) which
have created compilation error:

"
Server Error in '/PCSWebApp1' 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: 'PCSWebApp1.Glo bal' is defined in multiple
places; using definition from
'c:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NET

Files\pcswebapp 1\63c74586\45a5 1b27\assembly\d l2\62413afb\ccf 3302b_2a2fc501\ A
SPdb.DLL'

Source Error:

Line 26:
Line 27:

[System.Runtime. CompilerService s.CompilerGloba lScopeAttribute ()]
Line 28: public class Global_asax : PCSWebApp1.Glob al {
Line 29:
Line 30: private static bool __initialized = false;
Source File: c:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Temporary

ASP.NET
Files\pcswebapp 1\63c74586\45a5 1b27\evkipkjp.0 .cs Line: 28

Show Detailed Compiler Output:
C:\WINDOWS\syst em32>

"c:\windows\mic rosoft.net\fram ework\v1.1.4322 \csc.exe"
/t:library /utf8output
/R:"c:\windows\m icrosoft.net\fr amework\v1.1.43 22\mscorlib.dll "

/R:"c:\windows\a ssembly\gac\sys tem.drawing\1.0 .5000.0__b03f5f 7f11d50a3a\syst
em.drawing.dll"
/R:"c:\windows\m icrosoft.net\fr amework\v1.1.43 22\temporary asp.net

files\pcswebapp 1\63c74586\45a5 1b27\assembly\d l2\62413afb\ccf 3302b_2a2fc501\ a
spdb.dll"

/R:"c:\windows\a ssembly\gac\sys tem.web.mobile\ 1.0.5000.0__b03 f5f7f11d50a3a\s
ystem.web.mobil e.dll"
/R:"c:\windows\m icrosoft.net\fr amework\v1.1.43 22\temporary asp.net

files\pcswebapp 1\63c74586\45a5 1b27\assembly\d l2\eb91394c\1a9 b1821_2f2fc501\ a
spdbapp.dll"

/R:"c:\windows\a ssembly\gac\sys tem.data\1.0.50 00.0__b77a5c561 934e089\system.
data.dll"

/R:"c:\windows\a ssembly\gac\sys tem.enterprises ervices\1.0.500 0.0__b03f5f7f11
d50a3a\system.e nterpriseservic es.dll"

/R:"c:\windows\a ssembly\gac\sys tem.web.service s\1.0.5000.0__b 03f5f7f11d50a3a
\system.web.ser vices.dll"

/R:"c:\windows\a ssembly\gac\sys tem.xml\1.0.500 0.0__b77a5c5619 34e089\system.x
ml.dll"
/R:"c:\windows\m icrosoft.net\fr amework\v1.1.43 22\temporary asp.net

files\pcswebapp 1\63c74586\45a5 1b27\assembly\d l2\2a56278c\2e9 3d48f_2f2fc501\ p
cswebapp1.dll"

/R:"c:\windows\a ssembly\gac\sys tem\1.0.5000.0_ _b77a5c561934e0 89\system.dll"

/R:"c:\windows\a ssembly\gac\sys tem.web\1.0.500 0.0__b03f5f7f11 d50a3a\system.w
eb.dll"
/out:"C:\WINDOWS \Microsoft.NET\ Framework\v1.1. 4322\Temporary ASP.NET
Files\pcswebapp 1\63c74586\45a5 1b27\evkipkjp.d ll" /D:DEBUG /debug+

/optimize-
/warnaserror /w:1 "C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary
ASP.NET Files\pcswebapp 1\63c74586\45a5 1b27\evkipkjp.0 .cs"
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

c:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Temporary ASP.NET
Files\pcswebapp 1\63c74586\45a5 1b27\evkipkjp.0 .cs(28,32): error CS1595:
'PCSWebApp1.Glo bal' is defined in multiple places; using definition from
'c:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NET

Files\pcswebapp 1\63c74586\45a5 1b27\assembly\d l2\62413afb\ccf 3302b_2a2fc501\ A
SPdb.DLL'



Show Complete Compilation Source:
Line 1:

//--------------------------------------------------------------------------
----
Line 2: // <autogenerate d>
Line 3: // This code was generated by a tool.
Line 4: // Runtime Version: 1.1.4322.573
Line 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.Collecti ons;
Line 14: using System.Collecti ons.Specialized ;
Line 15: using System.Configur ation;
Line 16: using System.Text;
Line 17: using System.Text.Reg ularExpressions ;
Line 18: using System.Web;
Line 19: using System.Web.Cach ing;
Line 20: using System.Web.Sess ionState;
Line 21: using System.Web.Secu rity;
Line 22: using System.Web.UI;
Line 23: using System.Web.UI.W ebControls;
Line 24: using System.Web.UI.H tmlControls;
Line 25:
Line 26:
Line 27:
[System.Runtime. CompilerService s.CompilerGloba lScopeAttribute ()]
Line 28: public class Global_asax : PCSWebApp1.Glob al {
Line 29:
Line 30: private static bool __initialized = false;
Line 31:
Line 32: public Global_asax() {
Line 33: if ((ASP.Global_as ax.__initialize d == false)) {
Line 34: ASP.Global_asax .__initialized = true;
Line 35: }
Line 36: }
Line 37: }
Line 38: }
Line 39:

"
Whatever I do it seems I can't make this error go away. Any suggestions?


Nov 17 '05 #4
Mr. Preston,

I managed to delete the files at both locations, but I still had the same
problem.
Then I also found that I have to delete the files in the bin subdirectory of
the project folder to make it work.

Kind Regards,
Joachim

"Dale Preston" wrote:
Try deleting the pcswebapp folder at:
c:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Temporary ASP.NET Files\

and then delete everything at C:\Documents and
Settings\%YourL oginName%\VSWeb Cache including the VSWebCache folder.

And then restart.

Oh.... one more thing. Be sure that you don't have more than one
Global.asax or any other Global class.

I don't know of those things will fix your problem but one or the other of
the first two steps has been the cause whenever changes that I make in code
are not being reflected when I execute.

HTH

Dale Preston
MCAD, MCDBA, MCSE
"Joachim" <Jo*****@discus sions.microsoft .com> wrote in message
news:C2******** *************** ***********@mic rosoft.com...
I made some project changes (which seems it doesn't help if I undo) which
have created compilation error:

"
Server Error in '/PCSWebApp1' 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: 'PCSWebApp1.Glo bal' is defined in multiple
places; using definition from
'c:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NET

Files\pcswebapp 1\63c74586\45a5 1b27\assembly\d l2\62413afb\ccf 3302b_2a2fc501\ A
SPdb.DLL'

Source Error:

Line 26:
Line 27:

[System.Runtime. CompilerService s.CompilerGloba lScopeAttribute ()]
Line 28: public class Global_asax : PCSWebApp1.Glob al {
Line 29:
Line 30: private static bool __initialized = false;
Source File: c:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Temporary

ASP.NET
Files\pcswebapp 1\63c74586\45a5 1b27\evkipkjp.0 .cs Line: 28

Show Detailed Compiler Output:
C:\WINDOWS\syst em32>

"c:\windows\mic rosoft.net\fram ework\v1.1.4322 \csc.exe"
/t:library /utf8output
/R:"c:\windows\m icrosoft.net\fr amework\v1.1.43 22\mscorlib.dll "

/R:"c:\windows\a ssembly\gac\sys tem.drawing\1.0 .5000.0__b03f5f 7f11d50a3a\syst
em.drawing.dll"
/R:"c:\windows\m icrosoft.net\fr amework\v1.1.43 22\temporary asp.net

files\pcswebapp 1\63c74586\45a5 1b27\assembly\d l2\62413afb\ccf 3302b_2a2fc501\ a
spdb.dll"

/R:"c:\windows\a ssembly\gac\sys tem.web.mobile\ 1.0.5000.0__b03 f5f7f11d50a3a\s
ystem.web.mobil e.dll"
/R:"c:\windows\m icrosoft.net\fr amework\v1.1.43 22\temporary asp.net

files\pcswebapp 1\63c74586\45a5 1b27\assembly\d l2\eb91394c\1a9 b1821_2f2fc501\ a
spdbapp.dll"

/R:"c:\windows\a ssembly\gac\sys tem.data\1.0.50 00.0__b77a5c561 934e089\system.
data.dll"

/R:"c:\windows\a ssembly\gac\sys tem.enterprises ervices\1.0.500 0.0__b03f5f7f11
d50a3a\system.e nterpriseservic es.dll"

/R:"c:\windows\a ssembly\gac\sys tem.web.service s\1.0.5000.0__b 03f5f7f11d50a3a
\system.web.ser vices.dll"

/R:"c:\windows\a ssembly\gac\sys tem.xml\1.0.500 0.0__b77a5c5619 34e089\system.x
ml.dll"
/R:"c:\windows\m icrosoft.net\fr amework\v1.1.43 22\temporary asp.net

files\pcswebapp 1\63c74586\45a5 1b27\assembly\d l2\2a56278c\2e9 3d48f_2f2fc501\ p
cswebapp1.dll"

/R:"c:\windows\a ssembly\gac\sys tem\1.0.5000.0_ _b77a5c561934e0 89\system.dll"

/R:"c:\windows\a ssembly\gac\sys tem.web\1.0.500 0.0__b03f5f7f11 d50a3a\system.w
eb.dll"
/out:"C:\WINDOWS \Microsoft.NET\ Framework\v1.1. 4322\Temporary ASP.NET
Files\pcswebapp 1\63c74586\45a5 1b27\evkipkjp.d ll" /D:DEBUG /debug+

/optimize-
/warnaserror /w:1 "C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary
ASP.NET Files\pcswebapp 1\63c74586\45a5 1b27\evkipkjp.0 .cs"
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

c:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Temporary ASP.NET
Files\pcswebapp 1\63c74586\45a5 1b27\evkipkjp.0 .cs(28,32): error CS1595:
'PCSWebApp1.Glo bal' is defined in multiple places; using definition from
'c:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NET

Files\pcswebapp 1\63c74586\45a5 1b27\assembly\d l2\62413afb\ccf 3302b_2a2fc501\ A
SPdb.DLL'



Show Complete Compilation Source:
Line 1:

//--------------------------------------------------------------------------
----
Line 2: // <autogenerate d>
Line 3: // This code was generated by a tool.
Line 4: // Runtime Version: 1.1.4322.573
Line 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.Collecti ons;
Line 14: using System.Collecti ons.Specialized ;
Line 15: using System.Configur ation;
Line 16: using System.Text;
Line 17: using System.Text.Reg ularExpressions ;
Line 18: using System.Web;
Line 19: using System.Web.Cach ing;
Line 20: using System.Web.Sess ionState;
Line 21: using System.Web.Secu rity;
Line 22: using System.Web.UI;
Line 23: using System.Web.UI.W ebControls;
Line 24: using System.Web.UI.H tmlControls;
Line 25:
Line 26:
Line 27:
[System.Runtime. CompilerService s.CompilerGloba lScopeAttribute ()]
Line 28: public class Global_asax : PCSWebApp1.Glob al {
Line 29:
Line 30: private static bool __initialized = false;
Line 31:
Line 32: public Global_asax() {
Line 33: if ((ASP.Global_as ax.__initialize d == false)) {
Line 34: ASP.Global_asax .__initialized = true;
Line 35: }
Line 36: }
Line 37: }
Line 38: }
Line 39:

"
Whatever I do it seems I can't make this error go away. Any suggestions?


Nov 17 '05 #5
Have you created a Application with the folder in IIS?
Nov 17 '05 #6
Joachim wrote:
Thanks Mr. Prestion,

However, I can't delete the information in the WSWebCache folder and I don't
know how to be able to do it. The file seems to be in use but I have no idea
which program that is using it, since I have closed down Visual Studio.

Kind Regards,
Joachim

IIS can still hold a lock on those files. Kill the aspnet_wp.exe process
(it restarts immediately) and the lock is gone.
"Dale Preston" wrote:

Try deleting the pcswebapp folder at:
c:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Temporary ASP.NET Files\

and then delete everything at C:\Documents and
Settings\%You rLoginName%\VSW ebCache including the VSWebCache folder.

And then restart.


--
Hans Kesting
Nov 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3165
by: Raphael Gluck | last post by:
Hi everyone I'm currently testing out my beta site www.tripak.me.uk Which has a database in the center of the page, taking you thru four pages of my database. On my final page listing.asp I had to create two different SQL's becuase depending on what the user selects on the previous page, product.asp they will want to see one, or the other of the recordsets displayed. Now I keep getting an error when going from product.asp to...
3
1351
by: Jensen Bredal | last post by:
Hello, I'm doing localhost developpement on a win2k3 server . When i lunch the default page i get the following. How do i resolve it? many thanks in advance Server Error in '/MultiTest' Application. ----------------------------------------------------------------------------
3
2567
by: g3000 | last post by:
I have a problem with a Visual Studio 2005 web project. I have two pages. SelectProject.aspx and ShowProject.aspx The first page ( SelectProject.aspx) has two drop down lists. After the user selects the value in the first drop list the second filters. That works fine. But when I click the run report button to pass the data to the
0
1754
by: Stimp | last post by:
I've created an aspx page called HistoryManage.aspx. The page works fine on my local machine but when I load it off the web I get the following strange error... 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.
2
1990
by: mwallis76 | last post by:
I am in the stages of pushing up web app to a production server and I am running into an error that I cannot seem trace down. I have a page that allows one to change their password and runs just fine locally but fails to load remotely (receive the famous XML Parsing Error: no element found error). I was able to trap in the Application_Error event handler and examine the Context's AllErrors Exception array, which consisted of just one...
0
1569
by: jmawebco | last post by:
I have a project I'm working on in VS2005 using vb.net with a MSSql 2005 backend. Everytime I try to run the application I get the same error message; ********* ERROR ********* 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.
0
1263
by: Therasa | last post by:
Hi All, I have created a sample Application for Ajax Enabled Website and in that i have used master page. The Application is working fine but i got the following error in HTML Source Page. Error 1 Element 'ScriptManager' is not a known element. This can occur if there is a compilation error in the Web site. Error 2 Element 'UpdateProgress' is not a known element. This can
18
11329
by: Brett | last post by:
I have an ASP.NET page that displays work orders in a GridView. In that GridView is a checkbox column. When the user clicks a "Print" button, I create a report, using the .NET Framework printing classes, for each of the checked rows in the GridView. This works fine in the Visual Studio 2005 development environment on localhost. But, when I move the page to the web server, I get the error "Settings to access printer...
12
2485
by: =?Utf-8?B?ZGdvdw==?= | last post by:
I designed a "contact_us" page in visual web developer 2005 express along with EW2 after viewing tutorials on asp.net's help page. Features work like they should, but I cannot figure out how to send contact info to email or data base when the "send" button is pressed. I've watched the tutorials over & over again. I just can't get it. Link: http://www.syfloristonline.zipa.com/contact_us.aspx. Need help
0
9892
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9734
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10995
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10654
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10347
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9493
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5729
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4540
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4130
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.