function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ms0713ms0713 

Unable to find assembly 'SharpSvn'

Hi,
I have created .net(c#, Framework 4.0) application using SharpSvn.dll

It runs fine on my IIS.

When it is loaded on live, it gives the error like

"Unable to find assembly 'SharpSvn, Version=1.7002.1998.12257, Culture=neutral, PublicKeyToken=d729672594885a28'."

Dont know the reason what is happening.

i have referenced SharpSvn.dll in my Application and it automatically adds the other two named
1. SharpSvn-DB44-20-Win32.dll
2. SharpSvn-SASL21-23-Win32.dll
and one of its exe file.

I am using SharpSvn to commit files.

It is creating SharpSvn.SvnClient Object successfully, but when it tries to perform the SvnClient.Update(file) it get the error like mentioned above. 

Code:

 

SvnClient client = new SvnClient();
client.Authentication.DefaultCredentials = new NetworkCredential(repoid, repopassword);

client.LoadConfiguration(commitPath, true);
log.Info("Going To Update Retrieved File");  //this line gets executed fine and i m geting log in my logfile
client.Update(file); 

SvnAddArgs saa = new SvnAddArgs();
saa.Force = true;
saa.Depth = SvnDepth.Infinity;
log.Info("Going to Add In Svn"); // but i m not getting this log in my log file

 

i am writing this code in some another thread.
Does that thread causing any problem?

 

If anyone has faced problem like this and come with solution please help.
Its urgent.