Aghhh! This has been annoying me all day now....
quote:
Script is starting
Error: Automation server can't create object.
Line: 10. Code: -2146827859.
Script has failed to start
Basically I have a DLL created in C#. When I was testing it myself I used RegAsm.exe /codebase test.DLL to register the DLL and everything was working fine.
Anyway, so I unregistered the DLL and packaged up my Script and included the following lines in my XML file:
quote:
<DotNetFiles>
<FileName>MLP.dll</FileName>
</DotNetFiles>
But... now when I load up WLM I get the above error message.
If I remove the <DotNetFiles> etc code and manually do RegAsm.exe I'm fine...
So my question is... does anyone know what's going on here?
The line of JS that throws the error up in the first place is:
quote:
var myInstanceVar=new ActiveXObject("MLP.Main");
Regards,
- Mark