Guest_imported
New member
- Jan 1, 1970
- 0
I am getting this error description in the following script
'--- START SCRIPT ----
strQuery="INSERT INTO Product(ProductId,ProductName,Mcat,MCategory,Price,Pstatus,Pdesc,Image,PCon) VALUES(3001,'Pantene Pro V','Shampoos',90,'Y',' ',' ','Y')"
adoConn.Execute strQuery
vbserror=err.number
errcount=adoconn.errors.count
IF errcount>0 then
DBErrNum=adoconn.errors(0).number
DBErrDes=adoconn.errors(0).description
Response.Write dberrnum & "<br>"
Response.Write dberrdes & "<br>"
End if
'----END SCRIPT----
adoconn is a connection string for the database .. and I can read from the database very well.. also the script is working fine on my local IIS server.. just does not work on the online one
Any solutions??
'--- START SCRIPT ----
strQuery="INSERT INTO Product(ProductId,ProductName,Mcat,MCategory,Price,Pstatus,Pdesc,Image,PCon) VALUES(3001,'Pantene Pro V','Shampoos',90,'Y',' ',' ','Y')"
adoConn.Execute strQuery
vbserror=err.number
errcount=adoconn.errors.count
IF errcount>0 then
DBErrNum=adoconn.errors(0).number
DBErrDes=adoconn.errors(0).description
Response.Write dberrnum & "<br>"
Response.Write dberrdes & "<br>"
End if
'----END SCRIPT----
adoconn is a connection string for the database .. and I can read from the database very well.. also the script is working fine on my local IIS server.. just does not work on the online one
Any solutions??