sql - Classic Asp insert to DB with table that has schema -



sql - Classic Asp insert to DB with table that has schema -

i'm lucky winner of fixing legacy code base of operations adding stuff db.

i have tabel in schema

create table [agreements].approved ( id int not null identity primary key, domainname varchar(50) not null, applicantfirstname varchar(50) not null, applicantlastname varchar(50) not null, ownerfirstname varchar(50), ownerlastname varchar(50), ownercompany varchar(50), viewedappendix3 bit not null, approveddate datetime default getdate(), )

now question. how insert new row tabell has schema using classic asp? im trying with:

agreesql = "insert [agreements].approved(domainname, applicantfirstname, applicantlastname, ownerfirstname, ownerlastname, viewedappendix3) values('" & domain1 &"','" & owner & "','" & owner &"','" & owner & "','" & owner & "','" & owner &"','true')" conn.execute agreesql ' conn working connection db.

this fails 500 internal exception. , here comes kicker. cant see error messages , changes on live production server...

you have enable "send error browser" in iis see asp error messages in browser. sorry high german screenshot :-)

sql asp-classic schema

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -