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

B

Benny Ng

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\Temporary ASP.NET
Files\saleschecking\786d2931\9cbadb6b\assembly\dl3\e079a026\3dca13c4_9b20c601\SalesChecking.DLL'
and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\saleschecking\786d2931\9cbadb6b\App_Code.3yhghclp.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
 
G

Guest

Benny,
you could try cleaning out the Temporary ASP.NET files directory and start
again.

Peter
 
J

Juan T. Llibre

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
==================================
 
O

Otis Mukinfus

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\Temporary ASP.NET
Files\saleschecking\786d2931\9cbadb6b\assembly\dl3\e079a026\3dca13c4_9b20c601\SalesChecking.DLL'
and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\saleschecking\786d2931\9cbadb6b\App_Code.3yhghclp.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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,023
Latest member
websitedesig25

Latest Threads

Top