Compilation Error - Please Help

J

James Zhuo

Hi all

I've been getting the following compilation error. I should explain the
background of the project that i am taking over. This is a project that has
been developed by someone else a while ago using dreamweaver, I am basically
trying to migrate the project into a Visual Studio .NET environment before I
start enhancing it.

Any suggestions on where the source of error may be would be greatly
appreciated.

Cheers

James
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: 'Wiliam.Request.LoginPage' is defined in
multiple places; using definition from
'C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET
Files\ticketing\51e97ea9\cbdc4eb9\assembly\dl\b46c1607\c1f6bd86_7f68c301\Tic
keting.DLL'


More details here
http://www.oceanware.com.au/~anna/boy/Wiliam/documentation/Compilation Error.htm
 
K

Kevin Spencer

Apparently, you have a class which has multiple definitions within the same
namespace in your code. Should be pretty easy to track down. Are you using
C#? If so, it is certainly possible to create 2 class files, define the same
namespace in each, and create a duplicate class within the same namespace.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
The more I learn, the less I know.
 
J

James Zhuo

Thanx Kevin.

Yes I am using C#. Following your suggestion, I'll try to give it a more
thorough look 2moro when I get to work as it is a medium size project
(rather large from my perspective)

The thing I don't quite get tho is - this project is already a working
project, it currently compiles and runs on a production server. All i am
trying to do is get it to run under the Visual Studio environment so that i
can enhance it with less hassle. I have hardly started any modification to
the current code, the only changes that i have made is with reference to the
web.config file and some changes to aspx <% page directive where the code
behind files are defined (the last person who worked on the project put all
the project files within a ./cs directory).

Cheers

J

PS: I'll certainly post back with any positive results. :)
..
 

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

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top