Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > VS.NET 2002/2003
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 11th, 2003, 07:41 AM
Authorized User
 
Join Date: Jun 2003
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default CS1595 : 'Class' is defined in multiple places


Hello,

I recently reinstalled all my system and I have a problem using the .NET Framework quickstart.

I've installed the framework installing directly from the VS.NET AE CDs on a w2k. Then I've browsed to the quickstart page and installed the solution. After that when browsing to :

http://localhost/quickstart/ASPPlus/

I get the following error :

CS1595: 'System....Object' is defined in multiple places; using definition from 'C:\winnt\microsoft.net\framework\v1.0.3705\mscorl ib.dll'


I've then added Browse/Read permissions for the ASPNET account on the following folders :

C:\Inetpub
C:\Winnt\microsoft.net

then restarted. I've checked that the permissions are propagating to the subfolders and files. Now the error look like this :

CS1595: 'System.Collections.ArrayList' is defined in multiple places; using definition from 'C:\winnt\microsoft.net\framework\v1.0.3705\mscorl ib.dll'

the class has changed...but the error is the same!

I then tried to browse directly to the .NET class browser app from my favorites, and it works!

Does anyone know something about this problem?
Should I reinstall the Quickstarts, now that permissions are there?

Thanks
dikkjo
 
Old June 11th, 2003, 10:05 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

It looks to me like you installed the framework twice- and in different locations... I'd uninstall the quickstarts and the framework (as many times as you find it) and start a fresh install.



Hal Levy
Daddyshome, LLC
 
Old June 14th, 2003, 04:41 AM
Authorized User
 
Join Date: Jun 2003
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default


Thanks Hal,

you were right, I installed the .NET SDK twice.

Well I was sure that the VS install was UPGRADING my .NET SDK and not REINSTALLING the SAME version!

dikkjo





Similar Threads
Thread Thread Starter Forum Replies Last Post
Class not defined? benatkin Classic ASP Basics 0 May 17th, 2007 12:49 PM
Make sure the class defined in this file matches . Tawanda BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 September 20th, 2006 07:19 PM
how to change a CONSTANT defined in a class file? sugar PHP How-To 1 June 14th, 2006 11:49 AM
Appl-defined or Object-defined error 1004 chp Excel VBA 3 April 4th, 2006 08:12 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.