VS2005 VB.Net 'EventArgs' is ambiguous in the namespace 'System'. Errors.

Hi guys,

 I've searched and searched and can't find the fix for this.  I am recieving the max number of errors for my ASP.Net project.  The errors are simply stated as something like the title.  Other ones are:

'DebuggerNonUserCodeAttribute' is ambiguous in the namespace 'System.Diagnostics'.
'EventArgs' is ambiguous in the namespace 'System'
'CompilierGlobalScopeAttribute' is ambiguous in the namespace 'System.Runtime.CompilierServices'.
'SerializationInfo' is ambiguous in the namespace 'System.Runtime.Serialization'

 Most of the errors are comming up in files that are autogenerated by VS.

So far I've tried:

- Deleting the dll's
- Searching for 'Imports' in my project - none found
- I have no external references
- I've copied all of my code into another project - same thing
- Recompile All
- No stupid things like 'I named a class 'System'

The oddest part is that if there are truely no code errors then I can successfully rebuild the project.  But if I do have an error somewhere good luck finding it...

12/1/2006 3:17:08 PM
asp.net.web-forms 93655 articles. 6 followers. Follow

1 Replies

Similar Articles

[PageSpeed] 3

Reinstall of VS2005 seems to have worked.
12/1/2006 6:35:44 PM

Similar Artilces:

Name: haznen Email: haznenatyahoodotcom Product: Gran Paradiso Alpha 8 Summary: '''''''''''''''''''' Comments: '''''''''''''''''''''''''''''''''''' Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061204 UGES/ GranParadiso/3.0a1 From URL: http://www.mozilla.org/projects/granparadiso/ Note to readers: Hendrix gives...

Name: mario Email: ramar17atfastwebnetdotit Product: Gran Paradiso Alpha 2 Summary: ''''' Comments: K: Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2) Gecko/20070206 GranParadiso/3.0a2 ...

System.Net.Mail is giving error CS0029: Cannot implicitly convert type 'string' to 'System.Net.Mail.MailAddress'
I'm getting an error while trying to use the wizard to create a form and than pass it the vaibles to Mail. Any help would be much appreciated. SmtpClient smtpClient = new SmtpClient(); MailMessage message = new MailMessage(); try {   message.From = txtEmail.Text; message.To.Add("admin1@yoursite.com"); message.Subject = "Feedback"; message.CC.Add("admin1@yoursite.com"); message.CC.Add("admin2@yoursite.com"); message.IsBodyHtml = false; message.Body = txtMessage.Text; smtpClient.Send(message); lblStatus.Text = "Email successfully sent."; } catch (Exception ex) { lbl...

'UpdatePanel' is ambiguous in the namespace 'System.Web.UI'
I am trying to update my project from .Net 2.0 to 3.5 and I am having this error 'UpdatePanel' is ambiguous in the namespace 'System.Web.UI'.  Can someone tell me please what is wrong or what should I check.Thank you, Eric In case here is my web.config : <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> <configSections> <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToke...

Value of type 'System.Net.Mail.MailMessage' cannot be converted to 'System.Net.Mail.AlternateView'
Trying to create an alternateview to send a txt email with the html formatted email.  I've used string builder to create the whole email, but I get this error.  Any ideas why?  i've bolded the line that throws the error... Dim EmailBodyTxt As New StringBuilder EmailBodyTxt.Append("<html><style type='text/css'>.table{border:solid; border-color:#006666; width:600;} ")EmailBodyTxt.Append("<body><table class='table'><tr><td colspan='2'><h1>Test<br />RESPONSE SYSTEM</h1></td>...

'ScriptServiceAttribute' is ambiguous in the namespace 'System.Web.Script.Services'
I am using the AJAX Toolkit AutoCompleteExtender and it works great on my Dev machine but posted live I get the following error:  'ScriptServiceAttribute' is ambiguous in the namespace 'System.Web.Script.Services' - Line 11 is the culprit apparently.1 Line 9: <WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _ 2 Line 10: <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ 3 Line 11: <System.Web.Script.Services.ScriptService()> _ 4 Line 12: Public Class SearchSuggest 5 Line 13: Inherits System.Web.Se...

BC30560: 'ScriptManager' is ambiguous in the namespace 'System.Web.UI'.
Thought I would share the resolution to this error. As the messge says it occurs becuase there are two references to this dll. In my case it seemed to happen automatically. The resolution was to go to the project property pages and remove the duplicate references. I removed the reference to the CAG since I cannot rely on this being there when I publish to production      ...

BC30560: 'ScriptManager' is ambiguous in the namespace 'System.Web.UI'.
I have tried several thing to get rid of this error. I tried going to C:\Windows\Assembly\ and searched for System.Web.Extensions 1.0.61025.0 - R-Click, Uninstall Error message - "Assembly 'System.Web.Extensions' could not be uninstalled because it is required by other applications' I have also tried using the GACUtils.exe and it tells me I have 2 versions on the extensions installed v 3.5 & v 1.0   System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL  System.Web.Extensions, Version=

'Image' is an ambiguous reference between 'System.Web.UI.WebControls.Image' and 'System.Drawing.Image'
In my aspx page, I have the following snippet: <%@ Page Language="C#" %><%@ Import Namespace="System.IO" %><%@ Import Namespace="System.Drawing" %>     public System.Drawing.Image Test()    {      ...    }  I keep getting the 'Image' is an ambiguous reference between 'System.Web.UI.WebControls.Image' and 'System.Drawing.Image' error in my Test function (which returns an Image). How do I fix this? Right which is possible; use the full...

BC30560: 'ScriptServiceAttribute' is ambiguous in the namespace 'System.Web.Script.Services'.
Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: BC30560: 'ScriptServiceAttribute' is ambiguous in the namespace 'System.Web.Script.Services'.Source Error: Line 16: <WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _ Line 17: <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ Line 18: <ScriptService()> _ Line 19: Public Class Cli...

CS0104: 'Image' is an ambiguous reference between 'System.Web.UI.WebControls.Image' and 'System.Drawing.Image'
 CS0104: 'Image' is an ambiguous reference between 'System.Web.UI.WebControls.Image' and 'System.Drawing.Image'   <%@ Page Language="C#" %> <%@ Import Namespace="System.Drawing" %> <%@Import Namespace="System.Drawing.Imaging" %>   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><script type="text/C#" runat="server"> void Page_Load() {//The @ means "Ignore escape characters!" in the following string. It is a verbatim //literal string - any backslashes (and newlines) in...

'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'.
Hey im getting this error , i really need a fix for this urgently as i need to get this done asap........does anytone know what is wrong? Cheers   <add assembly="CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.ReportSource, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.Shared, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture...

'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'.
Has anyone sen this error? I am trying to convert a 1.1 web app to 2.0 and this error is driving me to drink. 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'.      Sam CromerSenior .NET Developer I have the save error. How to fix it? This error drove me crazy for a few days.  Basically it's telling you that there is still a reference to the old version of Crystal in the solution somewhere.  After days of verifying that I didn't have any old references anywhere, the only thing that fixed it was deleting the website from IIS and re-...

'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'
i bind my crystal report to a web form using crystalreportviewer. when the page is loaded i receive the following error: 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web' i use the newest CR9.2 to create my crystal report. in the References, the Crystaldecision.web version is 9.2.3300.0.... PLZ HELP!!!!!!!!!!!!...

Web resources about - VS2005 VB.Net 'EventArgs' is ambiguous in the namespace 'System'. Errors. - asp.net.web-forms

Resources last updated: 11/23/2015 7:58:13 AM