473,653 Members | 3,000 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

'web service call failed: 500' using ajax hovermenu and web service

Hi there,

I'm using a hovermenuextend er attached to a templatefield of a
gridview, and everything seemed to work fine.. however I've moved on
to add dynamic attributes to the hovermenu. Now I get the error "web
service call failed: 500" in place of the output I want (on the
hovermenu's panel).

When accessing the web service I created (directly through the
browser) everything works fine..

here's my hovermenuextend er dynamic attributes

DynamicContextK ey='<%=eval("re fnumber") %>'
DynamicServiceM ethod="GetSearc hDetails"
DynamicServiceP ath="Services.a smx"
DynamicControlI D="lbdynamiccon tent"

I'm guessing the path or method may be incorrect? I've put
services.asmx in the root folder and services.vb was slipped into the
app_code directory.

The other problem would be with the contextkey, but debugging info
within the webservice never gets thrown (it does when I run the
service directly through the browser) so would a funny parameter do
that?
Any help would be greatly appreciated! I also saw error 12030 instead
of 500 crop up, but that seems to have gone (!!!)

cheers,
Chris

Jun 5 '07 #1
1 8176
On 5 Jun, 12:53, Not Me <clhumphr...@gm ail.comwrote:
Hi there,

I'm using a hovermenuextend er attached to a templatefield of a
gridview, and everything seemed to work fine.. however I've moved on
to add dynamic attributes to the hovermenu. Now I get the error "web
service call failed: 500" in place of the output I want (on the
hovermenu's panel).
Aha, I realised the helloworld service worked fine.. it was just
anything I created with parameters.. I had my service set up as

Public Function getSearchDetail s(ByVal refno As String) As String

so changed this to

Public Function getSearchDetail s(ByVal contextKey As String) As String

and all is well!

hope that it useful to any googler's out there.

cheers,
Chris

Jun 5 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
526
by: jabailo | last post by:
I wrote a program that loops through a file of records. It parses each line in the file and sends them to a web service that inserts them into an AS400DB2 database using Asynch calls. This is the wierd part. Say their are 500 records in the file. If I run the process once, maybe 250 will appear. If I run it a second time, maybe 400 or all the records will appear.
4
6201
by: jf li | last post by:
I have a Asp.net web application and a Asp.net Web service application. The Web application is using HtmlInputFile to get a 50M size of file selected by end user, read the data of this file and pass the data to the web service. I already modified both web.config files and changed maxRequestLength to 60000(kb). When I debug the upload process, it seems the Web application can get the 50M file and read the data without problem, but when the...
1
3827
by: JDeats | last post by:
So I'm looking for the source behind this sample: http://www.asp.net/AJAX/AjaxControlToolkit/Samples/HoverMenu/HoverMenu.aspx I want to attach a HoverMenu control to a DataGridView control and perform the behavior shown in this example. I have been unable to locate a sample. Also Is it possible to repopulate a DataGridView control through AJAX? Thanks
7
4597
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
我们现在遇到一个问题,通过wcf创建的webservice,选择windows service作为宿主,采用java作为客户端调用成功,但是无法使用asp.net ajax调用。 我们参考了http://msdn.microsoft.com/zh-cn/library/bb410780.aspx的资料,并且下载了相应的sample code,但是发现这些sample基本上都需要在iis上部署一个svc文件,但是根据当前业务需求,我们无法部署iis服务器。...
0
8283
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8811
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8704
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8590
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6160
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4147
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4291
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2707
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1914
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.