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\Mic rosoft.NET\Fram ework\v2.0.5072 7\Temporary ASP.NET
Files\saleschec king\786d2931\9 cbadb6b\assembl y\dl3\e079a026\ 3dca13c4_9b20c6 01\SalesCheckin g.DLL'
and 'c:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\Temporary ASP.NET
Files\saleschec king\786d2931\9 cbadb6b\App_Cod e.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 4 1102
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\Mic rosoft.NET\Fram ework\v2.0.5072 7\Temporary ASP.NET Files\saleschec king\786d2931\9 cbadb6b\assembl y\dl3\e079a026\ 3dca13c4_9b20c6 01\SalesCheckin g.DLL' and 'c:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\Temporary ASP.NET Files\saleschec king\786d2931\9 cbadb6b\App_Cod e.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
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\Mic rosoft.NET\Fram ework\v2.0.5072 7\Temporary ASP.NET Files\saleschec king\786d2931\9 cbadb6b\assembl y\dl3\e079a026\ 3dca13c4_9b20c6 01\SalesCheckin g.DLL' and 'c:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\Temporary ASP.NET Files\saleschec king\786d2931\9 cbadb6b\App_Cod e.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
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.D LL and in App_Code.3yhghc lp.dll
Did you pre-compile SalesChecking.D LL ? ( 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\Mic rosoft.NET\Fram ework\v2.0.5072 7\Temporary ASP.NET Files\saleschec king\786d2931\9 cbadb6b\assembl y\dl3\e079a026\ 3dca13c4_9b20c6 01\SalesCheckin g.DLL' and 'c:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\Temporary ASP.NET Files\saleschec king\786d2931\9 cbadb6b\App_Cod e.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
On Fri, 3 Feb 2006 17:12:35 +0800, "Benny Ng" <mi********@hot mail.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\Mi crosoft.NET\Fra mework\v2.0.507 27\Temporary ASP.NET Files\salesche cking\786d2931\ 9cbadb6b\assemb ly\dl3\e079a026 \3dca13c4_9b20c 601\SalesChecki ng.DLL' and 'c:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\Temporary ASP.NET Files\salesche cking\786d2931\ 9cbadb6b\App_Co de.3yhghclp.dll ' E:\Projects.NE T\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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
|
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 appreciated.
Thanks in advance
|
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 C#...
Any ideas ???
|
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 any method or component to wrote
registry)
After I used "InstallUtil" to registry Enterprise Library (those DLLs)
to the deployment server, the application runs smoothly.
Now I wonder why i need to registry those Enterprise Library DLLs into
|
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 that ID, otherwise it returns
false.
**I am not looking for comments on the usefulness of this function - it is
only to demonstrate error handling**
There are three versions of this code. David Fenton says under the earlier
thread "DAO...
| |
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 HERRHANDLER"
and the herrhandler label at the botton where i write in a logfile the name
of the routine, the errors and other information
Well setting myerrhandle to true seems that the error handling keeps on
working in
..net is it right? what's the...
|
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. Some error likes the
following shown. Any suggestion?
|
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 gets about
3 or so. It also gets very awkward in nested loops, where you want to
check for normal loop processing in the loop condition, not errors.
Yes, you could put some generic exit flag in the loop condition, but
when you're simply done if...
|
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 the
screen. I have been unable to find any way to disable this button in
Access 2007 and subsequently I have been forced to find ways to detect
and handle the situations after the Access Close button has been
clicked.
I have been largely...
|
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...
|
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,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |