.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

Popupcontrol extender - webservice call failed 500

Posted By:      Posted Date: October 14, 2010    Points: 0   Category :ASP.Net

i have triws to use the Popupcontrol extender. But  I got the webservice call failed 500 error on the mouse over . i have referred the lots of forums, but i can't get the solutions...plz help me.


Herewith  i have specified the code.


                                    <asp:LinkButton ID="lb" runat="server" Text="TEST"></asp:LinkButton>
                                    <cc1:PopupControlExtender ID="pceImage" runat="server" DynamicServiceMethod="GetTheImage"

View Complete Post

More Related Resource Links

Msg 15121, Level 16, State 10, XP_Cmdshell - A call to 'CreateProcessAsUser' failed with error cod

I have the XP_cmdshell issues for the past two days in SQL2005 SP2 environment. There is a domain account with sysadmin privilege. I have created a proxy account and gave the execute privilege for xp_cmdshell. If i try to run the following commmand EXEC master..xp_cmdshell 'dir *.txt' Msg 15121, Level 16, State 10, Procedure xp_cmdshell, Line 1 An error occurred during the execution of xp_cmdshell. A call to 'CreateProcessAsUser' failed with error code: '1314'. But if i give sysadmin priv and then i try to execute. It worked. I cant give sysadmin priv so i m using a proxy account. Whether any one have solution for it.

ODBC call failed

I try to export a table from Access 2007 to SQL-Server Express 2008R2 and it returns the error: ODBC call failed. [Microsoft][SQL Server Native Client 1.0][SQL Sever] Line1: Specifed Scale 1 is invalid (#1002). The problem is related with a datetime column, because if I drop this column it is possible to export. Thanks for your help.    

ajax call to webservice

I am new to jquery and want to make a simple jquery ajax call to webservice. My webservice is running fine but I am unable to get the data through ajax and jquery. My code is <%@ Page Language="C#" AutoEventWireup="true" CodeFile="WS.aspx.cs" Inherits="WS" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"><title></title> <script src="jquery-1.4.2.min.js" type="text/javascript"></script> <script  type="text/javascript"> $(document).ready(function() { $("#btGetDate").click(function() { //$("#dvDate").html("I am here"); $.ajax({ type: "POST", url: "WebService.asmx/GetDateTime", contentType: "application/json; charset=utf-8", dataType: "json", success: function(msg) { $("#dvDate").html(msg); } }); }); }); </script> </head> <body> <form id="form1" runat="server"> <div> <div id="dvDate"></div><input id="btGetDate" type="button" value="Get Date" /> </div> </form> </body>  

A call to SSPI failed: The target principal name is incorrect - How to ignore this Security Check

I find that I am getting this error since I am using the netTCPBinding. I don't get this exception when the client and server are on the same machine, but when they are on different machines, this exception occurs. If I set the identity on the end point as mentioned in the article: http://blogs.msdn.com/b/drnick/archive/2007/11/08/setting-a-user-principal-on-the-endpoint.aspx it is working fine.   So my question is , should the service end point always have an identity when using netTcpBinging? I tried setting Security.Mode = None and still I got this identity exception. is there any way through which I can ask the service to ignore the SSPI details and accept client request?   Thanks!

ODBC--call failed.[Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismat

I need to establish a connection between an Access 2003 database (32 bit) and an 11g 64 bit Oracle database on a server. I am running Windows 7 on a 64 bit laptop. I did a clean install of Oracle 11g for 64 bit. I have no problem accessing the Oracle database via the Oracle SQL Developer. I just have a problem from within Access. I hope someone can help me. I've been fighting this for several months. Thanks in advance!

ODBC Call Failed - Error 3151


We have an Access database migrated from Access 97 to Acces 2007 with some linked tables to an SQL Server 2008 database. We are using a File DSN in the ODBC Administrator. Connection tests work fine there. In fact, we have a main form in the Access 2007 application that shows the data always correctly. The problem appears when we execute a task that makes the following call:

Dim dbs As Database
Dim rstAppend As Recordset

Set dbs = CurrentDb
Set rstAppend = dbs.OpenRecordset(strAccessTable, dbOpenDynaset, dbSeeChanges)

OpenRecordset throws the error number  3151 and occurs randomly but it appears quite frequently.  It's sporadic. When we don't get the error, the task works fine.

  1. It not happens always, mosty we're fine.
  2. When it happens it happens for all subsequent tasks tried. We have to close and reopen the Access database and pray to the good Lord that it works.

MVC controller shows a webservice internal call


I have a mvc controller that communicates with a we service for user authentication, when user clicks login button, onclick event makes a call to javascript function using ajax and it makes a call to an action in server.

The problem is when a use fiddler tool shows ajax call to the controller and also web service call, web service is called from controller never javascrit, how I can protect visibility of web service calling?, using web forms with the same scenario never shows a web service call.

Running Client Script to Read TextBox Value from AJAX PopupControl Extender


I used PopupControl Extender to display row details from a gridview, and need to update the two textboxes, but the changed value in the textboxes did not get picked up when click the update button on the popup window, so I need to get client side javascript to read the new changed value from these text boxes. However, I tried a few way, none worked for me, not sure what is wrong.

1. Add a javascript function in the .aspx file and use onclientclick of the linkbutton control to call the function, I got error of "Microsoft JScript runtime error: Object required".


<script language="javascript" type="text/javascript">
     function newTextValue(textbox) 
      var text = document.getElementById("TextBox1").Value;

<asp:TextBox ID="TextBox1" runat="server"  Text='<%# Bind("GalleryTemplateName") %>' Height="20px" Width="230px"
                    style="text-align: left"></asp:Text

How to call a webService Method Using Http get Protocol



I have Created A simple WebService Method Like If a Pass Id it will return Name Of the Employee from database.

That webService is Working Fine i ahve Tested It.

My Question is Now I haveto call this webservice using HttpGet Protocol from CLient Application.


please provide me some samples on it.




Thanks&Regards, -Amar.

How to use popupcontrol extender animation..?


Hello friends and Scienour experts.

i am new in asp.net programing and not familer with ajax control tool kit.

My ajaxcontrol toolkit is working fine.But when i add animation tag into it like this.Now when i execute the browser is waiting for some thing and my IDE(visual studio 2008) is asking for a cs file.How to make this file...?..Please Help me.

<ajax:PopupControlExtender ID="MyTestPopupControlExtender" runat="server"

TargetControlID="TestButton" PopupControlID="MyTestPanel" Position="Bottom">



How to track Collapse/ Expand event of AJAX Collapsible Panel Extender to call javascript ?



I am working with AJAX Panel Collapsable panel extender.

The Panel which is to be collapsed/Expanded using AJAX panel Extender contains one custom control, containing 3 Radio buttons one of them is set checked through a javascript function when page loads. I have kept the default property of AJAX collapsable panel as Collapsable.

Script for AJAX Collapsible Panel Extender is as follow. 

 <ajax:CollapsiblePanelExtender ID="cpeSOP" runat="Server" CollapseControlID="pnlCollapsable"
   CollapsedSize="0" Collapsed="True" CollapsedImage="~/public/img/arrowRightWhite.gif"
   ExpandControlID="pnlCollapsable" ExpandDirection="Vertical" ExpandedImage="~/public/img/arrowDownWhite.gif"
   ImageControlID="Image1" SuppressPostBack="true" TargetControlID="pnlSearchCriteria">

But problem is that when page loads, collapsible panel gets collapsed but it resets the radio buttons in custom control. i.e. First radio button does not get checked. Script for Collpsable panel is as follow. I want to call some javascript code when the panel is Collapsed or Expanded. Is there any way to track Coll

"Call to SQLExecDirect failed with %1"

Cross post from Windows Server 2008 Forums (MSFT Suggestion).  Original Post:

I am trying to set up Perfmon to log directly to a SQL 2008 Server (trying to avoid binary file + relog).  The SQL server is running locally on the same server I am trying to record perf counters from.  Note that I am NOT using SQL 2008's data collection features, and I am trying to log non-sql related counters.

I set up a SQL 2008 Native Client System DSN with Windows Authentication, but when I try and start my data collecter set I get an error message  that "Call to SQLExecDirect failed with %1", and the in event viewer I get "Call to SQLExecDirect failed with .".  The set is running as System, which has rights to the database.  SQL does not log any errors or a failed logon attempt.

The ODBC DNS 'Test' button says it connected successfully, and I am able to connect to the same database via Management Studio and ASP.Net.  I don't think its a SQL problem, but its hard to say when the error message is blank.

Any help fixing this, or ruling out SQL as the problem, would be appreciated.

Is there any Sharepoint 2010 Webservice call that I can point my SSRS Report at to retrieve an execu


I want to create an SSRS report that displays all the steps in an executing workflow along with its current stage.

SharePoint 2010 webpart shows the current state of the executing workflow but I want to display all the steps including ones that have been completed and ones that are still to come.

Up and Down arrows support for GridView inside a PopupControl Extender


Hi All,

I am a newbie ++ ;) so please be kind.

I have a grid view that is inside a popupcontrol extender. shown when clicked on a textbox or written something. when the textbox is shown i cannot use up and down arrow keys to move down or up and select a row when pressed enter or tab.


Please help me here I am stuck... I have searched thoroughout the forum not finding the solution or finding that is not working for me!

question on ajax toolkit slideshow extender's webservice


I need to set up the slide show based on a querystring parameter.  I thought I had this figured out, but I clearly don't understand something about how the webservice works. 

I have this in the .aspx page:

<asp:Button ID="btnPrev" runat="server" Text="Prev" />
    <asp:Button ID="btnPlay" runat="server" Text="Play" />
    <asp:Button ID="btnNext" runat="server" Text="Next" />
    <asp:Label ID="lblDesc" runat="server" />
    <cc1:SlideShowExtender ID="SlideShowExtender1" runat="server" BehaviorID="SSBehaviorID"

The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with e


I have deployed my packages into Sql Server and I am using Configuration File. As my Data Source is Excel, I have changed the connection string during deployment with Server Path. But I am getting the following errors. Actually the File Exist in Path. May I know What is cause of the issue? Do I need to give any permission to execute the package.


SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed. 


component "Excel Source Service Contract Upload" (1) failed validation and returned error code 0xC020801C. 

One or more component failed validation. 


There were errors during task validation. 

DTS_E_OLEDBERROR, Error Code: 0x80004005 Source: "MS JET DB Engine" Description : Path is not valid


A call to SQL Server Reconciler failed?


When I  try to synchronize from the emulator I get the error

Message: "A call to SQL Server Reconciler failed."

Any ideas what has happened?

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