Click here to Skip to main content
15,911,762 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Question.config file for application AND assy? Pin
Ray Cassick10-Dec-02 19:27
Ray Cassick10-Dec-02 19:27 
AnswerRe: .config file for application AND assy? Pin
James T. Johnson11-Dec-02 1:51
James T. Johnson11-Dec-02 1:51 
GeneralExposing C# DLL to COM -- almost there Pin
LongRange.Shooter10-Dec-02 7:41
LongRange.Shooter10-Dec-02 7:41 
GeneralRe: Exposing C# DLL to COM -- almost there Pin
John M.12-Dec-02 6:57
John M.12-Dec-02 6:57 
GeneralRe: Exposing C# DLL to COM -- almost there Pin
LongRange.Shooter12-Dec-02 9:02
LongRange.Shooter12-Dec-02 9:02 
GeneralMarshaling to unmanaged struct array Pin
Anonymous9-Dec-02 22:45
Anonymous9-Dec-02 22:45 
Generalowner drawn lists Pin
Paul Reed9-Dec-02 11:12
Paul Reed9-Dec-02 11:12 
GeneralCompilation error Pin
cronosxfiles9-Dec-02 7:29
cronosxfiles9-Dec-02 7:29 
Hello:

I was trying my first example of a .aspx page. I have .Net Framework and its SP2 installed (I did it twice!). I keep getting this error while trying to retrieve the page through the browser:

============================================================================
Server Error in '/testsite' 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: 'System.Collections.ArrayList' is defined in multiple places; using definition from 'C:\winnt\microsoft.net\framework\v1.0.3705\mscorlib.dll'

Source Error:



Line 49:         private static bool __intialized = false;<br />
Line 50:         <br />
Line 51:         private static System.Collections.ArrayList __fileDependencies;<br />
Line 52:         <br />
Line 53:         public bmpSave_aspx() {


Source File: C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\testsite\29dafa64\9b4d9e5c\mwsj-thi.0.cs Line: 51



Show Detailed Compiler Output:


C:\WINNT\system32> "c:\winnt\microsoft.net\framework\v1.0.3705\csc.exe" /t:library /utf8output /R:"c:\winnt\assembly\gac\system.web.services\1.0.3300.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\winnt\assembly\gac\system.drawing\1.0.3300.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\winnt\assembly\gac\system.enterpriseservices\1.0.3300.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\winnt\assembly\gac\system.xml\1.0.3300.0__b77a5c561934e089\system.xml.dll" /R:"c:\winnt\microsoft.net\framework\v1.0.3705\mscorlib.dll" /R:"c:\winnt\assembly\gac\system.web\1.0.3300.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\winnt\assembly\gac\system\1.0.3300.0__b77a5c561934e089\system.dll" /R:"c:\winnt\assembly\gac\system.data\1.0.3300.0__b77a5c561934e089\system.data.dll" /out:"C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\testsite\29dafa64\9b4d9e5c\mwsj-thi.dll" /debug- /optimize+ /warnaserror /w:1 "C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\testsite\29dafa64\9b4d9e5c\mwsj-thi.0.cs"


Microsoft (R) Visual C# .NET Compiler version 7.00.9466
for Microsoft (R) .NET Framework version 1.0.3705
Copyright (C) Microsoft Corporation 2001. All rights reserved.

C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\testsite\29dafa64\9b4d9e5c\mwsj-thi.0.cs(51,24): error CS1595: 'System.Collections.ArrayList' is defined in multiple places; using definition from 'C:\winnt\microsoft.net\framework\v1.0.3705\mscorlib.dll'
===========================================================================

the erroneous code is not part of my code. I think is code generated by the compiler. What could I do? I have reinstalled the .Net Framework for the second time and nothing changes.
Thanks in advance for any answer/hint. Anyone with similar weird compilation errors?

Regards, Juanma.

_.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`
Juan Manuel Gómez Ramos
B.Sc. Computer Science
eMail:<cronosxfiles@yahoo.com>
eFax:+1-707-313-0329 (USA) +44-870-125-4936 (UK)
http://chronos.itgo.com
^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._
GeneralDetecting OS and System Info Pin
matthias s.9-Dec-02 2:14
matthias s.9-Dec-02 2:14 
GeneralRe: Detecting OS and System Info Pin
Mazdak9-Dec-02 2:47
Mazdak9-Dec-02 2:47 
GeneralRe: Detecting OS and System Info Pin
kaschimer9-Dec-02 3:18
kaschimer9-Dec-02 3:18 
GeneralRe: Detecting OS and System Info Pin
matthias s.9-Dec-02 3:42
matthias s.9-Dec-02 3:42 
GeneralCalling MFC fns from web service Pin
In-At8-Dec-02 22:44
In-At8-Dec-02 22:44 
GeneralFlatten DatetimePicker Pin
ChanPhuong6-Dec-02 17:04
ChanPhuong6-Dec-02 17:04 
GeneralCurrentCulture - Right-To-Left Pin
John06116-Dec-02 5:08
sussJohn06116-Dec-02 5:08 
GeneralDistributed Applications Pin
Dan Smith5-Dec-02 21:45
Dan Smith5-Dec-02 21:45 
GeneralRe: Distributed Applications Pin
James T. Johnson5-Dec-02 22:26
James T. Johnson5-Dec-02 22:26 
GeneralRe: Distributed Applications Pin
Burt Harris8-Dec-02 12:22
Burt Harris8-Dec-02 12:22 
GeneralRe: Distributed Applications Pin
Nick Parker8-Dec-02 13:07
protectorNick Parker8-Dec-02 13:07 
GeneralHard to solve... Pin
Daniel Turini5-Dec-02 11:13
Daniel Turini5-Dec-02 11:13 
GeneralRe: Hard to solve... Pin
leppie6-Dec-02 7:20
leppie6-Dec-02 7:20 
GeneralRe: Hard to solve... Pin
Daniel Turini9-Dec-02 3:44
Daniel Turini9-Dec-02 3:44 
GeneralCan't find mfc70.dll Pin
TianYang4-Dec-02 21:13
TianYang4-Dec-02 21:13 
GeneralRe: Can't find mfc70.dll Pin
Stephane Rodriguez.4-Dec-02 21:54
Stephane Rodriguez.4-Dec-02 21:54 
GeneralLatest Version of SDE Pin
Joshua Nussbaum4-Dec-02 12:34
Joshua Nussbaum4-Dec-02 12:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.