473,466 Members | 1,320 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Deploying Web Services

I've written a Web service. It runs fine from Visual Studio 2005 on my
local machine. Seems to be running in some kind of internal Web server or
something, because I have a funny icon in the system tray and can't run the
service by typing a url in my browser. But VS doesn't seem to have a
problem.

So now I want to deploy it to the server. I copied the entire project file
system to the server (because I couldn't work out what else to do), then
tried to create a Web reference to the service from another project. I get
the following error:

The document at the url
http://biztalk01/ItregWebService/ItregWebService.asmx was not recognized as
a known document type.
The error message from each known type may help you fix the problem:
- Report from 'DISCO Document' is 'Name cannot begin with the '%' character,
hexadecimal value 0x25. Line 1, position 2.'.
- Report from 'WSDL Document' is 'There is an error in XML document (1,
2).'.
- Name cannot begin with the '%' character, hexadecimal value 0x25. Line
1, position 2.
- Report from 'XML Schema' is 'Name cannot begin with the '%' character,
hexadecimal value 0x25. Line 1, position 2.'.

The display in the little browser window that should be showing me the
interface methods says:

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://biztalk01/ItregWebService/ItregWebService.a...

<%@ WebService Language="C#" CodeBehind="~/App_Code/Service.cs"
Class="ItregWebService" %>
-^Can anyone explain to me what I'm supposed to do to deploy a Web service?
It was easy in VS2003 and .NET 1.1. What's going on?I tried the help and
Google, but couldn't find anything I could understand.ThanksPeter
Mar 22 '07 #1
1 1229
Apologies to the group. I've sorted it.

It wanted the ASP.NET version setting explicitly in the IIS properties for
the Web site.
Peter

"Peter Bradley" <pb******@uwic.ac.ukwrote in message
news:uS**************@TK2MSFTNGP02.phx.gbl...
I've written a Web service. It runs fine from Visual Studio 2005 on my
local machine. Seems to be running in some kind of internal Web server or
something, because I have a funny icon in the system tray and can't run
the service by typing a url in my browser. But VS doesn't seem to have a
problem.

So now I want to deploy it to the server. I copied the entire project
file system to the server (because I couldn't work out what else to do),
then tried to create a Web reference to the service from another project.
I get the following error:

The document at the url
http://biztalk01/ItregWebService/ItregWebService.asmx was not recognized
as a known document type.
The error message from each known type may help you fix the problem:
- Report from 'DISCO Document' is 'Name cannot begin with the '%'
character, hexadecimal value 0x25. Line 1, position 2.'.
- Report from 'WSDL Document' is 'There is an error in XML document (1,
2).'.
- Name cannot begin with the '%' character, hexadecimal value 0x25. Line
1, position 2.
- Report from 'XML Schema' is 'Name cannot begin with the '%' character,
hexadecimal value 0x25. Line 1, position 2.'.

The display in the little browser window that should be showing me the
interface methods says:

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://biztalk01/ItregWebService/ItregWebService.a...

<%@ WebService Language="C#" CodeBehind="~/App_Code/Service.cs"
Class="ItregWebService" %>
-^Can anyone explain to me what I'm supposed to do to deploy a Web
service? It was easy in VS2003 and .NET 1.1. What's going on?I tried the
help and Google, but couldn't find anything I could understand.ThanksPeter

Mar 22 '07 #2

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

Similar topics

3
by: Chris Dunaway | last post by:
A quick scan of the group did not immediately reveal an answer to my questions so here goes. First let me describe my app and then I'll ask the questions. I am writing a Windows Forms App (not...
10
by: Bryan Dickerson | last post by:
I fairly have my Web Service working the way that I want, so my next step will be to deploy it on a server. Do I just add a deployment/install project, build it and install it on the server? ...
6
by: Ryan | last post by:
Is there any way to save a VB 2005 created application as an .MSI install file? The only method I see is to publish as a .EXE. Curious because I want to push out an application with Group Policy....
0
by: =?Utf-8?B?TWFuaQ==?= | last post by:
Hi All, Problem in deploying my WebService developed using Asp.net WebServices 2005. I have designed simple WebService using Asp.net Webservices 2.0 , The webservice look this , using System;...
0
by: Laxmikumar | last post by:
Iam new to web services, Iam using net beans-5.5.1 IDE whlie deploying the web service application the following error is occured. can anyone help me..??? please. init: deps-module-jar:...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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,...
0
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
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.