MapXtreme simple web application COM+ Initialization error message

438 views
Skip to first unread message

Devraj Mukherjee

unread,
Feb 26, 2007, 11:02:29 PM2/26/07
to mapi...@googlegroups.com
Hi Everyone,

I am trying to get a Sampe web application compiled and running on my
computer. It compiles with no issues but ends up spitting these error
messages if I use a browser to access it?

I have a proper version of MapXtreme, also other applications
including a sample desktop forms application works.

Any pointers would be appreciated.

Thanks


Server Error in '/MapXtremeWebApplication2' Application.
--------------------------------------------------------------------------------

COM+ Activation failed because an initialization function failed.
Check the event log for more information.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: COM+
Activation failed because an initialization function failed. Check the
event log for more information.

Source Error:

An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.

Stack Trace:


[COMException (0x8004e025): COM+ Activation failed because an
initialization function failed. Check the event log for more
information.]
MapInfo.Engine.Session.Create() +182
MapInfo.Engine.ServerStateSessionActivator.OnBeginRequest(Object
sender, EventArgs e) +102
System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
+60
System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously) +87


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573;
ASP.NET Version:1.1.4322.573

--
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)

greg

unread,
Feb 26, 2007, 11:05:54 PM2/26/07
to mapi...@googlegroups.com
This sounds like a licence file error.  even if you have lic version of MX you still need to run the lic tool (C:\Program Files\Common Files\MapInfo\MapXtreme\6.6\License Tool)
- send the file and details to Mapinfo and then put the lic file in the correct folder
Greg

 

Devraj Mukherjee

unread,
Feb 26, 2007, 11:18:12 PM2/26/07
to mapi...@googlegroups.com
Thanks Greg. I managed to run the License Tool, and it generated a
text file. Is that file I need to put in the right directory or does
MapInfo send you another license file?

I owe you a beer :)

greg

unread,
Feb 26, 2007, 11:21:08 PM2/26/07
to mapi...@googlegroups.com
you need to email this to mapinfo - your local vendor - in our case
and send the following info
1. Company Name,
2. No of CPUs for each machine
3. Serial No of MapXteme 2005

Devraj Mukherjee

unread,
Feb 26, 2007, 11:38:40 PM2/26/07
to mapi...@googlegroups.com
Thanks Greg. Its ozk...@mapinfo.com for me too :)

Regards

Devraj Mukherjee

unread,
Feb 26, 2007, 11:49:51 PM2/26/07
to mapi...@googlegroups.com
Not important but any ideas why the data engine and applications work
but not web based applications?

Thanks

Reply all
Reply to author
Forward
0 new messages