CFF KB - Carrz-Fox-Fire Promotions Knowledge Base
CFF KB is all about 1 thing: The Sharing of Knowledge and the Power we gain from it.Knowledge Base
- Breadrumbs:
IIS shared config - object reference not set to an instance of an object
- Article ID:
4246 - Date Created
Tuesday, April 26, 2022 - Last Updated
Tuesday, April 26, 2022 - This Article Has been Viewed
367 times - Short Desc
ISS Shared Configuration can cause catastrophic issues within IIS Management if there is a difference in the child servers setup compared to the primary server. - Details
Using Shared Configuration in IIS can at times cause the following error.object reference not set to an instance of an object - Recreate Issue
Scenario #1:
In this scenario, we will look at a server with many websites. When you use the Shared Configuration, one or more of the following are true.
#1a: A website is [Stopped] on the primary server but is [Started] on the child servers.
#1b: A website is named differently on the primary server than on the child servers. - Resolve Issue
Scenario #1:
#1a: Click on the [Sites] folder in the troubled child server.
Select the site which is disabled on the primary server.
On the Right-panel
Under [Manage Website]
Click [Stop]
Next, [Restart] IIS
#1b: Click on the [Sites] folder in the troubled child server.
Select the site which has the naming issue,
On the Right-panel
Under [Manage Website]
Click [Restart]
Next, [Restart] IIS
#1b should not be causing an issue, the shared config should update the site name to match the primary server, and that site should automatically start working. However, it seems that is not the case. I will research this issue and post an update to this KB Article when information becomes available.
Share With Friends (Updated 6-8-2010)
Recent Articles
All Topics
- Coming Soon - Knowledge Exchange
Trending Articles
- Microsoft VBScript runtime error '800a0046' Permission denied FileSystemObject 24695
- Microsoft OLE DB Provider for SQL Server error '80040e57' String or binary data would be truncated. or The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data. 21297
- ADODB.Parameters error '800a0e7c' Parameter object is improperly defined 19544
- After Effects warning: Audio conforming failed for the following file .cfa. Perhaps due to disk space 17785
- The backup set holds a backup of a database other than the existing 16826