ExecuteAssembly does not work at production

  • Thread starter Thread starter Egbert Nierop \(MVP for IIS\)
  • Start date Start date
E

Egbert Nierop \(MVP for IIS\)

Hi,

In development, code below works. But at production, I'll get a assembly key
mismatch. I'm am very sure, all assemblies are compiled and copied. The
batch exec, is a .NET application as well.

Is something wrong with code below?

Thanks for your time!



AppDomain currentDomain = AppDomain.CurrentDomain;


int result = currentDomain.ExecuteAssembly(this.batchToExec, null, new
string[]{"-d", this.path, "-i", "-f", file});
 
Back
Top