mobile web forms

Discussion in 'ASP .Net' started by Andreas Bauer, Feb 22, 2006.

  1. Hi,

    I've just create a mobile web form with visual web developer express.
    But when I try to run it, it shows just up the default.aspx. But when I
    enter start.ascx (the mobile page) I receive this error:

    Server Error in '/tourist' Application.
    This type of page is not served.
    Description: The type of page you have requested is not served because
    it has been explicitly forbidden. The extension '.ascx' may be
    incorrect. Please review the URL below and make sure that it is
    spelled correctly.

    Requested URL: /tourist/start.ascx

    Version Information: Microsoft .NET Framework Version:2.0.50727.42;
    ASP.NET Version:2.0.50727.42

    How can I test and run mobile web forms?

    Regards,

    Andi
    Andreas Bauer, Feb 22, 2006
    #1
    1. Advertising

  2. Andreas Bauer

    Teemu Keiski Guest

    Hi,

    ".ascx" is a user control and cannot be served, you'd have a asp.net page
    with extension ".aspx", which would work as expected.

    --
    Teemu Keiski
    ASP.NET MVP, AspInsider
    Finland, EU
    http://blogs.aspadvice.com/joteke


    "Andreas Bauer" <> wrote in message
    news:dti5t5$4mj$...
    > Hi,
    >
    > I've just create a mobile web form with visual web developer express.
    > But when I try to run it, it shows just up the default.aspx. But when I
    > enter start.ascx (the mobile page) I receive this error:
    >
    > Server Error in '/tourist' Application.
    > This type of page is not served.
    > Description: The type of page you have requested is not served because
    > it has been explicitly forbidden. The extension '.ascx' may be
    > incorrect. Please review the URL below and make sure that it is
    > spelled correctly.
    >
    > Requested URL: /tourist/start.ascx
    >
    > Version Information: Microsoft .NET Framework Version:2.0.50727.42;
    > ASP.NET Version:2.0.50727.42
    >
    > How can I test and run mobile web forms?
    >
    > Regards,
    >
    > Andi
    Teemu Keiski, Feb 22, 2006
    #2
    1. Advertising

  3. Teemu Keiski schrieb:
    > Hi,
    >
    > ".ascx" is a user control and cannot be served, you'd have a asp.net page
    > with extension ".aspx", which would work as expected.
    >

    Ok, you're right. My fault, I selected web user control. Sorry for the
    annoyance.
    Andreas Bauer, Feb 22, 2006
    #3
    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. chen selina
    Replies:
    0
    Views:
    1,246
    chen selina
    Jul 13, 2010
  2. Ryan Malone
    Replies:
    0
    Views:
    151
    Ryan Malone
    Aug 23, 2004
  3. Jeremy Chapman

    migrating aspx forms app to mobile forms

    Jeremy Chapman, Jun 15, 2006, in forum: ASP .Net Mobile
    Replies:
    1
    Views:
    727
    Christoph Richter [AT]
    Jun 18, 2006
  4. Eric
    Replies:
    2
    Views:
    463
  5. Saud Bahwan Group Computer Services Dept

    How to set focus in the Mobile Web Forms/Web Controls

    Saud Bahwan Group Computer Services Dept, Nov 9, 2003, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    165
    Saud Bahwan Group Computer Services Dept
    Nov 9, 2003
Loading...

Share This Page