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 9 1894
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
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
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
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
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
Can you create a web project (NOT a service)?
What if you don't change location property, but leave the default?
Jeff
"Opa" <Op*@discussion s.microsoft.com > wrote in message
news:5C******** *************** ***********@mic rosoft.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
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*@discussion s.microsoft.com > wrote in message news:5C******** *************** ***********@mic rosoft.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
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*@discussion s.microsoft.com > wrote in message news:5C******** *************** ***********@mic rosoft.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 > >
What does the Event Log say?
Jeff
"Opa" <Op*@discussion s.microsoft.com > wrote in message
news:7E******** *************** ***********@mic rosoft.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*@discussion s.microsoft.com > wrote in message news:5C******** *************** ***********@mic rosoft.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 > > This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 access is not allowed' (using both InstallUtil or
by creating an installer).
I have tracked the registry access failure using RegMon and found that it
fails on
|
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
Files\IBM\SQLLIB\bin\db2.exe CREATE TOOLS CATALOG SYSTOOLS USE
EXISITING DATABASE DWCTRLDB FORCE" to initialize and\or migrate the DB2
tools catalog database. The return value is "5104".
|
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 useful utils that more pages on that server can
use.
As an example, I have created a Page Counter class that opens an Access .mdb
file, counts the current entries for that page, and adds a new entry with
some information regarding the current...
|
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 directory "MySiteName" and a subdirectory "Site".
2. Share the "Site" subdirectory is "MySiteNameSite$", and give the
local administrators group full access to the share. (The login I run
under is a member of that group.)
|
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 directory with a space in it.
e.g. 'http://localhost/My%20App'.
The following exception is thrown:
----------
| |
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
EventLog.WriteEntry("LogService", "Error Creating Log File: " & _
TempLogFile & vbCrLf & _
|
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 New System.Diagnostics.Process
'p.Start(MDEPDirStr & "macrun.exe", sPPTOut)
p.Start("C:\WINDOWS\SYSTEM32\CALC.EXE")
'p.Start("C:\WINDOWS\SYSTEM32\macrun.exe", sPPTOut)
|
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 first service works fine.
The second service appears to be registered correctly; yet I get the "System
error 1083 has occurred." doing a "NET START ServiceName" in the DOS window
along with:
"The executable program that this service is...
|
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 the other machine I get the error upon
instantiating the service client. I add the reference by choosing Add
Service Reference from the project menu, and pointing to the remote wsdl
file. I can't seem to find what the difference between the two...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |