can't drag and drop Ajax Toolkit controls on web pages............

When I try to drag and drop an Ajax Toolkit control onto my web pages I get the following errors.Attempt to read and write protected memory. This is often an indication that other memory is corrupt.When I click the OK button I see one more error message – The operation could not be completed. Invalid FORMATETC structure.I have a Solution with multiple Class Libraries and a Web Site. The AJAX Extensions work such as UpdatePanel, UpdateProgress.My AjaxToolkit.dll is located at the following location on my computer - C:\Program Files\Microsoft ASP.NET\AjaxControlToolkit\Binaries\AjaxControlToolkit.dll I am using Visual Studio 2005 SP1 and Windows Vista Ultimate. I added the AjaxToolkit to the Bin folder and to the Toolbox.I am using AjaxToolkit version 1.0.10618.0. 

When I start a New Website and I use the Ajax Toolkit control website I can drag and drop controls on the Default.aspx without a problem. Even when I delete the existing Web.config file and replace it with the one from my project web site I can still drag and drop controls.

When I add an Ajax Control Toolkit web site to my Solution and cannot drag and drop any of the Ajax Toolkit Controls; I get the above menitoned error messages. As soon as the website is in my Solution the dragging and dropping of Ajax Toolkit controls stops working.

My co-worker runs Windows XP Pro and is using the same Solution he can drag and drop AJAX Toolkit controls into the web pages. What is going on???

Can somebody help me out? Thanks, Newbie


7/30/2007 6:35:09 PM 17816 articles. 0 followers. Follow

14 Replies

Similar Articles

[PageSpeed] 50

Hi Newbie06,

Your problem is really werid. Since you can Drog and Drop the Ajax controls when using Ajax Control Toolkit template, I think your have installedASP.NET 2.0 AJAX Extensions 1.0 and Ajax Control ToolKit  succeessfully. Based on your description, I'm afraid that we cannot figure out the exact root cause without more of your help. Here are my personal suggestions:

  1. Use "Add Reference" method, it will automaticlly add "AjaxControlToolkit.dll" into your bin directory.
  2. Download an ajax-enabled application from , and test it.
  3. Install Visual Studio2005 Service Pack 2(SP2).

Hope these help.  If your problem cannot be resovled, please feel free to let me know with more valuable imformation.Thanks

Best Regards,


Jonathan Shen
Microsoft Online Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
8/4/2007 8:39:45 AM



I just bought a brand new hard drive and reinstalled everthing - Vista Ultimate, VS2005 with SP1 and Vista upgrade package, AJAX Extension etc. I added the AJAX Toolkit to my Toolbox. Still the same problem I can't drag and drop any of the AJAX Toolkit items into my web pages. I have tried Design and Source view. What kind of information could I give you so that we can troubleshot this issue? There are some neat controls that I would like to use in my project.




8/15/2007 8:26:48 PM

I would LOVE to hear a solution anyone has to this issue.

I have a brand new machine with Vista installed.  I downloaded Visual Web Developer 2008, .Net Framework 3.5, AJAX toolkit, and AJAX futures.

I open a brand new web site project in VWD 2008, try to drag anything from ASP.NET Futures or ASP.NET futures, or AJAX Toolkit and I get the error:

Visual Web Developer 2008 Express Edition
The operation could not be completed. Invalid FORMATETC structure

We can't be the *only* people out there with this unresolved issue, can we?

Thanks in advance for any advice!

8/24/2007 6:00:45 PM


I have EXACTLY the same problem when I try to drag & drop an UserControl!!

It's working in an other solution but not in mine!!

Do you think it could be a problem of public private protected method??

Help Me!

8/28/2007 12:29:03 PM

Sorry, I have not been able to find a solution.  I actually decided to uninstall the latest framework and VWD2008 and AJAX futures.  I'm setting them up in a virtual PC and I'll go from there.  At a recent .NET user group presentation, the presenter strongly recommended using VMWare session or virtual PC session for this set up since it is in beta.  Guess I found that out the hard way.

If I find a solution I'll post back.  It would be great if everyone else would do the same.

Good Luck!

8/28/2007 1:42:46 PM


I had my extended control reference in my WebSiteProject... I thought it was automaticly done but no..

Since I did that everything is fine.

I hope it will help you.. Look into the assemblys and stuff like that

8/28/2007 2:46:22 PM

 can you please give details on what you did? I am having the same @#$DFA@##!! problem :-(

9/1/2008 2:33:53 PM

I don't have exactly the same problem as the original poster but I'm also unable to drag the majority of the ASP.NET Ajax Controls onto my page. The only controls that I can drag into design view are Accordion, AccordionPane, MaskedEditValidator, NoBot, Rating, ReorderList, TabContainer and ToolkitScriptManager. Once the controls have been dragged across they do not appear in the design view, although they show in the source. When I attempt to drag any other AJAX control I just get a no entry mouse pointer, no matter where on the page I try to put it.

Annoyingly/thankfully I can successfully use all of the ASP.NET Ajax Controls by manually declaring them in source view, I just think this method takes longer so I'd be interested in a solution. The learning materials that I'm using suggest that there should be an Extender Wizard available from the SmartTag of the relevent controls but I never get a SmartTag (unless the control traditionally gives one such as a DDL or RBL).

I've added a reference to the AJAXControlToolkit.dll in my project and I've tried re-setting the Toolbox to no avail. The sample website works fine but again the controls do not show in design view. Could this be a Visual Studio installation problem/corruption.


Windows Vista SP1

Visual Studio 2008 - 9.0.30729.1 SP

.NET 3.5 SP1

9/1/2008 6:20:00 PM

as mention before

we must make it manually by dragging the control in div in source code not in design view

9/3/2008 12:32:29 PM


I am having the exact same problem and my configuration is same as "Lamin8d"....any idea why this would be happening??
11/14/2008 2:44:46 PM

 I have the very same problem. I searched the Internet for solution but with no success. Do you already solved this issue anyone?

Thank you for any advice.

2/19/2009 9:47:54 PM


 I am not sure how far this will help, but I have similar problem where I was not able to drag & drop any control on my page using "Visual Web Developer". It may sound stupid but in reality if your folder name is "C#" you will not be able to drag drop controls. In may case folder structure was c:\C#\MyCode...I changed it to C:\C-sharp\MyCode....and IT WORKED !!!

 Hope this might help someone.



2/23/2009 10:09:46 PM

Hi all,

I think that the problem is Win Vista. There is no problem with this in XP. But I don't know how to solve it.

I tried these ways:

  1. "Choose items" and selecting the DLL: Invalid Microsoft .Net Module !!!
  2. Adding Reference: Invalid Microsoft .Net Module !!!
  3. Unistalling and re-instaling Visual Web Developer. And 1 and 2. Same problem
  4. Going to XP, Export VWD08 Settings. Copying "Microsoft ASP.Net\AjaxControlToolKit" Folder. Copying the Toolbox files. Importing and pasting everithing in Vista. NOOOO. The toolbox appears as in my XP installation, but I can't drag controls

I can't manage to work with Toolkit for 2.0 nor for 3.5.

In some BLOG I read that recompiling the DLL with Visual Studio solved the problem. BUt of course, I have VWD, not VS. Can this be done with VWD?

I'll have to work on a XP?


4/9/2009 12:32:51 PM


Rebuilding the project worked!,

I downloaded the last 2.0 source code and rebuilt it with Visual Web Developer 08. Just right-clicked on AjaxControlToolKit.sln, then VWD converted to 9 version and I manually built it.

Hope it helps everyone there.


4/9/2009 2:38:32 PM

Similar Artilces:

Can't drop any controls in AjaxControlToolkit into web page
Hi ALL, I am using VS2008 and . Although I still can see all the ajaxcontrol toolkit in Toolbox bar , I try to add ConfirmButtonExtender into web page but nothing happens when I drag and drop the control into webpage..Can you tell me why?  tkz in advance.  Try my suggestions in this post.  Remember to mark as answer if this post answered your question.  R u getting any error?Please mark it as answer if it resolves the issue.visit:  R u getting any error?Open another project and try to ...

Can't Drag and Drop controls in Design Mode of Web Matrix
I downloaded webMatrix, but i am not able to drag and drop controls in the Design mode.i have WindowsXp Home OS on my machine....

'Can't save web pages, Ctrl+S. 'Can save same pages from I.E
Name: Del Dyreson Email: Product: Firefox Summary: 'Can't save web pages, Ctrl+S. 'Can save same pages from I.E Comments: 'Can't save web pages, Ctrl+S. 'Can save same pages from I.E. I'm running Win2000Pro, Ver 5.0 (Build 2195, Service Pack 4). Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv: Gecko/20060508 Firefox/ ...

Drop a new label (web control) onto the page but can't reference in the code behind (VB)
It happens a couple of times a day. Nothing unusual, its a web control and I've checked the runat server. It's not restricted to labels, seems to happen at random. I've tried deleting it and creating again, moving it to other parts of the page but the only thing that works is to close down VS and reload the website. I've double checked the ID and there's no reference to it in the intellisense list. Is there a simple reason for this?...

Can't add Toolkit dll to Visual Studio toolbox
HiI'm trying to use the Control toolkit in VS 2005 but i'm not having any look. When i try and add the dll to the toolbox I get the error"Cannot load file or assembly Microsoft.Web.Extensions v1.0.61025......"I am using an atlas installation. Is this the problem? I tried installing the ajax beta but it said another version was already installed. I'm worried that if i uninstall my current atlas installation, my other applications based on atlas will not run. I do not have time to upgrade these so I guess i need to know if the ajax beta is bakwards compatible.Thanks a lot...

superreview requested: [Bug 338772] Show can't-drop indicator when dragging PTF bookmarks such that they won't move when dropped : [Attachment 233429] patch
Chris Thomas (CTho) [formerly] <> has asked jag (Peter Annema) <> for superreview: Bug 338772: Show can't-drop indicator when dragging PTF bookmarks such that they won't move when dropped Attachment 233429: patch ------- Additional Comments from Chris Thomas (CTho) [formerly] <> Inlining this into the existing return would make it ridiculously long. ...

superreview granted: [Bug 338772] Show can't-drop indicator when dragging PTF bookmarks such that they won't move when dropped : [Attachment 233429] patch
jag (Peter Annema) <> has granted Chris Thomas (CTho) [formerly] <>'s request for superreview: Bug 338772: Show can't-drop indicator when dragging PTF bookmarks such that they won't move when dropped Attachment 233429: patch ------- Additional Comments from jag (Peter Annema) <> Instead of that comment you could move the second part to a |acceptsBookmarks(aTarget)| function which o...

Can't drag and drop any control
I am using VS2008 Development edition with SP1 running on Vista with all updates downloaded. I have been programming all week long and everything has worked fine. When I started programming this morning I found that I am no longer able to drag and drop any controls from my toolbox to eith a form in design view or into the code when in source view. I have rebooted my computer and tried everything I could think of. When I search the web looking for answers they all seem to deal with Silverlight. I am not using Silverlight just standard VS2008. Thanks in advance for your help. ok, sometim...

Can you return .net web controls in a .net page from a web service?
I've got a problem with a project. I've got to compile an entire .net page and return it as part of a Web Service for display. The problem I have is that I need to add WebControls and functionality to the page so that not only the html content and images are displayed (which I've managed) but that textboxes, labels, buttons and datasets can be displayed also. Essentially I need to make a call from one site for a page, populate the page and return it in a state as though it resided on the same server/webspace as the calling page. Code is currently built as follows into a string: strOpenHT...

Can't load up Ajax Control Toolkit
I downloaded both the source and the no source files, but when i try to add it to the toolbox, i get this error (I'm using express) Could not load file or assembly 'AjaxControlToolkit, Version 1.0.10301.0,Cultuer=neutral,PublicKeyToken=28f01b0e84b6d53e' or one of its dependencies.  The system cannot find file specifiedAny ideas?  Thanks.  The dll needs to be in the bin directory or in the GAC that error means the framework cannot find that dll in ether of those placesCheersAlMy BlogMapStats.NETPlease click on 'Mark as Answer' if this post answered yo...

Can't install Ajax Control Toolkit
I installed Visual Web Developer 2008, and I can't get the Ajax Control Toolkit to show up in my toolbar.  I know i have .net 3.5, since it was installed during the VWD 2008 setup.  And it's my understanding that if i have .net 3.5 installed then I should already be good to go.So I manually installed the Control Toolkit.  I followed the instructions to add the Control Toolkit to the Toolbar.  But still, nothing appears in the toolbar.  Now, when I right-click on the toolbar and choose "Choose Items...", I can confirm that the Control Toolkit IS loaded (check marks appear next to the items). Last year on a different PC I installed VWD 2008 and I had no problems at all.  (So I know I'm able to do it!) Thanks for your help!John Where is your AjaxControlToolkit.dll file?  try to change its location to the location in your VSWD .net assembalies dir, and in Choose Items dialog, browse to a newer copy of dll, it worked for me on 3rd trial or something,  p.s. try to download a copy without sourcecode, just the bin folder, I guess,   I figured it out!  The Toolkit actually was in the toolbar all along, but it was hidden.  I right-clicked on the toolbar and selected "Show All".  All the Toolkit icons magically appeared, BUT they were all dimmed out/disabled.  Thanks to this link: I found that i ha...

Can't see AJAX toolkit controls
Hi,  I'm new to AJAX and after seeing the example controls I've decided to use them in my web apps. I'm using VS 2008 and .net 2.0. I've downloaded the Essential Components, Downloaded the Control Toolkit, and followed the instructions in the video Get Started with the ASP.NET AJAX Control Toolkit? (11:15) from here  I create my new tab, add the controls from the DLL, but my Tab is not there. I click on the toolbox and select Show All and I can then see my tab with all my controls but they are greyed out. The type of pro...

Can't Drag and Drop Images Anymore, and I Ain't Happy
Name: Jarrod B. Taylor Email: jarrodbtayloratgmaildotcom Product: Firefox Summary: Can't Drag and Drop Images Anymore, and I Ain't Happy Comments: I finally upgraded to FF3 last night. The new look took some getting used to, but it grew on me. I don't like that the address bar history has big fat descriptions instead of URLs when I start typing, but I was going to let that slide. Now I find out that I can't drag and drop images into other programs (like Photoshop). I don't know what the improvement to drag and drop is supposed to be, but there wasn't ...

Can't add AJAX Control Toolkit to the toolbox
Hi, I run Visual Studio 2008.  I downloaded the ajax control toolkit for .net 3.5.  I create a new tab in VS 2008, and I want to add the Toolkit. I point to the ajaxcontroltoolkit.dll and I get the following error: "There was an error loading types from assembly 'C:\Program Files\ASP.NET AJAX\SampleWebSite\Bin\AjaxControlToolkit.dll'  Could not load type 'System.Web.UI.ScriptManager' from assembly 'System.Web, Version=, Culture=neutral, PublicKeyToken=b03f5fxxxxxl" Any ideas how to add the toolkit to the toolbox? Thanks  It looks like a version mismatch. oneInTen:I downloaded the ajax control toolkit for .net 3.5.  oneInTen:"There was an error loading ....from assembly 'System.Web, Version=, Steve Wellens My blog Any ideas how I can fix it?Thanks  Try creating a web site and setting the Target Framework to .Net 3.5 (Project Properties, Build).  Then try installing the AJAX toolkit.Steve Wellens My blog Thanks again, It seems that I have some other issues with VS2008 because the scriptmanager and UpdatePanel controls are also missing from the toolbox.  I found a thread discussing this issue related to VS2008, and talking about installing some hotfixes that come on the VS2008 CD.Unfortunately when I try to install these hot fixes, they fail.  Not sure what to do now, since I can't seem to use the installation at all.  I removed e...

Can't run local web pages and IIS doesn't not open
If I start my computer without a connection to the Internet,I can't open any pages like "http://localhost/DBMJ/anypage.html"and,I can't open IIS, .. I click on the icon and nothing happens.I ran "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i"but that didn't fix it (it runs forever just showing the  . . . . . . . . . . . . . on the screen).This only happens when there is no Internet connection when I start the computer up.If there is an Internet connection, it works.Anyone know why this is happening?  thanks   check o...

I can't get no cache, I can't get no cache. 'Cause I try and I try and I try and, I can't get no, I can't get no cache.
I have fiddled out for days tinkering with the setting in about:config trying to get FireFox 12 to use the disk cache. I have NOT found the trick. This One Trick Pony ain't doing it like it used to up until recently. Pray tell anyone, What information can I share that will point a knowledgeable person to aid me in getting FF to disk.cache? I have also tried restarting FF with add-ons disabled, (There were NOT too many to do this to, so it was quick and easy) Here is my stab at trying to convey the information that MIGHT govern matters Using about:cache Information about the Cache Service Memory cache device Number of entries: 722 Maximum storage size: 30720 KiB Storage in use: 7331 KiB Inactive storage: 7331 KiB Offline cache device Number of entries: 0 Maximum storage size: 512000 KiB Storage in use: 0 KiB Cache Directory: C:\Documents and Settings\Administrator\Local Settings\Application Data\Mozilla\Firefox\Profiles\d9ws2fua.default\OfflineCache Checking that general folder area, There is a \profiles\xxccvv\cache folder - ITS EMPTY, even after visiting several ebay links Using about:cache?device=memory Information about the Cache Service Memory cache device Number of entries: 722 Maximum storage size: 30720 KiB Storage in use: 7331 KiB Inactive storage: 7331 KiB using about:cache?device=disk Information about the Cache Service No Other response on the screen for this attempt Using...

Re: I can't get no cache, I can't get no cache. ' Cause I try and I try and I try and, I can't get no, I can't get no cache.
<div>please com e see me about htis<br /> <br /> ------- Original Message f= rom the Global Relay Archive -------<br /> From: Hp &lt;;= <br /> To: "" &lt;;<br /> Sent: Sun, 27 May 2012 18:30:18 -0700<br /> Subject: I = can't get no cache, I can't get no cache. 'Cause I try and I try and I try = and, I can't get no, I can't get no cache.<br /> <br /></div> <pre class=3D"gr-maex-body-pre&qu...

I can't use the ajax control toolkit..please help me...
Hi, I'm trying to figure it out how to use this toolkit. First of all, I'm using VWD 2008 & .net 3.5. I've installed the toolkit in the Toolbox and have installed the template. I used old version template and the latest one because the latest template alone didn't show up in the my template section when tried to create new website. But I now can see the template. But I keep having an error message when I create a new web site using the templage. although didn't put any toolkit controls. This is the default code of the Default.aspx. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" ""><html xmlns=""><head runat="server"><title>Untitled Page</title></head><body><form id="form1" runat="server"><ajaxToolkit:ToolkitScriptManager ID="ScriptManager1" runat="server" /><div></div></form></body></html> But it's got wiggled line under the page type line(the first line) and the ajaxToolkit. I don't know even what I should ask.... :o(Can anyone give me any clue for this problem.... Just one more thing... when i drag one of the control (i.e. modalpopup extender), VWD asks me ...

Can't drag and drop web addresses to bookmark section.
Name: Ryan Product: Firefox Summary: Can't drag and drop web addresses to bookmark section. Comments: Can't drag and drop web addresses to bookmark section, under web adress bar. Browser Details: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1b99) Gecko/20090605 Firefox/3.5b99 (.NET CLR 3.5.30729) From URL: Note to readers: Hendrix gives no expectation of a response to this feedback but if you wish to provide one you must BCC (not CC) the sender for them to see it. ...

Can't open a web page
Name: Vikki Evans Email: vikkidotevansatbmrgdotorgdotau Product: Firefox Summary: Can't open a web page - Comments: I was using firefox to operate a web page '' as it was much quicker than Internet Explorer and less errors were occurring. A few of us are now unable to use Firefox as it will not open the page any longer, but will open all other pages. So its now back to IE. Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20070515 Firefox/ ...

Can't drag AJAX Toolkit elements from toolbox into designer
Hi. Just started today with AJAX. I've downloaded the toolkit, created a new web project from VS2008, add a new tab in toolbox then select choose items and browsed to  AjaxControlToolkit.dll. I can see all my Toolkit elements from the toolbox but I can't drag them.      AndreYou take the time to aswer my question, I garantee you I'll mark your post as answered.  goto Source mode of aspx page then u can drag these controls. in Design mode u can add Ajax Extender by click ADD EXTENDER for every asp control.u can't drag these controls. Sagnik Mukherjee,Thanks. Thanks. I watched an AJAX tutorial video that was using Visual Web Developper...  AndreYou take the time to aswer my question, I garantee you I'll mark your post as answered. Hi Andre The AJAX Controls such as Rating, ReorderList, Accrodion support design mode drag and drop. However, the AJAX Extenders such as CalenderExtender, DropDownExtender, not support the design mode drag and drop, you can add them to the related control by “Add Extender…” way, just like the following screen shot shows: Thanks.  Lance ZhangMicrosoft Online Community SupportPlease remember to mark the replies as answers if they help and unmark them if they provide no help. Don't know why but at first, reorderList drag and drop was possible only from the source view of Designer. After a VS restart, it was also possible from the Design mode.  ...

Can't install Ajax Control toolkit into VS 2005.
I went through the steps trying to install the control toolkit into VS 2005. When I go to "Choose Item", and I browse to the dll, I get the following error message: "Could not load file assembly 'AjaxControlToolkit, Version 1.0.10301.0, Culture=neutral, PolicyToken=28f01be84b6d53e' or one of its dependencies. The system cannot find the file specified."  I have the latest AJAX installed.  I also have "Orcas" professional Beta 1 installed. Could that have something to do with it? <add namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" tagPrefix="ajaxToolkit"/>Hüs...

can't use IE Web Controls in VS.Net
I installed IE Web Controls and added these controls to the Toolbox in Visual Studio .NET . The Internet Explorer WebControls Designers did appear in the Toolbox. But the color was gray. And I can't use it to design. what's the problem? You use VS.Net 2002 or 2003? Have you seen error messages? What does the code look like?DNN skins ForumTressleworks modulesDNN & webhostingIEWCtrls I have solved the problem. I took system controls for IE Web Controls. thanks for your reply. Mandy, I have the same problem with my machine too. I use VS.NET 2003 and am able to see the IE Web Controls (Tabstrip etc.,.). But when I try to see their properties after drag and drop in the webform, the properties window shows blank. Any idea as what am I doing wrong? Thanks, Ramsi...

Ajax Control Toolkit
 Problem #1 When I start "AjaxControlToolkit.sln", the error message says: "The application for project 'C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\Ajax Control Toolkit\SampleWebSite' is not installed. and the same to "C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\Ajax Control Toolkit\ToolkitTests" Then after opening the project, BOTH SampleWebSite and TookitTests are say "D:\...\SampleWebSite\(unavailable)" and "D:\...\ToolkitTests\(unavailable)"  BUT the whole was installed on C:...

Web resources about - can't drag and drop Ajax Toolkit controls on web pages............ -

Resources last updated: 3/25/2016 7:18:41 AM