473,503 Members | 1,646 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\Microsoft.NET\Framework\v2.0.50727\aspnet _regiis.exe -i
\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet _regiis.exe -r

\Windows\Microsoft.NET\Framework\v2.0.50727\regsvr 32 aspnet_isapi.dll

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 7415
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\wwwroot

-- 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\Microsoft.NET\Framework\v2.0.50727\aspnet _regiis.exe -i
\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet _regiis.exe -r

\Windows\Microsoft.NET\Framework\v2.0.50727\regsvr 32 aspnet_isapi.dll

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
2382
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
4665
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...
8
7547
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
1142
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....
1
1362
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...
4
6276
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...
11
2977
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. ...
3
2096
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...
0
7198
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,...
0
7072
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...
0
7271
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,...
0
7319
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...
1
6979
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...
0
4666
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...
0
3149
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1498
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 ...
1
730
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.