Last post Apr 16, 2012 10:01 PM by Neeraj Bhushan
Feb 21, 2012 12:46 PM|Neeraj Bhushan|LINK
OS- WINDOWS XP
VISUAL STUDIO - 2005
I am trying to test asp.net with ajax for the first time. I tried to test ajax autocomplete text box on my application . When I try to set page method of autocomplete textbox extender in design view. I am getting an error. Pl. guide me what is the prob.
is my ajax installation incorrect. If anybody can give support by desktop sharing like teamviewer, I welcome.
Thanks in advance
Feb 21, 2012 01:08 PM|Horizon_Net|LINK
you should provide some more information. What's the error you're getting? What's the relevant code?
Feb 21, 2012 01:28 PM|Neeraj Bhushan|LINK
Error is something like.... (i am not able to post the complete msg as it is very large and not able to copy it, it is on msg window)
Unexpected Error (Target Invocation Error) Excetption has been thrown by target of an invocation
Feb 21, 2012 10:11 PM|chetan.sarode|LINK
Hi, Please refer this
Feb 21, 2012 10:51 PM|Neeraj Bhushan|LINK
But I could not find the solution there. I m getting this error just on trying to Add Auto Complete Page Method.
Can U help me in this by desktop sharing
Feb 21, 2012 10:57 PM|vinay13mar|LINK
Check the tutorial.
Feb 22, 2012 11:45 AM|Neeraj Bhushan|LINK
I have tried everything even reinstallation of AJAX Toolkit and extentions.
I tried a new sample page, but the result is same.
Any body please help by Desktop Sharing like teamviewr.
the error is as below
Feb 24, 2012 12:06 AM|vinay13mar|LINK
Plz try this this may help you . i got this solution from this forum..
Feb 24, 2012 02:39 AM|Song-Tian - MSFT|LINK
Make sure you install the correct version of the AjaxControlToolkit:
Version 3.0.20229 2008-02-29 release of the AJAX Control Toolkit targets the official release of .NET Framework 3.5 and Visual Studio 2008.
Version 1.0.20229 You can also download the Toolkit for .NET Framework 2.0, ASP.NET AJAX 1.0 and Visual Studio 2005.
April 12, 2010 release of the AJAX Control Toolkit for ASP.NET 3.5 Service Pack 1 and Visual Studio 2008 SP1.
Then you could add the Ajax Control Toolkit to the VS Toolbox step by step at:http://www.asp.net/ajaxlibrary/act.ashx.
Feb 24, 2012 12:45 PM|Neeraj Bhushan|LINK
Sir My versions are
Microsoft Visual Studio 2005
Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework
Installed Edition: Professional
Microsoft Visual Basic 2005 77626-009-0000007-41603
Microsoft Visual Basic 2005
Microsoft Visual C# 2005 77626-009-0000007-41603
Microsoft Visual C# 2005
Microsoft Visual C++ 2005 77626-009-0000007-41603
Microsoft Visual C++ 2005
Microsoft Visual J# 2005 77626-009-0000007-41603
Microsoft Visual J# 2005
Microsoft Visual Web Developer 2005 77626-009-0000007-41603
Microsoft Visual Web Developer 2005
Microsoft Web Application Projects 2005 77626-009-0000007-41603
Microsoft Web Application Projects 2005
Crystal Reports AAC60-G0CSA4B-V7000AY
Crystal Reports for Visual Studio 2005
Microsoft Visual Studio 2005 Professional Edition - ENU Service Pack 1 (KB926601)
This service pack is for Microsoft Visual Studio 2005 Professional Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/926601
SQL Server Reporting Services
Microsoft SQL Server Reporting Services Designers
So which version of AJAX I can install and from where to download.
Feb 25, 2012 09:31 AM|Neeraj Bhushan|LINK
Feb 26, 2012 10:06 PM|Song-Tian - MSFT|LINK
You could download that at:http://ajaxcontroltoolkit.codeplex.com/releases/view/76976 .
Any more question, please feel free to reply.
Feb 28, 2012 10:25 PM|Neeraj Bhushan|LINK
I have installed the same versions as mentioned bu tthe problem is same as reported earlier.
Feb 28, 2012 10:27 PM|Song-Tian - MSFT|LINK
Please create a sample website of that. And send to me. I wll check on my side. My email:
Feb 29, 2012 09:15 AM|Neeraj Bhushan|LINK
I just tried this example -- http://www.asp.net/ajaxlibrary/act_AutoComplete_simple.ashx but on trying to set the method for AUTOCOMPLETE I am getting the error. So I can't go ahead
If u can help with desktop sharing like Teamviewr or Showmypc it will be very helpful as u would b able to c what is happening on my pc.
my gmail id is email@example.com u can tell ur availabilty on it.
sir I have sent a video of the same on ur mail too
Thanks & Regards
Mar 01, 2012 01:54 AM|Song-Tian - MSFT|LINK
I have replied your email. And attach the corresponding ajax control toolkit Dll. Please have a try.
Mar 01, 2012 11:38 AM|Neeraj Bhushan|LINK
Thank U sir,
But I don't find any mail from ur side. Pl Send it again at firstname.lastname@example.org
Thanks n Regards
Mar 01, 2012 08:38 PM|Song-Tian - MSFT|LINK
I have sent to you again. Please check.
Mar 01, 2012 09:25 PM|Song-Tian - MSFT|LINK
I have received the faild email. I think the email address have some problem. Please provide another email address.
Mar 01, 2012 10:09 PM|Neeraj Bhushan|LINK
My mail address are
Mar 04, 2012 10:44 AM|Neeraj Bhushan|LINK
I hav got the files. But sorry to say even after that the result or error is same as before.
Mar 05, 2012 02:49 AM|Song-Tian - MSFT|LINK
Please change a PC, and have a try. There should be no problem.
Apr 16, 2012 05:59 AM|Neeraj Bhushan|LINK
I have formatted my pc and installed VS2008 on it and tried to run the same thing but the error is also the same. Now this is clear that there is some problem with my installation... I hav tried the same thing on two different pcs. I describe the steps
1. Downloaded the Ajaxtool kit binary 3.5
2. Extracted it.
3. Opened a new website in the VS2008 and added a new Tab and to add the toolkit I showed and applied the Ajaxcontroltoolkit.dll. NOw all the controls installed.
To test -- followed the example on Ajax Tutorial
1. Created a new website.
2. Placed Ajax Script Manager on Form
3. Added a new textbox called txtmovie
Apr 16, 2012 09:21 AM|Neeraj Bhushan|LINK
I tried an another Ajax tool.. Bellow is the source...... source -- http://www.asp.net/ajaxlibrary/act_animation_yellowfade.ashx
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<form id="form1" runat="server">
<div style="height: 180px">
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
<asp:Panel ID="message" runat="server" Width="129px">
Pay Attention To Me
<asp:LinkButton ID="lnkYellowFade" OnClientClick="return false;" runat="server">Play Animation</asp:LinkButton>
<asp:AnimationExtender ID="AnimationExtender1" TargetControlID="lnkYellowFade" runat="server">
On Run of the Code following exception is thrown :---
unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.TypeLoadException: Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=184.108.40.206, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
[TypeLoadException: Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=220.127.116.11, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.]
AjaxControlToolkit.ToolkitScriptManager.OnResolveScriptReference(ScriptReferenceEventArgs e) in C:\Users\Stephen\Documents\Repos\Superexpert\AjaxControlToolkit\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs:276
System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e) +117
System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +2063008
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2247
PPl. guide what and where is the problem
Apr 16, 2012 10:01 PM|Neeraj Bhushan|LINK