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.

Profile: Vitali01
About
User Name: Vitali01
Forum Rank: Newbie
Real Name:
Location Utrecht
Occupation:
Interests:
Gender: None Specified
Statistics
Joined: Wednesday, November 7, 2018
Last Visit: Tuesday, April 2, 2019 7:09:00 AM
Number of Posts: 4
[0.02% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: StyleVision 2019 sample COM Exception
Posted: Friday, March 8, 2019 11:28:41 AM
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!
Topic: System.Runtime.InteropServices.SEHException: 'External component has thrown an exception.' b
Posted: Wednesday, December 5, 2018 9:19:45 AM
So its a bug, created support request.
Topic: mapForce 2019 server and mapForce Client 2017 combatibility
Posted: Wednesday, December 5, 2018 9:18:58 AM
Hallo Guys,

I'm curios, if i have mapForce client 2017 and we upgrade to mapForce server 2019, is they are compatible? I read here is new file format, no xslt but mfx?

and mapForce client 2017 has no option to make mfx...

So... is it any work around? or only way to go is upgrade client?
Topic: System.Runtime.InteropServices.SEHException: 'External component has thrown an exception.' b
Posted: Wednesday, November 7, 2018 12:09:40 PM
Hi Guys,

I just installed Altova Server 2019 and have runned default example code under:
"c:\Program Files (x86)\Altova\StyleVisionServer2019\etc\examples\C#\StyleVisionServerAPI_Sample.sln"

I checked all paths are correct in code, but all time getting this exeption:
System.Runtime.InteropServices.SEHException: 'External component has thrown an exception.' by C# sample

How I can get any additional info on what is wrong?

Thank you!

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