CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_web_developer_2005_express Tags:
Item Type: NewsGroup Date Entered: 12/21/2005 5:54:46 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 8 Views: 28 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
9 Items, 1 Pages 1 |< << Go >> >|
Texrat
Asp.Net User
"This type of page is not served"-- error on asp files12/21/2005 5:54:46 PM

0/0

I'm trying to run an ASP file (rather than ASP.NET) from my server.  When I try to test it using the browser preview in VWD, I get the following error:

"This type of page is not served"

It's my understanding that there is a handler setting *somewhere* that precludes ASP files from being run in the VWD debug environment.  Skipping past the fact that I don't understand why, where do I find this restriction setting and how do I go about changing it?  In some cases I'm limited to exported ASP files based on the fact that Microsoft's own Office products haven't fully caught up to .NET and attempts at converting the pages over have failed.

Thanks,

Randall Arnold

joteke
Asp.Net User
Re: "This type of page is not served"-- error on asp files12/21/2005 7:35:02 PM

0/0

Hi,

are you using file-system based projects when pages would be served by ASP.NET Development Server (internal test server in VWD)? I suppose it can't execute/serve classic .asp pages.

Simple workaround would be using IIS (project location being http://localhost/<Projectname> instead of the file system) or is that an issue?

If you are not using VWD development server, then the problem certainly is in IIS's extension mapping with ISAPIs


Thanks,

Teemu Keiski
Finland, EU
Texrat
Asp.Net User
Re: "This type of page is not served"-- error on asp files12/21/2005 9:35:09 PM

0/0

Hi Teemu!

You are correct: IIS serves the page up just fine.  The problem is only occurring in VWD's debugging environment so obviously the development server is to blame.  However, in order to see what's going on as I work I need to get this functioning in VWD and not just IIS.  Any suggestions along those lines are highly appreciated.

By the way, I work for Nokia Americas... how are things in Finland right now?

Randall

joteke
Asp.Net User
Re: "This type of page is not served"-- error on asp files12/22/2005 6:46:04 AM

0/0

 
Texrat wrote:

You are correct: IIS serves the page up just fine.  The problem is only occurring in VWD's debugging environment so obviously the development server is to blame.  However, in order to see what's going on as I work I need to get this functioning in VWD and not just IIS.  Any suggestions along those lines are highly appreciated.

Classic ASP pages are served by asp.dll which is mapped to .asp extension in IIS (ISAPI). That dll is tied to IIS, so technically & strictly saying it is not possible. But is your requirement to have it run on machine without IIS at all? I bet it's not possible (realistically) since you would need deal with asp.dll as ISAPI etc etc.


Thanks,

Teemu Keiski
Finland, EU
Texrat
Asp.Net User
Re: "This type of page is not served"-- error on asp files12/22/2005 6:08:44 PM

0/0

Eventually this website will be deployed on IIS.  That is not the issue.  The problem is that before that time I need to test and debug the web application in VWD on a workstation.  The VWD web server refuses to resolve asp pages, which I personally find to be ludicrous (way to go, Microsoft).  However, I've run across technical articles that mention running ASP files in VWD so I have to assume it's somehow possible.  I just haven't found what it takes to make this happen.  I'm still surprised it's disabled by default.  Crazy.

Any ideas out there at all?  Surely I'm not the only developer who's tried to run an asp page in VWD!

joteke
Asp.Net User
Re: "This type of page is not served"-- error on asp files12/22/2005 8:45:45 PM

0/0

Texrat wrote:

Eventually this website will be deployed on IIS.  That is not the issue.  The problem is that before that time I need to test and debug the web application in VWD on a workstation.  The VWD web server refuses to resolve asp pages, which I personally find to be ludicrous (way to go, Microsoft).  However, I've run across technical articles that mention running ASP files in VWD so I have to assume it's somehow possible.  I just haven't found what it takes to make this happen.  I'm still surprised it's disabled by default.  Crazy.

Any ideas out there at all?  Surely I'm not the only developer who's tried to run an asp page in VWD!

Can you point those articles? What I'm trying to say, in case that wasn't clear, is that this is limitation of the development server, not just disabled feature. Serving classic ASP pages is IIS-specific with the IIS-tied asp.dll (ISAPI dll used to deal with the asp request)

Perhaps this helps in believing :-)
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=144790&SiteID=1

If Nokia policy allows, you could have local IIS on your desktop machine (assuming its Win Xp pro or Win2k Pro) and use it for development work.


Thanks,

Teemu Keiski
Finland, EU
Texrat
Asp.Net User
Re: "This type of page is not served"-- error on asp files12/22/2005 9:07:41 PM

0/0

I have IIS on this desktop now, but don't know how to make VWD use it as its development debugging server.  VWD seems to insist on using its own server (Cassini maybe?  I have no idea).

Also, I don't have the links handy to articles mentioned-- and it was WAY too much work finding them in the first place.  However, I did see mention of making a configuration change *somewhere* that allowed legacy asp pages to preview in VWD.

I still think Microsoft's decision to disable this by default is asinine.

Anyway, the point is now moot-- through much persistance and trail-and-error, I managed to get the old asp content working in an asp.net page.  I just had to settle for bringing in all of the old html, and using the legacy VBScript code in the body rather than newer VB.Net code (which kept producing errors that made no sense).  So, I'm not 100% happy with the means, but I am mostly happy with the results.

Now if I could just figure out why a Microsoft Access report's OnFormat formatting (using VBA) is lost once it's been converted to xml...

joteke
Asp.Net User
Re: "This type of page is not served"-- error on asp files12/23/2005 6:51:31 AM

0/0

Texrat wrote:

I have IIS on this desktop now, but don't know how to make VWD use it as its development debugging server.  VWD seems to insist on using its own server (Cassini maybe?  I have no idea).

When you start File -> New Web Site, in "location" box (on the opening window) there are selections File System, HTTP, and FTP.

When you have selected File System and give it path such as C:\something. it will create the site on that location and also use local development web server. But when you select HTTP and give it location such as http://localhost/<WebSitename> (<WebSiteName> is the name for your site that you specify), it will create the site to IIS and run it from there. In that case, what's the final physical location,depends on where IIS is installed to have root web site.

By the way, things are quite good in Finland. :-)


Thanks,

Teemu Keiski
Finland, EU
Texrat
Asp.Net User
Re: "This type of page is not served"-- error on asp files12/24/2005 9:30:06 AM

0/0

Hmm, thanks, I may have to look into that.

A fellow employee here in Texas is trying to get me to go to Salo or Espoo soon... I think I'll wait for warmer weather.  ; )

9 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Beginning ASP.NET 3.5 in VB 9.0: From Novice to Professional Authors: Matthew MacDonald, Pages: 1149, Published: 2007
Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional Authors: Matthew MacDonald, Pages: 954, Published: 2007
Beginning ASP.NET 1.1 with VB.NET 2003 Authors: Chris Ullman, John Kauffman, Chris Hart, David Sussman, Pages: 888, Published: 2003
Beginning ASP.NET 2.0 in VB 2005: From Novice to Professional Authors: Matthew MacDonald, Pages: 1063, Published: 2006
Beginning ASP.NET 2.0 in C# 2005: From Novice to Professional Authors: Matthew MacDonald, Pages: 1148, Published: 2006
Beginning Visual Web Developer 2005 Express: From Novice to Professional Authors: Paul Sarknas, Pages: 334, Published: 2005
Programming ASP.NET: Building Web Applications and Services with ASP.NET 2.0 Authors: Jesse Liberty, Dan Hurwitz, Pages: 930, Published: 2005
Programming Microsoft ASP.NET Authors: Dino Esposito, Pages: 1165, Published: 2003
ASP.NET 2.0 MVP Hacks and Tips Authors: David Yack, Joe Mayo, Scott Hanselman, Fredrik Normén, Dan Wahlin, J. Ambrose Little, Jonathan Goodyear, Pages: 400, Published: 2006
Programming Microsoft Infopath: A Developer's Guide Authors: Thom Robbins, Pages: 337, Published: 2004

Web:
"This type of page is not served"-- error on asp files - ASP.NET ... "This type of page is not served"-- error on asp files. Rate It (1). Last post 12-24-2005 4:30 AM by Texrat. 8 replies. Sort Posts: ...
"This type of page is not served." - .NET ASP I am getting the "This type of page is not served." error the first time I access our asp.net site after an application restart. The second and every other ...
Re: This type of page is not served - IIS.net Description: The type of page you have requested is not served ... IIS 6.0. you can modify the web.config file to serve the asp file by ...
Feedback: asp pages result in "this type of page is not served" VS2005 web server does not allow .asp files to be used. http://localhost:6697/ testSite/simpleTest.asp causes the error "This type of page is not served. ...
"This type of page is not served." ASP Net - "This type of page is not served." ... IIS doesn't "serve" .config files directly, hence the error. ...
Web Wiz Forums - Server Error: 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 '.asp' may be ...
Error: The type of page you have requested is not served because ... Does not allow me to change the version from 2.0.4 to 2.0.5 When running ASP.NET , I get the following error message: This type of page is not served. ...
This type of page is not served. > Windows PowerShell Discussion ... Description: The type of page you have requested is not served because it has ... NET file extensions. The ASP.NET engine will see these ...
This type of page is not served - IIS.net To buy an item in-game we must use .asp files. ... Description: The type of page you have requested is not served because it has been explicitly forbidden. ...
"This type of page is not served" on all ASP viewed in ... I get a "This type of page is not served" on each attempt to view any ASP ... did you specify: file system, http? Do you see any other error information? ...




Search This Site:










insert old data control in asp net project with vs2005

help me,i have installed the vwd express,i wanna know if it can instead of the frontpage?

user.identity.name return domain\userid but not my wanted.

update/delete not working in data controls

"copy web site" - only want to copy the diff

what is so special in panel and placeholder controls?

how to use login controls with custom events?

catalook paypal payment

visual web 2005

config files

how to tell asp.net it need reload skin files? thanks

new dnn 4.x custom (and free) gallery module

active directory membership configuration

basic skinning video overview by nina meiers

text/html editor not working after upgrading to 2.1.2

i need forum module in spanish

users and applications

log viewer error in dnn 3.1

dotnetnuke 3 installation problem

problems with google indexing?

best way to add <system.servicemodel> config section

help: cannot create a code-behind page

advanced adrotator: things you wished adrotator did?!?!

upgrading from dnn 4.0.0 to 4.0.2

profile saving

dnn 3.1.1 missing projects

problem on querystring

get user.identity.name without prompting for nt account and password

vwd and asp tables

inherited method calls

 
All Times Are GMT