object expected
-
Hi All One ASP application is deployed on windows server 2003 sp2 and running fine but when I deployed the copy of it on other server ie windows server 2003r2 it is givng error object expected some dll's are to be registered which i registered default page gets displayed but when trying to login after login menu doesn't get displayed which are created through some java script functions which are written in .inc file Pls give some suggestions to resolve
Ankit Aneja "Nothing is impossible. The word itself says - I M possible"
-
Hi All One ASP application is deployed on windows server 2003 sp2 and running fine but when I deployed the copy of it on other server ie windows server 2003r2 it is givng error object expected some dll's are to be registered which i registered default page gets displayed but when trying to login after login menu doesn't get displayed which are created through some java script functions which are written in .inc file Pls give some suggestions to resolve
Ankit Aneja "Nothing is impossible. The word itself says - I M possible"
-
code snippet required with offending line that is raising the exception would help!
Dave Find Me On: Web|Facebook|Twitter|LinkedIn
Folding Stats: Team CodeProject
modified on Sunday, June 12, 2011 3:45 AM
dim rsLogin,strErrMsg if len(Request.Form("cmdLoginSubmit"))>0 then strLogin = trim(Request("strLogin")) strPassword = trim(Request("strPassword")) set rsLogin = Server.CreateObject("ADODB.Recordset") error on webpage is Microsoft VBScript runtime error '800a01a8' Object required: 'rsLogin' /Clp/Login.asp, line 135
Ankit Aneja "Nothing is impossible. The word itself says - I M possible"
-
code snippet required with offending line that is raising the exception would help!
Dave Find Me On: Web|Facebook|Twitter|LinkedIn
Folding Stats: Team CodeProject
modified on Sunday, June 12, 2011 3:45 AM
if len(Request.Form("cmdLoginSubmit"))>0 then strLogin = trim(Request("strLogin")) strPassword = trim(Request("strPassword")) set rsLogin = Server.CreateObject("ADODB.Recordset") strSql = "Select user_mast.*, usergroup_mast.group_name, usergroup_mast.allow_add, usergroup_mast.allow_edit, allow_delete " & _ "from USER_MAST, usergroup_mast " & _ "where user_mast.USER_CODE='" & strLogin & "' and " & _ "user_mast.USER_PWD='" & strPassword & "' and " & _ "usergroup_mast.user_group =* user_mast.user_group " dim Obj set Obj = server.CreateObject("prjCLP.clsCLPUtility") Set rsLogin = Obj.runSqlReturnRs(strSql) where prjCLP.clsCLPUtility is dll that i have registered
Ankit Aneja "Nothing is impossible. The word itself says - I M possible"
-
dim rsLogin,strErrMsg if len(Request.Form("cmdLoginSubmit"))>0 then strLogin = trim(Request("strLogin")) strPassword = trim(Request("strPassword")) set rsLogin = Server.CreateObject("ADODB.Recordset") error on webpage is Microsoft VBScript runtime error '800a01a8' Object required: 'rsLogin' /Clp/Login.asp, line 135
Ankit Aneja "Nothing is impossible. The word itself says - I M possible"
That looks like VBScript not Javascript, going by the syntax and the give away message quoting VBScript. Here is a recordset example (see the GetRows example at top of page); http://www.w3schools.com/ado/ado_ref_recordset.asp[^] Here is a guide to troubleshooting Object required errors; http://www.computerperformance.co.uk/Logon/code/code_800A01A8.htm[^]
Dave Find Me On: Web|Facebook|Twitter|LinkedIn
Folding Stats: Team CodeProject
-
dim rsLogin,strErrMsg if len(Request.Form("cmdLoginSubmit"))>0 then strLogin = trim(Request("strLogin")) strPassword = trim(Request("strPassword")) set rsLogin = Server.CreateObject("ADODB.Recordset") error on webpage is Microsoft VBScript runtime error '800a01a8' Object required: 'rsLogin' /Clp/Login.asp, line 135
Ankit Aneja "Nothing is impossible. The word itself says - I M possible"
-
That looks like VBScript not Javascript, going by the syntax and the give away message quoting VBScript. Here is a recordset example (see the GetRows example at top of page); http://www.w3schools.com/ado/ado_ref_recordset.asp[^] Here is a guide to troubleshooting Object required errors; http://www.computerperformance.co.uk/Logon/code/code_800A01A8.htm[^]
Dave Find Me On: Web|Facebook|Twitter|LinkedIn
Folding Stats: Team CodeProject
-
Ankit Aneja wrote:
/Clp/Login.asp, line 135
show the code of 135th line.
thatraja
**My Tip/Tricks
My Dad had a Heart Attack on this day so don't...
**set Obj = server.CreateObject("prjCLP.clsCLPUtility") but i had already registered this dll
Ankit Aneja "Nothing is impossible. The word itself says - I M possible"
-
That looks like VBScript not Javascript, going by the syntax and the give away message quoting VBScript. Here is a recordset example (see the GetRows example at top of page); http://www.w3schools.com/ado/ado_ref_recordset.asp[^] Here is a guide to troubleshooting Object required errors; http://www.computerperformance.co.uk/Logon/code/code_800A01A8.htm[^]
Dave Find Me On: Web|Facebook|Twitter|LinkedIn
Folding Stats: Team CodeProject
problem was due to db connection now login is getting successful but i am getting error on below left corner of ie8 on double clicking it it is saying object requested and impact is when clicking menu it is not generating sub menu somew js or some configuration prob need more suggestions thanks a lot in advance
Ankit Aneja "Nothing is impossible. The word itself says - I M possible"
-
problem was due to db connection now login is getting successful but i am getting error on below left corner of ie8 on double clicking it it is saying object requested and impact is when clicking menu it is not generating sub menu somew js or some configuration prob need more suggestions thanks a lot in advance
Ankit Aneja "Nothing is impossible. The word itself says - I M possible"