Page Hangs When Trying To Create File On Localhost
I am trying to create a file on my server / localhost but when I run the script below the page starts loading and then eventually times out. Code:
View RepliesI am trying to create a file on my server / localhost but when I run the script below the page starts loading and then eventually times out. Code:
View RepliesWhen calling an ASP from within a Perl script to perform a query against a web-enabled database (don't ask how we arrived at this architecture), the first query almost always times out with an Timer_EntityBody error.
Our timeout is currently set at 300 seconds. We can see that the worker thread
(we only have one for compatibility purposes) gets kicked off when the query arrives. Successive queries do not time out. Has anyone had any experience with this type of issue? What did you do to troubleshoot it? Did applying SP 1 help?
My server hangs for a really long time after I run the following code...
It is to serve up 3 types of files: a picture, a word document, and an mp3 file from a directory "/uploads" that is not accessible through the URL. The script works perfectly for the picture and doc file, but nothing loads when it is used for the audio files. The files are a few megs large, but after I run it I can't access ANYTHING on the site for quite some time.
What's wrong? Is it something wrong with M@rco's script? Did I impliment it wrong?
I don't mind if it simply takes a long time for it to load the audio file, but it is killing the entire server it seems like. Code:
I have just converted from Linux and Apache to MS 2000
running Visual Studio .NET on IIS 5.0. I have installed
the .NET Framework and the .NET SDK.
I have an extremely simple problem. I can view an aspx
file by double clicking on it, but I get a 500 error when
I type its name in the
browser. "http://localhost/firstasp.aspx." I am able to
get html and php pages to run from this server using
localhost.
I added an application extension to the Default
Website in the IIS Administrator. I pointed it to
C:WINNTMicrosoft.NETFrameworkv1.1.432aspnet_i sapi.dll
and used aspx as the extension of course.
I'm trying to write an asp page line by line, as one would create a
text file, only my file will end in .asp.
One line simply writes a close ASP code tag, or
FILECONTENTS=FILECONTENTS & "%>"
When this line processed, an error occurs saying that the string was
never terminated because the asp page attempting to write this line of
code to a NEW asp page reads that close ASP tag (%>), as an actual
close asp tag for itself, instead of a STRING value.
How do I write this %> symbol to a new asp file, while still
maintaining its purpose to close a group of asp code in the newly
created page?
I'm looking for a tool that would allow me to create a web page with the
spreadsheet like functionality. Basically, I want to be able to type in a
number in the cell and have all totals being calculated automatically
without having a page refreshed (or a trip to the server).
That would be possible to do with MS Excel web plug-in but I don't want to use plug-ins. I want users to just access the page and don't worry if they have MS Excel or
MS plug-ins installed.
Is there a solution that would accomplish that? I can be written in any
language like ASP, JSP, DHTML, PYTHON or PHP or a third party tool. I really
don't care. I just wont to create a page with the spreadsheet like
functionality.
I'd like to create ASP file on ther server side. Can I use
fso.createtextfile("c:folder est.asp")
Do I need to create a folder too?
is it possible to create a xml file and save so that i can upload with asp?
View Replies View RelatedHow can I simply save some data into a flat file (.txt) ? I've some data available and if the user clicks on a button it will save that data into the flat file... The user also need to define the directory (as in VB the common dialog box)...
Is this possible ???
I have Windows 2000 and recently included Internet Information Services. I
then created a simple ASP file and clicked on it. The Open With dialog
appears asking me to select a program. I copied an existing ASP file,
test.ASP from another computer where it runs successfully. When I copied it
to my computer it changed to test.ASP auto file. The other computer runs
Windows XP. I am not sure is this is the issue. I verified the IIS is up
and running on my computer. Is there anything that can be done to correct
this?
I am using ASP code to create a Word document on the server and all is working except for one thing: I need to be able to insert page breaks. My existing style formatting for page breaks does not seem to insert a page break into the Word DOC. Suggestions? Code:
View Replies View RelatedI was wondering if it is possible to create an sql file using asp to back up a tables contents at all?basically I want to make a copy of each table we have on the server into an SQL file so we can move it elsewhere, the server techs want to charge us for the backup copy so I want to get around paying if possible.
View Replies View Relatedi'm using window XP (hope this is not the reason) i cant create a file in my computer but it works on my school server
**********************************************
Set fso = Server.CreateObject("Scripting.FileSystemObject")
Set OutputXMLFile = fso.CreateTextFile("c:xx.htm",true)
**********************************************
everytime i run this method my IE hang(???) so, is it my IIS configuration problem or else.
I want to create pdf file for reports using asp code.
View Replies View RelatedI know this is a lot to ask but if you have time please have a look and see if you can figure out why the following page to create a new ASP page on the fly seems to work but the output page doesn't seem to be there: Code:
View Replies View RelatedSo, is there anyone can post sample code which cab generate the invoice, also it can be viewed by PDF file online.
View Replies View Relatedis it possible to create and asp page that can. zip a file and ate the same time unzip it.
View Replies View RelatedIn Outlook Express, we could schedule event reminder on the calendar. I have seen people doing this on their web site, where they have a list of events and a "Add to my calendar" link to let user to click on. When the link is clicked, the Outlook calendar will pop up with all the event's information in it. Then I can save that event to my Outlook calendar.
I want to give this ability to the people browsing my web site to add our events to their Outlook calendar.
if this was possible to have the users able to create a file into your webroot.
View Replies View Relatedthis is simple script
<%
set fs = CreateObject("Scriptpting.FileSystemObject")
With fs
Set xxx = fs.createfolder("some directory")
End With
Set fs = Nothing
%>
ntfs security all is normal
my problem is next. i have installed Norton Internet Security, and when Norton Internet security is installed then i cant create files using asp scripts in Interet Explorer. how can i create files using asp script trough internet explorer?
I have a stored procedure that creates XML content the way I want it using FOR XML AUTO, ELEMENTS. At least when I run the query anyway. What I want is to use that SP in an ASP page. When opened, I want a dialog box to pop upwith the option to open or save as... to the client's HDD. Here's my header for the page. The recordset is below that. When I open the page, I get the Save As. I want, but no records are saved.
What I'm missing is how to deal with XML and the recordset thereof. It's more of a feed that a recordset. How do I get that feed into a file on the client machine?
<% Response.contenttype = "application/vnd.xml" %>
<% Response.AddHeader "Content-Disposition", "filename=Product.xml" %> .
I have an ASP process that creates 'reports'. At the moment these reports are output to a semi-comma delimmeted text file that I open in XLS. I then run a macro that formats the page correctly for printing.
What I would really like to happen is the ASP page creates either an XLS of ..DOC file that would open in excel (or word) with the contents pre-formatted ready to print. I have been looking, but have been unable to find anything suitable on this. Could someone out there point me in the right direction.
I have an ASP page that updates a processes a large amount of data n' takes a couple of minutes. I want to create progress bar .
View Replies View RelatedI have a page that creates an xls file based on a field entered from a database recordset. Works great.
I want another one that creates an xls file of all the records in the database by simply clicking a button, then automatically offers the xls file for download. Probably Response.Redirect, but I don't really know the syntax used with that. Code:
I have a script in ASP 3.0 which creates a CSV file on the server. After the
code has run I want it to prompt the user to download the file (via the
browser). I have spent a frustrating hour trying this.
I have uploaded files to a SQL Server DB using Pure ASP Upload, and that was a snap, but what I would like to do is create a link in my recordset from the file name in the database to the actual file that resides in a folder in the database so that when a user clicks on the link, the file will open.
I've done this successfully using another program but it used an ACCESS DB and I want to use it with SQL Server. Plus the ACCESS DB used a field with a data type of Binary.
im creating an asp using the file scripting object but i cant create the file in the local pf of the client, but rather saves on the server folder.
View Replies View RelatedI'm generating one report using ASP file in MS-Excel file. How to take the same report in PDF format.
View Replies View RelatedI'm trying to create a excel file from set of data. actually I'm using ASP + JScript.
I'm glad to hear your oppinion.
I need to convert a jpg files sequence (001.jpg, 002.jpg, ... etc.), stored in a directory, to a mpeg file using some programming language. Does anybody know how to do it?
View Replies View RelatedHow to create a text file on other computer in the network by using CreateTextFile method? Using the following code, I cannot create a file. Set fileObj=Server.CreateObject("Scripting.FileSystemObject") set file=fileObj.CreateTextFile("(computer name in the network)asp esting.txt") .
View Replies View RelatedI need to write a program that can create an excel file and copy all the data obtains from a database to the excel file. Then save and close the excel file or do all of the above in the backgroud. if you have written similar program or know where I can find the sample code for this feature.
View Replies View RelatedI need to be able to generate/create a html file. I know that probably the best way to do it would be to use PHP or CGI, but my server doesn't support either. Is there a way (and can you point me in the direction of some help) of doing it using ASP?
View Replies View Related