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

Home Posts Topics Members FAQ

Web Service Deployment

37 New Member
Hi,

I need help in deploying a web service. I already have a working web service on a server, I want to create a local copy on a machine. I have copied the necessary files required for the web service locally on the machine, the \bin folder, global.asax file, the asmx file and the web.config file. I added it to the IIS and also create it as an application on the property page. But as i try to access the web service using <http://localhost/appname/service.asmx>, all i can see is the actual content of asmx <%@ WebService Language="vb" CodeBehind="name.asmx.vb" Class="name.service" %>

I need advice, help on steps to do to make the IIS execute the asmx file rather than showing me the actual contents of the file.

Thank you in advance.
Oct 31 '06 #1
2 938
mdaRock
26 New Member
Dear Rgb,

is it on the same machine where you develop the web service??

if not the i guess you have one of the following problem

1) need to register the asp.net on IIS:
%DotNetFrameworkPath%\aspnet_regiis /i

2) you use a folder other than wwwroot under inetpub:
add to security tab page the account aspnet account

if not please explain more.

Regards.


Hi,

I need help in deploying a web service. I already have a working web service on a server, I want to create a local copy on a machine. I have copied the necessary files required for the web service locally on the machine, the \bin folder, global.asax file, the asmx file and the web.config file. I added it to the IIS and also create it as an application on the property page. But as i try to access the web service using <http://localhost/appname/service.asmx>, all i can see is the actual content of asmx <%@ WebService Language="vb" CodeBehind="name.asmx.vb" Class="name.service" %>

I need advice, help on steps to do to make the IIS execute the asmx file rather than showing me the actual contents of the file.

Thank you in advance.
Nov 1 '06 #2
rgb
37 New Member
Dear Rgb,

is it on the same machine where you develop the web service??

if not the i guess you have one of the following problem

1) need to register the asp.net on IIS:
%DotNetFrameworkPath%\aspnet_regiis /i

2) you use a folder other than wwwroot under inetpub:
add to security tab page the account aspnet account

if not please explain more.

Regards.

Hi mdaRock,

I discovered that I was using a faulty machine (errors in some MS updates previously) and by simply re-setting up the IIS and NET framework, all the components worked properly.

Thanks for your advice.
Nov 1 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: krisk | last post by:
Could not find ansewr: in ProjectInstaller, RunInstallerAttribute: ..... this.serviceInstaller1.ServiceName = MyServiceName; in the code: public class MyService :...
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...
2
by: raghavendra | last post by:
Hi, How to run automatically windows service by using setup deployment insatllation script using visual studio 2003.? What i did is :-- 1. created a windows service & tested the same. 2....
3
by: Jeremy S. | last post by:
On my dev machine (XP/Pro with VS.NET 2003) I have been developing a Windows Service and installing it on the local machine by opening the Visual Studio Command Prompt and then executing . Now I...
0
by: yawnb | last post by:
I have a windows service written in C++ .NET. I am able to install it fine from the command prompt with "service.exe" -Install. I added a deployment project with a custom action and selected the...
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...
2
by: Brian Cuthie | last post by:
Please excuse me if this is an often asked question, but I've been unable to locate an answer. I have a web service that I've packaged up using a VS.NET 2003 "Web Service Deployment" project....
2
by: wph101larrya | last post by:
I have a developed service and client application running on a Vista machine in IIS7 in the Visual Studio 2008 beta 2 with .NET 3.5 framework. I am trying to deploy the service app to a test...
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...
2
by: Mika M | last post by:
I'm doing Windows Service programming using C# 2005. My solution contains Windows Service project. Then I added Setup and Deployment project into the same solution. Both service- and Setup and...
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
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
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
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
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
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...
1
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...
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...

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.