IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

StyleVision 2019 sample COM Exception Options · View
Vitali01
Posted: Friday, March 8, 2019 11:28:41 AM
Rank: Newbie

Joined: 11/7/2018
Posts: 4
Location: Utrecht
Hallo Guys,

I just run default example C:\Program Files\Altova\StyleVisionServer2019\etc\examples\C#
StyleVision 2019 Server and its fails on first line:

Code:
static void Main(string[] args)
{
            //Create a StyleVision Server object
            Altova.StyleVisionServer.Server objSVS = new Altova.StyleVisionServer.Server();
...


Code:
System.Runtime.InteropServices.COMException
  HResult=0x80040154
  Message=Retrieving the COM class factory for component with CLSID {0F49E5DA-5879-4B18-BA2E-3AC02CAE5B44} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
  Source=mscorlib
  StackTrace:
   at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(RuntimeType objectType)
   at System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(RuntimeType serverType)
   at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(RuntimeType serverType, Object[] props, Boolean bNewObj)
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at StyleVisionServerAPI_sample.Program.Main(String[] args) in C:\Program Files\Altova\StyleVisionServer2019\etc\examples\C#\Program.cs:line 8


Any ideas?

Thank you!
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.