473,739 Members | 7,912 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Weird Compilation Error Migrating from Dreamweaver to VS


hi all

I changed the name of the class LoginPage to a different
name "LoginPageO ne" But the same error gets generated with
the Wiliam.Request. LoginPageOne. That pretty much leaves
me clueless at this point.

Please help

Cheer

James
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******* *******@TK2MSFT NGP12.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\Micro soft.NET\Framew ork\v1.0.3705\T emporary ASP.NET Files\ticketing \51e97ea9\cbdc4 eb9\assembly\dl \b46c1607
\c1f6bd86_7f68c 301\Tic keting.DLL'
More details here
http://www.oceanware.com.au/~anna/bo...documentation/
Compilation%20E rror.htm


Nov 17 '05 #1
0 1471

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

Similar topics

2
3161
by: Raphael Gluck | last post by:
Hi everyone I'm currently testing out my beta site www.tripak.me.uk Which has a database in the center of the page, taking you thru four pages of my database. On my final page listing.asp I had to create two different SQL's becuase depending on what the user selects on the previous page, product.asp they will want to see one, or the other of the recordsets displayed. Now I keep getting an error when going from product.asp to...
5
14629
by: NanQuan | last post by:
I'm hoping someone can help me solve this error since I am at a total loss here. Usually I don't bother posting on any forums or groups on the internet and prefer to solve stuff myself but this is a total mistery. I have a function inside an ASP page as a result of which I get the following error message: Microsoft VBScript compilation error '800a03ea'
7
5402
by: Jon Combe | last post by:
I have created the following test SQL code to illustrate a real problem I have with some SQL code. CREATE TABLE JCTable ( CustomerName varchar(50) ) ALTER TABLE JCTable ADD CustomerNo int INSERT INTO JCTable ( CustomerName , CustomerNo ) VALUES ( 'Jon Combe' , 1 ) INSERT INTO JCTable ( CustomerName , CustomerNo ) VALUES ( 'Bill Gates' , 1 ) UPDATE JCTable SET CustomerNo = 2 WHERE CustomerName = 'Jon Combe'
1
1520
by: Steve Wasser | last post by:
While not specific to C# (although I am coding in C#). I have a website I've developed using Dreamweaver, and am rapidly getting sick of it. Is there an import or migration function for Visual Studio .NET to pull that into a solution, or would I have to cut and paste and recreate from scratch? TIA -- Steve Wasser http://xdissent.com
2
1805
by: James Zhuo | last post by:
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.
1
1350
by: Kikoz | last post by:
Hi all. Does anyone know what the following compilation error means? Line 1: //------------------------------------------------------------------------------ Line 2: // <autogenerated> Line 3: // This code was generated by a tool. Line 4: // Runtime Version: 1.1.4322.2032 Line 5: //
5
1498
by: genc_ymeri | last post by:
Hi over there, We are a team of 6 developping web applications (ASP.Net/C#/VB.Net/SQLServer). What happens is that randomly, each of us get the below error in (PS). We believe that the "acess is denied" error description is a "dummy message" b/c the file name changes the very next time we compile for no reasons. (we think that it didn't have any reason in the first place b/c no changes of any kind were done to it or to the...
10
3015
by: David Thole | last post by:
Hey all, I'm still very new at all this, but am going through the ASP.net 2.0 unleashed book, first chapter and trying to program my own little form emailer for fun. I tried following the code for their version in the book to the best of my abiltiies, and came across issues, mostly that a type was expected when trying to compile in MS Visual Studio 2002. When my stuff wasn't working at all, I decided to try just using his code almost...
0
1163
by: Jan | last post by:
Hi, when running demo.aspx, i get this error message: 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: BC30456: 'InitializeCulture' is not a member of
0
8969
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8792
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9479
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9266
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8215
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6754
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6054
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4826
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2748
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.