Friday, January 16, 2004

Unable to create textfile/HTML file using ASP

Have you seen your pc not giving you any response or feedback after you've instructed it to create a textfile or pic file? Does it also affect your IIS thus prompting you a message saying that "Too much user connected to IIS?"

Well, I faced this situation about a month ago. After searching and weaving through the internet, I found some solutions to the above mentioned problem.

Step 1: Disable any Script Blocking from Anti virus software that is running

Step 2: Set permissions to write on the associated folders

I used ADODB.Stream to create a picture file on the harddisk when the user runs an ASP page. But for machines that refuse to run the code, do check that you have installed an updated MDAC (Microsoft Data Access Components). I used version 2.8.