Tuesday, April 23, 2013

Cookie Aware Web Client on .NET Framework 3.5

Have been working on a project where I needed to download some files from a website which uses forms authentication.

I created a console application using VS 2010 targeting .NET framework 4.0 and used the Cookie Aware version of WebClient class.

The authentication cookie is stored and the files were downloaded successfully.

Unfortunately the code doesn't work once I started targeting .NET framework 3.5

To make the authentication cookie to be stored, the authentication need to be performed twice to make it to work in .NET framework 3.5

Monday, April 22, 2013

Professional Scrum Developer - Scrum.org

Recently I have passed my Profession Scrum Developer Assessment and attained the PSD 1 certification

I attended the PSD Course but you get only 2 attempts to pass the assessment

I took the open assessments few times and also read the material provided with my course

Need to focus on the Professional Scrum Master Assessment but really need some break before the new certification

Friday, March 22, 2013

Windows Phone 8 SDK on Windows 8 32-bit?

Windows Phone 8 SDK cannot be installed on Windows 8 32-bit machines instead it requires 64 bit. This is because Hyper-V Emulator can run only on 64 bit systems. Also because of 32 bit OS cannot address more than 3GB RAM.

Sunday, March 17, 2013

SFTP using SSIS 2008 & 2008 R2

SSIS doesn't have a built-in component to support SFTP but the following codeplex component can be used or create a script task and write the SFTP file retrieval.

http://ssissftp.codeplex.com/

Note:

  • Copy the SSISSFTPTask100.dll to C:\Program Files(x86)\Microsoft SQL Server\100\DTS\Tasks\
  • Register the SSISSFTPTask100.dll in the GAC using gacutil.exe (available under C:\Program Files(x86)\Microsoft SDKs\Windows\v7.0A\Bin)
  • Open BIDS and click Tools > Choose Toolbox items > SSIS Control Flow Items > SFTP Task (Note: The SFTP Task will appear only if the SSISSFTPTask100.dll has been successfully registered in the GAC.

Monday, February 25, 2013

Your current security settings do not allow this file to be downloaded

I get the above error when trying to download files from codeplex on a VM (Windows server 2008 R2) on IE9.

Solution

  • Open Internet Explorer.
  • Click Tools and then options.
  • Click on the security tab.
  • Select the Internet Zone.
  • Click on the Custom Level Button and then scroll down to Download.
  • Make sure to enable File download.
  • Click Apply and Ok