I developed a site in ASP on my IIS server in a test location which we accessed via HTTP. After finishing the application, I created a new site in IIS and moved my scripts over to the new site which is access via HTTPS. I am now getting the following error and the code has not been changed.
I have created an update image field which almost works perfectly. When you select an image and click on the update button it works just fine.
If you dont select and image and click on the update button you get the following error.
Response object error 'ASP 0101 : 80070057' Unexpected error /html/advertiser-premier-main.asp, line 0 The function returned |.
I know it seems pointless to worry about this as you would not expect people to press the update buttin unless they insert an immage, but im sure people will try.
I got an error from my asp page. The interesting thing is it only occurs when I choose to give me report for August, if I select any other month, everything looks fine. I have no clue at all what is all about. What does line 0 mean?
I have a serious problem with an application that was developed by a contracted coder. The application that was to go live today for the company. The developer that normally does the code work is in the States and I cannot get hold of him. I need to have this resolved. Can someone help me?
How do I fix this?
The error occurs on attempt to login to the application. See below the error I receive when I attempt to login to the interface.
I developed a site in ASP on my IIS server in a test location which we accessed via HTTP. After finishing the application, I created a new site in IIS and moved my scripts over to the new site which is access via HTTPS. I am now getting the following error and the code has not been changed.
I'm having a problem whenever i enter 2 response.redirects() in one funcion.. it's weird. What i'm trying to do is to display a simple error message underneath a login. But i'm trying to do it by sending the user back to the SAME page (not sure if that's even possible!) and passing a variable, notLogged, to test against. I hope this makes sense! Code:
When I try to use the response.redirect or response.cookies I get an error saying "object required". I`ve tried to write response.buffer=true with no luck. May this occur due to bad config og iis 5.0?
Is it possible to read the contents of the response object? Basically, if one aspx page calls on another using Server.Execute() method and the called page simply does its processing and writes an XML using Response.Write, when we come back to the first page, can the XML be retrieved instead of being sent to the client? I am stuck with this problem and if this is not resolved, it would mean major reqork to my design.
I am trying to provide a login page to verify users. I have got this to work fine in the past but have now been asked to encrypt the passwords in the database.
In order to do this I have created a stored procedure in the Oracle database and am running it to encrypt the password that the user has entered. I then compare the encrypted string with the encrypted password in the database to see if they match.
This all appears to work fine, the problem comes when I try and use Response.Redirect to take the user to the main menu if the password is correct. I keep getting an Object Required - " error on the Response.Redirect line.
I tried using Response.Buffer = True at the top and got the same error, and when I used Server.Transfer it did not do anything. The page I am trying to redirect to is valid, I have also tried redirecting to valid sites like Google to no avail. Code:
I'm looking for an activex com that will be given an existing url and turn it into pdf binary stream (no files on the server) either that or turn into a tiff image.
I would like something that has a small footprint meaning no impersonation, no visual screens, just pure sdk ...
I wanted to add this method to my .asp page in order to dynamically choose a page based upon some selection criteria. It's in my .asp book and in the online reference. Yet when I use this object, the following error returns in the browser:
Error Type: Microsoft VBScript runtime (0x800A01B6) Object doesn't support this property or method: 'Response.Redirect' /testwebs/choose.asp, line 22
What is missing from my IIS libraries in order to use have this method supported?
i had done your web page with feedback form. In that i had used ASP to email the users feedback. but when the user sends feedback. the asp email scripts return error as
I'm trying to make a button that will go to another page when clicked. onClick event, the button will do the following procedure. I did it like the following:
<SCRIPT LANGUAGE=vbscript> <!-- .... ....some other vbscript functions
sub changePage()
response.redirect "admin.asp"
end sub --> </SCRIPT>
I received a runtime error that says "Object required:'response'"
So I tried to move the sub procedure outside the script tag:
<% sub changePage()
response.redirect "admin.asp"
end sub %>
now it gave me compilation error:
Error Type: Microsoft VBScript compilation (0x800A03EA) Syntax error /EEPN/newpn.asp, line 212 sub dispMsg()
Objet Response error 'ASP 0159 : 80004005' Mise en mémoire tampon désactivée /Juricaf/Telecharger.asp, line 5 La mise en mémoire tampon doit être activée.
When I use response.redirect my server send this error:
Header Error The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content what does it mean???
<% If Session("isLoggedIn") <> True Then Response.Redirect "loggedout.asp" End If %>
It's apparently redirecting to the root directory (where there isn't a loggedout.asp file. Instead of the current directory, where there IS a loggedout.asp file. Any ideas? Server settings, etc?
I did change it to an abosolute path, but right now it's still trying to access the root directory. I'm not sure if the file is cached somewhere and that's why it's still trying to access the root.
I'm reading 'ASP in a nutshell' and i'm trying out the error trapping features. The book says that from ASP 3.0 on there is a server object method called GetLastError. It also advocates this beiing the best way of analyzing errors.I do not have this method on my IIS installation. (All the other ASP code I run according to the book is ok). I have Windows NT 4.00.1381 and IIS 4.0 (Is my IIS version to old?) If this is the case what is the best approach in trapping errors?
I'm trying to write a Generic Form to Database Parser, basically this script should take the values of Form fields and write them into a Database Table with correspondingly named fields.
EG: The value contained in <input type="text" name="Email" > would be written to the database field "Email"
I ran into difficulty when I tried to differntiate between Numeric and Non-Numeric Data as non-numeric data values must appear in quotes in a SQL Statment whereas Numeric Data should not be placed in Quotes. So I'm testing my form values to see if they are numeric, so I can build my SQL Statement Accordingly. Code:
I have an application I am working on that uses "compiled" asp pages. Once the asp pages are done, they are moved into a VB6 dll to be Response.Written from there. This work great, and results in keeping our code safe at client sites. Currently this works great here and at most client sites. I have one client who is having intermittent problems with this setup Code:
At first I make a independend virtual directory wich I named app and I check Directory Browsing in the Virtual Directory Properties. Then I create with notepad global.asa and index.asp Code:
I am trying to upload files to a remote server with ASP. I tried many scripts including the ShadowUploader which at first seemed to work for me (instead of the usual error, it told me that the image I was trying to download was too big) but at the end gave me the usual "Server.CreateObject Failed" error. The problem is always the line
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")