SPAM-LOW: RE: [mapguide-users] Scribble2

Andy Morsell amorsell at spatialgis.com
Tue Nov 25 23:20:01 EST 2008


Yes, Scribble requires the MGOS .NET web extensions.  You can install the
.NET web extensions side-by-side with the PHP web extensions without any
problems if you want to give that a try.

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:48 PM
To: MapGuide Users Mail List
Subject: SPAM-LOW: RE: [mapguide-users] Scribble2


Well I am using MGOS 2.0.2 with IIS and PHP and then this directory does not
exist ... Instead of that I got
C:\Programas\MapGuideOpenSource2.0\WebServerExtensions\www\mapviewerphp
but has no bin folder or dll...
Does Scribble only works with dot Net instead of php?

Thank you very much!

Regards,
Pedro



--- On Wed, 11/26/08, Andy Morsell <amorsell at spatialgis.com> wrote:
From: Andy Morsell <amorsell at spatialgis.com>
Subject: RE: [mapguide-users] Scribble2
To: "'MapGuide Users Mail List'" <mapguide-users at lists.osgeo.org>
Date: Wednesday, November 26, 2008, 12:30 AM
I meant the MapGuide specific dll files.  The ones that came with the zip
are from 2.0.1 and should be replaced if you’re not using that version.  I
added this sentence to the installation paragraph:

“Copy the MapGuide dll files from C:\Program
Files\MapGuideOpenSource2.0\WebServerExtensions\www\mapviewernet\bin to your
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 11:15 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Scribble2


Hi Andy

No, all the application gives me the message "Error encountered within
application"...

I've instaled the application just like this:
To use this package: unzip to a folder of your choice. Create a new virtual
directory in IIS called Scribble under your existing mapguide virtual
directory. Open your web layout in Studio and create a new Invoke URL custom
command that points to ../Scribble/scribble.aspx with the task pane being
the target. Add this custom command to your task bar menu or toolbar. Open
your layout and invoke your custom URL.

Those dlls ( itext-2.0.6.dll, IKVM.Runtime.dll, IKVM.GNU.Classpath.dll,
bcprov-jdk15-137.dll,
 bcmail-jdk15-137.dll) are already in the MGOS2 Scribble Package. It is
necessary to replace them? What is the correct ones?

Thanks!

Regards,
Pedro



--- On Tue, 11/25/08, Andy Morsell <amorsell at spatialgis.com> wrote:
From: Andy Morsell <amorsell at spatialgis.com>
Subject: RE: [mapguide-users] Scribble2
To: "'MapGuide Users Mail List'" <mapguide-users at lists.osgeo.org>
Date: Tuesday, November 25, 2008, 6:10 PM
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

_______________________________________________





mapguide-users mailing list





mapguide-users at lists.osgeo.org





http://lists.osgeo.org/mailman/listinfo/mapguide-users

_______________________________________________


mapguide-users mailing list


mapguide-users at lists.osgeo.org


http://lists.osgeo.org/mailman/listinfo/mapguide-users

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


More information about the mapguide-users mailing list