It appears to be a local setup problem. If you can get some sort of output other than "page not found" from: http://localhost/mapguide/mapviewerajax/? You can conclude that .Net works and IIS is correctly configured.
Try opening the IIS console, and locate the "Default Web Site" and the "mapguide" folder. From here you can explore the setup of the MapGuide folder and try to guess what the problem is with the "dotnetviewersample" folder.
You can try to put in a html page in the folder, and load that with the URL, if it shows, the problem is most likely a .Net /IIS permission problem.
Regards, Kenneth, GEOGRAF A/S Sandeep Thosar skrev:
Dear *Kenneth,**Ya as per your instructions i find that my ASPX/.Net is disabled in IIS then i make it anable still get same result (page can not found) and now my login.php page is also not working giving me same output.* ** *Please help me.* ** *With Regards,* ** *Sandeep*On Thu, Apr 10, 2008 at 12:36 PM, Kenneth, GEOGRAF A/S <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:I would like to help you out, but if you do not follow the guide strictly, it is very difficult to guess what went wrong. I would suggest that you start over, and follow the guide closely. If you do not want to do that, there are a couple of common reasons for a 404 error: 1. The directory/file that IIS points to does not exist 2. ASPX/.Net is disabled in IIS 3. Scripting is disabled. 4. The folder is not mapped in IIS. 5. Permission problems may sometimes be masked as 404 errors. 6. Make sure that IIS is using .Net 2.0 I can't guess what you are refering to with "Administrative Tool -> MapGuide -> DotNetViewerSample". Regards, Kenneth, GEOGRAF A/SSandeep Thosar skrev:Dear *Kenneth,* *Thanks for the mail and tried as per your instructions and also give references in Administrative Tool --- > Mapguide ----> Dotnetviewersample.* *but it is not working and i facing the same problem.*** *Then i type URL in internet Explorere--> *http://localhost/mapguide/dotnetsampleviewer/ajaxviewersample.aspx** *but it gives me following error THE PAGE CAN NOT FOUND.* ** Please help me out. With Regards, SandeepOn Wed, Apr 9, 2008 at 6:51 PM, Kenneth, GEOGRAF A/S <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: In the guide, step 2 is: 2. Download and extract the sample application. Visit the downloads page and download phpviewersample-2.0.zip. *On Windows extract the files to C:\Program Files\MapGuideOpenSource\WebServerExtensions\www*. On Linux extract the files to /usr/local/mapguideopensource/webserverextensions/www. Note that in both cases it should create a folder called phpviewersample under www. I have made the important part bold. For dotnet, the folder is called dotnetviewersample instead of phpviewersample. Regards, Kenneth, GEOGRAF A/SSandeep Thosar skrev: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.Please help me. With Regards,SandeepOn Wed, Apr 9, 2008 at 2:35 PM, Kenneth, GEOGRAF A/S<[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: What sample code are you refering to? If you try the link below: http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx It should ask you for username/password. Regards, Kenneth, GEOGRAF A/SSandeep Thosar skrev:Dear Kenneth, GEOGRAF , Thanks for the mail.I After I installed data packages then it give me onelog file Sheboygan.mgp.log but when I run the sample code it give me blank output again.Please help me.With Regards, Sandeep On Wed, Apr 9, 2008 at 1:09 PM, Kenneth, GEOGRAF A/S <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: Did you read the the guide? http://mapguide.osgeo.org/2.0/documentation.html Click on "Getting Started with MapGuide". Which step is failing? .Net/IIS uses slightly different urls: http://localhost/mapguide/mapadmin/login.php http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx You seem to confuse repository paths with file system paths. The WebLayout is not on the filesystem, but in the repository, so you cannot find it from windows explorer. You must use an authoring tool to edit the WebLayout (links are in the guide). For more information on how MapGuide works, please see the Developers Guide: http://mapguide.osgeo.org/2.0/documentation.html Simply click on "MapGuide Developers Guide". Regards, Kenneth, GEOGRAF A/SSandeep Thosar skrev:Dear Rahul,Thanks for the information but when i debug thispage it shows me UserId= Anonymous and Password="" then create session after that it goes to< frame id="viewerFrame" frameborder="no" marginwidth="0" marginheight="0" scrolling="no" src="../mapviewernet/ajaxviewer.aspx?SESSION=<%=sessionId%>&WEBLAYOUT=<%=webLayout%>"> where i get session information and shows WebLayout path 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. Please help me.With Regards,Sandeep On Wed, Apr 9, 2008 at 10:17 AM, Rahul <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: Hi , I think you should check www/dotnetviewersample/_*ajaxviewersample.aspx*_ file , this file contain the information regarding the weblayout as well as the startup page for the sample application.---------------------------------------------------------------------------------------------------<script runat="server"> String webLayout = "Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout"; String defaultUser = "Anonymous"; String defaultPassword = ""; String sessionId = ""; </script> ---------------------------------------------------------------------------------------------------- Max !!----- Original Message ----From: Sandeep Thosar <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> To: MapGuide Users Mail List <mapguide-users@lists.osgeo.org <mailto:mapguide-users@lists.osgeo.org>> Sent: Wednesday, April 9, 2008 11:33:13 AM Subject: Re: [mapguide-users] Data Package Problem Dear Rahul,I use Asp.Net 2.0 and i load packages also butwhat is the start up page i set to run the application.my WebLayout stored in C:\ProgramFiles\MapGuideOpenSource2.0\Server\Packages\Library\Samples\Sheboygan\Layoutsand the path which returned in JAvascript is "Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout"; I can't understand from where WebLayout Picked. Please help me. With Regards, SandeepOn Wed, Apr 9, 2008 at 9:53 AM, Rahul <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: Hi , 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).http://x.x.x.x:8008/mapguide/mapagent/One more thing 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.Max---------------------------------------------------------------------------------------------------------- Dear Rahul,After i load data packages from siteadministrator and i run my application then i get blank output without any Error.Please told me exactly what happen andwhich page i set to start up page for the mapguide application or there is any changes require in mapguide open source sample code.Please help me. With Regards, Sandeep------------------------------------------------------------------------ You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access <http://us.rd.yahoo.com/evt=47523/*http://tc.deals.yahoo.com/tc/blockbuster/text5.com>, No Cost. _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org <mailto:mapguide-users@lists.osgeo.org> http://lists.osgeo.org/mailman/listinfo/mapguide-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com <http://mail.yahoo.com/> _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org <mailto:mapguide-users@lists.osgeo.org> http://lists.osgeo.org/mailman/listinfo/mapguide-users ------------------------------------------------------------------------ _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org <mailto:mapguide-users@lists.osgeo.org> http://lists.osgeo.org/mailman/listinfo/mapguide-users_______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org <mailto:mapguide-users@lists.osgeo.org> http://lists.osgeo.org/mailman/listinfo/mapguide-users ------------------------------------------------------------------------ _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org <mailto:mapguide-users@lists.osgeo.org> http://lists.osgeo.org/mailman/listinfo/mapguide-users_______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org <mailto:mapguide-users@lists.osgeo.org> http://lists.osgeo.org/mailman/listinfo/mapguide-users ------------------------------------------------------------------------ _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org <mailto:mapguide-users@lists.osgeo.org> http://lists.osgeo.org/mailman/listinfo/mapguide-users_______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org <mailto:mapguide-users@lists.osgeo.org> http://lists.osgeo.org/mailman/listinfo/mapguide-users ------------------------------------------------------------------------ _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org <mailto:mapguide-users@lists.osgeo.org> http://lists.osgeo.org/mailman/listinfo/mapguide-users_______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org <mailto:mapguide-users@lists.osgeo.org> http://lists.osgeo.org/mailman/listinfo/mapguide-users ------------------------------------------------------------------------ _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users