473,799 Members | 2,900 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Microsoft JScript runtime error: 'MyWebService' is undefined.

I've created a web service which I'm just running on my localhost development
machine right now. If I open http://localhost/WebServices/MyWebService.asmx
in IE everything works fine. However when I use it in a web project where it
is declared in the ScriptManager section and then called in JavaScript it
seems that it can't find it.

In the aspx file within the <Servicessectio n of the <ScriptManage rI have:

<asp:ServiceRef erence Path="http://localhost/WebServices/MyWebService.as mx" />

and in the JavaScript, which is where it crashes, I have

ret = MyWebService.Se rviceMyRequest( );
Any ideas?
Oct 22 '08 #1
0 2704

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

Similar topics

6
1855
by: RFS666 | last post by:
Hello, After I posted yesterday "using C# class in jscript", I have a new problem: I have a C# class - DBResult - that contains (and other variables) a string array (and other variables), that contains data from a database query which is done in C# in codebehind. I create a jscript - script that is injected into the aspx-page. I need this to fill an activeX-control with data. I assign the string-array (and - for testing - a single...
1
4226
by: JNariss | last post by:
Hello, I have created a connection to my Access database with Dreamweaver and made a simple form with 4 fields. The code behind this form was/is: <%@LANGUAGE="VBCRIPT" CODEPAGE="1252"%> <!--#include virtual="/Connections/EmployeeStatusChange.asp" --> <%
2
5059
by: emfinkk | last post by:
Everything was working fine. I installed a bunch of Windows Updates and now I can no longer create ActiveX objects on 2 different Web Servers (1 Server2000, 1 Server2003). I have reinstalled MSxml3.0 SP7 and re-registered my msxml.dll's. I find a lot of reference to this error, but nothing that seems to address my problem. I do not get any entries in Event Viewer. Can anyone help? Error Type: Microsoft JScript runtime (0x800A01AD)...
1
3056
by: finditajr | last post by:
Hello I'm having the following problem: My main webpage calls a function stored in a .js file that creates an HTML window to display a calendar. Whenever I click on a date in that calendar, the calendar should return to the main webpage, but it cannot find the home window again. I'm getting this error: Microsoft JScript runtime error: 'self.opener.document.idFormMain.txtPeriodOfOperationEff' is null or not an object I've...
1
3479
by: Andrew Wan | last post by:
How can VBScript code access JScript code variables in the same ASP page? <SCRIPT LANGAUGE="VBScript"> Dim a a = 10 </SCRIPT> <SCRIPT LANGUAGE="JScript"> Response.Write(a); </SCRIPT>
1
2165
by: =?Utf-8?B?ZGF2aWQ=?= | last post by:
I have developed web services, myWebService by .NET Visual Studio, with web methods getInfo and getInfo(int) (under .net framework 1.1). It works fine for the clients created by .NET visual studio. However, when developing Java client, Eclipse detected the following error on WSDL file: WSDLException: faultCode=INVALID_WSDL: : The element type "br" must be terminated by the matching end-tag "</br>". I have checked the web source in...
1
3073
by: pratimapaudel | last post by:
function Showdiv() { var SelectStates = document.getElementById('Select1').value; if(SelectStates ="3") { document.getElementById("div2").style.display = "block"; } else document.getElementById("div2").style.display = "none";
3
8653
by: suganya | last post by:
Hi Some professionals already has developed the project using menu. In my company, they have given me task to clear the error in that. It is a script file named as "menubarAPI4.js" which is kept inside the folder "menu_script". The following is the code in this file. var menuOffsetTop=menuOffsetLeft=submenuOffsetTop=submenuOffsetLeft=submenuOffsetRight=0; var Doc=this.document;var standards=Doc.createElement&&Doc.createTextNode?1:0;...
26
3747
by: asmx126453 | last post by:
Hey Guys, i have a question about that error is there a specfick thing were the error on focus becase i have a DOTNET project and it shows on almost evry page that error if i whanne add something only the name of the document and txtbox is diferent on the other pages Pleas help me this is the compleet error Runtime-fout Microsoft JScript: 'document.OverurenDecl.txtMedewerker' is empty or not an object
0
9541
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
10252
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...
1
10231
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9073
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7565
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
6805
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5463
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...
1
4141
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
2
3759
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.