473,324 Members | 2,501 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,324 software developers and data experts.

Error when creating Web Service

Opa
When creating a new web service, I get the following error:

Visual Studio .net cannot create or open the application. Web site
'http://localhost/WDWS' not started.

The World Wide Web Publish service is started prior to attempting to create
a new web service with vs.net. After I get this error, the service stops.

Here are my steps:

1) I created a virtual directory call WDWS from the Default Web Site root in
the Internet Information Services. (This alias points to a physical directory
with the same name)

2) From VS.NET I choose File -> New -> Project and then select ASP.NET Web
Service

3) I modify the location property to http://localhost/WDWS
(At this point, my default site is up and running.)

4) I click OK.

I get the error and the WWW Publishing service is stopped.

Any ideas of what is happening?

I check the event logs and nothing shows

Thanks a lot.

Opa



Nov 21 '05 #1
9 1847
Hi Opa,
What does IE return when you open the web service using it?
Are you sure that there is *nothing* in the event logs (Application, Security, System)

Regards,
Martin Kulov
www.codeattest.com
Nov 21 '05 #2
Opa
What do you mean, I can't create the web service at all.
The wizard in .net give the error that I described.

"Martin Kulov" wrote:
Hi Opa,
What does IE return when you open the web service using it?
Are you sure that there is *nothing* in the event logs (Application, Security, System)

Regards,
Martin Kulov
www.codeattest.com

Nov 21 '05 #3
Hi Opa,

I did not understand that the wizard can not complete at all, sorry.
Can you create other web projects at all? If you create http://localhost/WDWS1 will be ok? Are you a member of VS Developers group?

Regards,
Martin Kulov
www.codeattest.com

Nov 21 '05 #4
Opa
No, I can't create any web service project.
The wizard always stops the WWW Publishing (IIS) service, then it complains
that the website is not running.

Does anyone know what is going on?
What is the VS Developers group
"Martin Kulov" wrote:
Hi Opa,

I did not understand that the wizard can not complete at all, sorry.
Can you create other web projects at all? If you create http://localhost/WDWS1 will be ok? Are you a member of VS Developers group?

Regards,
Martin Kulov
www.codeattest.com

Nov 21 '05 #5
Opa
Has anyone had this problem before. I've been stuck for two days.
Any help is greatly appreciated.

"Martin Kulov" wrote:
Hi Opa,

I did not understand that the wizard can not complete at all, sorry.
Can you create other web projects at all? If you create http://localhost/WDWS1 will be ok? Are you a member of VS Developers group?

Regards,
Martin Kulov
www.codeattest.com

Nov 21 '05 #6
Can you create a web project (NOT a service)?

What if you don't change location property, but leave the default?

Jeff
"Opa" <Op*@discussions.microsoft.com> wrote in message
news:5C**********************************@microsof t.com...
Has anyone had this problem before. I've been stuck for two days.
Any help is greatly appreciated.

"Martin Kulov" wrote:
Hi Opa,

I did not understand that the wizard can not complete at all, sorry.
Can you create other web projects at all? If you create http://localhost/WDWS1 will be ok? Are you a member of VS Developers group?
Regards,
Martin Kulov
www.codeattest.com

Nov 21 '05 #7
Opa
Hi,

I also tried creating a regular web project with the default name and the
same thing happens. The IIS (WWW Publishing ) service is stopped by the
wizard.
It was running before I tried to create a new web project. This is really
bizarre.
Are there log files generated somewhere, where I can see what is going on.

Does anyone know if there are other services WWW Publishing depends on. I
disabled some services like FTP, SMTP and others. I'm not sure if this is
the problem.

Thanks


"Jeff Dillon" wrote:
Can you create a web project (NOT a service)?

What if you don't change location property, but leave the default?

Jeff
"Opa" <Op*@discussions.microsoft.com> wrote in message
news:5C**********************************@microsof t.com...
Has anyone had this problem before. I've been stuck for two days.
Any help is greatly appreciated.

"Martin Kulov" wrote:
Hi Opa,

I did not understand that the wizard can not complete at all, sorry.
Can you create other web projects at all? If you create http://localhost/WDWS1 will be ok? Are you a member of VS Developers group?
Regards,
Martin Kulov
www.codeattest.com


Nov 21 '05 #8

Hey there,

I assume that you shutdown your machine everynight... however if you don't
run "iisreset".

Another thought... I noticed that you are using your 'Default Website'.
Create another website on your machine that uses another port (that isn't
being used). Create another virtual directory (as you explained before)...
and try to create the web service project in VS .Net pointing to that virtual
directory.

Be sure that your AppPool ,that corresponds to your website, is setup
correctly ie. identity

Hope this helps....

"Opa" wrote:
Hi,

I also tried creating a regular web project with the default name and the
same thing happens. The IIS (WWW Publishing ) service is stopped by the
wizard.
It was running before I tried to create a new web project. This is really
bizarre.
Are there log files generated somewhere, where I can see what is going on.

Does anyone know if there are other services WWW Publishing depends on. I
disabled some services like FTP, SMTP and others. I'm not sure if this is
the problem.

Thanks


"Jeff Dillon" wrote:
Can you create a web project (NOT a service)?

What if you don't change location property, but leave the default?

Jeff
"Opa" <Op*@discussions.microsoft.com> wrote in message
news:5C**********************************@microsof t.com...
Has anyone had this problem before. I've been stuck for two days.
Any help is greatly appreciated.

"Martin Kulov" wrote:

> Hi Opa,
>
> I did not understand that the wizard can not complete at all, sorry.
> Can you create other web projects at all? If you create

http://localhost/WDWS1 will be ok? Are you a member of VS Developers group?
>
> Regards,
> Martin Kulov
> www.codeattest.com
>
>


Nov 21 '05 #9
What does the Event Log say?

Jeff
"Opa" <Op*@discussions.microsoft.com> wrote in message
news:7E**********************************@microsof t.com...
Hi,

I also tried creating a regular web project with the default name and the
same thing happens. The IIS (WWW Publishing ) service is stopped by the
wizard.
It was running before I tried to create a new web project. This is really
bizarre.
Are there log files generated somewhere, where I can see what is going on.

Does anyone know if there are other services WWW Publishing depends on. I
disabled some services like FTP, SMTP and others. I'm not sure if this is
the problem.

Thanks


"Jeff Dillon" wrote:
Can you create a web project (NOT a service)?

What if you don't change location property, but leave the default?

Jeff
"Opa" <Op*@discussions.microsoft.com> wrote in message
news:5C**********************************@microsof t.com...
Has anyone had this problem before. I've been stuck for two days.
Any help is greatly appreciated.

"Martin Kulov" wrote:

> Hi Opa,
>
> I did not understand that the wizard can not complete at all, sorry.
> Can you create other web projects at all? If you create

http://localhost/WDWS1 will be ok? Are you a member of VS Developers group?
>
> Regards,
> Martin Kulov
> www.codeattest.com
>
>


Nov 21 '05 #10

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

Similar topics

2
by: René Beumer | last post by:
I am trying to install a windows service written in .net 2003 on my Windows 2000 computer. I have followed the walkthru given in msdn but the service fails to install with 'requested registry...
5
by: azgoddess1 | last post by:
During the installation I get these error messages: ***** SQL1390C The environment variable DB2Instance is not defined or is invalid An error ocured while loading the command "C:\Program...
11
by: Wolfgang Kaml | last post by:
I am not sure if this is more of an expert question, but I am sure that they are out there. I'd like to setup a general application or bin directory on my Win2003.Net Server that will hold some...
0
by: Peter D. Dunlap | last post by:
I have a number of web sites on my 2003 server, each of the independent sites (i.e., not subdirectories of the localhost site). The way I have always set these up in the past is: 1. Create a...
5
by: Stu Carter | last post by:
Hi, ENV: Windows 2003 Server SP1 (+all updates), VS 2003, .Net 1.1 SP1 We've got an ASP.Net web application using State Service. All is fine until we tried to use the app through a virtual...
0
by: Kevin | last post by:
I'm writing a service in VB.NET. Reference the following code: Dim oStreamWriter As StreamWriter .... .... .... oStreamWriter = File.CreateText(TempLogFile) If Err.Number <> 0 Then...
5
by: snicks | last post by:
I'm trying to exec a program external to my ASP.NET app using the following code. The external app is a VB.NET application. Dim sPPTOut As String sPPTOut = MDEPDirStr + sID + ".ppt" Dim p As...
1
by: =?Utf-8?B?cm9zczYxMw==?= | last post by:
I'm puzzled by an error message encountered while creating a Windows Service. In particular, I'm creating a second Windows Service within a Windows Service project, using Visual Studio 2005. The...
3
by: Lance Wynn | last post by:
Hello, I am receiving this error when trying to instantiate a webservice component. I have 2 development machines, both are XP sp2 with VS 2008 installed. On one machine, the code works fine. On...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
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: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
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: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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.