473,320 Members | 2,180 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.

'mycontrol_ascx' is ambiguous in namespace ASP

Hi everybody

I've seen a lots of question about this issue. This is my enviroment:

XP Professional all SP updated - Development machine
Windows 2003 Server (without sp1) - Production machine

I've updated a VS 2003 asp.net web app project to the new VS 2005 Web
Application Projects. Everything went ok until this error appears.

Looking into the temporay files, I've discovered that there are actually a
lot of .vb source files and looking inside there was two declaration of the
same 'mycontrol' user control class. One in a file name
"App_Web_<randomtext>.vb" and other with the name
"App_Web_mycontrol.ascx.<randomtext>.vb". Both of them contains the same
declaration. ¿Anyone know why it creates the second kind of .vb *sometimes*
and not for all the user controls used in the web project?

I believed I tried everything: Renaming the namespace control, the tagname
in the @ Register directive, specifying the Classname (including namespace)
in the @ Control directive, deleting and creating form scratch the control,
deleting the .net temporary files (it worked fine in my development machine,
but in my server it didn't).

If somebody has the same problem, I will try to create a new web application
project form scratch to see if the problems still continues and can reproduce
it.

Another point: Although my windows is in spanish, all my software is in
english. ¿Should be the problem in the international versions of .net 2.0?
Nov 23 '06 #1
0 1274

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

Similar topics

3
by: Lee Gillie | last post by:
I have a VS6 project which I brought into VS .NET, and all has been building fine. Then I upgraded to VS 2003 and I have one source which will no longer compile. Any clues? Compiling......
5
by: rodri rodri via DotNetMonster.com | last post by:
I have done a program with windows forms in "Visual C++". I have implemented a function that returns two values. For example: double functionExample(int parameter, double __gc* result2); And...
1
by: aunthas | last post by:
I want to play sound using winapi, so I wrote these lines of code:- ------------------------------------------------------------------------------------------------------------------- using...
3
by: Ben | last post by:
Hi I have just created a new ASP .net web project and when i run the project I receieve this error: System.Reflection.AmbiguousMatchException: Ambiguous match found. Any help would be much...
4
by: Johnny van Cadsand | last post by:
Hi, I get the following errors when trying to build my solution: 'Exception' is ambiguous in the namespace 'System' 'EventArgs' is ambiguous in the namespace 'System' 'IDisposable' is ambiguous...
9
by: Prasad | last post by:
HI, I am a beginner in VC++.. I am trying to write a Win32 console application in visual studio.. I am using following header files.. #include <STRING> using namespace std; #include...
3
by: Arpan | last post by:
The following code exists in a class file named "Users.vb": Namespace Users Public Class UserDetails Public FirstName As String Public LastName As String Public UserName As String Public...
1
by: rn5a | last post by:
Consider the following code in a VB class file: Namespace LoginUserFetchDB Public Class ZForZebra : Inherits SoapHeader Public UserName As String Public Password As String End Class Public...
11
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I have a machine Windows Server 2003 using IIS 6.0 and I am getting the error BC30560 prjob_ascx is ambiguous in the namespace ASP I found a fix. Deleting all the files in the...
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: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
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: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.