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

  • Thread starter Thread starter Benny Ng
  • Start date Start date
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
 
Benny,
you could try cleaning out the Temporary ASP.NET files directory and start
again.

Peter
 
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
==================================
 
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
 
Back
Top