[mapguide-users] Scribble2

Andy Morsell amorsell at spatialgis.com
Tue Nov 25 13:10:30 EST 2008


Does the rest of the Scribble application work for you?  Are you only having
problems with the PDF portion?  Did you copy the MGOS dll files into the
Scribble bin directory?

Andy


From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Pedro Venâncio
Sent: Tuesday, November 25, 2008 7:33 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Scribble2



Hello!
I am trying to install the package of Scribble (from Andy), but it gives me
the error of the image attached. Then, when I click "PDF Document", show me
this message:

Server Error in '/mapguide/Scribble' Application.



  _____



Failed to retrieve message for "MgConfigurationException".

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: OSGeo.MapGuide.MgConfigurationException: Failed to
retrieve message for "MgConfigurationException".

Source Error:

Line 843:        this._session = session;


Line 844:        this._site = new MgSiteConnection();


      Line 845:        this._site.Open(new MgUserInformation(session));


      Line 846:        this._Session_StringBuilder = new StringBuilder();


Line 847:        this._Session_StringBuilder.Append("Session:");

Source File:
c:\Programas\MapGuideOpenSource2.0\Scribble\App_Code\scribblemethodsmgr.cs
Line: 845

Stack Trace:

[MgConfigurationException: Failed to retrieve message for
"MgConfigurationException".]


   OSGeo.MapGuide.SWIGExceptionHelper.ThrowCustomException(String className,
IntPtr cptr) +176


   OSGeo.MapGuide.MapGuideApiPINVOKE.MgSiteConnection_Open(IntPtr jarg1,
IntPtr jarg2) +0


   OSGeo.MapGuide.MgSiteConnection.Open(MgUserInformation userInformation)
+20


   ScribbleMethodsMgr.SetUp(String session, String mapname) in
c:\Programas\MapGuideOpenSource2.0\Scribble\App_Code\scribblemethodsmgr.cs:8
45


   ScribbleMethodsMgr.MaterializeMapPDFPage(String session, String mapname,
Int32 width, Int32 height, String imageflavor) in
c:\Programas\MapGuideOpenSource2.0\Scribble\App_Code\scribblemethodsmgr.cs:6
03


   scribblepdfdoc.ProcessRequest(HttpContext context) in
c:\Programas\MapGuideOpenSource2.0\Scribble\scribblepdfdoc.ashx:11



System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionSte
p.Execute() +154












 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +64

  _____

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET
Version:2.0.50727.42





I followed all the steps listed for the use of the package, but I am using
the MGOS 2.0.2 with php on IIS 5.1. This may be the problem?

Thank you very much!

Yours sincerely,

Pedro

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20081125/a2c81581/attachment.html


More information about the mapguide-users mailing list