ASP.NET WAP Site

Discussion in 'ASP .Net Mobile' started by ssp, Jul 6, 2005.

  1. ssp

    ssp Guest

    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
     
    ssp, Jul 6, 2005
    #1
    1. Advertising

  2. > 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.


    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
     
    Wiktor Zychla [MVP], Jul 6, 2005
    #2
    1. Advertising

  3. ssp

    ssp Guest

    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
     
    ssp, Jul 7, 2005
    #3
  4. > 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
     
    Wiktor Zychla [MVP], Jul 7, 2005
    #4
  5. ssp

    ssp Guest

    I have the Klondike Wap browser and i still can't surf the site.
     
    ssp, Jul 8, 2005
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Aaron Whiffin
    Replies:
    0
    Views:
    625
    Aaron Whiffin
    Sep 4, 2003
  2. meo
    Replies:
    3
    Views:
    1,557
    Rad [Visual C# MVP]
    Mar 10, 2007
  3. Sara T.

    WAP Site and back button

    Sara T., Jul 14, 2004, in forum: ASP .Net Mobile
    Replies:
    1
    Views:
    228
    Jean-Luc David [MS-MVP]
    Jul 27, 2004
  4. Replies:
    2
    Views:
    160
  5. Replies:
    3
    Views:
    182
    B Wisentaner
    Dec 11, 2005
Loading...

Share This Page