ASP Required Login
I just uploaded a script I downloaded and everything works fine except when I load any page in that directory it asks me to login.
I usually use PHP on a different server so I'm used to using .htaccess files to elicit the same effect. How would I go about turning this off in ASP?
If i were on a linux server I'd just alter this file and remove the following lines, but I'm not sure how to do this with ASP.
Example .htaccess
Code:
AuthTypebasic
AuthUserFile/hsphere/local/home/acuraimp/.htmaster/.ok_user
AuthGroupFile/hsphere/local/home/acuraimp/.htmaster/.ok_group
Requirevalid-user
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
XMLHTTP Through Login But After Requesting Next Page - Kicks Back To Login
I am building a website to pull data from a remote https site using xmlhttp. The data from the https site is behind a login screen. I can successfully get through the login screen with: set objXMLHTTP = Server.CreateObject("Msxml2.ServerXMLHTTP") objXMLHTTP.Open "POST", "https://website.com/validate-login2.asp", false objXMLHTTP.SetRequestHeader "Content-Type", "application/x-www-form-urlencoded" objXMLHTTP.Send "Username=uname&password=pwd&company=O" That works great - but then, when I try to go to the next page (where the data is that I want to pull) - I use the same process and I get kicked back out to the login screen? Could there be some cookies, referer, strings being passed normally that I am not including in my second request - How do i find out for sure? I have used the software IETrace and it looks like some cookies being passed, but how do I know for sure if (and what exactly) it is using?
Login To Page Requires Login
I want to login to a page using MSXML2.ServerXMLHTTP.4.0 or an object like this, I must send the form variables needed to login when I try to login to the page. But the problem is, that the page looks like a exe file (not a asp file or php file or what ever). The name of the page I try to login is something like "/pw?/session/login", nothing more, without extension. I have tried the code with a normal asp file with session registration and login process and it worked, but not with this file.
No Value Given For One Or More Required Parameters
I have a simple website linking to an access database. The script works fine on my local machine. And it works fine on my regular host. However, I have uploaded the website to a Windows account with GoDaddy and here is my problem. I am receiving the following error: Microsoft JET Database Engine error '80040e10' No value given for one or more required parameters. /home.asp, line 10 - the WEIRD thing is that if you hit refresh enough times, the page loads fine. Then, at random (it appears), the error resurfaces. No coding changes at all. Code:
No Value Given For One Or More Required Parameters
I am getting the error "No value given for one or more required parameters" with this basic script. I have checked the fields are spelt correctly and have capitals in the right place. I have also checked with response.write to see the results it produces and it all looks correct. Code:
Object Required!?
just trying to add a product to cart although this error has occured! Microsoft VBScript runtime error '800a01a8' Object required: '' /djfubar/addCart.asp, line 75 this is the addcart script Code:
Required Parameters Have No Value?
I keep getting this error, specific to a file called validations.asp: Microsoft JET Database Engine error '80040e10' No value given for one or more required parameters. /ebusiness0405asp/greg/asp/project/validations.asp, line 14 I really don't understand what the required parameters are in this case and why they have no value. Code:
Object Required
I receive the error: Object Required: MsTsC 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
Object Required
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.
No Value Given For One Or More Required Parameters.
I have created an update data base page with the help of tutorial. While submitting the data I am getting following error: Error Type: Microsoft JET Database Engine (0x80040E10) No value given for one or more required parameters. /update.asp, line 41 My code:
Required Validation
I have been working on requiredvalidation controls..I'd like to know how could I create a validation on a group of controls? for example to validate phone, on the form it may looks like below (brackets are the textbox fields) ([ ]) [ ]-[ ] how could I validate all three fields with one message error to display in the validation summary?or is there another way to do? btw, am I able to create a textbox or some sort of control that is actually the combination of the three boxes?
Object Required: ''
This line seems to have a problem, but I can't find it. Code: sql = "INSERT INTO Table2 (Title, Artist, Description, DiscNo, TrackNo, Price) VALUES ('" & Request.Form("Title") & "','" & Request.Form("Artist") & "','" & Request.Form("Description") & "','" & Request.Form("DiscNo") & "','" & CInt(Table1.TrackNo) & "','" & Request.Form("Price") & "') the error is: Microsoft VBScript runtime (0x800A01A8) Object required: ''
Required Parameters
When I execute the code below, I get: "Microsoft JET Database Engine (0x80040E10) No value given for one or more required parameters." error message in the first line. Rs.Open "SELECT * From Unvanlar WHERE Unvan = " & kayit8, Con, 3,3 If rs.EOF Then Con.Execute ("INSERT INTO Unvanlar (Unvan) VALUES ('"&kayit8&"')"),,129 End If Rs.Close The variable is string and the field in access table is text. I'm sure that field names in the code and table are correct as well. What can I do to solve that?
No Value Given For One Or More Required Parameters
I want to insert a value into the database.The values are obtained from textboxes.When i try to insert i am ending up with the error: No value given for one or more required parameters The part of the code is: new1 = Request.Form("new") tab = request.form("stcode") <%sql="INSERT INTO movable1 (" & TAB & ") VALUES(" & new1 & ")" conn.execute(sql) if err<>0 then response.write("Error") else response.write("The " & new1 & " was added under " & tab & ".") end if %> the field is a numeric field.Could anyone figure out what is the fault?
Object Required: ''
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 Here is the nice pretty code:
Asp Object Required
Set wApp = CreateObject("Word.Application") wapp.Selection.Find.ClearFormatting While use 'wapp.Selection.Find.ClearFormatting' in asp, then have error. error msg: 'Object required: Selection'
Oject Required
can u looked the error: Microsoft VBScript runtime error '800a01a8' Object required: '' is it i misslooked some code? nama=request("nama") Set isinama = Server.CreateObject("ADODB.Recordset") sql="select * from markah where namapelajar='"&nama&"'" <br><%while not isinama.eof%> <input name="a" type="radio" value="<%=isinama("nilai1a")%>"> <input name="a" type="radio" value="<%=isinama("nilai1a")%>"> <input name="a" type="radio" value="<%=isinama("nilai1a")%>"> <%isinama.movenext wend%>
Object Required 424
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?
Fee Calculator Required
I have been asked to include a fee calculator in a site, which would enable a browser to calcualte fees on the sale/purchase of a property. I have searched Google for ages and cannot find such code. something similar that could be adapted(not too technical) or a basic script to do it that I could buy.
No Value Given For One Or More Required Parameters
I'm geting the following error: Error Type: Microsoft JET Database Engine (0x80040E10) No value given for one or more required parameters. /edituser.asp, line 255 I have marked the line that the error refers to in RED Code:
ASP Forum Required
I am currently operating a hosted ASP site with SQL Server installed. I need a very basic forum (ideally for free) and any suggestions would be much welcomed. I note that Snitz offer an extremely comprehensive ASP forum which is free but from experience I know that learning to use this properly is quite a steep learning curve and right now I do not have the time. What I am looking for is a forum which bears the same relationship to Snitz as Notepad does to Microsoft Word.
Object Required
I'm getting this error and don't know why: Microsoft VBScript runtime error '800a01a8' Object required 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: rs4.Open strsqlttype, connStr, adOpenForwardOnly, adLockReadOnly, adCmdTableDirect 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.
Object Required?
Been working on cleaning my site up and making it friendly, using includes, databases and comments. Code:
No Value Given For One Or More Required Parameters.
This crazy query works on three other sites, which are all exactly the same and even use the exact same code and data format, but it won't work on a new one. The craziest part is that when I copy the query to Access and execute it in SQL view, I don't get an error; it works perfectly. Code:
Error Object Required
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:
Object Required Error
I am using upload code by Jacob "Beezle" Gilley. The following code is returning an error: Microsoft VBScript runtime error '800a01a8' Object required: '' /adddoc.asp, line 36 although I have used almost the same code in other programs and it worked. Does anyone see what I am doing wrong? Code:
Object Required: 'SmtpMail'
<% Set myMail=CreateObject("CDO.Message") myMail.Subject="123" myMail.From=(Request.Form("email")) myMail.To="11111@yahoo.co.uk" myMail.TextBody=(Request.Form("comment")) myMail.Send %> and i get this error Microsoft VBScript runtime (0x800A01A8) Object required: 'SmtpMail' I have tried using the SmtpMail.SmtpServer = "localhost" in the code but no joy.
Error: No Value Given For One Or More Required Parameters
Receving the following error at the moment No value given for one or more required parameters Attempting to access an Access database with the book “Build your own ASP.NET Website using C# and VB.NET. If you have this book I am on page 284. The code I am having problems with is as follows: Code:
Error Object Required
I seem to run into this error alot and I cannot ever seem to figure out what is wrong: Microsoft VBScript runtime error '800a01a8' Object required: '' /cln/stage2.asp, line 11 Code:
Error: No Value Given For One Or More Required Parameters.
Hey im doing some basic database connection to create a new user. When I run the script it gives me this. Here is my error: Error Type: Microsoft JET Database Engine (0x80040E10) No value given for one or more required parameters. /calcsource/test.asp, line 198 This is the actual asp script: Code:
Object Required Error
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:
Web Page Recorder Required
I need to provide a demo of my web application on my website. Does anyone know of any software which can record a demo of a web application? I have seen a few screen recorders, does anyone have experience of any of these, and what is the best one for a website?
Proper FTP Manager Required
I've created a web site system that a number of users use on their sites, but I manage each individual site/system on my ISP's server. Creating updates to this system was fine when I only had a few users, but now its starting to become hard work uploading the required files to each site (I use CuteFTP) so I wondered if you knew of an FTP app that would allow me to automate the process. I basically want to put a file or files in a local folder and then instruct the app to auto-upload these files to the same places, but on each site. If required, I can create the folder structure locally so that the app goes through a set of folders locally and uploads them to the same places on the sites. Do you know of an app that can automate the process of uploading the same files to certain directories across multiple FTP sites?
No Value Given For One Or More Required Parameters Error
I am having problems with a database query I am running with ASP. Essentially I am trying to query the database to count the total of records where the column name matches 'yes'. I have the query in a function, but whenever I run it I get : Error Type: Microsoft JET Database Engine (0x80040E10) No value given for one or more required parameters. /WwWDC_karim/totals.asp, line 14 Here is the entire file: Code:
Basic Password Required
how to enter a password, with the correct password opening a new HTML, without the need of checking a database.For example I have 'Please Enter Password ____ [SUBMIT]". I would simply like to open a new HTML when they enter '1234' after clicking the 'Submit' button, otherwise nothing happens.
Displaying Required Fields
I've run into this problem before and it's related to the order in which you select fields.but only when one is a text field. Comes down to this,if you have multiple database fields being selected,either write your sql so that the text field is selected last yes, the right-most fieldname in the comma-delimited list OR you can use 'select *' in your queries as long as the text field(s) is/are the last/rightmost field in the table. I've only run into this bug on ASP/MS Sql so I can't comment on other databases.
Definition/explanation Required
i have this function/request If Request.QueryString("mode") = "go" then objRec.Open "Gigs", objConn,2,2,&H0002 objRec.Filter = "id=1" objRec("venuedate") = ChkString(Request.Form("gigs")) objRec.Update Response.Write "The changes have now been saved" Response.Write objRec("venuedate") Else 'response.Write("splip") strSQL = "SELECT * FROM Gigs Where id=1" objRec.Open strSQL,objConn,0,1 what i would like to know is how this part works specifically the ,#,#,####: objRec.Open "Gigs", objConn,2,2,&H0002 objRec.Open strSQL,objConn,0,1
Request Object Required
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?
Error: Object Required
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 end sub </script> <input type="Button" Value="Select" name=button1 onclick="vbscript :NewPage()">
Dyanamic Combo Box Required
I want to create dynamic Combobox for eg If on a asp page there is a textbox and combobox if in a text box I input some value the combox to be populated from a table based on the value input in a textbox.
ASP Required Fileds In E-mail Form
See Example of script below that works fine. I want to add the feature to this where it will tell customer that they missed a field, "click here" to go back & try again. Does not need to be fancy telling them which field they missed. (Although would be nice) Can even require all fields to be filled out, or do again. Currently it kicks you out when e-mail field is empty, but not on any other field.....
ASP Object Required Error - Vbscript
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 What am I missing or doing wrong???
Object Required Error With FileSystemObject
When I include this script: 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?
'object Required' Error Using FileSystemObject
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?
Simple Alert Button Required
ok when the user clicks submit on my form it automatically deletes the record and returns to the main page.. i need an alert that appears on clicking of the submit button.. it does not need to have any rules on what has been entered.. it simply appears when the submit button is clicked.. it will be something like : 'Are you sure you want to delete this record, this operation is undoable' and it has a yes button (which if clicked proceeds to the page the form declares) and a no button, which if clicked just stays on the page how it is:
|