I've a server with Windows Server 2003 R2 installed and there are multiple websites hosted on that server. I am getting a strange error pop up every time I try to change settings for Website Identification (Host Headers Settings). The pop up says "The handle
is invalid". This error pop up comes on all websites hosted at that server and if I close it or click on OK button, it pops up again and again and dont let me to do anything else and finally I have to kill mmc.exe process from Task Manager to get rid of it.
Kindly, guide me how to get rid of this? Is there any problem with IIS?
I tried the solution you provided with no luck. As I told you multiple websites hosted on that server and I checked Hosts file. 1st entry is 127.0.0.1 localhost and 2nd entry is 1 of the website hosted. Only these two entries available in Hosts file.
I also restarted IIS Server, checked for connection settings for static IP too. There is no problem with IP and connection settings too.
Can you please suggest some other solution please?
You do not happen to have an error message in the event log, that could tell us more?
Please also tell us if this happens only when you want to change "Website Identification", or if you see it in other places (for example view the properties of the website).
Can you also try to run IIS Manager as an administrator. The error you see can happen if the user account does not have write permissions on the configuration files (but in that case i would have expected the message somewhere else as well). So i would like
to eliminate that.
Do you run any AV software that could limit access to files? If so, try to disable it.
No, I have not found any error message in event log. I repeated the process that creates this error today (27th May, 2011) and there is no error entry in event log under today date.
It happens only when I want to change "Website Identification", rest of the properties I can change successfully without any error, like I just tried changing Default Document for the website and it saved and changed successfully.
I think you are telling me the way to find "Bindings" for IIS 7.0 but I've IIS 6.0 on my Windows Server 2003 R2. How can I check "Bindings" in IIS 6.0?
exorbitant
7 Posts
Website Identification - The handle is invalid
May 27, 2011 06:54 AM|LINK
Hi!
I've a server with Windows Server 2003 R2 installed and there are multiple websites hosted on that server. I am getting a strange error pop up every time I try to change settings for Website Identification (Host Headers Settings). The pop up says "The handle is invalid". This error pop up comes on all websites hosted at that server and if I close it or click on OK button, it pops up again and again and dont let me to do anything else and finally I have to kill mmc.exe process from Task Manager to get rid of it.
Kindly, guide me how to get rid of this? Is there any problem with IIS?
Thanks,
HCamper
8048 Posts
Re: Website Identification - The handle is invalid
May 27, 2011 09:07 AM|LINK
Hello,
You appear to have conflicts with hosts and Network configuration.
Could you check the hosts file located in the C:\Windows\Drivers\etc folder and open with notepad
and check for IP Addresses and Host Names that have been added or modified.
I suggest you start with the default entry for locahost as shown below:
127.0.0.1 locahost
Use # comment for other entries if they exist.
Then restart IIS Server you can use command line iisreset / restart.
Then check your Network Connection settings for Static IP Addresses and conflicts.
After the restart and removal of Network Conflicts try the IIS Server Manager.
Post results and questions.
Martin
Community Member Award 2011
exorbitant
7 Posts
Re: Website Identification - The handle is invalid
May 27, 2011 09:42 AM|LINK
Thanks Martin,
I tried the solution you provided with no luck. As I told you multiple websites hosted on that server and I checked Hosts file. 1st entry is 127.0.0.1 localhost and 2nd entry is 1 of the website hosted. Only these two entries available in Hosts file.
I also restarted IIS Server, checked for connection settings for static IP too. There is no problem with IP and connection settings too.
Can you please suggest some other solution please?
HCamper
8048 Posts
Re: Website Identification - The handle is invalid
May 27, 2011 10:06 AM|LINK
Hello,
Could you check the IIS Server "Bindings" and see that http is using wildcard "*" for IP Address at port 80.
I suggest that to trouble shoot what is happening
you should get Process Monitor from Systems Internals http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
and monitor IIS Server for access problems using this http://www.iislogs.com/articles/processmonitorw3wp/ guide.
You should also check IIS Server httperror logs for messages.
Martin
Community Member Award 2011
KristoferG
1343 Posts
Moderator
Re: Website Identification - The handle is invalid
May 27, 2011 10:55 AM|LINK
Hello,
You do not happen to have an error message in the event log, that could tell us more?
Please also tell us if this happens only when you want to change "Website Identification", or if you see it in other places (for example view the properties of the website).
Can you also try to run IIS Manager as an administrator. The error you see can happen if the user account does not have write permissions on the configuration files (but in that case i would have expected the message somewhere else as well). So i would like to eliminate that.
Do you run any AV software that could limit access to files? If so, try to disable it.
http://www.it-notebook.org
exorbitant
7 Posts
Re: Website Identification - The handle is invalid
May 27, 2011 12:35 PM|LINK
KristoferG,
No, I have not found any error message in event log. I repeated the process that creates this error today (27th May, 2011) and there is no error entry in event log under today date.
It happens only when I want to change "Website Identification", rest of the properties I can change successfully without any error, like I just tried changing Default Document for the website and it saved and changed successfully.
I am running IIS Manager as Administrator.
No, no AV Software limiting access to files.
exorbitant
7 Posts
Re: Website Identification - The handle is invalid
May 27, 2011 12:36 PM|LINK
How can I check this?
HCamper
8048 Posts
Re: Website Identification - The handle is invalid
May 27, 2011 12:57 PM|LINK
Hello,
To check or change "Bindings" use IIS Manager you should see
on the Right Side a Label Bindings for the Default Site.
Martin
Community Member Award 2011
exorbitant
7 Posts
Re: Website Identification - The handle is invalid
May 30, 2011 06:51 AM|LINK
HCamper!
I think you are telling me the way to find "Bindings" for IIS 7.0 but I've IIS 6.0 on my Windows Server 2003 R2. How can I check "Bindings" in IIS 6.0?
HCamper
8048 Posts
Re: Website Identification - The handle is invalid
May 30, 2011 09:55 AM|LINK
Hello,
Sorry could not find a good graphics image for IIS InetManager showing the Configuration.
I did find article with step-by-step configuration:
The Bindings and configuration are show in
Microsoft Support Article here http://support.microsoft.com/default.aspx?scid=kb;en-us;324287
using the Guide go to the Web Site Properties and Change the Host Name and IP Address the pair are the Bindings
for that Web Site(s) and follow the entries in Hosts file.
Martin
Community Member Award 2011