Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Mobile / September 2004

Tip: Looking for answers? Try searching our database.

Where to get emulator from (web matrix)?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Asad Khan - 17 Sep 2004 03:48 GMT
Hi,

I am using Web Matrix to develop some mobile pages. I am able to run the
mobile pages successfully locally using IE. However, I want to see it run on
a device or an emulator.

Where can I find an emulator that works with web matrix? Any links on how to
use it with web matrix?

On the other hand, I tried uploading my mobile aspx files to my server at
instaspace, but I keep getting this error:

"Parser Error Message: Could not load the assembly
'Microsoft.Matrix.Framework.Mobile, Version=0.6.0.0, Culture=neutral,
PublicKeyToken=6f763c9966660626'. Make sure that it is compiled before
accessing the page."

which I guess means that instaspace doesn't support mobile pages? Is there
some place else on the web where I can upload my mobile pages for free and
test?

Thanks.
JuanDG - 21 Sep 2004 20:49 GMT
Well that's two questions in one post, is that legal?????(jejejeje just
kidding)
Web matrix is an excellent free IDE and I also use it for experimental
projects.
The first thing you need it’s an emulator, the best one is Openwave Phone
Simulator 6.2.2, you can download it from here
http://developer.openwave.com/dvl/tools_and_sdk/openwave_mobile_sdk/phone_simulator/

With that installed all you have to do its run your project on webmatrix so
it starts the web server (code name Cassini) and put it to run in one port
(i.e 8080). Then close IE and launch the Openwave PS and type the address of
the project (it should start like http://localhost:8080/....), and voila!!!
You are previewing your mobile web site in one of the most popular browser
for mobile phones in the world!!! (Compatibility guaranteed with most
devices!!!).

If what you want is to upload it to your server you must start remove the
first line of code web matrix creates that looks like this:
<%@ Page Inherits="Microsoft.Matrix.Framework.Mobile.UI.MobilePage,
Microsoft.Matrix.Framework.Mobile, Version=0.6.0.0, Culture=neutral,
PublicKeyToken=6f763c9966660626" Language="C#" %>
<%@ Register TagPrefix="Mobile" Namespace="System.Web.UI.MobileControls"
Assembly="System.Web.Mobile" %>

and replace irt with this one:

<%@ Page Inherits="System.Web.UI.MobileControls.MobilePage" Language="c#" %>
<%@ Register TagPrefix="mobile" Namespace="System.Web.UI.MobileControls"
Assembly="System.Web.Mobile" %>
<%@ import Namespace="System.Web.Mobile" %>
<script runat="server">

the problem (as you can see) is that web matrix is calling the assembly
Microsoft.Matrix.Framework.Mobile.UI.MobilePage, that it’s not going to be
available in your instaspace server and that’s why you get the error, not
because they can’t run mobile pages.

I hope my post it’s helpful and if you have trouble please let me know

--

Juan David Gomez A.
Microsoft Certified Professional
Analista de Desarrollo - PSL S.A.
Web and Wireless Banking
Medellin - Colombia

> Hi,
>
[quoted text clipped - 18 lines]
>
> Thanks.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.