DP Monitoring Error Failed To Create Virtual Directory |SCCM |ConfigMgr

8
DP Monitoring Error

Let’s check how to get rid of this alert reported under SCCM DP Configuration Status. Type Error :Failed To Create Virtual Directory.

Related Posts Learn How to Install a New Distribution Point Role & Learn How to Remove Distribution Point Role

Introduction

I am sure all of us would have gone through this annoying issue and realized it’s not causing any service interruption for core SCCM Components then left it as it is.

DP Monitoring Error Failed To Create Virtual Directory |SCCM |ConfigMgr 1
Altaro Office 365 Backup
Advertisement Altaro Office 365 Backup

But what about the DP status? It stays in the same state when checked under Distribution Point Configuration Status Tab.

DP Monitoring Error Failed To Create Virtual Directory |SCCM |ConfigMgr 2

Now the real time errors also get ignored in this perception that it’s because of Virtual Directory creation issue.

What is the real issue? Failed To Create Virtual Directory ?

DP Monitoring Error Failed To Create Virtual Directory |SCCM |ConfigMgr 3
The possible cause mentioned in this screenshot is not the real cause and if you try to distribute content to this DP it works just fine. Failed To Create Virtual Directory

Solution | FIX

To fix this issue please follow the steps below:

NOTE!Make sure you have good backup of the site DB before you proceed further.

  1. Run the following select statement to find the Distribution Points in this state:
select * from dbo.DistributionStatus where InsStr2 = '3010'

2. Once identified then Delete a record an affected DP with:

delete from dbo.DistributionStatus where ID = <DPID of affected DP identified by above command>

NOTE: MS Doesn’t support this DB tweaking and you should involve MS Engineer before executing these SQL statements.

NOTE!Test in your Lab before you implement it in Production. Execute SQL code at your own risk. We don’t take any responsibility.

8 COMMENTS

  1. Same message here but InsStr2 is empty. The DP works fine except of the annoying error status message. Unfortunately your solution don’t work for me.

    • I could fix it now by changing the DP temporary to a pull DP. If you have the same issue and you already have a pull DP change it to push and back to pull should also work. I guess the IIS will be reconfigured by this action, anyway the error message has gone now.

  2. Hi Deepak,

    can you please explain little bit more on -InsStr2 and deletion of this using:
    delete from dbo.DistributionStatus where ID = .
    => During the issue which you have faced
    -> was the IIS working fine..
    -> Distribution point App pool was working or not?

    i never seen this kind of issue till now, so wanted to know little bit more on this.

    regards,
    Aswani

    • Yes Sure. Yes IIS was Working fine. Distribution Point App Pool was working. You can see this in Monitoring Tab once this reported. Screenshots will give you more idea. All these are taken from the Lab where we were reproducing this issue.

  3. I had the same message for ages and couldn’t get rid of it.
    Your query didn’t work for me – I had nothing showing ‘3010’ on InsStr2. However, I used the date and time stamp to find the offending message in the DB, and then deleted it using:

    delete from dbo.distributionstatus where MessageType = ‘8’ and LastStatusMsgID = ‘xxxx’

    Where ‘xxxx’ matched only the line I was interested in (I think it was 2364?).

    Then went back to the console and refreshed the DP and error was cleared.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.