I have C# project which i'm publishing using IIS. Tried to debug webPage and found that on code line
var SilApi = new SilApi();
webPage got stuck and it's keep loading something. After 10-20 min, it's stop loading and error appears.
Creating an instance of the COM component with CLSID {AD0C0100-CE10-11DE-8F7A-005056C00008} from the IClassFactory failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).
Any ideas?
This is how SilApi looks like:
using System.Runtime.InteropServices;
namespace SilApi
{
[CoClass(typeof(SilApiClass))]
[Guid("AD0C0001-CE10-11DE-8F7A-005056C00008")]
public interface SilApi : ISilApi
{
}
}
This is how ISilApi looks like:
using System.Runtime.InteropServices;
namespace SilApi
{
[Guid("AD0C0001-CE10-11DE-8F7A-005056C00008")]
[TypeLibType(4160)]
public interface ISilApi
{
[DispId(1)]
ISilDocumentFactory SilDocumentFactory { get; }
[DispId(2)]
ISilPackageFactory SilPackageFactory { get; }
[DispId(5)]
ISilSpecificationFactory SilSpecificationFactory { get; }
<....>
[DispId(6)]
IX509CertificateFactory X509CertificateFactory { get; }
[DispId(33)]
IMap GetNewMap();
}
}
User contributions licensed under CC BY-SA 3.0