Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Web Service Install/Uninstall/Reinstall - Not Initialising (

Thread Tools

Web Service Install/Uninstall/Reinstall - Not Initialising (

Posts: n/a
Software Description
Area :- IIS 5.1 \ .NET Framework 2003 (1.1) \ Web Service
We have developed a WEB Service that is responsible for receiving data from various .NET sources
Language = c# - not that it should matter
The WEB Service is installed within IIS using the usual setup program as provided for in the MS Visual Studio.NET 2003 IDE
A virtual folder is created under wwwroot
The WEB Service is running under it's own namespace - NOT [WebService(Namespace="http://oururl/webservices/")
It has 2 functions
It CREATES a file in the Virtual Folder for configuration settings - this file is not placed there by the install program
Operation is normal until you uninstall, and then re-install the WEB Service

When the WEB Service is installed once on a clean machine (Just set-up), it works fine
When the WEB Service is un-installed, and then re-installed, the WEB Service will not initialize properly

There are no compile error logs within the sub-directories in C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET Files\... In-fact, everything looks fine

The following steps produced some unexpected and strange results
Uninstall the WEB Service. [Checked and the Virtual directory has been removed
Reboot the machine
Install the WEB Service again
Test with IE on the local machine. = Not Work
Give the ASPNET login full access to the Virtual directory
Test with IE on local machine = Works fine
Restart the machine
Test with IE on the local machine. = Not Work
Verify that the permissions do in fact still exist. = Yes
Remove the ASPNET login from the Virtual directory
Test with IE on local machine = Works fine
Test with IE on the local machine. = Not Work
And so on and so on
In fact - changing permissions to any login/group that has access to the Virtual Folder (incl. everybody) makes it work fine, untill the machine is rebooted. Stopping and starting IIS does not change this state

Further - The following speps fixed the problem in Win XP Pro
1 - Uninstall the WEB Service
2 - Ensure that the Virtual Folder has been removed
3 - Use MetaEdit to remove the WebService form IIS's metabase
4 - Use Regedit to remove the WebService from the registry
5 - Uninstall .NET 1.1 framework
6 - Reboot
7 - Install .NET 1.1. framework
8 - Install the WEB Service again
From here on out - it works fine (XP Pro only)(IIS 5.5) - These steps have no affect on Win 2000 Server (IIS 5.0)
NOTE - Cannot replicate problem in Win 2003 (IIS 6) - always works

Also tried to use the "Fix Application" facility in the .Net 1.1 Configuration tool using the Web.Config file as the app to fix - no help whatsoever

Unfortunately this is running in production on 5 Win 2000 servers, one of which the web service was uninstalled and re-installed on - so the XP Pro fix is not going to help and our client refuses to change to Win 2003

Anybody else have this happening
Any Ideas ?
Reply With Quote
Posts: n/a
Oops - posted twice.
Reply With Quote

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
One of my signals not initialising VHDL 1 04-11-2007 01:16 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
Dynamically Created User Controls not Initialising John Sewell ASP .Net Web Controls 1 09-05-2004 01:59 PM
Initialising a signal jan VHDL 3 12-23-2003 01:25 PM