[mapguide-users] Scribble2

Pedro Venâncio pedrongvenancio at yahoo.com
Tue Nov 25 14:15:08 EST 2008


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:845

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

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

   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.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



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


More information about the mapguide-users mailing list