473,466 Members | 1,326 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Error shown when I goto complie the application that converted from v1.1.

Dear All,

Now my application is going to migrated into .NET v2.

And it's already converted into v2 by Visual Studio 20005. (the auto
convert tools)

But when I goto compiled the application. Some error likes the
following shown. Any suggestion?
Error 8 The type 'SalesChecking.Public.Common' exists in both
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files\saleschecking\786d2931\9cbadb6b\assembly\dl3 \e079a026\3dca13c4_9b20c601\SalesChecking.DLL'
and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files\saleschecking\786d2931\9cbadb6b\App_Code.3yh ghclp.dll'
E:\Projects.NET\SalesChecking\Login.aspx.cs 174 46
http://localhost/SalesChecking/
There are many erros likes that shown after compiled. So, Any suggestion
about this are appreciated. Thanks.

Benny Ng
Feb 3 '06 #1
4 1181
Benny,
you could try cleaning out the Temporary ASP.NET files directory and start
again.

Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Benny Ng" wrote:
Dear All,

Now my application is going to migrated into .NET v2.

And it's already converted into v2 by Visual Studio 20005. (the auto
convert tools)

But when I goto compiled the application. Some error likes the
following shown. Any suggestion?
Error 8 The type 'SalesChecking.Public.Common' exists in both
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files\saleschecking\786d2931\9cbadb6b\assembly\dl3 \e079a026\3dca13c4_9b20c601\SalesChecking.DLL'
and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files\saleschecking\786d2931\9cbadb6b\App_Code.3yh ghclp.dll'
E:\Projects.NET\SalesChecking\Login.aspx.cs 174 46
http://localhost/SalesChecking/
There are many erros likes that shown after compiled. So, Any suggestion
about this are appreciated. Thanks.

Benny Ng

Feb 3 '06 #2
I assume this is ASP.NET from the errors:

It is a bit trickier to migrate ASP.NET than other applications. On MSDN
site, they have a program that you can use to compile 1.x apps like 1.x in
the 2.0 environment. It might be a good interim step:
http://msdn.microsoft.com/asp.net/re...p/default.aspx

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
"Benny Ng" wrote:
Dear All,

Now my application is going to migrated into .NET v2.

And it's already converted into v2 by Visual Studio 20005. (the auto
convert tools)

But when I goto compiled the application. Some error likes the
following shown. Any suggestion?
Error 8 The type 'SalesChecking.Public.Common' exists in both
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files\saleschecking\786d2931\9cbadb6b\assembly\dl3 \e079a026\3dca13c4_9b20c601\SalesChecking.DLL'
and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files\saleschecking\786d2931\9cbadb6b\App_Code.3yh ghclp.dll'
E:\Projects.NET\SalesChecking\Login.aspx.cs 174 46
http://localhost/SalesChecking/
There are many erros likes that shown after compiled. So, Any suggestion
about this are appreciated. Thanks.

Benny Ng

Feb 3 '06 #3
I'd look for duplicate "SalesChecking.Public.Common" methods in your source code.

The "SalesChecking.Public.Common" method has been found by the compiler
in both SalesChecking.DLL and in App_Code.3yhghclp.dll

Did you pre-compile SalesChecking.DLL ? ( Is it a separate assembly ? )
That would explain the duplication.

Juan T. Llibre
ASP.NET MVP
ASPNETFAQ.COM : http://www.aspnetfaq.com
==================================
"Benny Ng" wrote:

Now my application is going to migrated into .NET v2.

And it's already converted into v2 by Visual Studio 20005. (the auto
convert tools)

But when I goto compiled the application. Some error likes the
following shown. Any suggestion?
Error 8 The type 'SalesChecking.Public.Common' exists in both
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files\saleschecking\786d2931\9cbadb6b\assembly\dl3 \e079a026\3dca13c4_9b20c601\SalesChecking.DLL'
and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files\saleschecking\786d2931\9cbadb6b\App_Code.3yh ghclp.dll'
E:\Projects.NET\SalesChecking\Login.aspx.cs 174 46
http://localhost/SalesChecking/
There are many erros likes that shown after compiled. So, Any suggestion
about this are appreciated. Thanks.

Benny Ng

Feb 3 '06 #4
On Fri, 3 Feb 2006 17:12:35 +0800, "Benny Ng" <mi********@hotmail.com>
wrote:
Dear All,

Now my application is going to migrated into .NET v2.

And it's already converted into v2 by Visual Studio 20005. (the auto
convert tools)

But when I goto compiled the application. Some error likes the
following shown. Any suggestion?
Error 8 The type 'SalesChecking.Public.Common' exists in both
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Te mporary ASP.NET
Files\saleschecking\786d2931\9cbadb6b\assembly\dl 3\e079a026\3dca13c4_9b20c601\SalesChecking.DLL'
and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files\saleschecking\786d2931\9cbadb6b\App_Code.3y hghclp.dll'
E:\Projects.NET\SalesChecking\Login.aspx.cs 174 46
http://localhost/SalesChecking/
There are many erros likes that shown after compiled. So, Any suggestion
about this are appreciated. Thanks.

Benny Ng

Benny,

You shouldn't post to so many news groups...

I had this situation just yesterday. Either you or the conversion has
renamed an object and made it not a member of an existing namespace.

In my case my Global.asax page was not in the same namespace as the
rest of the code.

This really is a an asp.net question, so next time please post ONLY to
the applicable group.

Otis Mukinfus
http://www.otismukinfus.com
http://www.tomchilders.com
Feb 4 '06 #5

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

Similar topics

13
by: deko | last post by:
I use this convention frequently: Exit_Here: Exit Sub HandleErr: Select Case Err.Number Case 3163 Resume Next Case 3376 Resume Next
6
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much...
5
by: tiger79 | last post by:
Hello, I'd like to know what the C# counterpart is for the VB On Error statement ? My VB code looks like this : On Error GoTo ErrGetItem plain simple ud say, but I need to "translate" it into...
0
by: Benny Ng | last post by:
Hi,All, When i deploy Enterprise library with my application ,i used XCOPY to deploy it into my test server. But when application runs, shown some error related registry. (But actually I haven't...
33
by: Anthony England | last post by:
I am considering general error handling routines and have written a sample function to look up an ID in a table. The function returns True if it can find the ID and create a recordset based on...
4
by: DavideR | last post by:
I have converted a large vb6 program with an add-in that for every routine gimme the error handling: the add-in adds one line on the head of the routine "if myerrhandle then ON ERROR GOTO...
4
by: Benny Ng | last post by:
Dear All, Now my application is going to migrated into .NET v2. And it's already converted into v2 by Visual Studio 20005. (the auto convert tools) But when I goto compiled the application....
3
by: Don | last post by:
I have an ASP.NET 2.0 application (in VB) based on the Personal Site Starter kit that runs perfectly (no erros, no warnings, no exceptions) when run from Visual Studio 2005 Team Suite using the...
35
by: jeffc226 | last post by:
I'm interested in an idiom for handling errors in functions without using traditional nested ifs, because I think that can be very awkward and difficult to maintain, when the number of error checks...
5
by: Tony | last post by:
I am continuing to develop an Access 2007 application which was originally converted from Access 2003. In Access 2003 I was able to disable the Access Close button in the top righthand corner of...
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:
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
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,...
0
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...
0
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.