File or assembly name System.ServiceProcess.dll, or one of its dependencies, was not found.

If youa re trying to view service information on a web page and you have added the directives:
 
 <%@ Assembly Name="System.ServiceProcess" %>
<%@ Import Namespace="System.ServiceProcess" %>
 
you will porbably see the error
 
File or assembly name System.ServiceProcess.dll, or one of its dependencies, was not found.
 
You need to use the full name of the assembly to prevent this:
 
<%@ Assembly Name="System.ServiceProcess, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" %>
 
From the notes to self department as google was not being helpful on searching the error message.
 
Advertisements
This entry was posted in Computers and Internet. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s