[mapguide-users] ajax viewer with MG 4
Greg Neff
gbneff at cid.utah.gov
Mon Feb 2 15:52:59 PST 2026
Thanks for the response.
This is just on my local machine so it’s not available for you to try the
url but here is how the layout is embedded in the page.
<frameset id="master" rows="30,*" frameborder="no" framespacing="0">
<frame name="titleFrame" id="titleFrame" frameborder="0"
marginwidth="0" marginheight="0" scrolling="no" src="title.html">
<frame name="viewerFrame" id="viewerFrame" frameborder="0"
marginwidth="0" marginheight="0" scrolling="no"
src="../mapviewernet/ajaxviewer.aspx?SESSION='<%=sessionId
%>'&WEBLAYOUT='<%=webLayout
%>'&Username=<%=defaultUser%>&Password=<%=defaultPassword%>">
</frameset>
A frame before the layout loads and then the error. Here is how the page
looks:
Thanks,
*Gregory B. Neff*
Cottonwood Improvement District
8620 S Highland Dr
Sandy, UT 84093
801.943.7671
cottonwoodimprovement.gov
*From:* Gordon Luckett <gordon.luckett at arrowgeomatics.com>
*Sent:* Monday, February 2, 2026 3:46 PM
*To:* MapGuide Users Mail List <mapguide-users at lists.osgeo.org>
*Cc:* Greg Neff <gbneff at cid.utah.gov>
*Subject:* Re: [mapguide-users] ajax viewer with MG 4
Can you share the direct Layout URL and the URL you are embedding?
On Mon, 2 Feb 2026, 17:37 Greg Neff via mapguide-users, <
mapguide-users at lists.osgeo.org> wrote:
I am using Mapguide 4
.net
IIs 10
Windows 11
and trying to get an old layout with the ajax viewer working. It’s still
working on a different server with Mapguide 3.1.2.9484.
I have updated my map definition and web layout to the latest resource
versions.
I can preview the layout just fine in Maestro but when I try to load it
into a frame on a web page I get the following error:
Invalid repository type. Bad Resource Identifier: -
CSharp_OSGeofMapGuide_new_MgResourceIdentifier___() line 11524 file
C:\Workspace\mg-4.0\MgDev\Bindings\src\Bindings\DotNet\PlatformBase\PlatformBaseUnmanagedApi_wrap.cpp
- MgResourceIdentifier.ParseIdentifier() line 457 file
C:\Workspace\mg-4.0\MgDev\Common\PlatformBase\Services\ResourceIdentifier.cpp
Does anyone know why I might be getting this error.
Thanks,
*Gregory B. Neff*
Cottonwood Improvement District
8620 S Highland Dr
Sandy, UT 84093
801.943.7671
cottonwoodimprovement.gov
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20260202/fe28d1fb/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 43068 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20260202/fe28d1fb/attachment.png>
More information about the mapguide-users
mailing list