Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > mobile web forms

Reply
Thread Tools

mobile web forms

 
 
Andreas Bauer
Guest
Posts: n/a
 
      02-22-2006
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
 
Reply With Quote
 
 
 
 
Teemu Keiski
Guest
Posts: n/a
 
      02-22-2006
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



 
Reply With Quote
 
 
 
 
Andreas Bauer
Guest
Posts: n/a
 
      02-22-2006
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iPhone4,iPhone3,Ipad,Apple Mobile,Blackberry Mobile,HTC Mobile,LGMobile,Motorola Mobile,Nokia Mobile,Samsung Mobile chen selina C++ 0 07-13-2010 08:53 AM
cheap LG Mobile Motorola Mobile Nokia Mobile Philips MobileSony-ericsson Mobile yuwenwu004@gmail.com C++ 0 12-09-2007 09:02 PM
cheap LG Mobile Motorola Mobile Nokia Mobile Philips MobileSony-ericsson Mobile yuwenwu004@gmail.com C Programming 0 12-09-2007 09:02 PM
cheap LG Mobile Motorola Mobile Nokia Mobile Philips MobileSony-ericsson Mobile yuwenwu004@gmail.com Java 0 12-09-2007 09:02 PM
cheap LG Mobile Motorola Mobile Nokia Mobile Philips MobileSony-ericsson Mobile yuwenwu004@gmail.com C Programming 0 12-09-2007 09:02 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57