[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More


Microsoft TMG 2010 / 2006 - Cannot Delete or Change Publishing Rule - Error: 0x80070002 - The system cannot find the file specified.

Published on
15,076 Points
Last Modified:
So the following errors occurs in 2 ways that I am aware of at this stage, and you receive one of the following error messages:

1. When trying to save a rule: No Web listener is specified for the Web publishing rule Autodiscovery Publishing Rule.
The error occurred on object 'Autodiscovery Publishing Rule' of class 'Policy Rule' in the scope of array 'HKFW1'.
2. When trying to delete the problematic rule: The item selection could not be completed due to an unexpected error.
2.1 Error: 0x80070002
2.2 Error Details: The system cannot find the file specified

The only icon that is listed in the faulty rule is the allow Icon as seen in the solution below.

1. Going through the steps, you have the following rule (With a different name) and the only icon that is listed in the faulty rule is the allow Icon.
 Faulty rule2. When trying to delete the rule you get an error that "The system cannot find the file specified" after clicking on the Details button
 Error Message3. Ok so the only way to resolve this is by opening ADSIEdit on your proxy server.
4. To open ADSIEdit, on your Proxy server click start and type "ads" and you will notice "ADSI Edit" in the Programs section as seen below, hit Enter or click on ADSI Edit to open it.
 Open ADSI Edit5. When ADSI Edit opens right click on ADSI Edit and click Connect to... as seen in the below image
 ADSI Edit - Connect to...6. In the Configuration Settings Tab do the following:
6.1 Tick the "Select or type a Distinguished Name or Naming Context:" radio button and type CN=FPC2 in the space provided.
6.2 Now Tick the Select or type a domain or server: (Server | Domain [:port]) radio button and type localhost:2171 after these steps has been completed your window should look as follow
 ADSIEdit - Connection Settings7. Now expand your tree to the following:
7.1 Default naming context [localhost:2171] (This could also have your server name in the place of the localhost)
7.2 CN=FPC2
7.3 CN=Array-Root
7.4 CN=Arrays
7.5 CN={ID of your Array}
7.6 CN=ArrayPolicy
7.7 CN=PolicyRules
7.8 So you should be in the same location as the image below discribes
Navigation Path8. Now comes the time consuming part, you would have to right click on each of the below objects to find the faulty rule, so right click on the each as shown below and click properties
 Property Selection9. After selecting properties you will need to scroll down to msFPCName (As this is where the rule name that we are looking for will appear)
10. When you find the faulty rule in my case Exchange OWA as seen below
 Faulty Publishing Rule11. You will now right click on the rule and click delete
12. Now you will receive the following prompt to confirm deletion, click Yes
 Confirm Deletion13. On the next screen select OK
14. Now close your Forefront TMG Console if it is still open
15. And finally open TMG Console again.

The faulty rule should now be gone, and your TMG should be as before.

Please vote and leave a comment if this was helpful.

Kind Regards,
Hendrik Wiese

Expert Comment

by:J Craigm
This article is very nice as well as very informative. I have known very important things over here. I want to thank you for this informative read. I really appreciate sharing this great.  View at custom essay writing service page if you are interesting on online essay services.

Expert Comment

by:Pablo Rodriguez
Worked!!! Thank you.

Expert Comment

by:Himanshu Arya
Many many thanks for sharing this helpful article i have also an article which helps you to windows 10 sync settings with the help of pictures step by step.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Expert Comment

by:Descargar Ad
I want to to thank you for this wonderful read!! I definitely loved every bit of it. I have got you bookmarked to check out new things you post…
descargar minecraft

Expert Comment

by:Indi Guru
The blog and best that is extremely useful to keep I can share the ideas of the future as this is really what I was looking for, I am very comfortable and pleased to come here. Thank you very much. ask.fm en español

Expert Comment

by:Ahmed Shareef
The blog and best that is extremely useful to keep I can share the ideas of the future as this is really what I was looking for, I am very comfortable and pleased to come here. Thank you very much. hd videos and more hd

Expert Comment

by:shariq khatri
This was really an interesting topic and I kinda agree with what you have mentioned here!      <a title="internation dating site" href="https://dream-singles.com/">internation dating site</a>

Featured Post

Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Join & Write a Comment

Wrapper-1-Query. Use an Excel function to calculate a column for an Access query. Part 1. Shows a query in Access that has a calculated column with the results of an Excel worksheet function. See how to call a wrapper function from a query, and …
There are many cases found where ScanPST.exe fails to repair corrupt Outlook PST File. When user tries to repair PST using Inbox Repair tool and it throws below error: •      Inbox Repair tool does not recognize the file •      ScanPST.exe hangs in betwee…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month