<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
IMO, using the built in ASP server only hides a lot of problems that
occur when deploying the site to IIS.<br>
As annoying as it may be to strugle with IIS during development, its
even worse to do so AFTER the project is completed.<br>
<br>
If you can help it at all, you should not mix the files from the
MapGuide install with your own files at all.<br>
If you do, upgrading will be a real pain.<br>
<br>
You can register a virtual directory under the mapviewernet folder, but
you have to do it in more steps:<br>
1. Create the VS solution on the IIS<br>
2. Open IIS admin<br>
3. Create the new virtual dir in IIS under the "mapviewer" folder (or
anywhere you like).<br>
4. On the properties pages, change the url to point to the new location.<br>
<br>
You can now reference you ASPX files from the WebLayout using relative
paths.<br>
<br>
Will that help you accomplish what you want?<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
Ed Jobe skrev:
<blockquote cite="mid:1232043147411-2163990.post@n2.nabble.com"
type="cite">
<div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;">
<div>Well, I'm new to asp, so maybe I'm not doing something right.
What I'm trying to set up is a site at C:\inetpub\wwwroot where the
main asp site lives but with mapguide as part of the solution so
that users who login to the main site will already be logged in to
mapguide. I also want to have a parallel site for development. But I
don't want to copy all the mapguide stuff, just the www folder.
However, my first attempt at this returned a lot of compile errors for
broken links.</div>
<div> </div>
<div>I started server development by getting mapguide up and running.
Now I need to focus on getting the main site up and integrated with
mapguide. My VS project only showed regular folders under wwwroot. It
didn't show the virtual folder for mapguide. So I tried
opening mapguide as a site, but VS only sees that as a regular site.
IOW, if I want to add a new page to the mapguide application, only html
page templates are shown. None of the asp templates show up. I can't
find a way in IIS or VS to turn an existing application into an asp
application. BTW, I'm using IIS7 on Server2008 and VS 2008. </div>
<div> </div>
<div>So I'm still struggling with the concepts of good site
organization. The asp guides I've seen so far only show you how to
create a new site under wwwroot. I can't find anything that speaks
about best practices for site organization and development and then
publishing. Once I get over that, coding should be a breeze.<br>
</div>
<div><font color="#0000ff">Ed Jobe</font></div>
<div><br>
</div>
<div style="font-size: 12pt; font-family: arial,helvetica,sans-serif;"><br>
<div
style="font-size: 12pt; font-family: times new roman,new york,times,serif;"><font
face="Tahoma" size="2">
<hr size="1"><b><span style="font-weight: bold;">From:</span></b>
"Kenneth Skovhede, GEOGRAF A/S (via Nabble)" <<a
moz-do-not-send="true"
href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2163990&i=0"
target="_top" rel="nofollow">ml-user+64672-1813992732@...</a>><br>
<b><span style="font-weight: bold;">To:</span></b> Ed Jobe <<a
moz-do-not-send="true"
href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2163990&i=1"
target="_top" rel="nofollow">ed57gmc-bus@...</a>><br>
<b><span style="font-weight: bold;">Sent:</span></b> Thursday,
January 15, 2009 2:35:23 AM<br>
<b><span style="font-weight: bold;">Subject:</span></b> Re:
[mapguide-users] asp site setup<br>
</font><br>
Short answer: yes, it is possible. <br>
<br>
But you will have to manually set up the PHP and mapagent.fcgi mappings
<br>
in IIS <br>
on the new location. <br>
The steps here should explain what you need to setup in the new
location: <br>
<a moz-do-not-send="true"
href="http://trac.osgeo.org/mapguide/wiki/MGOS2onVistaIIS7"
target="_blank" rel="nofollow">http://trac.osgeo.org/mapguide/wiki/MGOS2onVistaIIS7</a><br>
<br>
I can't think of a situation where you would think this was a better <br>
solution though. <br>
Could you elaborate on the kind of trouble you have? <br>
<br>
Regards, Kenneth Skovhede, GEOGRAF A/S <br>
<br>
<br>
<br>
Ed Jobe skrev: <br>
> I'm having difficulty setting up the organization of my asp
website. I keep <br>
> running into issues due to having the Mapguide www folder in
Program Files. <br>
> Is is possible to move this folder to my inetpub folder? <br>
> <br>
> Ed Jobe <br>
> <br>
> <br>
_______________________________________________ <br>
mapguide-users mailing list <br>
<a moz-do-not-send="true"
href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2161751&i=0"
target="_blank" rel="nofollow">mapguide-users@...</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>
<br>
<hr color="#cccccc" noshade="noshade" size="1">
<div
style="font-family: tahoma,geneva,helvetica,arial,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(102, 102, 102);">This
email is a reply to your post @ <a moz-do-not-send="true"
href="http://n2.nabble.com/asp-site-setup-tp2152742p2161751.html"
target="_blank" rel="nofollow">http://n2.nabble.com/asp-site-setup-tp2152742p2161751.html</a><br>
You can reply by email or by visting the link above.<br>
</div>
<br>
</div>
</div>
</div>
<br>
<hr align="left" width="300">View this message in context: <a
moz-do-not-send="true"
href="http://n2.nabble.com/asp-site-setup-tp2152742p2163990.html">Re:
[mapguide-users] asp site setup</a><br>
Sent from the <a moz-do-not-send="true"
href="http://n2.nabble.com/MapGuide-Users-f1803227.html">MapGuide
Users mailing list archive</a> at Nabble.com.<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>