472,973 Members | 2,367 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,973 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 3428
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: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.