473,321 Members | 1,708 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

deployment of .net web service does not work

Can you give me some suggestions of why the xml web service is not working?

I have an xml web service that works in my visual studio. net 1.1
environment. I setup this project up for deployment doing the following steps:
1. add a web setup project called "testaddr".
2. in file system window, select Web Application folder.
3. in the left pane of the file system window, right-click web application,
point to add, and then click output project.
4. Select Primary output and content files and then click OK.
5. in solution explorer, right click Build on "tested".
6. I double click on testaddr.msi.
**I have also tried doubling clicking on SETUP.EXE**
7. The web service installs on my workstation fine and it runs great.
However on the production server when I key in the following information:
"http:/ip address of production server/testaddr/Validate.asmx"

This is what is displayed:
<%@ WebService Language="vb" Codebehind="VAddr.asmx.vb"
Class="VAddrWebService.ValidateAddr" %>

The following is what the members in the virtual directory under IIS look
like:
1. bin directory that contains:
address.dll
vddresswebservice.dll
2. at the same level there is also the following members:
web.config,
global.asax,
and ValidateAddr.asmx.

If you can not see anything wrong with the above then maybe it is the
following:

The server I am going to install on has never been used for production.
Maybe there are items that need to be installed on the server to run besides
iis, net 1.1 framework, and all the latest windows and windows 2000 server
updates.

Let me know what you think.

Thanks for your assistance!
Nov 23 '05 #1
1 3454
What seems to be happening is you aren't deploying to a VRoot that is fully
set up to work as a web service application. This is why you see the asmx
page rather than the service being launched. Since the .asmx extension
isn't associated with any ISAPI filter, etc, it is treated like a text file
(the default).

Try using File/Publish as the means to deploy your service to production.
While this isn't a shrink wrap approach, it will create a properly
configured vroot or site (as appropriate) and configure the IIS application
properly. For your MSI, you will need to make sure that the right IIS
administration and application settings on the vroot are accomplished (and
off the top of my head, i don't have the list of steps - perhaps others
have been here.)

I hope this helps

Dan Rogers
Microsoft Corporation
--------------------
Thread-Topic: deployment of .net web service does not work
thread-index: AcTb8B45Z0OD3kS9SxumZ62K/r7W7w==
X-WBNR-Posting-Host: 66.37.251.192
From: =?Utf-8?B?V2VuZHkgRWxpemFiZXRo?=
<We************@discussions.microsoft.com>
Subject: deployment of .net web service does not work
Date: Mon, 6 Dec 2004 16:03:01 -0800
Lines: 43
Message-ID: <F8**********************************@microsoft.co m>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGXA0
3.phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.webservices:7919
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

Can you give me some suggestions of why the xml web service is not
working?

I have an xml web service that works in my visual studio. net 1.1
environment. I setup this project up for deployment doing the following
steps:
1. add a web setup project called "testaddr".
2. in file system window, select Web Application folder.
3. in the left pane of the file system window, right-click web application,
point to add, and then click output project.
4. Select Primary output and content files and then click OK.
5. in solution explorer, right click Build on "tested".
6. I double click on testaddr.msi.
**I have also tried doubling clicking on SETUP.EXE**
7. The web service installs on my workstation fine and it runs great.
However on the production server when I key in the following information:
"http:/ip address of production server/testaddr/Validate.asmx"

This is what is displayed:
<%@ WebService Language="vb" Codebehind="VAddr.asmx.vb"
Class="VAddrWebService.ValidateAddr" %>

The following is what the members in the virtual directory under IIS look
like:
1. bin directory that contains:
address.dll
vddresswebservice.dll
2. at the same level there is also the following members:
web.config,
global.asax,
and ValidateAddr.asmx.

If you can not see anything wrong with the above then maybe it is the
following:

The server I am going to install on has never been used for production.
Maybe there are items that need to be installed on the server to run
besides
iis, net 1.1 framework, and all the latest windows and windows 2000 server
updates.

Let me know what you think.

Thanks for your assistance!

Nov 23 '05 #2

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

Similar topics

3
by: Marek | last post by:
Hi there, my WinForm application has to be installed in "no-touch-deployment" mode, so users can run it from the web. I need to read application's .config file but it does not work in ...
1
by: Wendy Elizabeth | last post by:
Can you give me some suggestions of why the xml web service is not working? I have an xml web service that works in my visual studio. net 1.1 environment. I setup this project up for deployment...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
0
by: Scanner2001 | last post by:
I have a web service and a deployment project. Inside the deployment project, is a custom action to create some database related items such as stored procedures. I have this packaged as an msi, and...
1
by: Jesse Albert | last post by:
I'm having a complete brainfart so I'll just let you all know the issue and listen to any possible solution you can offer without asking for a specific way to do this ;) I have a Solution ( VB...
1
by: SKarnis | last post by:
I have created a simple ASP.NET Web Service with VB on Win XP Pro SP2, IIS 5.1, .NET 1.1. Service works in Visual Studio environment. Created an deployment package. Tried running the deployment...
2
by: russ.haley | last post by:
I have created a small windows service in C# that installs using the service installer classes and a deployment project. I have been able to install the service but the uninstallation does not...
6
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is...
1
by: kirk.quinbar | last post by:
Have you ever used a .net deployment project to install a windows service? If so, then i ran into an issue recently that maybe you could shed some light on. I am sure I probably did something...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.