Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / December 2007

Tip: Looking for answers? Try searching our database.

Ajax control toolkit not working

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Cesar - 18 Dec 2007 06:02 GMT
I have the ASP.NET 2.0 AJAX Extensions 1.0 installed (v1.0.61025). As to the
web.config file, I'm using the one created using the ASP.NET AJAX-Enabled
website ...

This error is due to that I'm trying to use the AJAX control toolkit, but
when I try and add the controls to the toolbar of VS2005 from the dll, I get
this error:

C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0
AJAX\Extensions\AJAXControlToolkit\Binaries\AjaxControlToolkit.dll is not a
Microsoft .NET module

Also if I create a virtual directory and copy the contents of the sample
website that comes with the ajax toolkit and I want to run a page (e.g.
calendar.aspx), I get the following message:

Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.

Parser Error Message: Could not load file or assembly 'AjaxControlToolkit'
or one of its dependencies. The module was expected to contain an assembly
manifest.

Source Error:

Line 2:      Culture="auto" UICulture="auto" Theme="SampleSiteTheme" %>
Line 3:  
Line 4:  <%@ Register Assembly="AjaxControlToolkit"
Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
Line 5:  
Line 6:  <asp:Content ContentPlaceHolderID="SampleContent" runat="Server">


Source File: /SampleWebSite/Calendar/Calendar.aspx    Line: 4

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'AjaxControlToolkit' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind
failure logging.
To turn this feature off, remove the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog].

Any ideas?

Thanks a lot,
Cesar
Manish Bafna - 18 Dec 2007 07:46 GMT
Hi,
You have to include the AjaxControlToolkit.dll into the bin folder of your
webapplication
Signature

Hope this helps.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.

> I have the ASP.NET 2.0 AJAX Extensions 1.0 installed (v1.0.61025). As to the
> web.config file, I'm using the one created using the ASP.NET AJAX-Enabled
[quoted text clipped - 48 lines]
> Thanks a lot,
> Cesar
Cesar - 18 Dec 2007 16:16 GMT
Hello,

Thanks for your help.
The AjaxControlToolkit.dll is already there in the bin folder.

Regards,
Cesar

> Hi,
> You have to include the AjaxControlToolkit.dll into the bin folder of your
[quoted text clipped - 52 lines]
> > Thanks a lot,
> > Cesar

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.