<

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

Published on
14,776 Points
8,776 Views
Last Modified:
Approved
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:

ERROR
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

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

SOLUTION
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
0
Comment
5 Comments
 

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.
0
 

Expert Comment

by:Pablo Rodriguez
Worked!!! Thank you.
1
 

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.
0
 

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
1
 

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
0

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Join & Write a Comment

From store locators to asset tracking and route optimization, learn how leading companies are using Google Maps APIs throughout the customer journey to increase checkout conversions, boost user engagement, and optimize order fulfillment. Powered …
This is Part-2 of Learning to use the Power of Mailwasher Pro so if you haven't watched Part-1 yet, I urge you to do so before watching this video. Click this link to watch Part-1 (https://www.experts-exchange.com/videos/56638/Learn-to-use-the-POWER…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month