.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Error while using Visual web parts

Posted By:      Posted Date: December 04, 2010    Points: 0   Category :SharePoint

while using VisualWebParts its throwing a runtime error "Microsoft JScript runtime error: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll.".

And i have not used any master pages and not included scriptmanager in child pages and i am using ajaxcontroltookit 3.5.40412.0 version. how to resolve this, please help me.

View Complete Post

More Related Resource Links

Visual Studio Add-In for Web Parts Generation

This article will introduce you to a new Visual Studio 2005/2008 add-in that can be used for Web Parts generation based on a prepared ASCX control/template. The add-in should allow Web Part developers to easily make Web Parts using the Visual Studio HTML designer. It should save you a lot of time and make Web Part development an enjoying experience even for beginners.

This article is written in the form of a step-by-step tutorial. It will give beginners a chance to successfully make, deploy, and try their first Web Parts, and will save some time for advanced users as you can always run into challenges when working with SharePoint.

Error while setting up application on Win7 using Visual Studio.NET 2003


Hi All,

Getting the below error while setting up application on Win 7 using visual studio.NET 2003.


cannot find the components for communiacting with the front page server extensions...


I understand by the error, i need to install Front page server extension, but not able to figure how to install using IIS 7.5.

I had XP machine with IIS 5.1, able to find the option.


Need your help in resolving this.




.NET Exceptions: Make the Transition from Traditional Visual Basic Error Handling to the Object-Orie


If you're used to Visual Basic 6.0 and you're making the transition to Microsoft .NET, you will find that error handling is quite different from what you've used for years. Visual Basic .NET uses a more object-oriented solution to signaling and responding to unexpected problems while your program is running. This approach, called structured exception handling, has a number of advantages over the On Error statements provided in previous versions of Visual Basic. For instance, exceptions give you lots more information about exactly what went wrong in your app. To help you take advantage of this modern error handling paradigm, this article will show you how to raise and respond to exceptions, as well as how to create your own custom exception classes.

Jesse Liberty

MSDN Magazine November 2002

ERROR [S1000] [Microsoft][ODBC Visual FoxPro Driver]Function name is missing ).


I Am Continiously Getting Error For Following Line Of Code, It Work  Fine In Other Database

Am I Doing Any Mistake

if (sh3itno != "" && dpsh3no != "")
                string queryy = "SELECT [CHEQNO] FROM [SH3MAST] WHERE (([CHEQDATE] = " + chqdate + ") AND ([FAVOUR] = " + favour + ") AND ([CHQTYPE] = " + ctype + ") AND ([TRSTN] = " + trstn + ") AND ([TRBANK] = " + trbank + ") AND ([SH3ITNO] = " + sh3itno + ") AND ([DPSH3NO] = " + dpsh3no + "))";
                OdbcCommand cmd3 = new OdbcCommand(queryy, connen1);
                string chqno =cmd3.ExecuteScalar().ToString(); (Here Iam Getting Error)
                tbl.Rows[i]["cheque no"] = chqno;
Stack Trace: 

[OdbcException (0x80131937): ERROR [S1000] [Microsoft][ODBC Visual FoxPro Driver]Function name is missing ).]
   System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode) +39
   System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, Strin

Visual Web Dev 2010 error or new user error?


In a new web app, using the fresh new build, I added some fields that I wanted processed during login, i.e. common Profile stuff... added them to web.config.... sadly it appears that Studio 2010 will not automatically create a ProfileCommon class from ProfileBase, as previous studio web IDE's would do - that was frustrating for a bit, then I just created my own class... but that led to this interesting problem.

When populating the new profile attributes, the code behind class could not resolve any of the textbox referenced, all showed as not defined... figuring it was something simple, I kept going... added a customValidation control I needed, but though I double clicked the event in studio, and it dutifully created the stub code for me... the event never fired.

Determined to locate the problem I poored through forum entries and every reference I could (found lots of folks complaining about the profileCommon class stuff which is what led me to create my own class finally) -- but nothing specific to the problem I had of not seeing defined controls that were clearly there and working nor my customValidator control.

But... all of the code samples I saw - none had the ContentTemplate section... curious I removed that section, other items started to fail that were logical (header tags, etc.) but, my code behind section snapped back into order, intelisense n

Quick Note: Create Visual Web Parts by Using SharePoint 2010 Controls

In this exercise, you create a SharePoint 2010 visual Web Part in Visual Studio 2010 and then add a SharePoint ListViewByQuery control, a ASP.NET Label control, and a SharePoint DateTime control to it.

Quick Note: Create Visual Web Parts for SharePoint 2010

Learn to create and deploy Visual Web Parts that display hierarchical views of list items and SubWebs.

Video: Visual Web Parts for SharePoint 2010

This video delves into details of Visual Web Part development in SharePoint 2010. (Length: 4:04)

Video: Visual Web Parts for SharePoint 2010 in Action

This video demonstrates how to build a Visual Web Part for SharePoint 2010. (Length: 5:03)

Use LinqDataSource in Sharepoint Visual Web Parts

Dear Friends,I wish to use  LinqDataSource in my Sharepoint 2010 visual web part. The linqdatasource is disabled . i tried typing the tag declaratively and i got the error unknown tag. i wish to declare it so that i can design the appropriate templates for my gridview. Can someone help me enable the linqDatasource or even a systematic way to use it Sharepoint Visual Webpart project. Any help will be much appreciated

Error trying to open WPF Xaml windows from Visual Studio 2010 in Blend 4

Hi I have Visual Studio 2010 ultimate, and expression Blend 4. I have created a WPF 4 project in Visual Studio and when i try to open the MainWindow.xaml file in Expression Blend 4 - i get an error stating that the file or folder is not a valid blend project. Is there something i need to install for visual studio to make blend able to edit WPF Xaml files in Blend 4? I can open blend4 and create WPF applications with no problem - its just trying to open a mainwindow.xaml created in Visual Studio 2010 in blend 4 when i get the error. I am running windows 7 32 bit. Cheers Rod. Mono / DotNet Rocks!

report viewer error / visual web developer 2008 / sql server 2008 / report viewer add on / win7 x64

hi, i decided to export my local site to iis today, the process wasn't smooth.   anyway. i was able to access my site, the db tables are working as i am able to create new records and retrieve them. my main problem now is with the report object. i've tried the work around found here : http://support.microsoft.com/kb/2002980.. it helped sort of. i used to have only a big page of error before i did the work around, now i am able to see half of the report (the report interface) but the contents, the field are filled with 404 errors. any idea how i can fix this??                  

Visual Web Developer 2008 Express - JScript runtime error

I've noticed in Visual Studio 2008 and Visual Web Developer 2008 Express that several, dynamic JScript files are being generated at runtime.  When I run my project in "debug mode," and then I attempt to close the browser, I get the following error: "Microsoft JScript runtime error: Object doesn't support this action" The error occurs in a JS file called "jquery-1.3.2.min.js?77[dynamic].  This file is not part of my project, and I don't know where it resides. In Solution Explorer, under "Script Documents" > "Windows Internet Explorer", there are several other dynamic js files that are only appearing at runtime... What feature is causing these JS files and the JScript runtime error, to be dynamically generated at runtime?    

Error with Visual Web Developer 2008 Express and MS SQL 2005 Express in Vista

I have created a database in SQL 2005 Express and am trying to connect to it in  Visual Web Developer 2008 Express. When I try to connect to a database and click on the Test Connection button, I get that the test connection succeded. However, when I click on OK, I get the following message:     Unable to add data connection.     Could not load file or assembly     Microsoft.SqlServer.Management.Sdk.Sfc, Version=,     Culture=Neutral, PublicKeyToken='89845dcd8080cc91', or one of its     dependencies. The system cannot find the file specified. I have turned on the IIS 7.0 functionality and am still recieving this error message. Please help. Thanks.

ERROR: Cannot show Visual Studio 2008 Tools for Applications editor - SP1 IS applied

Using BI Studio, attempting to put a small VB script in a Script Task, hitting the Edit Script gives:   Cannot show Visual Studio 2008 Tools for Applications editor   ADDITIONAL INFORMATION: Could not load file or assembly 'VSTADTEProvider.Interop, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. (Microsoft.SqlServer.VSTAScriptingLib)   NEED A FIX, PLEASE, AS I'VE ALREADY LOADED VS2008 SP1...!   I have now also uninstalled VS2008 entirely, along with .NET 3.5 SP1 rebooted several times, reinstalled from the January Team System Database Edition, applied VS2008 SP1 and .Net 3.5 SP1 from Microsoft Downloads with the usual reboots to make sure, and I'm still hosed...   Microsoft Visual Studio 2008Version 9.0.30729.1 SPMicrosoft .NET FrameworkVersion 3.5 SP1 Installed Edition: Enterprise Microsoft Visual Basic 2008   91901-270-1018792-60217Microsoft Visual Basic 2008 Microsoft Visual C# 2008   91901-270-1018792-60217Microsoft Visual C# 2008 Microsoft Visual C++ 2008   91901-270-1018792-60217Microsoft Visual C++ 2008 Microsoft Visual Studio 2008 Tools for Office   91901-270-1018792-60217Microsoft Visual Studio 2008 Tools for Office Microsoft Visual Studio Team System 2008 Database Edition   91901-270-1018792-60217Microsoft Visual Studio Team System 2008 Database Edition Microsoft Visual Web

Sandbox Solutions with Web Parts Upgrade Error

I have a Visual Studio Sandbox solution with multiple web parts deployed on the site collection. It seems like I was able to upgrade the solution code without any issues and redeploy. Suddenly I started getting 'Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the partial trust app domain: The type is not registered as safe" error.. Any idea what could cause this issue and how to avoid that in future?

Visual Studio Compilation Error - LC.EXE

I am using Windows XP SP2, and working on MS VS .NET 2005. My application was working fine till I installed few windows updates. Now on compilation I get an error message - ""LC.exe" exited with code -1073741819." Someone told me that this could OS bit problem. I checked in My Computer->properties ->advanced->environment variables ->system variables->Processor_Architecture which states x86 over there. I am not able to compile my applications due to this problem. The application was working normaly. I think the software updates caused this problem, I even uninstalled the updates but then nothing helped. I am stuck on this. Someone please help. Highly urgent.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend