Browse by Tags
All Tags »
ASP (
RSS)
The first podcast in my new series is now live at http://misfitgeek.com/podcast/misfit-geek-podcast/ This episode is an interview with Senior Lean PM Scott Hunter on the future of Web Forms. Hope you will listen, subscribe and enjoy ! Technorati Tags: podcast , microsoft asp.net ajax training , .net , asp , asp.net , web forms...( read more ) Read More...
Back in May of 2007 I posted a tips for Classic ASP developers post which has since received more than 50 comments and 85,000 views. Robert McMurray just posted a set of fabulous tutorials for Classic ASP developers. If you’re out there and having issues with Classic ASP and IIS7 and need some help, you’re not alone! Read these articles to get help: Classic ASP is not installed by default on IIS 7.0 and IIS 7.5 In IIS 7.0 and 7.5, the classic version of ASP is not installed by default. Because of this, you might see HTTP 404 errors when you try to browse to an ASP page on your server, or you might see the source code for your ASP page displayed in your browser window ... Using Classic ASP with Microsoft Access Databases on IIS 7.0 and IIS 7.5 Note: Microsoft Access databases have been popular for many years with developers who use Active Server Pages (ASP) for small-scale applications, but Microsoft Access databases are not designed for scalability, therefore...
I have found that a classic ASP application that worked just fine on IIS 5.0 and IIS 6.0 may have some problems in IIS 7.0 if it is making use of the Session_OnEnd function in Global.asa. Here is the set up, I have a very simple global.asa file which increments SessionCount in Session_OnStart and decrements SessionCount in Session_OnEnd : Sub Session_OnStart Application("SessionCount")=Application(" Session Count ")+1 End Sub Sub Session_OnEnd Application(" Session Count ")=Application(" Session Count ")-1 End Sub and a very simple asp page which reports the value of SessionCount . <% response.write("Session Counter Equals: ") response.write(Application(" Session Count")) %> Seems simple enough right? Well it is, and on IIS 5.0 and IIS 6.0 this simple set up works just as expected. However, on IIS 7.0 the...
Custom Errors on IIS 7.0 and Classic ASP. In previous versions of IIS, there was a built-in error page called 500-100.asp. In IIS 7.0, this custom error page is not automatically listed. Here is a quick demo how I setup a couple ways to capture errors Read More......( read more ) Read More...
A few questions come up in the forums @ http://forums.iis.net about people moving Classic ASP applications that use CDONTS. CDONTS was introduced in NT4 and was widely popular. With the success of ASP applications 'back in the day', many used CDONTS to Read More......( read more ) Read More...
There are two settings you should be aware of for hosting that relate to delegation of errors. 1. Delegating ASP's scriptErrorSentToBrowser setting: You should definitely turn on the ASP script errors, otherwise your customers won't see the useful errors from Classic ASP that IIS 6.0 showed. What your customers will see is the generic error, “An error occurred on the server when processing the URL. Please contact the system administrator.” This is because detailed ASP error messages are not sent...( read more ) Read More...
I've seen several posts asking the question: how do I turn off the "verify file exists" setting on handlers / script maps in IIS7. I must admit, this seems to not be as straightforward as it should be. Hopefully this post helps you out. The configuration setting for this feature is stored in the <handlers> section for each handler mapping, and is known as the resourceType attribute. For example: <add name="ASPClassic" path="*.asp" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="%windir%\system32\inetsrv\asp.dll" resourceType="File" /> For the ASP script map, we set resourceType="File" by default, so that the ASP engine won't get invoked for requests that are not mapped to real files. If you want your handler to be invoked for requests, even if there is no file or directory behind the request, set the resourceType="Unspecified". The allowable values for resourceType are "File", "Directory", "Either", or "Unspecified". You can set this value in the administration tool...
I was reminded the other day just how many classic ASP applications and developers there are out there! The original ASP rocks, I remember experiencing it for the first time back in 1996/97 when it first came out with IIS3, and being amazed at how programmable it was compared to ColdFusion. I built many an application using Classic ASP, and there will always be a soft spot in my heart for it. :) There are a few changes in IIS7 which Classic ASP developers should be aware of. ASP not installed by default First things first! If you're moving from XP to Windows Vista / Longhorn Server, you may be getting this error: -------------------------------------------------------------------------------------------------------------------- HTTP Error 404.3 - Not Found Description: The page you are requesting cannot be served because of the Multipurpose Internet Mail Extensions (MIME) map policy that is configured on the Web server. The page you requested has a file name extension that is not recognized...
More Posts