473,395 Members | 1,452 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Compilation Error - Please Help

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\Tempor ary ASP.NET
Files\ticketing\51e97ea9\cbdc4eb9\assembly\dl\b46c 1607\c1f6bd86_7f68c301\Tic
keting.DLL'
More details here
http://www.oceanware.com.au/~anna/bo...on%20Error.htm
Nov 17 '05 #1
2 1787
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.

"James Zhuo" <na**************@optusnet.com.au> wrote in message
news:eq**************@TK2MSFTNGP12.phx.gbl...
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\Tempor ary ASP.NET
Files\ticketing\51e97ea9\cbdc4eb9\assembly\dl\b46c 1607\c1f6bd86_7f68c301\Tic keting.DLL'
More details here
http://www.oceanware.com.au/~anna/bo...on%20Error.htm

Nov 17 '05 #2
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. :)
..
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:up**************@TK2MSFTNGP12.phx.gbl...
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.

"James Zhuo" <na**************@optusnet.com.au> wrote in message
news:eq**************@TK2MSFTNGP12.phx.gbl...
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\Tempor ary ASP.NET

Files\ticketing\51e97ea9\cbdc4eb9\assembly\dl\b46c 1607\c1f6bd86_7f68c301\Tic keting.DLL'
More details here

http://www.oceanware.com.au/~anna/bo...on%20Error.htm


Nov 17 '05 #3

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

Similar topics

2
by: Gandu | last post by:
Could a C++ guru help me please? I have a very odd compilation error. The following is the .h file: #ifndef TEST_H #define TEST_H #include <iostream> #include "rando.h" #include "prime.h" ...
6
by: Joachim | last post by:
I made some project changes (which seems it doesn't help if I undo) which have created compilation error: " Server Error in '/PCSWebApp1' Application....
0
by: James Zhuo | last post by:
hi all I changed the name of the class LoginPage to a different name "LoginPageOne" But the same error gets generated with the Wiliam.Request.LoginPageOne. That pretty much leaves me clueless...
5
by: Raterus | last post by:
I'm just throwing this error out for my sanity, I've seen posts about this, but never solutions. I'm using VS.NET 2003, Framework 1.1, and I'm getting a random error about every 1 out of 10 times...
10
by: RedEagle | last post by:
Hi All! Do you remember me? I am that desperate who had this error for a while: --- Compilation Error Description: An error occurred during the compilation of a resource required to service...
17
by: abdur_rab7 | last post by:
Hi, I am compiling code for nanosleep in CYGWIN. During compilation i get the following error Socket.cc: In method `bool Socket::hangOnConnection(int = 0)': Socket.cc:338: aggregate `struct...
3
by: sam_cit | last post by:
Hi All, I have the following scenario, A class is declared in the header file and has a static member function sample() in sample.h sample.cc uses the static member function sample(). the...
35
by: mwelsh1118 | last post by:
Why doesn't C# allow incremental compilation like Java? Specifically, in Java I can compile single .java files in isolation. The resulting individual .class files can be grouped into .jar files....
5
by: preeti13 | last post by:
Hi friends i am getting the error in my application i don't know what to do please help me.i am useing a data bimder into my text box here is the my code <%@ Page language="c#"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
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...

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.