Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Symptoms

You upgrade from the Microsoft .NET Framework 4.0 Beta 2 version to the release version. When you run iisreset.exe to restart Microsoft Internet Information Services (IIS), or you start one of the Windows Communication Foundation (WCF) listener services, you receive the following error:

The system cannot find the file specified

Note Some examples of a WCF listener service include Net Tcp Port Sharing Service, Net.Tcp Listener Adapter, Net.Pipe Listener Adapter, or Net.Msmq Listener Adapter.

Cause

While you upgrade to the release version of the .NET Framework 4.0, a registry key is removed. This registry key is used to determine the path to the service executable. Therefore, these services are still configured for the old version of the .NET Framework.

Resolution

To work around this behavior, repair the Microsoft .NET Framework 4.0 Client Profile. To do this, follow these steps:

  1. Open Add/Remove Programs.

  2. Click to select "Microsoft .NET Framework 4 Client Profile."

  3. Click on the Change/Remove button.

  4. Choose the Repair .NET Framework Client Profile to it's original state.

  5. Click Next to begin the repair operation.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×