By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,101 Members | 1,463 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,101 IT Pros & Developers. It's quick & easy.

Compilation Error - Please Help

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.