[mapguide-users] I cant display maguide enterprise application in
dotnet
fayeZOEL
fyeewong at gmail.com
Thu Sep 23 13:02:25 EDT 2010
Hi,
i follow the sample dotnet code from tutorial, but i fail to display the
ajaxviewer when i browser with IE. I adi follow all the needed instructions
.
<%@ Page Language="C#" %>
<%@ Import Namespace="OSGeo.MapGuide" %>
<%
MapGuideApi.MgInitializeWebTier(@"C:\Program
Files\Autodesk\MapGuideEnterprise2010\WebServerExtensions\www\webconfig.ini");
MgUserInformation UserInfo = new MgUserInformation("Anonymous", "");
MgSite site = new MgSite();
site.Open(UserInfo);
String sessionId = site.CreateSession();
String webLayout = "Library://Samples/Layouts/DotNetSamples.WebLayout";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<frameset rows="0,*" border="0" framespacing="0">
<frame />
<frame src="../mapviewernet/ajaxviewer.aspx?SESSION=<%= sessionId
%>&WEBLAYOUT=<%= webLayout %>" name="ViewerFrame" />
</frameset>
</html>
can yr guys show me wat the problems . for yr informations, i gt no error
when build the project. Thank u
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/I-cant-display-maguide-enterprise-application-in-dotnet-tp5563882p5563882.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list