Re: [mapguide-users] RenderMap: MgOutOfMemoryException

2020-08-31 Thread frieda
Thank you both. Unfortunately I'm using MapGuide 32 bit. I will look into it.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] RenderMap: MgOutOfMemoryException

2020-08-26 Thread frieda
It's DIN A2, so I pass 9922 x 14032 pixel to that function. I'm not sure why
that's too much, if I'm not wrong then 9922 x 14032 pixel is something about
80 MB for a PNG.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] RenderMap: MgOutOfMemoryException

2020-08-24 Thread frieda
Hello I'm using MapGuide v.2.5.2.7949 in an ASP.NET Application.

I'm facing an out of memory exception throwed by this function (RenderMap):

http://cmnmaps.ca/mapguide/help/webapi/de/dbd/class_mg_rendering_service_a7767628fe456bfd90e9010a19ed83e04.htm#a7767628fe456bfd90e9010a19ed83e04

In my App I'm trying to print the map to a PNG format and if I set 600 DPI I
get the exception. What's wrong here? If I set lower DPI, like 300 it works
fine.

My Code:

 Public Sub InitializeMapImage(ByRef pr_objMapGuide As
MapGuide, ByVal pv_Plotbox As MgEnvelope,
ByVal pv_dblPageWidth As Double,
ByVal pv_dblPageHeight As Double, Optional ByVal pv_strFormat As String =
"PNG")
Try
Dim Map As MgMap = pr_objMapGuide.Map

Dim selection As New MgSelection()
selection.Save(pr_objMapGuide.ResourceService, Map.Name)
selection.Open(pr_objMapGuide.ResourceService, Map.Name)
Dim SelXML As String = selection.ToXml
Dim white As New MgColor(255, 255, 255)

Dim pxMapWidth As Double = (pv_dblPageWidth / inch) * DPI
Dim pxMapHeight As Double = (pv_dblPageHeight / inch) * DPI

Dim byteReader As MgByteReader =
pr_objMapGuide.RenderingService.RenderMap(Map, selection, pv_Plotbox,
pxMapWidth, pxMapHeight, white, "PNG")
Dim memBuff As New IO.MemoryStream
Dim byteBuffer(1024 ^ 2) As Byte
Dim intBytes As Integer = byteReader.Read(byteBuffer, 1024 ^ 2)
While intBytes > 0
memBuff.Write(byteBuffer, 0, intBytes)
intBytes = byteReader.Read(byteBuffer, 1024 ^ 2)
End While

Dim BitMap As New Drawing.Bitmap(memBuff)
BitMap.SetResolution(Convert.ToSingle(DPI),
Convert.ToSingle(DPI))
Dim imgMap As Image = BitMap

m_Map = imgMap
Catch exRange As MgOutOfRangeException
Throw New Exception("", exRange)
Catch exMemory As MgOutOfMemoryException
Throw New Exception("", exMemory)
Catch ex As Exception
Throw New Exception("", ex)
End Try
End Sub




--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Troubleshooting Ajax Viewer Windows Server 2016 application migration

2020-03-24 Thread frieda
Here are some VB Functions. Please note that this code comes from a
decompiler, because the source code is lost :/

https://pastebin.com/4V3J6BiA



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Troubleshooting Ajax Viewer Windows Server 2016 application migration

2020-03-24 Thread frieda
We moved from Windows Server 2008 R2 to Windows Server 2016 but we have an
older MapGuide version (2.1.0.4283-Final) without problems. We using AJAX
Viewer, IIS and Winforms aspx etc. The only thing we had to do was to
install the Microsoft ASP.NET 2.0 AJAX Extensions 1.0. No code changes
needed.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] How do I set the right projection in OL for OSM?

2020-01-30 Thread frieda
Ok, I don't know exactly why but if I set EPSG 31467 for every feature source
I have my Map goes visible and it's in the right location.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] How do I set the right projection in OL for OSM?

2020-01-29 Thread frieda
Could you tell me how I can do this? I'm not familiar with fusion.

But I clicked on validate and get some warnings:


Validating resource:
Session:4b3bf33c-42a2-11ea-8000-208d0a1054f9_en_MTI3LjAuMC4x0AFC0AFB0AFA//328459ef-d516-44d7-b3a6-d4281c2cbc3b.MapDefinition
Information - Warning_MapDefinition_LayerMissingLegendLabel: Layer g does
not have a legend label
Warning - Warning_MapDefinition_LayerReprojection:
Library://TestProj/Data/sp_f_g_F.FeatureSource has a different coordinate
system than the map, this will impact performance as the coordinates are
transformed while rendering the map. Maestro cannot validate the extent of
the data.
Warning - Warning_MapDefinition_LayerReprojection:
Library://TestProj/Data/TestProj_SQL.FeatureSource has a different
coordinate system than the map, this will impact performance as the
coordinates are transformed while rendering the map. Maestro cannot validate
the extent of the data.
Warning - Warning_MapDefinition_LayerReprojection:
Library://TestProj/Data/Mauer_F.FeatureSource has a different coordinate
system than the map, this will impact performance as the coordinates are
transformed while rendering the map. Maestro cannot validate the extent of
the data.
Warning - Warning_MapDefinition_LayerReprojection:
Library://TestProj/Data/sp_f_einr_F.FeatureSource has a different coordinate
system than the map, this will impact performance as the coordinates are
transformed while rendering the map. Maestro cannot validate the extent of
the data.
Warning - Warning_MapDefinition_LayerReprojection:
Library://TestProj/Data/sp_gruen_teilgruenflaeche_F.FeatureSource has a
different coordinate system than the map, this will impact performance as
the coordinates are transformed while rendering the map. Maestro cannot
validate the extent of the data.
Warning - Warning_MapDefinition_LayerReprojection:
Library://TestProj/Data/sp_Lieg_gebaeude_F.FeatureSource has a different
coordinate system than the map, this will impact performance as the
coordinates are transformed while rendering the map. Maestro cannot validate
the extent of the data.
Warning - Warning_MapDefinition_LayerReprojection:
Library://TestProj/Data/sp_f_weg_F.FeatureSource has a different coordinate
system than the map, this will impact performance as the coordinates are
transformed while rendering the map. Maestro cannot validate the extent of
the data.


Validating resource: Library://TestProj/Data/TestProj_SQL.FeatureSource
Warning - Warning_FeatureSource_DefaultSpatialContext: Spatial context
extent appears to be invalid (or is the default extent returned by FDO
provider. Meaning it very likely does not truly represent the extent of your
data)

So maybe I have to reproject my Layers too or MapGuide do this
automatically?



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] How do I set the right projection in OL for OSM?

2020-01-29 Thread frieda
Do you mean the initial map view? The values have changed

EPSG 31467

Lower left: x=3474969.42838105 y=5494505.08075242
Upper right: x=3475408.42921736 y=5494659.08080777

EPSG 3857

Lower left: x=963391.96809186 y=6375021.09056832
Upper right: x=964066.729695921 y=6375261.93779655



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] How do I set the right projection in OL for OSM?

2020-01-29 Thread frieda
Thanks for your help. 
I did set my map projection to EPSG 3857, now I can see the right location
in OSM in Kaliopa Movile Viewer but I can't see my Map now (it's also not
visible if I use the Preview in Maestro). If I set the projection back to
EPSG 31467 my map goes visible. 

What I'm missing here?





--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] problem with ssl and maestro

2020-01-28 Thread frieda
Are you using IIS as Webserver? I could check my configuration for you. 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] How do I set the right projection in OL for OSM?

2020-01-27 Thread frieda
Hello,

I'm using the Kaliopa Mobile Viewer to display my MapGuide map and it works
great so far but now I would like to add Open Street Map as BaseLayer but my
map is always placed somewhere in the black sea.

I know I have to set the right projection in Openlayers but how?

In Maestro I can see the following information about the Coordinate System
of my Map.

PROJCS["DHDN.Gauss3d-3",GEOGCS["DHDN.LL",DATUM["DHDN",SPHEROID["BESSEL",6377397.155,299.15281535],TOWGS84[582.,105.,414.,-1.04,-0.35,3.08,8.3000]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["false_easting",350.000],PARAMETER["false_northing",0.000],PARAMETER["scale_factor",1.],PARAMETER["central_meridian",9.00],PARAMETER["latitude_of_origin",0.00],UNIT["Meter",1.00]]

If I understand this correctly, then I get EPSG:4326, because I see
"TOWGS84" in that string, right? But OSM works with EPSG: 3857. So I tried
the following openlayers map Option:

projection: "EPSG:4326",
displayProjection: "EPSG:3857"

But this does not do anything, my map is still in the black sea.
Could someone give me a hint?

I'm working with OpenLayers 2 and MapGuide Server 2.5.2




--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] layerObj is nul

2020-01-14 Thread frieda
I think that the API changed a lot, it's a huge jump from 2.6.1 to 3.1.2. I
never did that but I could imagine that you have to do a lot of work to get
that done.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Show MapGuide Map using OpenLayers

2019-11-28 Thread frieda
Thank you very much I will check that out.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Show MapGuide Map using OpenLayers

2019-11-19 Thread frieda
Thank you very much, it works now.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Show MapGuide Map using OpenLayers

2019-11-18 Thread frieda
Hello,

I'm trying to display a MapGuide Map using OpenLayer v6.1.0. I can see the
Map in preview in Maestro but the Map does not showing up in OpenLayers, the
example from here works fine:
https://openlayers.org/en/latest/examples/mapguide-untiled.html

I don't understand the Version parameter, which is set to 3.0.0 in the
example code. Is this the MapGuide Version? I'm using MapGuide 2.5.2

This is my code so far:

var agentUrl = 'http://192.168.128.176:85/mapguide/mapagent/mapagent.fcgi?';
var mdf = 'Library://Test/Maps/Test.MapDefinition';

var mapguide = new ol.source.ImageMapGuide({
projection: 'EPSG:31467',
url: agentUrl,
useOverlay: false,
metersPerUnit: 1.00,
params: {
MAPDEFINITION: mdf,
FORMAT: 'PNG',
VERSION: '2.5.2',
USERNAME: 'Administrator',
PASSWORD: 'admin'
},
ratio: 1
})

var layersource = new ol.layer.Image({
source: mapguide
})

var map = new ol.Map({
layers: [layersource],
target: 'map',
view: new ol.View({
zoom: 12,
center: [3474969.4459683, 5494505.61502864]
})
});

There are no errors, just a white screen with zoom control.
This is the information I obtained from maestro for that test map:

*PROJCS["DHDN/3.Gauss3d-3",GEOGCS["DHDN/3.LL",DATUM["DHDN/3",SPHEROID["BESSEL",6377397.155,299.15281535],TOWGS84[598.1000,73.7000,418.2000,-0.202000,-0.045000,2.455000,6.7000]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["false_easting",350.000],PARAMETER["false_northing",0.000],PARAMETER["scale_factor",1.],PARAMETER["central_meridian",9.00],PARAMETER["latitude_of_origin",0.00],UNIT["Meter",1.00]]*



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] MapGuide Server on a mobile device

2019-05-13 Thread frieda
Hi,

I have some projected Esri Shapefiles which I convert to GeoJSON and then to
SVG to display them on a mobile device with a browser (Android Webview). 

The problem is, that it gets laggy on Zoom and Pan when I display over 3000
Polygons.

Is there any solution to display these local Shapefiles with MapGuide on a
mobile device?



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Kaliopa Mobile Viewer Compilation Error

2019-05-11 Thread frieda
Ok something changed with mapguide 3.0+ dlls. Works fine with 2.5.5



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Kaliopa Mobile Viewer Compilation Error

2019-05-10 Thread frieda
Hello,

I'm trying to get Kaliopa running but I get a Compilation Error
 

I'm using MapGuide 3.1.1, IIS 10 on a Windows 10 64 bit machine and c
everything from mapviewernet bin-folder to Kaliopa bin-folder like in the
instruction mentioned.

Sample is working fine
http://localhost/mapguide/dotnetviewersample/

But not with the mobile viewer
http://localhost/mapguide/KaliopaMobileViewer-master/?weblayout=Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout

Can someone help me?



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] RAM problem

2019-02-12 Thread frieda
You could try Debug Diagnostic Tool from Microsoft
https://www.microsoft.com/en-us/download/details.aspx?id=49924


Add performance rule and collect some information:
https://blogs.msdn.microsoft.com/asiatech/2014/01/09/debug-diagnostic-2-0-creating-a-rule-in-crash-mode/

Another analyse tool
https://snede.net/hunting-net-memory-leaks-with-windbg/



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Exception when setting layer Visibility

2019-02-06 Thread frieda
Hello, I need help to understand the purpose of the following codeblock.

I have MapGuide Server 2.5.2 Final installed on IIS in Windows 10 64 bit.
The function is for printing the map in pdf or word document.
--
Private Sub printButton_Click(ByVal sender As Object, ByVal e As EventArgs)
Handles btnPrint.Click

Dim objUtilties As New
CCommonFunctions(Request.ServerVariables("SCRIPT_NAME"))

If Not m_objMGC.IsPlotBoxDrawn(m_objMapGuide) Then
AddJavaScript("Print", "alert('No Plotbox');")
Exit Sub
End If

Dim changedLayers As ArrayList = PrepareMapForPrinting()

Try
Scale = DetermineScale(Me.cboScale.SelectedValue)
Dim ViewScale As Double = Scale

If Me.cboScale.SelectedValue.Contains("current") Then
Scale /= ScaleDistortion
End If

Dim DPI As Integer =
g_objObjHandl.NZ_Int(Me.cboDPI.SelectedValue)

Dim objMapDraw As New MapGuideDrawing(m_objUser,
m_objUser.Project.DocumentFolder)
objMapDraw.DPI = DPI
objMapDraw.RegKeyPath = Application("APP_REG_PATH")

Dim MapSize() As Double =
objMapDraw.DetermineMapExtent(Me.cboPageSize.SelectedValue,
Me.rbQuer.Checked, 0.90002)

objMapDraw.InitializeMapImage(m_objMapGuide,
m_objMGC.GetPlotBox(m_objMapGuide, "(TYPE=1)", False), MapSize(0),
MapSize(1))
objMapDraw.InitializeLegendImage(m_objMapGuide,
Session("PRINTOPT")(0))
Dim MergedImage As Drawing.Image =
objMapDraw.MergeImages(m_objMapGuide.Map.Name, ViewScale,
g_objObjHandl.NZ_Boolean(Me.hdfLegend.Value), Session("PRINTOPT"))
Dim fileDir As String = objMapDraw.CreateDocument(m_objMapGuide,
MergedImage, Me.cboPageSize.SelectedValue, Me.rbQuer.Checked,
Me.cboDownload.SelectedValue)

objUtilties.DownloadFile(Me.Form, fileDir)

Catch ex As Exception
m_objUser.WriteError(ex, "")
AddJavaScript("PrintError", "alert('" & ex.Message & "');")
Finally
If changedLayers Is Nothing = False Then
RepairMapAfterPrinting(changedLayers)
End Try
End Sub
--
I get an Exception in the "RepairMapAfterPrinting"
--
Sub RepairMapAfterPrinting(ByVal pv_arrChangedLayers As ArrayList)

Dim Visibility As Boolean
Dim objMapGuide As FRIEDAcom.MapGuide = CType(m_objMapGuide,
FRIEDAcom.MapGuide)

objMapGuide.ConnectMapGuide(objMapGuide.SessionID,
Session("GRAPHIC").Project)

For Each layer As OSGeo.MapGuide.MgLayer In pv_arrChangedLayers
Visibility = layer.IsVisible()
layer.SetVisible(Not Visibility)
Next
End Sub
---
The Exception occurs here: Visibility = layer.IsVisible(). When I change it
to Visibility = layer.GetVisible(), the exception occurs in
layer.SetVisible(Not Visibility).
It's not my code and I don't really understand what's going on.

The Exception:
OSGeo.MapGuide.SWIGExceptionHelper.ThrowCustomException(String className,
IntPtr cptr) +494
   OSGeo.MapGuide.PlatformBaseApiPINVOKE.MgLayerBase_SetVisible(IntPtr
jarg1, Boolean jarg2) +0
   OSGeo.MapGuide.MgLayerBase.SetVisible(Boolean visible) +13



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] MapGuide Server issues

2018-12-10 Thread frieda
Yes that’s solved my problem, erverything works fine now. Thank you very
much. 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] MapGuide Server issues

2018-12-06 Thread frieda
Update: Ok I tried the following posted in this thread from Gabriele
Monfardini
http://osgeo-org.1560.x6.nabble.com/HELP-An-exception-occurred-in-DB-XML-component-td5097289.html

db_dump -f content MgLibraryResourceContents.dbxml
db_load -f content MgLibraryResourceContents_new.dbxml

And the same with MgLibraryResourceData.db

Now I'm able to start the MapGuide Server and I can see all my Projects in
Maestro but all paths to external folders are gone.
Can someone tell me where MapGuide store these Paths? I mean the paths to
external folder you can edit in Mapadmin



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] MapGuide Server issues

2018-12-06 Thread frieda
Hello, my MapGuide Server (2.1) running on Windows Web Server 2008 and IIS
7.0 crashed today out of nowhere. I could not restart the service so I have
uninstalled the mapguide server and set it up again.

I made a backup from C:\Program Files
(x86)\OSGeo\MapGuide\Server\Repositories\Library

But when I copy and paste my backup in that folder back then the server
crash again and could not be started. So something is wrong with one of
these files. Now I would like to open the MgLibraryResourceData.db to see
what could be wrong but its encrypted.

Can someone tell me how I can open the DB-File or what could be wrong?



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Cant login to Maestro

2018-08-15 Thread frieda
After intensive fault diagnostic (10 hours+) I just installed the mapguide
server again and now it works perfectly. On the other hand all my projects
in maestro are gone :/



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] Cant login to Maestro

2018-08-14 Thread frieda
MapGuide Server 2.1, Maestro v2.0.50727

Hello, can someone help me to find out why I cant run MapGuide anymore?

I cant login to Maestro but createing session works perfectly. Everytime
when I log in to my Web application, MapGuide shows me an error: URL not
available ...mapguide/mapviewernet/ajaxviewer.aspx

Im Using IIS 6

 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] MapGuide Service muste be restarted once in a while

2018-02-15 Thread frieda
Thank you very much, I found the reason.

My SessionRepositoriesLimit was to low (200). I just have increased the
value to 400



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] MapGuide Service muste be restarted once in a while

2018-02-14 Thread frieda
Ok today I had to restart the map guide server again. 
Nothing is running at full capacity, in error log file I can only see
"Session has expired", "Cannot create repository" or "Authentication failed"
but these kind of errors happening on a daily basis.

Its seems that this happens at rush hour. Maybe I shoul increase some values
in my serverconfig.ini, any tips which one?



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] MapGuide Service muste be restarted once in a while

2018-02-08 Thread frieda
My SQL-Queries are not that extraordinarily long. The Server has enough
resources so that should not be a problem either (no entries in server
manager about that).





--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] MapGuide Service muste be restarted once in a while

2018-02-08 Thread frieda
Is something wrong with my values? 

SessionTimerInterval = 4000
SessionTimeout = 12000


Here is an error log, at the end I restarted the service manuelly. The error
is somewhere between 08:37 and 9:33.

<2018-02-06T08:37:12>   6160Anonymous
 Error: An exception occurred in FDO component.
Error occurred in Feature Source
(Library://Neunkirchen-Seelscheid/Data/NeunkirchenSeelscheid_SQL.FeatureSource):
RDBMS: [Microsoft][ODBC SQL Server Driver][SQL Server]Spaltennamen müssen in
jeder Tabelle eindeutig sein. Der Spaltenname 'tbl_Grab_ID' wurde in der
Grabnummer-Tabelle mehrmals angegeben.  (Cause: , Root Cause: RDBMS:
[Microsoft][ODBC SQL Server Driver][SQL Server]Spaltennamen müssen in jeder
Tabelle eindeutig sein. Der Spaltenname 'tbl_Grab_ID' wurde in der
Grabnummer-Tabelle mehrmals angegeben. )
 StackTrace:
  - MgFeatureServiceHandler.ProcessOperation() line 83 file
c:\mg-2.5-x86\mgdev\server\src\services\feature\FeatureServiceHandler.cpp
  - MgOpExecuteSqlNonQuery.Execute() line 150 file
c:\mg-2.5-x86\mgdev\server\src\services\feature\OpExecuteSqlNonQuery.cpp
  - MgServerSqlCommand.ExecuteQuery() line 131 file
c:\mg-2.5-x86\mgdev\server\src\services\feature\ServerSqlCommand.cpp
<2018-02-06T08:37:29>   9944Anonymous
 Error: An exception occurred in FDO component.
Error occurred in Feature Source
(Library://Neunkirchen-Seelscheid/Data/NeunkirchenSeelscheid_SQL.FeatureSource):
RDBMS: [Microsoft][ODBC SQL Server Driver][SQL Server]Fehler bei ALTER TABLE
DROP COLUMN, da die 'tbl_GrafikText_ID'-Spalte in der
Grabbeschriftung-Tabelle nicht vorhanden ist.  (Cause: , Root Cause: RDBMS:
[Microsoft][ODBC SQL Server Driver][SQL Server]Fehler bei ALTER TABLE DROP
COLUMN, da die 'tbl_GrafikText_ID'-Spalte in der Grabbeschriftung-Tabelle
nicht vorhanden ist. )
 StackTrace:
  - MgFeatureServiceHandler.ProcessOperation() line 83 file
c:\mg-2.5-x86\mgdev\server\src\services\feature\FeatureServiceHandler.cpp
  - MgOpExecuteSqlNonQuery.Execute() line 150 file
c:\mg-2.5-x86\mgdev\server\src\services\feature\OpExecuteSqlNonQuery.cpp
  - MgServerSqlCommand.ExecuteQuery() line 131 file
c:\mg-2.5-x86\mgdev\server\src\services\feature\ServerSqlCommand.cpp
<2018-02-06T08:37:29>   1344Anonymous
 Error: An exception occurred in FDO component.
Error occurred in Feature Source
(Library://Neunkirchen-Seelscheid/Data/NeunkirchenSeelscheid_SQL.FeatureSource):
RDBMS: [Microsoft][ODBC SQL Server Driver][SQL Server]Spaltennamen müssen in
jeder Tabelle eindeutig sein. Der Spaltenname 'LokTbl_Beschriftungsart_ID'
wurde in der Grabbeschriftung-Tabelle mehrmals angegeben.  (Cause: , Root
Cause: RDBMS: [Microsoft][ODBC SQL Server Driver][SQL Server]Spaltennamen
müssen in jeder Tabelle eindeutig sein. Der Spaltenname
'LokTbl_Beschriftungsart_ID' wurde in der Grabbeschriftung-Tabelle mehrmals
angegeben. )
 StackTrace:
  - MgFeatureServiceHandler.ProcessOperation() line 83 file
c:\mg-2.5-x86\mgdev\server\src\services\feature\FeatureServiceHandler.cpp
  - MgOpExecuteSqlNonQuery.Execute() line 150 file
c:\mg-2.5-x86\mgdev\server\src\services\feature\OpExecuteSqlNonQuery.cpp
  - MgServerSqlCommand.ExecuteQuery() line 131 file
c:\mg-2.5-x86\mgdev\server\src\services\feature\ServerSqlCommand.cpp
<2018-02-06T08:37:29>   4240Anonymous
 Error: An exception occurred in FDO component.
Error occurred in Feature Source
(Library://Neunkirchen-Seelscheid/Data/NeunkirchenSeelscheid_SQL.FeatureSource):
RDBMS: [Microsoft][ODBC SQL Server Driver][SQL Server]Spaltennamen müssen in
jeder Tabelle eindeutig sein. Der Spaltenname 'tbl_Grab_ID' wurde in der
Grabbeschriftung-Tabelle mehrmals angegeben.  (Cause: , Root Cause: RDBMS:
[Microsoft][ODBC SQL Server Driver][SQL Server]Spaltennamen müssen in jeder
Tabelle eindeutig sein. Der Spaltenname 'tbl_Grab_ID' wurde in der
Grabbeschriftung-Tabelle mehrmals angegeben. )
 StackTrace:
  - MgFeatureServiceHandler.ProcessOperation() line 83 file
c:\mg-2.5-x86\mgdev\server\src\services\feature\FeatureServiceHandler.cpp
  - MgOpExecuteSqlNonQuery.Execute() line 150 file
c:\mg-2.5-x86\mgdev\server\src\services\feature\OpExecuteSqlNonQuery.cpp
  - MgServerSqlCommand.ExecuteQuery() line 131 file
c:\mg-2.5-x86\mgdev\server\src\services\feature\ServerSqlCommand.cpp
<2018-02-06T08:41:38>   6160Anonymous
 Error: Resource was not found:
Session:ef84409c-0b0f-11e8-8000-208d0a1054f9_en_MTI3LjAuMC4x0AFC0AFB0AFA//FriedaMarker.FeatureSource
 StackTrace:
  - MgFeatureServiceHandler.ProcessOperation() line 83 file
c:\mg-2.5-x86\mgdev\server\src\services\feature\FeatureServiceHandler.cpp
  - MgOpUpdateFeatures.Execute() line 136 file
c:\mg-2.5-x86\mgdev\server\src\services\feature\OpUpdateFeatures.cpp
  - MgServerUpdateFeatures.UpdateFeatures() line 138 file
c:\mg-2.5-x86\mgdev\server\src\services\feature\ServerUpdateFeatures.cpp
  - MgFdoConnectionManager.Open() line 333 file

[mapguide-users] MapGuide Service muste be restarted once in a while

2018-02-07 Thread frieda
Hello, I have a problem with my MapGuide Server 2.5. The thing is, I have to
restart the Service once in a while because I cant see the map, layouts or
anything else. Im working with Windows Server 2012 R2 64bit, an APS.NET web
Application and IIS 8.5.

Im allready tried the automatic recovery features of Windows Services and
also written an program that should run and restart the service when an
error occurs but it seems thats nothing of these happens because my program
should have written an log file.

There is also not a single entry in Windows event viewer about MapGuide
Server 2.5.

Do somebody have an idea?



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users