Ajax control toolkit not working

C

Cesar

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
 
M

Manish Bafna

Hi,
You have to include the AjaxControlToolkit.dll into the bin folder of your
webapplication
 
C

Cesar

Hello,

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

Regards,
Cesar

Manish Bafna said:
Hi,
You have to include the AjaxControlToolkit.dll into the bin folder of your
webapplication
--
Hope this helps.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.



Cesar said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,968
Messages
2,570,150
Members
46,697
Latest member
AugustNabo

Latest Threads

Top