.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Jean Paul
SP
satyapriyanayak
Ashutosh Jha
Simon Robert VoIP
Post New Web Links

namespace of type specified in the Imports 'AjaxControlToolkit doesnt contain any public member or

Posted By:      Posted Date: September 17, 2010    Points: 0   Category :ASP.Net
 
my website comes from a .net 20 config and am now on 4.0For this line: Imports AjaxControlToolkitI get this error: "namespace of type specified in the Imports 'AjaxControlToolkit"I could remove that line, were it not that it also says this line: Private _questions As CascadingDropDownNameValueerror: Type 'CascadingDropDownNameValue' is not defined.    My web.config has been upgraded, I have placed the latest ajaxcontroltoolkit.dll in my bin folder...what more can I do?


View Complete Post


More Related Resource Links

VS 2010 and The type or namespace name 'AjaxControlToolkit' could not be found error?

  

Hi,

I've installed VS2010 and I'm trying to compile my .NET 2.0 app. It went through a conversion process when I opened it, I made a backup, but I'm still targeting .NET 2.0 for now.  I have a project reference and the "ajaxcontroltoolkit.dll" in the \bin and it ran fine in VS 2008.  Do I need a different version of the toolkit I currently have (1.0.10301.0 which targets runtime v2.0.50727) to run .NET 2.0 in VS2010 now?

The error "The type or namespace name 'AjaxControlToolkit' could not be found (are you missing a using directive or an assembly reference?)"

The warning gives more info

"Warning 27 The primary reference "AjaxControlToolkit, Version=1.0.10301.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "AjaxControlToolkit, Version=1.0.10301.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e, processorArchitecture=MSIL" or retarget your application to a f

Type or namespace error.

  

A couple of days ago I started getting an unusual behavior when compiling Website projects. I have referenced class libraries added to my bin folder that are also correctely referenced in using statements in my aspx.cs code behind. When I compile, I get the 



Error 4 The type or namespace name 'CommonClassLibrary' could not be found (are you missing a using directive or an assembly reference?) C:\Dev\Fiscal_Portal\Implementation\FMS Portal Site_new\App_Code\BLL\DataTables.cs 1 7 C:\...\FMS Portal Site_new\

The type or namespace name 'CommonClassLibrary' could not be found (are you missing a using directive or an assembly reference?)

error message that would typically be received when the dll has not been added as a reference or added in a using statement.


I can eliminate the error by adding an

<add

Fix: The type or namespace name 'EntityDataSource' does not exist

  
Today's stupid mistake had me going in circles in my Web application project. The error message was: The type or namespace name 'EntityDataSource' does not exist. As the rest of the error message suggests, I must be missing an assembly reference. Nope, I'd already added in the references to Entity : System.Data.Entity System.Data.Entity.Design After much frustration until after 1 a.m., I gave up and went to bed. This morning I realized that what it wanted was the WEB Entity! System. Web .Entity System...(read more)

Error Build: Type or namespace could not be found, when referencing a web service

  
Hello, I'm new in writing C# application in Visual Studio 2008. I'm currently writing a web application for CRM 4.0 Reporting Service rendering. I reference my web application to our Reporting Service web service http://reportservername /ReportServer/ReportExecution2005.asmx and name it 'RSWebReference'. Then I want to reference it in my code: Using RSWebReference; Not sure why, but I cannot build my solution, saying "The type or namespace name 'RSWebReference' could not be found (are you missing a using directive or an assembly reference?)". I read this thread in http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/74f70e30-83e8-4817-b5e0-7729450730a1 that the website probably is using .net 1.1, and I should change it to .net 2.0. However, I think the website is already using 2.0. Is it probably because I'm using VS 2008? How can I tell and change if the website is using 1.1 or 2.0? Or could I be doing something wrong? Thanks in advanced for your help! -Elizabeth K.

The type or namespace name 'Linq' does not exist in the namespace 'System'

  
Hi, I uploaded my website to the server, and I have there a working with wcf - it should be fw 3.5 I saw that fw 3.5 is installed on the server and also we have there fw 3.0 sp1. I run my website : www.qenglishcenter.com and I'm getting an error : The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?) shouldn't System.linq be already existed ? Thanks for any reply.  

Cannot implement an interface member because it is not public

  
I have the following code.  When I attempt to build, I get the error message "Cannot implement an interface member because it is not public" on the these three: GetQueryStringValue, SetInSession, and GetFromSession.  If I add public in front of these three, I get the error "the modifier public is not valid for this item".   Any ideas on what I"m doing wrong? Thanks.     public interface IWebContext    {        void ClearSession();        bool ContainsInSession(string key);        void RemoveFromSession(string key);        void GetQueryStringValue(string key);        void SetInSession(string key, object value);        object GetFromSession(string key);    }     public class WebContext : IWebContext    {        public void ClearSession()        {            HttpContext.Current.Session.Clear();        }        public bool ContainsInSession(s

The type or namespace name 'Portal' does not exist in the namespace 'Microsoft.SharePoint' (are

  
Hi, We are trying to migrate a console program (C#) from MOSS 2007 to SP 2010. Trying to build the program (Visual Studio 2008) results in this error message: "The type or namespace name 'Portal' does not exist in the namespace 'Microsoft.SharePoint' (are you missing an assembly reference?)" Then we tryed adding a reference for Microsoft.SharePoint.portal - but this class is not available in the dialog box 'Add reference'. Can anyone help - please.

Cannot create unknown type '{clr-namespace:Blog.LongRunningWorkflow.Example.Activities}WaitForReques

  
Hi, I am facing problem in loading XAML at runtime. Below is the code please help me. public void ProcessRequest(Request request) { // Get the workflow instance id to use Guid instanceId = this.requestToInstanceMapping[request.Id];         // Setup the arguments that are passed to the workflow          IDictionary<string, object> input = new Dictionary<string, object>();              input.Add("Request", request);            using (FileStream fs = new FileStream(@"ProcessRequest.xaml", FileMode.Open))          {             // Load the ProcessRequest workflow           Activity wf = ActivityXamlServices.Load(fs) as Activity;                            // Create the workflow instance specifying the arguments and instance id                      WorkflowApplication wapp = new WorkflowApplication(wf, input);          string persistenceConnectionString = "Data Source=Dev1;Initial Catalog=InstanceStore;User id=sa;password=xxxxxxx;Asynchronous Processing=True";          &nbs

The Type or namespace 'Sharepoint' does not exist in the namespace 'Microsoft'

  
Development Environment is VS2010 Project .Net Version 4 Sharepoint 2007 Sharepoint installation is not on my Development PC but a seperate server I have copied the Sharepoint DLLS to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\ISAPI which is suggested in one link. I have set a reference to the Sharepoint DLL in this directory The demonstration application is as follows; using System;using System.Collections.Generic;using System.Linq;using System.Text;using Microsoft.SharePoint; namespace SHConnectionTest{    class Program    {        static void Main(string[] args)        {            try            {                SPSite rootCollection = new SPSite("http://stg1tfs01");                Console.WriteLine("Root Collection found at {0} is part of Web Application {1}", rootCollection.Url, rootCollection.WebApplica

Handling Type namespace/assembly change during serialization

  
We needed to move a class from one assembly to another due to referencing issues.  However, we have Workflows in the field where this type is serialized into them and we get the Failed to load type error.  I was wondering if there was anything like AssemblyResolve for handling type load failures where we can correct the type and load the correct one?

Need to fix this error : Type 'System.Web.UI.WebControls.CreateUserWizard' does not have a public

  

Hi all,

 i am usingVWD 2010 andwant to create a website supported under .net 3.5.

The deafault mater page has the loging pgaes already set up (.net 4.0) which is very good and helping to start.

But once i changed my project to run under .Net 3.5 , i could not have the account register webpage working and getting this error :

Parser Error Message: Type 'System.Web.UI.WebControls.CreateUserWizard' does not have a public property named 'LayoutTemplate'.

 

Any idea how can i fix this issue ??

 

Thanks ..

 

 

 


In which namespace we can find The type or namespace name 'webBrowser'

  

i received an error showing

 

Error    27    The type or namespace name 'IgnoreDataMember' could not be found (are you missing a using directive or an assembly reference?)    F:\Main project\downloaded facebook applications\Facebook\Types\Facebook.Types.auth.cs    24    10    Facebook

hop any one can help me out immediatly


The null value cannot be assigned to a member with type System.Int32 which is a non-nullable value t

  

Hi All,

        int maxAge = db.tbl_zaposlenis.Where(p => p.IdSifra == 22)
                         .Max(p => p.IdSifra);

        zaposleni.IdSifra = maxAge;

How to display the largest number in the "IdSifra?


thanks.


Type or namespace membership user cannot be found

  

- I started an empty ASP.NET 3.5 website

- I included the assembly reference <add assembly="System.Web.ApplicationServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

- I included using System.Web.Security;

- I want to use the following code to add a confirmation code to an email

protected void CreateUserWizard1_SendingMail(object sender, MailMessageEventArgs e)
    {
        MembershipUser user = Membership.GetUser(CreateUserWizard1.UserName);
        string code = user.ProviderUserKey.ToString();
        e.Message.Body = e.Message.Body.Replace("<%ConfirmationCode%>", code);
    }

- I know some changes were made to the location of MembershipUser according to this --> http://www.asp.net/(S(ywiyuluxr3qb2dfva1z5lgeg))/learn/whitepapers/aspnet4/breaking-changes#0.1__Toc256770156

Please help!


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend