just doesn't go. Here it is again.
I have inserted answers below. By the way the error is back today, so if
you want me to get any additional information about the error this would be
the time to do it.
"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in message
news:u0**************@TK2MSFTNGP12.phx.gbl...
What's the identity of the service account?
I don't know what you mean by identity of the service account. The name of
the service is StockMgrService. Where do I look for this Identity?
Where are these dll's located? The dll's are installed to the same folder as the rest of the application.
What dependencies do they have? SystemMethods.dll
System
System.Data
System.XML
using System;
using System.Data;
using System.Diagnostics;
RemoteLoader.dll
System
using System;
using System.Reflection;
wwScripting.dll
RemoteLoader
System
System.Data
using System;
using System.IO;
using System.Text;
using Microsoft.CSharp;
using Microsoft.VisualBasic;
using System.Reflection;
using System.Runtime.Remoting;
using System.CodeDom.Compiler;
What's are you using in AddAssembly to locate/load the DLL's? /// <summary>
/// Adds an assembly to the compiled code
/// </summary>
/// <param name="lcAssemblyDll">DLL assembly file name</param>
/// <param name="lcNamespace">Namespace to add if any. Pass null if no
namespace is to be added</param>
public void AddAssembly(string lcAssemblyDll,string lcNamespace)
{
if (lcAssemblyDll==null && lcNamespace == null)
{
// *** clear out assemblies and namespaces
this.oParameters.ReferencedAssemblies.Clear();
this.cNamespaces = "";
return;
}
if (lcAssemblyDll != null)
this.oParameters.ReferencedAssemblies.Add(lcAssemb lyDll);
if (lcNamespace != null)
if (this.cScriptingLanguage == "CSharp")
this.cNamespaces = this.cNamespaces + "using " + lcNamespace + ";\r\n";
else
this.cNamespaces = this.cNamespaces + "imports " + lcNamespace + "\r\n";
}
/// <summary>
/// Adds an assembly to the compiled code.
/// </summary>
/// <param name="lcAssemblyDll">DLL assembly file name</param>
public void AddAssembly(string lcAssemblyDll)
{
this.AddAssembly(lcAssemblyDll,null);
}
public void AddNamespace(string lcNamespace)
{
this.AddAssembly(null,lcNamespace);
}
public void AddDefaultAssemblies()
{
this.AddAssembly("System.dll","System");
this.AddNamespace("System.Reflection");
this.AddNamespace("System.IO");
}
Willy.