Quantcast
Viewing latest article 4
Browse Latest Browse All 119

re: SSIS: Custom Logging Using Event Handlers

Hi everybody,

can anybody hekp me to sort of this error .. pls go through the below mentioned code .  

TITLE: Expression Builder

------------------------------

Expression cannot be evaluated.

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%u00ae+Visual+Studio%u00ae+2005&ProdVer=8.0.50727.42&EvtSrc=Microsoft.DataTransformationServices.Controls.TaskUIFramework.TaskUIFrameworkSR&EvtID=FailToEvaluateExpression&LinkId=20476

------------------------------

ADDITIONAL INFORMATION:

Parsing the expression ""INSERT INTO SSISLog(EventType,PackageName, TaskName, EventCode, EventDescription, PackageDuration, ContainerDuration, InsertCount, UpdateCount, DeleteCount, Host)

VALUES (

'OnError',

"' + @[System::PackageName] + '",

"' + @[System::SourceName] + '",

0,

",

" + [DT_STR, 6,1252] DATEDIFF("ss", @[System::StartTime] , GETDATE())+",

" + [DT_STR, 6,1252] DATEDIFF("ss", @[System::ContainerStartTime], GETDATE())+",

" + [DT_STR, 4,1252]@[User::Insertcount] + ",

" + [DT_STR, 4 ,1252]@[User::UpdateCount] +",

" + [DT_STR, 4,1252]@[User::DeleteCount]+",

" '+  @[System::MachineName] + ' "

)

"" failed. The single quotation mark at line number "4", character number "3", was not expected.

(Microsoft.DataTransformationServices.Controls)

Thanks In Advance!

Regards,

Sabari


Viewing latest article 4
Browse Latest Browse All 119

Trending Articles