471,072 Members | 1,365 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

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.

The following compilation error seems to suggest multiple
definitions within the same namespace.

1. I have checked absolutely every class definition and
have not found duplicates of the same class.

2. Further more I have renamed the class that seem to have
initiated the error and It came back with the same error.
I really can't figure out what is wrong with the problem.
Please help.
Thanx

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\Tempo rary 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.../documentation /Compilation%20Error.htm

.

Nov 17 '05 #1
2 1446
hi all :)

I found the problem. Woohoo.
Visual Studio like to automatically add things in aspx
pages. What happens is the code behind pages written by
the original author were stored in a seperate folder "cs",
when i copied these files to same directory as the aspx
files, VS added an extra "src" attribute in the <%page
directive %> defining the same codebehind file as
the "codebehind" attribute. Simpling removing the "src"
attribute fixed the problem.

Special thanx to Kevin who tried to point me in the right
direction. Thanx all for reading my post.

Cheers

James
-----Original Message-----
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 aproject 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.

The following compilation error seems to suggest multiple
definitions within the same namespace.

1. I have checked absolutely every class definition and
have not found duplicates of the same class.

2. Further more I have renamed the class that seem to haveinitiated the error and It came back with the same error.
I really can't figure out what is wrong with the problem.
Please help.
Thanx

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\Temp orary

ASP.NET
Files\ticketing\51e97ea9\cbdc4eb9\assembly\dl\b46 c1607
\c1f6bd86_7f68c301\Tic
keting.DLL'

More details here
http://www.oceanware.com.au/~anna/bo...m/documentatio

n/Compilation%20Error.htm

.

.

Nov 17 '05 #2
hi all :)

I found the problem. Woohoo.
Visual Studio like to automatically add things in aspx
pages. What happens is the code behind pages written by
the original author were stored in a seperate folder "cs",
when i copied these files to same directory as the aspx
files, VS added an extra "src" attribute in the <%page
directive %> defining the same codebehind file as
the "codebehind" attribute. Simpling removing the "src"
attribute fixed the problem.

Special thanx to Kevin who tried to point me in the right
direction. Thanx all for reading my post.

Cheers

James
-----Original Message-----
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 aproject 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.

The following compilation error seems to suggest multiple
definitions within the same namespace.

1. I have checked absolutely every class definition and
have not found duplicates of the same class.

2. Further more I have renamed the class that seem to haveinitiated the error and It came back with the same error.
I really can't figure out what is wrong with the problem.
Please help.
Thanx

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\Temp orary

ASP.NET
Files\ticketing\51e97ea9\cbdc4eb9\assembly\dl\b46 c1607
\c1f6bd86_7f68c301\Tic
keting.DLL'

More details here
http://www.oceanware.com.au/~anna/bo...m/documentatio

n/Compilation%20Error.htm

.

.

Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by tyler_durden | last post: by
23 posts views Thread by Jason | last post: by
5 posts views Thread by tabani | last post: by
reply views Thread by leo001 | last post: by

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.