Go Back   CORTEX Forums > Local Happenings > CORTEX Blogs > BI Monkey
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read

Using .NET Framework 3.5 in SSIS Scripts

This is a discussion on Using .NET Framework 3.5 in SSIS Scripts within the BI Monkey forums, part of the CORTEX Blogs category; Thanks to Valentino Vranken who provides this useful post: Using A .Net 3.5 Assembly In SSIS 2008 By default SSIS Script Tasks / Components reference .NET Framework 2.0, which was ...


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 23rd September 2011, 11:48 AM   #1
Guru
 
Join Date: Jun 2009
Posts: 135
James Beresford is on a distinguished road
Thumbs up Using .NET Framework 3.5 in SSIS Scripts

Thanks to Valentino Vranken who provides this useful post: Using A .Net 3.5 Assembly In SSIS 2008

By default SSIS Script Tasks / Components reference .NET Framework 2.0, which was confusing me as I tried to implement a solution around managing times in different Time Zones which required the TimeZoneInfo Class which only exists in 3.5 and higher. (This was what I was trying to implement: Daylight Savings in Script Task). Because the script referenced .NET Framework 2.0 the TimeZoneInfo class wouldn’t work. Switch the target framework to 3.5 and bingo – all good.

The tl/dr version: In your script component – while editing the script – open the Properties and change the Target Framework to 3.5 to use functions available in 3.5.



Get More from the original blog...
James Beresford is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Open Payment Framework Latest News Headlines Business Activity Monitoring 0 2nd May 2011 08:19 PM
iOS devices (iPhone, iPad, iPod Touch) will *never* allow scripts. ? [PREDICTION] admin Prediction Markets News Feeds 0 11th March 2011 01:59 AM
SSIS ETL Framework v1 goes Beta! James Beresford BI Monkey 0 9th August 2010 01:53 PM
Compliance Framework Manager admin 2010 Job Archive 0 15th May 2010 09:50 AM
The BI Monkey SSIS ETL Framework James Beresford BI Monkey 0 12th April 2010 01:49 AM


All times are GMT +11. The time now is 10:55 PM.

© The Business Intelligence Group

Search Engine Optimization by vBSEO