I have created a Ajax Control Toolkit in my tool box of VS. I then selected add item and navigated and selected 'C:\Documents and Settings\rlc\My Documents\Visual Studio 2005\downloads\SampleWebSite\Bin\AjaxControlToolkit.dll'.
When I try and use on of the controls Like TextboxWaterMark. I have no trouble adding it to the page. But it does not add the extra information to the properties so I can adjust the settings. And if I try and run the project I get the following error:
Warning 1 Unable to update auto-refresh reference 'ajaxcontroltoolkit.dll'. Can not find assembly 'C:\Documents and Settings\rlc\My Documents\Visual Studio 2005\downloads\SampleWebSite\Bin\AjaxControlToolkit.dll'. C:\Documents
and Settings\rlc\My Documents\Visual Studio 2005\WebSites\AJAXEnabledWebSite1\Bin\ajaxcontroltoolkit.dll.refresh C:\...\AJAXEnabledWebSite1\
The AjaxControlToolkit.dll file does exists in the folder. I am just not sure how I can fix this error.
Sounds like a VS configuration issue. Maybe try deleting the Toolbox stuff and trying again? Maybe if that doesn't work, reset the Toolbox and start from scratch.
That's the path on our build machine. :) If you manually open the relevant file from your disk, VS should do the right thing. Alternatively, if you compile the AjaxControlToolkit DLL yourself, the paths will automatically be correct.
Just updating the reference to this file fixed the problem for me.
Before doing anything make sure you have the file somewhere in your PC. It should be in the location where you unzipped the files after you downloaded the package from CodePlex.
In Solution Explorer you'll find Bin folder where the ajaxcontroltoolkit.dll is.
Delete that entry.
Right-click your project (the top most entry in Solution Explorer) and select Add Reference...
Select Browse tab from the dialog box and point it to the ajaxcontroltoolkit.dll file.
Re-adding the reference works, but if you edit the .refresh file in an editor outside of VS, it might not work again. I found the problem is that the .refresh file is in Unicode format, and it requires the two byte Unicode BOM (FEFF). Adding the BOM worked
for me.
Gabicus
Member
40 Points
9 Posts
I am getting an "Unable to update auto-refresh reference 'ajaxcontroltoolkit.dll'" error.
Oct 28, 2006 01:40 AM|LINK
I have created a Ajax Control Toolkit in my tool box of VS. I then selected add item and navigated and selected 'C:\Documents and Settings\rlc\My Documents\Visual Studio 2005\downloads\SampleWebSite\Bin\AjaxControlToolkit.dll'. When I try and use on of the controls Like TextboxWaterMark. I have no trouble adding it to the page. But it does not add the extra information to the properties so I can adjust the settings. And if I try and run the project I get the following error:
Warning 1 Unable to update auto-refresh reference 'ajaxcontroltoolkit.dll'. Can not find assembly 'C:\Documents and Settings\rlc\My Documents\Visual Studio 2005\downloads\SampleWebSite\Bin\AjaxControlToolkit.dll'. C:\Documents and Settings\rlc\My Documents\Visual Studio 2005\WebSites\AJAXEnabledWebSite1\Bin\ajaxcontroltoolkit.dll.refresh C:\...\AJAXEnabledWebSite1\
The AjaxControlToolkit.dll file does exists in the folder. I am just not sure how I can fix this error.
David Anson
Star
8728 Points
1847 Posts
Microsoft
Re: I am getting an "Unable to update auto-refresh reference 'ajaxcontroltoolkit.dll'" error.
Nov 11, 2006 12:15 AM|LINK
http://dlaa.me/
http://blogs.msdn.com/b/delay/
This posting is provided "AS IS" with no warranties, and confers no rights.
Gabicus
Member
40 Points
9 Posts
Re: I am getting an "Unable to update auto-refresh reference 'ajaxcontroltoolkit.dll'" error.
Nov 11, 2006 03:07 AM|LINK
I tried to reset the ToolBox and now when I try and run the project I get:
There is no source code available for the current location.
And it shows this location.
--- d:\TFS\AtlasControlToolkit\Release\AjaxControlToolkit\ExtenderBase\ExtenderControlBase.cs
is there a way to change the lockation so that it can find the cs files.
David Anson
Star
8728 Points
1847 Posts
Microsoft
Re: I am getting an "Unable to update auto-refresh reference 'ajaxcontroltoolkit.dll'" error.
Nov 15, 2006 09:45 PM|LINK
That's the path on our build machine. :) If you manually open the relevant file from your disk, VS should do the right thing. Alternatively, if you compile the AjaxControlToolkit DLL yourself, the paths will automatically be correct.
http://dlaa.me/
http://blogs.msdn.com/b/delay/
This posting is provided "AS IS" with no warranties, and confers no rights.
TheDirtyBird
Participant
806 Points
339 Posts
Re: I am getting an "Unable to update auto-refresh reference 'ajaxcontroltoolkit.dll'" error.
Apr 07, 2008 01:34 PM|LINK
I compiled the dll, but the path does not update. Does this have something to do with the version?
TheDirtyBird
Participant
806 Points
339 Posts
Re: I am getting an "Unable to update auto-refresh reference 'ajaxcontroltoolkit.dll'" error.
Apr 11, 2008 08:48 PM|LINK
fyi, it was the version number in the web.config file. fixed.
patty
Member
8 Points
9 Posts
Re: I am getting an "Unable to update auto-refresh reference 'ajaxcontroltoolkit.dll'" error.
Jun 20, 2008 04:33 PM|LINK
Could you please be more specific on this matter. I would appreciate if you could post the code that you placed in the web.config file.
Thanks,
akiruis
Member
2 Points
1 Post
Re: I am getting an "Unable to update auto-refresh reference 'ajaxcontroltoolkit.dll'" error.
Jul 30, 2008 04:36 AM|LINK
Just updating the reference to this file fixed the problem for me.
Before doing anything make sure you have the file somewhere in your PC. It should be in the location where you unzipped the files after you downloaded the package from CodePlex.
In Solution Explorer you'll find Bin folder where the ajaxcontroltoolkit.dll is.
Delete that entry.
Right-click your project (the top most entry in Solution Explorer) and select Add Reference...
Select Browse tab from the dialog box and point it to the ajaxcontroltoolkit.dll file.
That's it.
kenchu
Member
4 Points
4 Posts
Re: I am getting an "Unable to update auto-refresh reference 'ajaxcontroltoolkit.dll'" error.
Mar 03, 2010 07:36 PM|LINK
Re-adding the reference works, but if you edit the .refresh file in an editor outside of VS, it might not work again. I found the problem is that the .refresh file is in Unicode format, and it requires the two byte Unicode BOM (FEFF). Adding the BOM worked for me.
.refresh Unicode BOM