Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Creating New Web Service

Reply
Thread Tools

Creating New Web Service

 
 
Fred Herring
Guest
Posts: n/a
 
      12-15-2004
I currently run a web service on my Windows 2003 Server. I want to create a
second service but I have problems when I try to create
(http:\\localhost\webservice2 )it in VB.net 2003. I get an error about some
sharing violation and frontpage extensions. So I am curious about what
issues can crop up when a server hosts more than one web service.

Thanks,
Fred Herring
 
Reply With Quote
 
 
 
 
Dan Rogers
Guest
Posts: n/a
 
      12-15-2004
Hi Fred,

Does the server have Front Page extensions installed? Is this server your
dev machine? What steps are you taking to create the second service?

Dan Rogers
Microsoft Corporation
--------------------
>Thread-Topic: Creating New Web Service
>thread-index: AcTixf66UkXunQkpTH21KgIsHuQljg==
>X-WBNR-Posting-Host: 130.76.32.16
>From: =?Utf-8?B?RnJlZCBIZXJyaW5n?= <>
>Subject: Creating New Web Service
>Date: Wed, 15 Dec 2004 08:49:08 -0800
>Lines: 8
>Message-ID: <2B752D16-DDEB-468A-971C->
>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.aspnet.webservic es
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
>Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
>Xref: cpmsftngxa10.phx.gbl

microsoft.public.dotnet.framework.aspnet.webservic es:27214
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
>
>I currently run a web service on my Windows 2003 Server. I want to create

a
>second service but I have problems when I try to create
>(http:\\localhost\webservice2 )it in VB.net 2003. I get an error about

some
>sharing violation and frontpage extensions. So I am curious about what
>issues can crop up when a server hosts more than one web service.
>
>Thanks,
>Fred Herring
>


 
Reply With Quote
 
 
 
 
Fred Herring
Guest
Posts: n/a
 
      12-15-2004
Thanks for getting back with me, Dan. I am just starting visual studio 2003
and selecting an asp web service as the project type. It then comes up with
text fields that points to http:\\localhost\webservice1. I change the
webservice name to something else and hit enter and then get the error about
not being able to ceate it because of sharing difficulties.

Fred Herring

"Fred Herring" wrote:

> I currently run a web service on my Windows 2003 Server. I want to create a
> second service but I have problems when I try to create
> (http:\\localhost\webservice2 )it in VB.net 2003. I get an error about some
> sharing violation and frontpage extensions. So I am curious about what
> issues can crop up when a server hosts more than one web service.
>
> Thanks,
> Fred Herring

 
Reply With Quote
 
Dan Rogers
Guest
Posts: n/a
 
      12-16-2004
Hi Fred,

If the name you select already exists, you will get error messages like
this. Try a brand new name that couldn't possibly have been chosen before.
Does it still happen?


If it does, try repairing your IIS instalation. File sharing issues
shouldn't be happening unless there are two programs accessing the same
directory or file, and one has it open with a lock.

Dan


--------------------
>Thread-Topic: Creating New Web Service
>thread-index: AcTi3pDa4V9Qe1CWQ8CwXkVteS4/Ig==
>X-WBNR-Posting-Host: 130.76.32.145
>From: =?Utf-8?B?RnJlZCBIZXJyaW5n?= <>
>References: <2B752D16-DDEB-468A-971C->
>Subject: RE: Creating New Web Service
>Date: Wed, 15 Dec 2004 11:45:01 -0800
>Lines: 18
>Message-ID: <D2AEAC0B-4062-40C4-BE42->
>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.aspnet.webservic es
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
>Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
>Xref: cpmsftngxa10.phx.gbl

microsoft.public.dotnet.framework.aspnet.webservic es:27229
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
>
>Thanks for getting back with me, Dan. I am just starting visual studio

2003
>and selecting an asp web service as the project type. It then comes up

with
>text fields that points to http:\\localhost\webservice1. I change the
>webservice name to something else and hit enter and then get the error

about
>not being able to ceate it because of sharing difficulties.
>
>Fred Herring
>
>"Fred Herring" wrote:
>
>> I currently run a web service on my Windows 2003 Server. I want to

create a
>> second service but I have problems when I try to create
>> (http:\\localhost\webservice2 )it in VB.net 2003. I get an error about

some
>> sharing violation and frontpage extensions. So I am curious about what
>> issues can crop up when a server hosts more than one web service.
>>
>> Thanks,
>> Fred Herring

>


 
Reply With Quote
 
Fred Herring
Guest
Posts: n/a
 
      12-16-2004
No, I am careful to give a fresh name for the new service when I try to
create it. I will try resetting iis. My dev. machine is windows server
2003. I currently host my web service and a web page on this server. The
web page shares some folders for files needed by the web page. This is my
system status when I start vb.net and try to create a new web service
application. This is when I get an error message about sharing.

Fred Herring

"Dan Rogers" wrote:

> Hi Fred,
>
> If the name you select already exists, you will get error messages like
> this. Try a brand new name that couldn't possibly have been chosen before.
> Does it still happen?
>
>
> If it does, try repairing your IIS instalation. File sharing issues
> shouldn't be happening unless there are two programs accessing the same
> directory or file, and one has it open with a lock.
>
> Dan
>
>
> --------------------
> >Thread-Topic: Creating New Web Service
> >thread-index: AcTi3pDa4V9Qe1CWQ8CwXkVteS4/Ig==
> >X-WBNR-Posting-Host: 130.76.32.145
> >From: =?Utf-8?B?RnJlZCBIZXJyaW5n?= <>
> >References: <2B752D16-DDEB-468A-971C->
> >Subject: RE: Creating New Web Service
> >Date: Wed, 15 Dec 2004 11:45:01 -0800
> >Lines: 18
> >Message-ID: <D2AEAC0B-4062-40C4-BE42->
> >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.aspnet.webservic es
> >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
> >Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
> >Xref: cpmsftngxa10.phx.gbl

> microsoft.public.dotnet.framework.aspnet.webservic es:27229
> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
> >
> >Thanks for getting back with me, Dan. I am just starting visual studio

> 2003
> >and selecting an asp web service as the project type. It then comes up

> with
> >text fields that points to http:\\localhost\webservice1. I change the
> >webservice name to something else and hit enter and then get the error

> about
> >not being able to ceate it because of sharing difficulties.
> >
> >Fred Herring
> >
> >"Fred Herring" wrote:
> >
> >> I currently run a web service on my Windows 2003 Server. I want to

> create a
> >> second service but I have problems when I try to create
> >> (http:\\localhost\webservice2 )it in VB.net 2003. I get an error about

> some
> >> sharing violation and frontpage extensions. So I am curious about what
> >> issues can crop up when a server hosts more than one web service.
> >>
> >> Thanks,
> >> Fred Herring

> >

>
>

 
Reply With Quote
 
Dan Rogers
Guest
Posts: n/a
 
      12-20-2004
Hi Fred,

Since web services don't return web pages, I suggest you try separating
these into two VROOT's. This way the conflict in the way the applications
get configured for a web service and a web application won't be causing you
issues.

I hope this helps

Dan Rogers
Microsoft Corporation
--------------------
>Thread-Topic: Creating New Web Service
>thread-index: AcTjrip1gLkXnRa7TF+AclxNFC+mwA==
>X-WBNR-Posting-Host: 130.76.32.144
>From: =?Utf-8?B?RnJlZCBIZXJyaW5n?= <>
>References: <2B752D16-DDEB-468A-971C->

<D2AEAC0B-4062-40C4-BE42->
<$z$>
>Subject: RE: Creating New Web Service
>Date: Thu, 16 Dec 2004 12:31:04 -0800
>Lines: 77
>Message-ID: <E589DE8A-7410-4333-BDDA->
>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.aspnet.webservic es
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
>Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
>Xref: cpmsftngxa10.phx.gbl

microsoft.public.dotnet.framework.aspnet.webservic es:27251
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
>
>No, I am careful to give a fresh name for the new service when I try to
>create it. I will try resetting iis. My dev. machine is windows server
>2003. I currently host my web service and a web page on this server. The
>web page shares some folders for files needed by the web page. This is my
>system status when I start vb.net and try to create a new web service
>application. This is when I get an error message about sharing.
>
>Fred Herring
>
>"Dan Rogers" wrote:
>
>> Hi Fred,
>>
>> If the name you select already exists, you will get error messages like
>> this. Try a brand new name that couldn't possibly have been chosen

before.
>> Does it still happen?
>>
>>
>> If it does, try repairing your IIS instalation. File sharing issues
>> shouldn't be happening unless there are two programs accessing the same
>> directory or file, and one has it open with a lock.
>>
>> Dan
>>
>>
>> --------------------
>> >Thread-Topic: Creating New Web Service
>> >thread-index: AcTi3pDa4V9Qe1CWQ8CwXkVteS4/Ig==
>> >X-WBNR-Posting-Host: 130.76.32.145
>> >From: =?Utf-8?B?RnJlZCBIZXJyaW5n?=

<>
>> >References: <2B752D16-DDEB-468A-971C->
>> >Subject: RE: Creating New Web Service
>> >Date: Wed, 15 Dec 2004 11:45:01 -0800
>> >Lines: 18
>> >Message-ID: <D2AEAC0B-4062-40C4-BE42->
>> >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.aspnet.webservic es
>> >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
>> >Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
>> >Xref: cpmsftngxa10.phx.gbl

>> microsoft.public.dotnet.framework.aspnet.webservic es:27229
>> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
>> >
>> >Thanks for getting back with me, Dan. I am just starting visual studio

>> 2003
>> >and selecting an asp web service as the project type. It then comes up

>> with
>> >text fields that points to http:\\localhost\webservice1. I change the
>> >webservice name to something else and hit enter and then get the error

>> about
>> >not being able to ceate it because of sharing difficulties.
>> >
>> >Fred Herring
>> >
>> >"Fred Herring" wrote:
>> >
>> >> I currently run a web service on my Windows 2003 Server. I want to

>> create a
>> >> second service but I have problems when I try to create
>> >> (http:\\localhost\webservice2 )it in VB.net 2003. I get an error

about
>> some
>> >> sharing violation and frontpage extensions. So I am curious about

what
>> >> issues can crop up when a server hosts more than one web service.
>> >>
>> >> Thanks,
>> >> Fred Herring
>> >

>>
>>

>


 
Reply With Quote
 
Fred Herring
Guest
Posts: n/a
 
      12-21-2004
Thanks, currently I have a wwwroot which hold my existing web service. When
vb.net runs a web service project it comes up with \\localhost\Webservice2.
I am confused about how startup a new project and affect the kind of
seperation you described.

Fred

"Dan Rogers" wrote:

> Hi Fred,
>
> Since web services don't return web pages, I suggest you try separating
> these into two VROOT's. This way the conflict in the way the applications
> get configured for a web service and a web application won't be causing you
> issues.
>
> I hope this helps
>
> Dan Rogers
> Microsoft Corporation
> --------------------
> >Thread-Topic: Creating New Web Service
> >thread-index: AcTjrip1gLkXnRa7TF+AclxNFC+mwA==
> >X-WBNR-Posting-Host: 130.76.32.144
> >From: =?Utf-8?B?RnJlZCBIZXJyaW5n?= <>
> >References: <2B752D16-DDEB-468A-971C->

> <D2AEAC0B-4062-40C4-BE42->
> <$z$>
> >Subject: RE: Creating New Web Service
> >Date: Thu, 16 Dec 2004 12:31:04 -0800
> >Lines: 77
> >Message-ID: <E589DE8A-7410-4333-BDDA->
> >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.aspnet.webservic es
> >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
> >Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
> >Xref: cpmsftngxa10.phx.gbl

> microsoft.public.dotnet.framework.aspnet.webservic es:27251
> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
> >
> >No, I am careful to give a fresh name for the new service when I try to
> >create it. I will try resetting iis. My dev. machine is windows server
> >2003. I currently host my web service and a web page on this server. The
> >web page shares some folders for files needed by the web page. This is my
> >system status when I start vb.net and try to create a new web service
> >application. This is when I get an error message about sharing.
> >
> >Fred Herring
> >
> >"Dan Rogers" wrote:
> >
> >> Hi Fred,
> >>
> >> If the name you select already exists, you will get error messages like
> >> this. Try a brand new name that couldn't possibly have been chosen

> before.
> >> Does it still happen?
> >>
> >>
> >> If it does, try repairing your IIS instalation. File sharing issues
> >> shouldn't be happening unless there are two programs accessing the same
> >> directory or file, and one has it open with a lock.
> >>
> >> Dan
> >>
> >>
> >> --------------------
> >> >Thread-Topic: Creating New Web Service
> >> >thread-index: AcTi3pDa4V9Qe1CWQ8CwXkVteS4/Ig==
> >> >X-WBNR-Posting-Host: 130.76.32.145
> >> >From: =?Utf-8?B?RnJlZCBIZXJyaW5n?=

> <>
> >> >References: <2B752D16-DDEB-468A-971C->
> >> >Subject: RE: Creating New Web Service
> >> >Date: Wed, 15 Dec 2004 11:45:01 -0800
> >> >Lines: 18
> >> >Message-ID: <D2AEAC0B-4062-40C4-BE42->
> >> >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.aspnet.webservic es
> >> >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
> >> >Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
> >> >Xref: cpmsftngxa10.phx.gbl
> >> microsoft.public.dotnet.framework.aspnet.webservic es:27229
> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
> >> >
> >> >Thanks for getting back with me, Dan. I am just starting visual studio
> >> 2003
> >> >and selecting an asp web service as the project type. It then comes up
> >> with
> >> >text fields that points to http:\\localhost\webservice1. I change the
> >> >webservice name to something else and hit enter and then get the error
> >> about
> >> >not being able to ceate it because of sharing difficulties.
> >> >
> >> >Fred Herring
> >> >
> >> >"Fred Herring" wrote:
> >> >
> >> >> I currently run a web service on my Windows 2003 Server. I want to
> >> create a
> >> >> second service but I have problems when I try to create
> >> >> (http:\\localhost\webservice2 )it in VB.net 2003. I get an error

> about
> >> some
> >> >> sharing violation and frontpage extensions. So I am curious about

> what
> >> >> issues can crop up when a server hosts more than one web service.
> >> >>
> >> >> Thanks,
> >> >> Fred Herring
> >> >
> >>
> >>

> >

>
>

 
Reply With Quote
 
Dan Rogers
Guest
Posts: n/a
 
      12-21-2004
Hi Fred,

When you create a new Web or Web serivce project with Visual Studio, it
creates an new virtual root directory on the default site in your local IIS
(your wwwroot). The separation I was referring to was to create one
project for your web service, and a different project for your web site
application (the one that has browser pages). You seemed to be trying to
keep all of the HTML, ASP and web service code in one place - which could
cause issues if you aren't really familiar with IIS application
configuration. The easiest thing to do is first set up your web service
project and get it working.

Then in your web application project, create a web reference to the web
service itself, making sure you have a configuration settable URL property
so that you can move off of your development box at some point (although a
proxy bouncing off of localhost would work as long as you always hosted the
web applicatoin and the web service on the same machine).

Hope this helps

Dan
--------------------
>Thread-Topic: Creating New Web Service
>thread-index: AcTneIGcCqMmTOMZRuiabpqAiIreEQ==
>X-WBNR-Posting-Host: 130.76.32.144
>From: =?Utf-8?B?RnJlZCBIZXJyaW5n?= <>
>References: <2B752D16-DDEB-468A-971C->

<D2AEAC0B-4062-40C4-BE42->
<$z$>
<E589DE8A-7410-4333-BDDA->
<>
>Subject: RE: Creating New Web Service
>Date: Tue, 21 Dec 2004 08:17:02 -0800
>Lines: 132
>Message-ID: <CC405455-9497-451E-B2D9->
>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.aspnet.webservic es
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
>Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
>Xref: cpmsftngxa10.phx.gbl

microsoft.public.dotnet.framework.aspnet.webservic es:27328
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
>
>Thanks, currently I have a wwwroot which hold my existing web service.

When
>vb.net runs a web service project it comes up with

\\localhost\Webservice2.
>I am confused about how startup a new project and affect the kind of
>seperation you described.
>
>Fred


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does timer in Web Service Global.asax block my Web Service from processing web-site requests? Leo Violette ASP .Net Web Services 0 04-17-2009 12:39 AM
Creating a Web Service (Service, not Client) from WSDL Bert Leu ASP .Net 1 11-23-2007 08:29 PM
Creating a Web Service (Service, not Client) from WSDL Bert Leu ASP .Net Web Services 1 11-23-2007 07:59 PM
InvocationTargetException when calling "new Service()" in Axis web service to call another web service Michael Averstegge Java 0 01-10-2006 11:05 PM
Error Creating New ASP.NET web service =?Utf-8?B?TmljayBQcnVkaG9l?= ASP .Net 2 02-17-2004 02:56 PM



Advertisments