473,654 Members | 3,108 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Hello World Web Service

Hello,

I recently developed the hello world web service in Visual Studio 2005. If
I right-click on the Service.asmx file that is created, everything works fine
in Visual Studio. After verifying this, I did a Publish Web Site for this
web service. After that, I installed IIS and wanted to view hello world from
another machine to my development machine.

However, after publishing the web site, if I go to look at it from another
box on the network, I get the following error:

The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and
then click the Refresh button, or try again later.

A name was started with an invalid character. Error processing resource
'http://192.168.40.20/XMLService/Serivce.asmx'. Line 1, Position 2.
After looking around on the net for a while, I've tried the following:

\Windows\Micros oft.NET\Framewo rk\v2.0.50727\a spnet_regiis.ex e -i
\Windows\Micros oft.NET\Framewo rk\v2.0.50727\a spnet_regiis.ex e -r

\Windows\Micros oft.NET\Framewo rk\v2.0.50727\r egsvr32 aspnet_isapi.dl l

I tried the above for both version 1.1 and 2.0 even though I using 2.0.

After that didn't seem to work, I tried re-installing/re-pairing version 1.1
and version 2.0 of the .NET framework.

After that didn't work, I tried enabling Access data sources across domains
in IE on the client. However, this didn't seem to work either.

All I want to do is see the page that comes up in Visual Studio 2005 when I
right-click on Service.asmx and select View in Browser from a remote client.

Does anybody have any other ideas?

Thank you,
-- John
Feb 2 '06 #1
1 7427
Well, I think I know what the problem was. I went through all of these steps
again, but this time I installed my virtual directory under \Inetpub\wwwroo t

-- John
"John Thompson" wrote:
Hello,

I recently developed the hello world web service in Visual Studio 2005. If
I right-click on the Service.asmx file that is created, everything works fine
in Visual Studio. After verifying this, I did a Publish Web Site for this
web service. After that, I installed IIS and wanted to view hello world from
another machine to my development machine.

However, after publishing the web site, if I go to look at it from another
box on the network, I get the following error:

The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and
then click the Refresh button, or try again later.

A name was started with an invalid character. Error processing resource
'http://192.168.40.20/XMLService/Serivce.asmx'. Line 1, Position 2.
After looking around on the net for a while, I've tried the following:

\Windows\Micros oft.NET\Framewo rk\v2.0.50727\a spnet_regiis.ex e -i
\Windows\Micros oft.NET\Framewo rk\v2.0.50727\a spnet_regiis.ex e -r

\Windows\Micros oft.NET\Framewo rk\v2.0.50727\r egsvr32 aspnet_isapi.dl l

I tried the above for both version 1.1 and 2.0 even though I using 2.0.

After that didn't seem to work, I tried re-installing/re-pairing version 1.1
and version 2.0 of the .NET framework.

After that didn't work, I tried enabling Access data sources across domains
in IE on the client. However, this didn't seem to work either.

All I want to do is see the page that comes up in Visual Studio 2005 when I
right-click on Service.asmx and select View in Browser from a remote client.

Does anybody have any other ideas?

Thank you,
-- John

Feb 2 '06 #2

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

Similar topics

24
2424
by: Andy Sutorius | last post by:
Has anyone successfully created a Hello World program without using Visual Studio.NET? If so, what IDE did you use and what namespaces did you import? Thanks! Andy Sutorius
6
4683
by: RC | last post by:
Hello World, I am try do call a JavaScript function from XSLT, but I got function not avaible error. See "????" below. Would someone out there tell me how? Thank Q! <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="html" /> <xsl:template match="/">
8
7574
by: vijay | last post by:
Hello, As the subject suggests, I need to print the string in the reverse order. I made the following program: # include<stdio.h> struct llnode { char *info;
1
1146
by: Sean | last post by:
I can't do any of the ASP.NET samples as everytime I run the sample I get a parser error. This is the text. Server Error in '/Hello World' Application. -------------------------------------------------------------------------------- Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file...
1
1370
by: KGarvin | last post by:
Open Visual Studio and create a new ASP.NET Web Services Project. Uncomment the test webmethod (Hello World) in the .asmx file, set as starup file, save and build project and run. Click on the Hello World link in the web page that appears. Co-workers recieve the expected page but I get an error similar to this in the web page (http://localhost/MytestService/Service1.asmx/HelloWorld) System.IO.FileNotFoundException: File or assembly name...
4
6281
by: arnuld | last post by:
i am learning C and doing the exercise 1-1 of K&R2, where K&R ask to remove some parts of programme and experiment with error, so here i go: #include <stdio.h> int main () { printf('hello world\n'); }
11
2995
by: cj | last post by:
Perhaps someone knows how to do this. When I open a new ASP.NET web service application in VS 2008, it opens with a simple Hello World web service already written. I want to see this work. Without changing a thing I built the solution and published it to localhost default web site. How can I test it?????
3
2104
by: =?Utf-8?B?QkM=?= | last post by:
Hello, I just created a Hello World webservice in VB2005 (this is my first webservice ever). I ran it in debug mode and the page that came up said Hello World and said to change the webservice namespace from tempuri.org to something else so that the xml file could be created. I did that. Then it said to make a web reference (say what?) The only web reference I was able to make was to the local solution: Local Host. Then in the...
0
8372
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8814
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...
1
8475
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
8591
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...
0
7304
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
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
5621
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
4149
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
1915
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.