The Designspace http://thedesignspace.net/ My daily explorations, troubleshooting, solutions and discoveries. en-us ellen@thedesignspace.net Tue, 23 Oct 2012 09:46:21 -0500 .NET Error: httpRuntime requestValidationMode="2.0" http://thedesignspace.net/MT2archives/000988.html Thread: Changing maxAllowedContentLength http://thedesignspace.net/MT2archives/000949.html In a .NET application used to deliver quizzes, attempting to import a large quiz from another server resulted in this error: "The request filtering module is configured to deny a request that exceeds the request content length." A second message stated: "Request filtering is configured on the Web server to deny the request because the content length exceeds the configured... Enhanced RSS Display script in classic ASP http://thedesignspace.net/MT2archives/000831.html VB error: Object required: '[string: "foo"]' http://thedesignspace.net/MT2archives/000830.html When writing a script to display an RSS feed, I got the following error: Error: Object required: '[string, 136]' This is because I was using the SET command to create a string, as shown below: Dim itm itm = lnk.link Response.Write(itm) Dim itmid Set itmid = Split(itm,"=")(1) resulted in the error Error: Object required: '[string, 136]'... Create an iCal file from your data using ASP http://thedesignspace.net/MT2archives/000797.html Google Calendar and many other calendar apps will import or subscribe to iCal format files (.ics) If your event data is locked away in a database, you may find it useful to display and distribute it using Google's extensive calendaring features. Following is an example of an ASP file that will write an iCal file. Generate the iCal file in... Set up a Cron job in Windows to run an ASP script http://thedesignspace.net/MT2archives/000796.html If you are used to Linux environments, and working on a web application which needs to execute a function at regular intervals, you'd use a cron job. On Windows, you'd use a scheduled task instead. There is one part of the process that isn't obvious, so here are the steps involved: Create the web page that executes the desired tasks... Umbraco installation error: The virtual path '/install/steps/welcome.ascx' maps to another application http://thedesignspace.net/MT2archives/000769.html After installing "Umbraco," you may get the following error: The virtual path '/install/steps/welcome.ascx' maps to another application, which is not allowed. This is because you have installed Umbraco in a virtual directory (not at the web root of the "Default Web Site" in IIS terminology). It is a path problem, easily corrected by fixing the paths in the web.config file.... Umbraco installation error: Unrecognized attribute 'restartOnExternalChanges' http://thedesignspace.net/MT2archives/000768.html When using Microsoft's Web Platform Installer to install Umbraco on a Windows 2003 server, everything seemed to be going right until I tried to view the site. I saw only this error message:... ASP contact form for use on GoDaddy sites http://thedesignspace.net/MT2archives/000655.html UPDATE The form described below works, but if the user's email address is from hotmail, yahoo or gmail, GoDaddy will still block submission of the form. So here is the solution: Make the following changes. You will no longer need "formproc.asp". GoDaddy will not release the code for their working form but you can use theirs. In contact.htm, replace... Escape double quotes in strings in Visual Basic http://thedesignspace.net/MT2archives/000604.html I use Javascript much more than visual basic, so I've always been puzzled by how to escape nested quotes in strings in VB. In Javascript, you either nest single quotes (apostrophe's) and double quotes or add a backslash to escape the character (\", \'). But in VB, single quotes create a comment, and backslashes do not escape characters, so I've... Simple Ajax search form that creates a formatted report as you type keywords http://thedesignspace.net/MT2archives/000602.html This search form is based on the PHP and AJAX Live Search example from the w3schools.com site. I adapted it to show how it might work with ASP classic. This form finds all courses in a database that contain whatever has been typed so far in their title, then displays them instantly as the keywords are being typed, grouped by... Execute an asp function within an HTML page using #exec http://thedesignspace.net/MT2archives/000597.html Use ASP to create a fast-loading site http://thedesignspace.net/MT2archives/000476.html A recent project involved creating a site that was easy to maintain and did not require complicated code or a database to run. The people that will be keeping the content up-to-date have varying levels of web skills, so it needed to be simple enough for the least experienced web developer but flexible enough to support the many functions... Use ABCpdf to generate pdfs of multi-paged html documents http://thedesignspace.net/MT2archives/000466.html I maintain a library of learning modules which are constantly under development and revision. Our users often want PDFs to print out or view off-line, but we can't maintain up-to-date PDF's of each module manually. We needed a way to make on-demand PDFs of whatever the current state of the module is when the pdf is requested. After looking at... Create a search form or quick report in asp http://thedesignspace.net/MT2archives/000340.html The example code below shows how to set up a form using Dreamweaver and ASP that queries a database based on the value of one or more form fields. We have a database containing the transcripts of the results of courses taken in our online learning management system. Each online SCORM course has several sections or lessons. This form checks...