Web Service Install/Uninstall/Reinstall - Not Initialising (tempuri.org)

Discussion in 'ASP .Net Web Services' started by Daniel, Feb 20, 2004.

  1. Daniel

    Daniel Guest

    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 tempuri.org: [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\Temporary 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
    Reboot
    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 ?
    Daniel, Feb 20, 2004
    #1
    1. Advertising

  2. Daniel

    Daniel Guest

    Oops - posted twice.
    Daniel, Feb 20, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?am9obmJkaA==?=

    ASP.Net does not work after IIS uninstall/reinstall

    =?Utf-8?B?am9obmJkaA==?=, May 25, 2004, in forum: ASP .Net
    Replies:
    4
    Views:
    4,086
    =?Utf-8?B?am9obmJkaA==?=
    May 26, 2004
  2. Mike
    Replies:
    0
    Views:
    445
  3. Daniel
    Replies:
    0
    Views:
    125
    Daniel
    Feb 20, 2004
  4. Robert Thomson

    This web service is using http://tempuri.org/ even when its not

    Robert Thomson, Dec 5, 2005, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    221
    Robert Thomson
    Dec 5, 2005
  5. Rahul
    Replies:
    0
    Views:
    575
    Rahul
    Apr 24, 2008
Loading...

Share This Page