An Attempt was made to Load an Assembly from a Network Locaiton - Error

An Attempt was made to load assembly from a network Location- are you face this error while running your Win.net application from Client PC. This happen in case when you are running Application Placed on Server and Shortcut of the same is placed on Client Desktop and Same is been executed.

Error on the Client PC


To Resolve this below are the steps to be followed

Place the below Setting in the Config File ([Application].exe.Config) File will be found in the Application Directory

<configuration> 

   <runtime> 

      <loadFromRemoteSources enabled="true"/> 

   </runtime> 

</configuration>
.

To be Precise 


Comments

Popular posts from this blog

Shared / Static Class in vb.net/C#

Xamarin Forms : PopUp Page with RG.Plugins.Popup

Text was truncated or one or more characters had no match in the target code page.". (SQL Server Import and Export Wizard)