SEARCH YOUR SOLUTION HERE  

Error when using shadow uploader



I have a login page where user enters his username password i verify if he is a valid user or not
if he is i redirect him to a diff page and in querystring i transfer 3 variables ok
I get the 3 variables on that page then i have 3 radio buttons when user selects one of them i display the company name and they upload the file and some stas for the company
the client requirement is when the user submits the form it should be done by radio button not a submit button
for uploading of file i have used shadow's code
here is my problem if the user doesnt upload a file it gives me an error saying

Microsoft VBScript runtime error '800a01a8'
Object required: 'm_Request'
/ERP/onlineerp/ShadowUploader.asp, line 27

here is the code for it
[CODE]



Company Details









Country
U.S.A
Canada

International





Company name




Stats




Upload File




/>















now i have the code for submitcompany.asp
Code:

Posted On: Friday 26th of October 2012 02:20:36 AM Total Views:  343
View Complete with Replies




Related Messages:

Conversion failed error   (157 Views)
Ok i'm getting a conversion error when i try to do an insert, the table i'm pulling from and the one i'm writing from are the same. i think there is something i can do to define my field data types. error: Conversion failed when converting character string to smalldatetime data type Select Statement Code: DIM tline tline=request.querystring("tline") strSQL = "SELECT JOB.DEMO_DATE, CONT.JOBNUM, JOB.DEMO_DATE, DSurvey.EPN, CONT.DID, dem.first + ' ' + dem.last AS NAME, STORE.STORE_ID, JOB.TLINE, DSurvey.bio, DSurvey.pointer, DSurvey.salesleader, DSurvey.cosconfirmed, DSurvey.[20pounds], DSurvey.Language, DSurvey.Travel, DSurvey.MerchandisingExp, DSurvey.MerchandisingJobs, DSurvey.ShortNotice, DSurvey.FulltimeJob, DSurvey.OtherAgency, CONT.cancel_date FROM (STORE RIGHT JOIN (DSurvey RIGHT JOIN (JOB RIGHT JOIN CONT ON JOB.JOBNUM = CONT.JOBNUM) ON DSurvey.EPN = CONT.EPN) ON STORE.SID = CONT.SID) LEFT JOIN DEM ON CONT.DID = DEM.DID WHERE tline='" StrSql=Strsql & tline & "'" Insert Statement Code: Dim strSQL strSQL = "INSERT INTO ProfileManagement(demo_date,epn,store_id,tline,bio,pointer,salesleader,cosconfirmed,[20pounds],language,merchandisingexp,merchandisingjobs,shortnotice,fulltimejob,otheragency,cnum,staffingline)" strSQL = strSQL & "VALUES ('" & Request.Form("DEMO_DATE") & "','" & Request.Form("epn") & "','" & Request.Form("store_id") & "','" & Request.Form("tline") & "','" & replace(Request.Form("bio"),"'","''") & "','" & Request.Form("pointer") & "','" & Request.Form("salesleader") & "','" & Request.Form("cosconfirmed") & "','" & Request.Form("[20pounds]") & "','" & Request.Form("language") & "','" & Request.Form("merchandisingexp") & "','" & Request.Form("merchandisingjobs") & "','" & Request.Form("shortnotice") & "','" & Request.Form("fulltimejob") & "','" & Request.Form("otheragency") & "','" & Request.Form("cnum") & "','" & Request.Form("staffingline") & "')"
Function error   (132 Views)
Hi all, I'm making a little program to learn how to work with functions. I get an error message on the following code: Code: The error message is on the last line of my asp-code: bewerkingen(getal1,getal2) The translated error message is something like: "can't use quotes while calling a sub-value" I hope someone can help me
Microsoft OLE DB Provider for SQL Server error '80004005'   (130 Views)
I am in the process of upgrading from SQL7 to SQL2005. With SQL7, I set my connection string in the Global.asa as Code: Sub Application_OnStart On Error Resume Next DB_CONNECT = "Provider=SQLOLEDB.1;UID="myuser";PWD="password";Persist Security Info=False;Data Source=SQL1" '--Project Data Connection Application("db_ConnectionString") = DB_CONNECT Application("db_ConnectionTimeout") = 15 Application("db_CommandTimeout") = 30 Application("db_CursorLocation") = 3 Application("db_RuntimeUserName") = "" Application("db_RuntimePassword") = "" End Sub Sub Session_OnStart Session.Timeout = 60 End Sub when I change the name to the new server (sql2005 name) I get this access denied message, eventhough I have set the user up with full access to the database. I currently have SQL7 loaded on the Web server. Is the connection string no longer valid to SQL2005
VBScript error 800a0401   (123 Views)
[highlight=""]Microsoft VBScript compilation error '800a0401' Expected end of statement /User area/update_profile_teach.asp, line 38 RS_update_teach__MMColParam, "'", "''") + "'" --------------------------------------^[/highlight] Got to order a book on ASP programming (can't stand these code builders) in the mean time I've got stuck on the above error message. The line it referes to is: [highlight=""]RS_update_teach__MMColParam, "'", "''") + "'"[/highlight] Anyone got any ideas to help me out
Joomla error message.Urgent!!!!!   (134 Views)
I got the following error message while i attempt to view the site integrated in joomla. Even i logged in as Superadmin. "You are not authorized to view this resource. You need to login." Please reply immediately.
Help: Microsoft JET Database Engine error '80040e14' - Page 2   (135 Views)
this Code: MM_editCmd.CommandText = MM_editQuery response.write MM_editQuery response.endMM_editCmd.Execute MM_editCmd.ActiveConnection.Close must be Code: MM_editCmd.CommandText = MM_editQuery MM_editCmd.Execute MM_editCmd.ActiveConnection.Close hope this helps
Can't figure out this error code   (264 Views)
Dear Experts, I have the following error code: Insert Into Medewerker(Med_nr,afd_id,Med_naam,Med_voor,Med_tus 1,Med_tus2,Med_roep,Med_ini,Med_tel,Med_email,Med_ mutdat,Med_gebdatum,Med_indienst,[Afwezig op],Med_mobiel,Fun_ID,statusindentifier)VALUES ('25000','28','Diederik','F','der','der','Frank ','FM','8975','f.meussen@planet.nl','19-04-2006 10:42:03','02/03/1982','16/06/1999','Dinsdag,Woensdag','06-42726465','26','4') EHBO / BHV Kwaliteitsdienst Response object error 'ASP 0106 : 80020005' Type Mismatch /ORG/HRM/medewerkertoevoeg.asp, line 0 An unhandled data type was encountered. this is the result page. The relevant source code is: Code: Who can help me
How to stop an error form a message entry   (184 Views)
Microsoft OLE DB Provider for ODBC Drivers error '80040e14' [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression ''I think this experiment is about judging other people on the basis of one's first impression. I don't think it's fair to judge ohters based on first impressions. Most of the times first impressions are crucial in finding people's attitudes or personas, but '. I am 99% sure that the problem is becase I have a text field box and people are typing in commas, apostropies, ect. How do I get around that Code: strquery = "UPDATE Study set Question109='"& Question109 &"', " & "Question110 = '" & Question110 & "', " & "Question111 = '" & Question111 & "' WHERE ParNumber='"& Number &"';" OBJdbConnection.execute strquery %> Question109 and 111 are both text box message type questions.
Syntax error Insert into   (191 Views)
Dear Experts, I keep getting the following error message: Microsoft OLE DB Provider for ODBC Drivers (0x80040E14) [Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement. /ORG/HRM/medewerkertoevoeg.asp, line 50 I treid different solutions but here is the code: Code: StrSQL = "Insert Into Medewerker(Med_nr,afd_id,Med_naam,Med_voor,Med_tus1,Med_tus2,Med_roep,Med_ini,Med_tel,Med_email,Med_mutdat,Med_gebdatum,Med_indienst,Afwezig op,Med_mobiel,Funktie_id,werkstatus)"& _ "VALUES ('"& Request.Form("med_nr") &"'," & Request.Form("mainselect")& ","& _ "'"& Request.Form("med_naam") &"','"& Request.Form("med_voor") &"','"& hulptus1 &"','"& hulptus2 &"',"& _ "'"& Request.Form("med_roep") &"','"& Request.Form("med_ini") &"','"& Request.Form("med_tel") &"','"& Request.Form("med_email") &"','"& datumnu &"',"& _ "'"& geboortesamenvoeging &"','"& indienstsamenvoeging &"','"& Request.Form("Med_afwezigop") &"','"& Request.Form("Med_mobiel") &"'," & Request.Form("mainselect2")& ",'"& Request.Form("Werkstatus") &"');" It is fine i think , i treid to free the integer value from the string but the result is the same. The code above is with freeing of integers and the code below without: Code: StrSQL = "Insert Into Medewerker(Med_nr,afd_id,Med_naam,Med_voor,Med_tus1,Med_tus2,Med_roep,Med_ini,Med_tel,Med_email,Med_mutdat,Med_gebdatum,Med_indienst,Afwezig op,Med_mobiel,Funktie_id,werkstatus)"& _ "VALUES ('"& Request.Form("med_nr") &"','" & Request.Form("mainselect")& "',"& _ "'"& Request.Form("med_naam") &"','"& Request.Form("med_voor") &"','"& hulptus1 &"','"& hulptus2 &"',"& _ "'"& Request.Form("med_roep") &"','"& Request.Form("med_ini") &"','"& Request.Form("med_tel") &"','"& Request.Form("med_email") &"','"& datumnu &"',"& _ "'"& geboortesamenvoeging &"','"& indienstsamenvoeging &"','"& Request.Form("Med_afwezigop") &"','"& Request.Form("Med_mobiel") &"','" & Request.Form("mainselect2")& "','"& Request.Form("Werkstatus") &"');" the result (response.write strsql): Insert Into Medewerker(Med_nr,afd_id,Med_naam,Med_voor,Med_tus 1,Med_tus2,Med_roep,Med_ini,Med_tel,Med_email,Med_ mutdat,Med_gebdatum,Med_indienst,Afwezig op,Med_mobiel,Funktie_id,werkstatus)VALUES ('10000','28','Meussen','F','der','der','Koen','FM ','6578','f.meussen@planet.nl','4/3/2006 12:56:37 PM','02/03/1982','04/08/2000','Woensdag,Dinsdag','06-42726465','27','Stagiair'); Uw gegevens voor het smoelenboek zijn verwerkt bedankt. what am i doing wrong here
Code error:please help   (293 Views)
hello friends i have written the following code Code: Dim objConnection Dim objRecordset objConnection=Server.CreateObject("ADODB.Connection"); objConnection.Open "Provider=MSDASQL;Data Source=library;User ID=system;Password=manager;"; Set objRecordset = objConnection.Execute("SELECT sysdate FROM dual"); document.write(objRecordset); document.write("this is a test") I am not getting any error....Please help me out as what exactly the problem and y is it not displaying anything
Path error   (150 Views)
I want to write logfiles to a textfile. But when the file doesn't exist, then the file should be created. But the code gives an error at this part of the code. I have no idea of what the mistake could be. Here's the code: Code: When I run this code, the page gives this error: Code: Microsoft VBScript runtime error '800a004c' Path not found /rpg/log.asp, line 17 There is a mistake on this line; set tfile=fs.CreateTextFile(logfile, True) Can someone tell me what's wrong with it
Dropdownlist error...   (212 Views)
How to check the value of the dropdownlist and call the data on submit. This is not working... can point out my error.
Error editing table with tableeditor (probably just an SQL error)   (193 Views)
When I try to add a new column to a table with tableeditor, I get the following error (I edited the script to show the SQL query before it executes it: Code: ALTER TABLE [photos] ADD COLUMN [image_width] INTEGER NOT NULL Microsoft OLE DB Provider for SQL Server error '80040e14' Incorrect syntax near the keyword 'COLUMN'. /rock/tableeditor/te_fieldedit.asp, line 218
Type Mismatch error   (296 Views)
I have an online form that is submitted to an access database. This part works fine. One of the fields in the database is populated with a "=Now()" command that date stamps the record when it is created, and puts this time value in the field. I have an online console that allows me to view the submitted forms online. I am trying to get it to display the value of the date field (called "dateandtime") on the webpage, but I keep getting the following error: ______________ Microsoft VBScript runtime error '800a000d' Type mismatch /online_reports/showall.asp, line 51 ______________ The syntax I am using to display this date is Code: What am I doing wrong
'File not found' error   (123 Views)
Hi all. I am getting an error:- File 'C:\Path\file1.txt' does not exist I am selecting a text file from the previous page to put into the database. When I hard code the file path it works fine. Any ideas Cheers
A very intereting error indeed   (154 Views)
Well I've encountered an interesting error... if you go to Http://www.hospitalitylawyer.com and click on the Loss Prevention tab at the top....the "home" tab and its menu show up instead of the Loss Prevention tab and its menu. I can't seem to locate the problem because the coding looks perfect to me. I have a feeling it may have something to do with the javascript can anyone help me out here I'm kinda desperate as I have been spending a good amount of time trying to figure out where the error is coming from. The code is so long...so go here: http://pastebin.com/761539
ADODB.Recordset error '800a0cb3'   (120 Views)
I have been utilizing an ASP template for quite sometime to update, add, delete, and select records in a MS SQL database. I encountered the following error for the first time this week: ADODB.Recordset error '800a0cb3' Current Recordset does not support updating. This may be a limitation of the provider, or of the selected locktype. /awgweb/armms/update.asp, line 14 Here is my code: Code: I have code very similar to this working fine in other pages running on the same IIS server and pointing to the same SQL server. I can delete items from a table (if I change the SQL statment to a delete statement rather than a select statement) but I can not update, or add a new record. HELP!!
Error Type :(0x80004005) Unspecified error type   (171 Views)
Hi friends , I am trying to send a fax from my asp application and am getting the follwoing error on the hghlighted line: Error Type: (0x80004005) Unspecified error If anyone knows why..please help New Page 1 Error Type: (0x80004005) Unspecified error
Error:Syntax error (missing operator) in query expression 'OrderNo='...HELP   (165 Views)
Dear all, I am getting this error and its not getting resolved at all: Syntax error (missing operator) in query expression 'OrderNo='. On line:RS.Open query, objConn This is my code where i am pulling records on the orderno and after i have pulled the records ,i am trying to insert them in another table on clicking Submit button.I am getting Orderno from the previous page and thats getting displayed properly.Dont know why that error is commig up all the time.Here is the code: Agent information about a client
Strange mysql error ???   (324 Views)
hi there, all of a sudden my site has decided that it wont work. i get the following mysql error: [MySQL][ODBC 3.51 Driver][mysqld-4.1.12-nt]Can't create/write to file '\cygdrive\c\clamav-devel\tmp\#sql_284_0.MYI' (Errcode: 2) i dont think it is needed but this is the sql code Code: sub getFromDatabase(mysql, rsTemp, scriptName) call openDb() set rsTemp = server.createObject("adodb.recordset") ' set the cursor rsTemp.cursorType = adOpenForwardOnly ' set locktype rsTemp.lockType = 1 rsTemp.open mysql, connTemp end sub