How To Slove This Problem Plz...

Feb 25, 2008

The inserted value(s) specifies an invalid Status
The transaction ended in the trigger. The batch has been aborted.

Hello Everybody, I want to slove this problem when i want to insert data i check some condition before insert data, if condition is true it's can insert but but if it's false i have a button to click for confirm to insert and have this error.Help me plz....this code behindsql_CheckLog = "SET IDENTITY_INSERT Checklog ON INSERT INTO Checklog(ID,customerID,employeeID,StatusID,Type,RecordID"
sql_CheckLog += ",Allowed,AlertFlags,Date,stationID,clubnumber) Values ('" & No & "','" & lblID.Text & "',"
sql_CheckLog += "'" & Request.QueryString("ID").ToString & "'"
sql_CheckLog += ",'" & StatusID & "'"
sql_CheckLog += ",'" & CInt(Type) & "'"
sql_CheckLog += ",'" & CInt(Record) & "'"
sql_CheckLog += ",'" & CInt(allow) & "',"
sql_CheckLog += "'" & TotalAlertCheck & "','" & DateCheck & "','" & station & "','" & CInt(Session("ClubID")) & "')"

View 3 Replies


ADVERTISEMENT

How To Slove Upgrade Advisor Issues

Nov 18, 2007

Hi All,
when i am migrating pckg dts to ssis before that i am checking that pckg with upgrad advisor. upgrad advisor report shows me following things i need to upgrade.
1. SQL Server 2000 Meta Data Services Packages are not support::Existing meta data services packages should be moved to sql server storage or structured storage files before you upgrade sql server 2005 does not install support for sql server 2000 meta data services therfore package migratio wizar willbe unable to access meta data services packages after upgrade in the absence of the SQL server 2000 client tool.

2.SQL server 2000 DTS designer components are required to edit DTS Packages

pl.provide solution for above error msg

Thx,

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved