the internet explorer always give me some error
"
Object Required : Request
Code . 0"
"
on some ASP pages I try so look it up on the code, but I couldn't find anything wrong
FireFox and Opera could display the pages without any the error Does any knows what's wrong?
Why does the error below occur whenever the statement Request.BinaryRead Request.TotalBytes) is executed for uploads larger than 100K? I thought the 100K limit applied only to Request.Form. This does not occur with smaller uploads. This is running on an IIS 6 server with full FP2002 extensions.
when trying to connect remote desktop web connection...the "non-web" connection works perfectly (i.e. just launching mstsc and connection directly to an IP).I believe that the problem might exist in my connect.asp file
We have a desgined a web application with ASP, VB, Oracle, Javascript. Ours is a three tier applicaton with the component proxy exported to IIS on the web server.
We have the error 'object required' throwed inconsistently by ASP. After awhile, if we refresh the page the page is working fine. We have been having performance problems like Failureenlisting Resource Manger and MSDTC errros also.
Well after sorting my DB Counter problem (see previous thread) (I stumbled accross another. Well, the counter was just on the underconstruction page but I have put it into my common.asp file (for when the acctual site opens, the asp file included at the top of every page) and I get this error:
Microsoft VBScript runtime error '800a01a8' Object required: ' ' /dannyscorner/includes/common.asp, line 60
I have seen this many many times before HeHe ^_^ But this time, it says line 60 but line 60 is used on the underconstruction page and the counter works fine
I am writing an asp script that includes some WMI calls to get PC information and display it on the page. I can query other machines in the domain just fine, but when I try to query the machine that is running the website (Windows 2003 IIS) I get the error Object Required Error 424.
I have tried to this on a Windows XP Pro machine running IIS and I get the same error. Why woud I not be able to query the local machine running IIS?
The line points to where the query takes place. I've read that it could be b'cos a variable that's not defined, but this is not the case, not that i know. Here's the line:
strsqlttype is the variable wish contains the select, and it is initialized as empty. After running the query on the database i found some empty/null records, b'cos of that i validate the fields i need... prior that it stoped right after the loop writes the first line, after validation was placed it stoped on the second record.
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:
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'm trying to display a page in another window but I need to run a query against a database with one value to get the other value that will tell my code where to redirect the page. Every time I hit the "Select" button I get an error telling me that "Object REquired: 'Server' but I have code similiar to what is listed below working on my select boxes. Why would an input box be any different? Code:
<script Language="VBScript"> sub NewPage() Set objRec = Server.CreateObject ("ADODB.Recordset") strSQL= "select id from oppprimary2 where stcc='1111111'" objRec.Open strSQL, strconnect, adOpenDynamic, adLockReadOnly, adCmdText Window.Open "OppTrackEdit.asp?id=1522", Edit objRec.Close Set objRec = nothing
dim xmlObj Set xmlObj = Server.CreateObject("MSXML2.DomDocument") xmlObj.async = false call xmlObj.load( Server.MapPath(FILES_DATA_PATH & "NewsData.xml") ) call xmlObj.selectSingleNode("news").setAttribute("today", Zeropad( DateDiff( "d", 0, Now() ), 7 ) ) set NewsDataObject = xmlObj
and I'm getting this error: Microsoft VBScript runtime error '800a01a8' Object required: 'xmlObj.selectSingleNode(...)' /news/common/NewsUtils.asp, line 13
the error refers to the line: call xmlObj.selectSingleNode("news").setAttribute("today", Zeropad( DateDiff( "d", 0, Now() ), 7 ) )
and I don't seem to get why he things that I got no object there.
I am trying to use the following code to refer to a form and control on my form. I am supposed to be using VBSCRIPT for this code. I always get an "object required: 'document' " error:
<% Dim Myform Set Myform = document.forms.thisform Myform.textbox1.value = "fish" %>
None of this code will work. Always get an error. Using Visual Interdev, plain ole ASP, and vbscript, and Win XP Pro with IIS 5.1
Set fso = CreateObject("Scripting.FileSystemObject") f = fso.GetFolder(mypath & "www/qualcomm/bulletin/pdfs/") response.write(f) set fc = f.Files <-- line 113
I get the following error:
Microsoft VBScript runtime error '800a01a8' Object required: 'D:InetpubCustomers' /qualcomm/_admin/bulletins.asp, line 113
But in a different script I have the following:
Set fso = CreateObject("Scripting.FileSystemObject") PP = "D:/Inetpub/..yaddatadda../www/" 'Physical Path Set f = fso.GetFolder(PP) Set fc = f.Files
and it works fine.
I'm not sure what I'm doing wrong. Is there something I'm missing here? Why does the almost exact same code work in one script but not the other?
I am trying to use the following ASP code to examine the file names in a folder:
Dim fso, f, fl, s, fs Set fso = CreateObject("Scripting.FileSystemObject") Set f = fso.GetFolder("C:InetpubwwwrootMySitesubfolder") Set fs = f.Files For Each fl in fs s = fl.Name 'Object Required error occurs here! Response.Write(s) Next Set fso = Nothing
The asp page returns the 'Object Required' error on the line, "s = fl.Name". Why?
I have a three pages. The first simply shows a load of records.
When you click on a particular record newfull.asp displays the fields for the record [data taken from the database].
Most of the fields in newfull.asp show the data but as read only. The only exceptions are Installer, AutoExchangeClientID, and VSReferenceNumber.
The only relative complication is that the Installer is taken from a combo box. This means that if an Installer is already entered into the database they will show. However, this has also to be UPDATED if necessary. Code:
I am sometimes getting a error ('Object required') in my ASP script like this:
1 On Error resume next 2 dim loCOM 3 set loCOM = createobject("MyComponent.Object") 4 loCOM.Method(param) 5 If err <> 0 then 6 Response.Write "Error ( COM ) : " + ERR.Description 7 Response.End 8 end if
.....
The Error occurs sometime and then based on the same param works well, therefore i don't suspect method from line 4. The Method has own implementation of error handling and doesn't rise a error to script. I think, it's a problem with createobject (out of memory?) Our IIS server has 2GB but it occurs when ~700MB is used and near 70MB per this process (High isolation). The object hasn't a constructor implementation in Class_initialize.
I can't use dh.exe for tracking memory on my production server.
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've got a form handler that I'm useing to grade a test. The test contains some random questions pulled from a database. I'm wondering if there is a way with the request object, to get the name of the form element from the page with the form in addition to the information entered in the text box, or the value of the radio button clicked. I can get the value's from text boxes and the values of radio buttons selected, but I can't get the name of the form element. I've looked in the reference material I've got and Googled for an answer, but can't seem to find one.
When you use the Post method in a form, it is stored in the Request Object. How long do those variables last?Example: User inputs some info in a textbox, presses a "Preview" submit button to preview their input before it is submitted. The form "Action" does some stuff with the user info, looks to see if they hit "Preview" or "Submit." Since they hit "Preview," it redirects them to another page to preview what the "Action" has done.
Does this third redirect page have access to the form info through the Request Object or has it disappeared by that point?
<input type="hidden" name="id"> The value for "id" is assigned in the form.If I want to access the information from a ASP form using Request, i would use "Request.Form("id"). what is the difference between Request.Form("id") and Request("id")?
The Request("id") works but I am wondering where it gets the information. When you don't specify the collection (as in Request("id) instead of Request.form("id) ) does it mean that the request will try to get the information from the URL, the cookie and the form?
I'm trying some ASP script on my Windows XP professional.
I have installed the IIS and it's running fine. All the ASP pages are running good except when there's a request involved, a submit button or anything that loads another page such as using information from a form, a radio buttons, or checkboxes. When I click on submit I get "The page cannot be found".