<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
In the guide, step 2 is:<br>
2. Download and extract the sample application. <br>
&nbsp;&nbsp;&nbsp; Visit the downloads page and download phpviewersample-2.0.zip. <b>On
Windows extract the files to C:\Program
Files\MapGuideOpenSource\WebServerExtensions\www</b>. On Linux extract
the <br>
&nbsp;&nbsp;&nbsp; files to /usr/local/mapguideopensource/webserverextensions/www.
Note that in both cases it should create a folder called
phpviewersample under www. <br>
<br>
I have made the important part bold.<br>
For dotnet, the folder is called dotnetviewersample instead of
phpviewersample.<br>
<pre class="moz-signature" cols="72">Regards, Kenneth, GEOGRAF A/S
</pre>
<br>
<br>
Sandeep Thosar skrev:
<blockquote
 cite="mid:ea9cad060804090248x328e01edq49490caad8697479@mail.gmail.com"
 type="cite">
  <div>I refering the dotnetviewersamplecode from download page and
then unziped the sample code to C:\Inetpub\wwwroot directory and when i
clicked on this linked i get message page can't find and if i run my
application then i get blank output.</div>
  <div>&nbsp;</div>
  <div>Please help me.</div>
  <div>&nbsp;</div>
  <div>With Regards,</div>
  <div>Sandeep</div>
  <div><br>
&nbsp;</div>
  <div class="gmail_quote">On Wed, Apr 9, 2008 at 2:35 PM, Kenneth,
GEOGRAF A/S &lt;<a moz-do-not-send="true" href="mailto:ks@geograf.dk">ks@geograf.dk</a>&gt;
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">
    <div text="#000000" bgcolor="#ffffff">What sample code are you
refering to?<br>
If you try the link below:
    <div class="Ih2E3d"><br>
    <a moz-do-not-send="true"
 href="http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx"
 target="_blank">http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx</a><br>
    <br>
    </div>
It should ask you for username/password.
    <div>
    <div class="Wj3C7c"><br>
    <br>
    <pre cols="72">Regards, Kenneth, GEOGRAF A/S
    </pre>
    <br>
    <br>
Sandeep Thosar skrev: </div>
    </div>
    <blockquote type="cite">
      <div>
      <div class="Wj3C7c">
      <div>Dear&nbsp; Kenneth, GEOGRAF ,</div>
      <div>Thanks for the mail. </div>
      <div>&nbsp;</div>
      <div>I <font face="Times New Roman" size="3">After I installed
data packages then it give me one log file Sheboygan.mgp.log but when I
run the sample code it give me blank output again.</font></div>
      <div>
      <p style="margin: 0in 0in 0pt;"><font size="3"><font
 face="Times New Roman">&nbsp;</font></font></p>
      <p style="margin: 0in 0in 0pt;"><font face="Times New Roman"
 size="3">Please help me.</font></p>
      <p style="margin: 0in 0in 0pt;"><font size="3"><font
 face="Times New Roman">&nbsp;</font></font></p>
      <p style="margin: 0in 0in 0pt;"><font face="Times New Roman"
 size="3">With Regards,</font></p>
      <p style="margin: 0in 0in 0pt;"><font face="Times New Roman"
 size="3">Sandeep</font></p>
      <br>
      </div>
      <div class="gmail_quote">On Wed, Apr 9, 2008 at 1:09 PM, Kenneth,
GEOGRAF A/S &lt;<a moz-do-not-send="true" href="mailto:ks@geograf.dk"
 target="_blank">ks@geograf.dk</a>&gt; wrote:<br>
      <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">
        <div text="#000000" bgcolor="#ffffff">Did you read the the
guide?<br>
        <a moz-do-not-send="true"
 href="http://mapguide.osgeo.org/2.0/documentation.html" target="_blank">http://mapguide.osgeo.org/2.0/documentation.html</a><br>
Click on "Getting Started with MapGuide".<br>
        <br>
Which step is failing?<br>
        <br>
.Net/IIS uses slightly different urls:<br>
&nbsp;<a moz-do-not-send="true"
 href="http://localhost/mapguide/mapadmin/login.php" target="_blank">http://localhost/mapguide/mapadmin/login.php</a><br>
&nbsp;<a moz-do-not-send="true"
 href="http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx"
 target="_blank">http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx</a><br>
        <br>
You seem to confuse repository paths with file system paths.<br>
The WebLayout is not on the filesystem, but in the repository, so you
cannot find it from windows explorer.<br>
You must use an authoring tool to edit the WebLayout (links are in the
guide).<br>
        <br>
For more information on how MapGuide works, please see the Developers
Guide:<br>
        <a moz-do-not-send="true"
 href="http://mapguide.osgeo.org/2.0/documentation.html" target="_blank">http://mapguide.osgeo.org/2.0/documentation.html</a><br>
Simply click on "MapGuide Developers Guide".<br>
        <br>
        <br>
        <pre cols="72">Regards, Kenneth, GEOGRAF A/S
    </pre>
        <br>
        <br>
Sandeep Thosar skrev:
        <blockquote type="cite">
          <div>
          <div>
          <div>Dear Rahul,</div>
          <div>&nbsp;</div>
          <div>Thanks for the information but when i debug this page it
shows me UserId= Anonymous and Password="" then create session after
that it goes to </div>
          <div>&nbsp;</div>
          <font color="#0000ff" size="2">
          <p>&lt;</p>
          </font><font color="#800000" size="2">frame</font><font
 size="2"> </font><font color="#ff0000" size="2">id</font><font
 color="#0000ff" size="2">="viewerFrame"</font><font size="2"> </font><font
 color="#ff0000" size="2">frameborder</font><font color="#0000ff"
 size="2">="no"</font><font size="2"> </font><font color="#ff0000"
 size="2">marginwidth</font><font color="#0000ff" size="2">="0"</font><font
 size="2"> </font><font color="#ff0000" size="2">marginheight</font><font
 color="#0000ff" size="2">="0"</font><font size="2"> </font><font
 color="#ff0000" size="2">scrolling</font><font color="#0000ff" size="2">="no"</font><font
 size="2"> </font><font color="#ff0000" size="2">src</font><font
 color="#0000ff" size="2">="../mapviewernet/ajaxviewer.aspx?SESSION=</font><font
 size="2">&lt;%=sessionId%&gt;</font><font color="#0000ff" size="2">&amp;WEBLAYOUT=</font><font
 size="2">&lt;%=webLayout%&gt;</font><font color="#0000ff" size="2">"&gt;
          </font>where i get session information and shows WebLayout
path <font color="#800000" size="2">Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout
and then get blank output so where i stroes this Library folder in my
application folder or currently it stored in C:\Program
Files\MapGuideOpenSource2.0\Server\Packages\Library\Samples\Sheboygan\Layouts.</font>
          <div>Please help me.</div>
          <div>&nbsp;</div>
          <div>With Regards,</div>
          <div>Sandeep</div>
          <div><br>
          </div>
          <div class="gmail_quote">On Wed, Apr 9, 2008 at 10:17 AM,
Rahul &lt;<a moz-do-not-send="true"
 href="mailto:unicorn_admirer@yahoo.com" target="_blank">unicorn_admirer@yahoo.com</a>&gt;
wrote:<br>
          <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">
            <div>
            <div
 style="font-size: 12pt; font-family: times new roman,new york,times,serif;">
            <p>Hi ,</p>
            <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I think you should check www/dotnetviewersample/<u><strong>ajaxviewersample.aspx</strong></u>
file , this file contain the information regarding the weblayout as
well as the startup page for the sample application.</p>
            <p>&nbsp;</p>
            <p>---------------------------------------------------------------------------------------------------</p>
            <p>&nbsp;</p>
            <p>&lt;script runat="server"&gt;<br>
String webLayout =
"Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout";<br>
String defaultUser = "Anonymous";<br>
String defaultPassword = "";<br>
String sessionId = "";<br>
&lt;/script&gt;</p>
            <div
 style="font-size: 12pt; font-family: times new roman,new york,times,serif;">----------------------------------------------------------------------------------------------------<br>
Max !!</div>
            <div>
            <div>
            <div
 style="font-size: 12pt; font-family: times new roman,new york,times,serif;"><br>
&nbsp;</div>
            <div
 style="font-size: 12pt; font-family: times new roman,new york,times,serif;">-----
Original Message ----<br>
From: Sandeep Thosar &lt;<a moz-do-not-send="true"
 href="mailto:sandeepthosar@gmail.com" target="_blank">sandeepthosar@gmail.com</a>&gt;<br>
To: MapGuide Users Mail List &lt;<a moz-do-not-send="true"
 href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a>&gt;<br>
Sent: Wednesday, April 9, 2008 11:33:13 AM<br>
Subject: Re: [mapguide-users] Data Package Problem<br>
            <br>
            <div>Dear Rahul,</div>
            <div>&nbsp;</div>
            <div>I use Asp.Net 2.0 and i load packages also but what is
the start up page i set to run the application.</div>
            <div>&nbsp;</div>
            <div>my WebLayout stored in C:\Program
Files\MapGuideOpenSource2.0\Server\Packages\Library\Samples\Sheboygan\Layouts
and the path which returned in JAvascript is&nbsp; <font color="#800000"
 size="2">"Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout"</font><font
 size="2">;</font></div>
            <div>&nbsp;</div>
            <div>I can't understand from where WebLayout Picked.</div>
            <div>&nbsp;</div>
            <div>Please help me.</div>
            <div>&nbsp;</div>
            <div>With Regards,</div>
            <div>&nbsp;</div>
            <div>Sandeep<br>
            <br>
            </div>
            <div class="gmail_quote">On Wed, Apr 9, 2008 at 9:53 AM,
Rahul &lt;<a moz-do-not-send="true"
 href="mailto:unicorn_admirer@yahoo.com" target="_blank" rel="nofollow">unicorn_admirer@yahoo.com</a>&gt;
wrote:<br>
            <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">
              <div>
              <div
 style="font-size: 12pt; font-family: times new roman,new york,times,serif;">
              <p>Hi ,</p>
              <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I think you try to check through MapAgent and
see that you can get some xml output for the Feature Source loaded
through Data Package(*.mgp).</p>
              <p>&nbsp;</p>
              <p><a moz-do-not-send="true"
 href="http://x.x.x.x:8008/mapguide/mapagent/" target="_blank"
 rel="nofollow">http://x.x.x.x:8008/mapguide/mapagent/</a></p>
              <p>&nbsp;</p>
              <p>One more thing&nbsp;are you using MapGuide Studio and if so
then you can check the loaded package and see that you can preview
weblayout or layers in the mapguide studio.</p>
              <p>&nbsp;</p>
              <p>Max</p>
              <p>&nbsp;</p>
              <div
 style="font-size: 12pt; font-family: times new roman,new york,times,serif;">
              <div
 style="font-size: 12pt; font-family: times new roman,new york,times,serif;">----------------------------------------------------------------------------------------------------------<br>
              <div>Dear Rahul,</div>
              <div>&nbsp;</div>
              <div>After i load data packages from site administrator
and i run my application then i get blank output without any Error.</div>
              <div>&nbsp;</div>
              <div>Please told me exactly what happen and which page i
set to start up page for the mapguide application or there is any
changes require in mapguide open source sample code.</div>
              <div>&nbsp;</div>
              <div>Please help me.</div>
              <div>&nbsp;</div>
              <div>With Regards,</div>
              <div>&nbsp;</div>
              <font color="#888888">
              <div>Sandeep</div>
              </font><br>
              </div>
              </div>
              </div>
              <br>
              <hr size="1">
You rock. That's why Blockbuster's offering you <a
 moz-do-not-send="true"
 href="http://us.rd.yahoo.com/evt=47523/*http://tc.deals.yahoo.com/tc/blockbuster/text5.com"
 target="_blank" rel="nofollow">one month of Blockbuster Total Access</a>,
No Cost.</div>
              <br>
_______________________________________________<br>
mapguide-users mailing list<br>
              <a moz-do-not-send="true"
 href="mailto:mapguide-users@lists.osgeo.org" target="_blank"
 rel="nofollow">mapguide-users@lists.osgeo.org</a><br>
              <a moz-do-not-send="true"
 href="http://lists.osgeo.org/mailman/listinfo/mapguide-users"
 target="_blank" rel="nofollow">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
              <br>
            </blockquote>
            </div>
            <br>
            </div>
            <div
 style="font-size: 12pt; font-family: times new roman,new york,times,serif;"><br>
            </div>
            </div>
            </div>
            </div>
            <div><br>
__________________________________________________<br>
Do You Yahoo!?<br>
Tired of spam? Yahoo! Mail has the best spam protection around <br>
            <a moz-do-not-send="true" href="http://mail.yahoo.com/"
 target="_blank">http://mail.yahoo.com</a> </div>
            </div>
            <br>
_______________________________________________<br>
mapguide-users mailing list<br>
            <a moz-do-not-send="true"
 href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
            <a moz-do-not-send="true"
 href="http://lists.osgeo.org/mailman/listinfo/mapguide-users"
 target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
            <br>
          </blockquote>
          </div>
          <br>
          </div>
          </div>
          <pre><hr size="4" width="90%"><div>
_______________________________________________
mapguide-users mailing list
<a moz-do-not-send="true" href="mailto:mapguide-users@lists.osgeo.org"
 target="_blank">mapguide-users@lists.osgeo.org</a>
<a moz-do-not-send="true"
 href="http://lists.osgeo.org/mailman/listinfo/mapguide-users"
 target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
  </div></pre>
        </blockquote>
        </div>
        <br>
_______________________________________________<br>
mapguide-users mailing list<br>
        <a moz-do-not-send="true"
 href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
        <a moz-do-not-send="true"
 href="http://lists.osgeo.org/mailman/listinfo/mapguide-users"
 target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
        <br>
      </blockquote>
      </div>
      <br>
      </div>
      </div>
      <pre><hr size="4" width="90%"><div class="Ih2E3d">

_______________________________________________
mapguide-users mailing list
<a moz-do-not-send="true" href="mailto:mapguide-users@lists.osgeo.org"
 target="_blank">mapguide-users@lists.osgeo.org</a>
<a moz-do-not-send="true"
 href="http://lists.osgeo.org/mailman/listinfo/mapguide-users"
 target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
  </div></pre>
    </blockquote>
    </div>
    <br>
_______________________________________________<br>
mapguide-users mailing list<br>
    <a moz-do-not-send="true"
 href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
    <a moz-do-not-send="true"
 href="http://lists.osgeo.org/mailman/listinfo/mapguide-users"
 target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
    <br>
  </blockquote>
  </div>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
  </pre>
</blockquote>
</body>
</html>