473,320 Members | 1,990 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,320 software developers and data experts.

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 1847
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...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.