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 / July 2005

Tip: Looking for answers? Try searching our database.

ASP.NET WAP Site

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ssp - 06 Jul 2005 00:04 GMT
Hi all,

I've been digging for information regarding development of an ASP.NET
WAP Site, but it seems there's very little information around it. Other
then some demo scripts...

Here's my problem. I've created a new project to develop an ASP.NET
Mobile Web application. I created a new Mobile Web Form and following
is the code it automatically generated for me:

---------------
<%@ Page language="c#" Codebehind="test.aspx.cs" Inherits="wap.test"
AutoEventWireup="false" %>
<%@ Register TagPrefix="mobile"
Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile"
%>
<head>
   <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
   <meta name="CODE_LANGUAGE" content="C#">
   <meta name="vs_targetSchema"
content="http://schemas.microsoft.com/Mobile/Page">
</head>

<body Xmlns:mobile="http://schemas.microsoft.com/Mobile/WebForm">
   <mobile:Form id=Form1 runat="server">This is a test
form</mobile:Form>
</body>

---------------

Unfortunately the form won't display in my browser giving me a
"Following error occured: 400" or "Following error occured: 500" (from
production server - windows 2003, iis 6) depending on the server...

My local set up is as follows:

- Windows XP
- IIS 5+
- .NET Framework SDK 1.1
- VS.NET 2003
- Winwap for Windows browser
- Mobile Gateway 3.0

I don't know where I am going wrong.

Any help?
SSP
Wiktor Zychla [MVP] - 06 Jul 2005 12:44 GMT
> Here's my problem. I've created a new project to develop an ASP.NET
> Mobile Web application. I created a new Mobile Web Form and following
[quoted text clipped - 34 lines]
>
> I don't know where I am going wrong.

did you compile the project? how do you navigate to the project site in your
browser? does the project start in IE from within the VS.NET?
Wiktor Zychla
ssp - 07 Jul 2005 00:15 GMT
Hi Wiktor,

I compiled the project.

The browser I am using is Winwap for Windows (www.winwap.org). I have a
wap gateway installed called Mobile Gateway 3.0 (www.realwow.com). The
winwap browser goes through the wap gateway to the project site at
http://localhost/projectsite/test.aspx.

I cannot use IE for wap browsing because it doesn't support wml.

SSP
Wiktor Zychla [MVP] - 07 Jul 2005 08:35 GMT
> The browser I am using is Winwap for Windows (www.winwap.org). I have a
> wap gateway installed called Mobile Gateway 3.0 (www.realwow.com). The
> winwap browser goes through the wap gateway to the project site at
> http://localhost/projectsite/test.aspx.
>
> I cannot use IE for wap browsing because it doesn't support wml.

To test if the website works at all, browse it with IE. If you browse a
mobile website with IE, html (not wml) is returned to the browser (it is one
of those neat things in asp.net).
Then if you are sure that the website works, test it with a mobile browser.
I suggest using free Microsoft Mobile Explorer 3.0. I've experimented with
some other mobile browser emulators and none of them worked properly for me.

Wiktor
ssp - 08 Jul 2005 12:23 GMT
I have the Klondike Wap browser and i still can't surf the site.

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.