Search:
Namespaces
Discussions
.NET v1.1
Feedback
Code or Config error?
Messages
Related Types
This message was discovered on
ASPFriends.com 'aspngconfig' list
.
Paul - Submarine
Hello, we are developing a quite large asp.net application. So far it 's
working fine on our dev machines and our testing server but when uploading
to our live webserver (a dedicated server but 'managed' by our webhosts) we
are getting the following errors:
==
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 36: private static object __stringResource;
Line 37:
Line 38: private static System.Collections.
ArrayList
__fileDependencies;
Line 39:
Line 40: public example_aspx() {
Source File: C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET
Files\root\4c6dce7d\f190c1a5\rvjfkzr_.0.cs Line: 38
==
We have managed to run simple asp.net pages ok but our more complex app
gives this problem. It looks like either there is a problem with the
framework or a config error can someone give us an idea what to try?
Cheers
Paul
Reply to this message...
G. Andrew Duthie
Two suggestions:
- First, try nuking all of the dynamically compiled assemblies in
C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\.
There may be a conflict between a member definition there, and one in
the framework.
- If that doesn't work, try removing and reinstalling the framework on
the machine to which you're deploying. Make sure that both the
C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\ and
the C:\WINNT\Microsoft.NET\Framework\v1.0.3705\ directories are
completely cleared out before doing the reinstall.
hth,
--
G. Andrew Duthie
Graymad Enterprises, Inc.
http://www.graymad.com
Click here to reveal e-mail address
Learning ASP.NET? Try:
-------------------------------------
Microsoft ASP.NET Step By Step=20
http://www.amazon.com/exec/obidos/ASIN/0735612870/
ASP.NET in a Nutshell
http://www.amazon.com/exec/obidos/ASIN/0596001169/
-------------------------------------
[Original message clipped]
Reply to this message...
Crystal Stadnyk
Not that I am expert at this but I just encountered a similar error. =
The error for me occurred because I use a reference to my data access =
layer in my business logic layer. But I also needed a reference to the =
data access layer and business logic layer in my presentation layer. To =
accomplish this I was adding the reference to each of them seperately. =
This was resulting in a warning of a similar nature (defined in two =
places). So what I found removed the error for me was adding the =
reference to both the data access layer and business logic layer dll's =
from the business logic dll location (If I am making what I mean clear).
I would mention though that since it is working on your dev machine, =
this may not be related. But it can't hurt to know how a similar =
problem was resolved.
Good Luck
Crystal
-----Original Message-----
From: Paul - Submarine [mailto:
Click here to reveal e-mail address
]
Sent: April 29, 2002 9:17 AM
To: aspngconfig
Subject: [aspngconfig] Code or Config error?
Hello, we are developing a quite large asp.net application. So far it 's
working fine on our dev machines and our testing server but when =
uploading
to our live webserver (a dedicated server but 'managed' by our webhosts) =
we
are getting the following errors:
=3D=3D
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 36: private static object __stringResource;
Line 37:
Line 38: private static System.Collections.
ArrayList
__fileDependencies;
Line 39:
Line 40: public example_aspx() {
Source File: C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary =
ASP.NET
Files\root\4c6dce7d\f190c1a5\rvjfkzr_.0.cs Line: 38
=3D=3D
We have managed to run simple asp.net pages ok but our more complex app
gives this problem. It looks like either there is a problem with the
framework or a config error can someone give us an idea what to try?
Cheers
Paul
| [aspngconfig] member
Click here to reveal e-mail address
=3D YOUR ID
|
http://www.asplists.com/asplists/aspngconfig.asp
=3D JOIN/QUIT
|
http://www.asplists.com/search
=3D SEARCH Archives
Reply to this message...
System.Collections.ArrayList
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com