I transferred an asp page from a remote ftp backup server to my dedicated server. Upon opening the file in notepad there is obviously something gone awry. Every page there is supposed to be a newline there is a strange character that looks like a square 0, obviously some kind of code for a line break. Needless to say though the code is a mess void of any structure and is very hard to work on. Is there something in the FTP transfer that caused this?
I'm working on XP IIS5.1 in classic ASP 3.0. After the installation of the 2005 Express Suite and the beta .net2 framework that ships with it(http://lab.msdn.microsoft.com/express/vwd/) the debugging with classic ASP has an odd behaviour.
I use option explicit on all pages. When the parser finds an undeclared var or function or there is some error in a stored procedure (not in the ASP page but in the SP itself) I receive no error reporting. The page simply renders till that point and stops.
I have 2 pages the first one has a text box, beside the text box there is a link when you click the link new window will come, and this window has a table retrieve the employee names from the DB, and these names are links, I need when I select the name should transfare to the first page , How ?
i hope no one is getting sick of my server.execute/transfer questions.. does server.execute return a value? im wondering what happens if an error occurs in the .asp file that i'm calling with the server.execute command?? is there a value/flag i can set in the case of an error that can be seen once i return to the calling page? if not i was thinking that i would have to use a session variable for my error handling. i want to stay true to the model, view, control architecture so i don't want to simply redirect in the case of an error - i want to send a value back to my control page which will decide where to go.
I would like to use Server.Transfer to redirect users to a given page, while maintaining the state of form fields. This works fine on a single server. However, this will be deployed in a load balanced environment. I know that Session variables and load balanced environments don't mix. Do I have a cause for concern with Server.Transfer as well?
I would like the value of the textfield from text1 from Select_License.asp to be transfered to swname from License_add.asp when i click on the Next button from Select_License.asp ....
I m using ASP(not .net) ,I want to use server.transfer from a.asp to a.asp (the same page), but i want to remove all the querystring before transferring the page.........although response.redirect can do, it cannot fulfil some response.write b4 the redirection.
I need to make a table's data available to users. The table is about 150,000 rows x 20 columns. So Excel is out of the question. I think the next common file types would be MDB or DBF. Using ASP, what are the steps to converting this data to one of those file types, then ZIPPING the files for download?
I'm doing file uploads using the free component ASPSimpleUpload but I have problems of file transfer when the file size is too big or the connection used by the sender is slow.
I'd like to transfer file via FTP from a web page instead of using ASPSimpleUpload. Has somebody already done that and has some code or some links to give me?
Currently I have someone wanting to transfer their site, ran in IIS/ASP, to one of my servers so that I can host if for them. I am running Windows 2003 Server with IIS 6. I have a disk that has the files for the site (from root down) I created a new site, put the files in there and configured the properties in IIS, but I only get a 500 (Internal Server Error) error page when it tries to run. I set the home directory, permissions, documents to point to the index.asp file, etc...
How would i embed the Server.Transfer() into the button onClick() event. I did try this:Code:
<td><input type="button" name="edit" value="Edit" onClick="<%Server.Transfer("edit.asp")%>"/></td> but this will display the edit.asp page without the need to click on the Edit button.
i just realized that II5 is not with me i am running PWS on win98.so can i use response.redirect so that i can transfer parameters like a variable or a value?
I would like for an ASP page to transfer a text file (from the same directory the ASP file is in) to another Web server.I don't mind if the code is in ASP or VB.I suspect that there is a way of having an ASP page conduct an FTP session to transfer the file. would like to do this without a component as I'm looking for source code.
I am creating a database and it has to be up dated from all over the county.But Unfortunately there are some users who have only telophone connection not internet connection. Is ther any way that I can allow them to up-date my database using telephone line i/o interne.
My team would like to use an ASP script to have an automatic transfer of files to our live server happen each evening at a predetermined time. I was looking on the web for a script but all I could find is user driven upload scripts.
Is there anything out there that will facilitate automatic uploads of several folders and files via ASP scripts?
I rescently have asked quite a lot of questions in this forum but I can't help it since I am still quite a newbee at ASP and sometimes just can't get behind a problem. So if somebody has got a solution please post it:
I now have a working cartarray and now want to transfer some of the data from the array into an access database table. Code:
What i would like to be able to do is have two listboxes side by side, one will have all of the main categories and the second will have all of the sub categories in it. I populate the first list by using this code:
Now what i would like to do is when the user double clicks say the second item on the list, the listbox next to it will display all of the items that are under the main category they just double clicked on
I'm looking for an ASP (dotnet is alirght too) File Transfer system for use by internal employees and customers. I need to be able to control access to the system on a user and group basis and allow people to upload and download files.
I searched and searched at Google and couldn't find a thing that helped me here...
Many results found for "ASP Upload Script" but what I want is a "ASP Download Script".
In my website, I have a script that authenticates the user (login) and then checks a few informations. But what interests for this topic is what's called next: a file download page.
Of course I could simply ask the user to Save File As in a location I would inform him, but I would like to have a script that would do that for him. It gets the file from the server and transfers it to a default folder in the user's computer.
I have 2 seperate web applications A and B. During the execution of A, I want to do a Server.Transfer to a page in application B. This works fine if A has a reference to B, but without the reference, I get the following error:
Parser Error
Description:
An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message:
Could not load type 'B.WebForm1'.
Source Error:
Line 1: <%@ Page language="c#" Codebehind="B.aspx.cs" AutoEventWireup="false" Inherits="B.WebForm1" %> Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > Line 3: <HTML>
Source File: c:inetpubwwwrootBB.aspx Line: 1 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
It seems to be looking for B.dll in the path for application A, and can't find it. Because of the specifics of this project I am unable to set a reference, or even include a <codeBase> element in the config file. Is there any way to force the runtime to look in the path of the target application instead of the launching app?
I am thinking of creating a custom 404 page which does a server.transfer to a variety of different pages. My question is what shows up in the log, which the web statistics are based on?
1. The non existent page, which is requested? 2. The custom 404 page? 3. The page it gets transfered to?
I am trying to open a jpg file using server.transfer which is giving me this error
I have about 10 images out of which 7 are working and for three images i am getting an error message.
I have listed the error message
Active Server Pageserror 'ASP 0116' Missing close of script delimiter /rtp/trt.jpg, line 11 The Script block lacks the close of script tag (%>). error '8000d001' /ttt.asp, line 7
Please send me a solution as i have been trying this from the last three days and could not find a solution.
I read somewhere that server.transfer had a 2nd parameter so control and input values were 'passed' to the transferred to page, but it's giving me an error of wrong number of parameters. I have IIS5, is that the problem? or is it that it's an ASP page (not ASPX)
I'm trying to add logging to my web application, but I found a strange problem. Whenever I execute a Server.Redirect(Page1.asp) I can use the request.ServerVariables("SCRIPT_NAME") to get the current page name. However, if I use Server.Transfer(Page1.asp), the value of the server variable equals the refering page (In this case default.asp). How do I get the value of the working page regardless of the transfer method.
I would like the value of the textfield from text1 from Select_License.asp to be transfered to swname from License_add.asp when i click on the Next button from Select_License.asp