Archive for September, 2010

Flash floating over the top of my div!

We had this problem recently using thickbox- the screen would go dark and the popup div would appear, however in the background an embedded youtube video floating above the darkened background.

This is easy to fix- just add an extra parameter to your object embed- eg;


<object width="330" height="203" style="width: 330px; height: 203px;" data="http://www.youtube.com/v/PF9Q3LcOAQ8?fs=1&amp;amp;hl=en_GB&amp;amp;rel=0&amp;amp;border=1" type="application/x-shockwave-flash">
<param name="wmode" value="transparent" />
...

No Comments

A List Apart: Articles: Testing Accordian Forms

Interesting article on web form layout, and how to make complex data collection tasks less painful for your users.

via A List Apart: Articles: Testing Accordian Forms.

No Comments

Uh Oh! Important: ASP.NET Security Vulnerability – ScottGu’s Blog

Important: ASP.NET Security Vulnerability – ScottGu’s Blog.

No Comments

SQL Server Export : “Text was truncated or one or more characters had no match in the target code page”

I recently did an export from a database table on a thirds party website we host, from the news letter table- Using the standard SQL Export dialogue in sql server management studio 2008, i selected to export to a flat file- i pasted in my query and adjusted the column mappings then hit finish only to be confronted with an error mid way through the export;

Copying to C:\Users\Shaw.Young\Desktop\bq-newsletters1.txt (Error)
Messages
Error 0xc02020a1: Data Flow Task 1: Data conversion failed. The data conversion for column “surname” returned status value 4 and status text “Text was truncated or one or more characters had no match in the target code page.”.
(SQL Server Import and Export Wizard)

Error 0xc02020a0: Data Flow Task 1: Cannot copy or convert flat file data for column “surname”.
(SQL Server Import and Export Wizard)

Error 0xc0047022: Data Flow Task 1: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component “Destination – bq-newsletters1_txt” (46) failed with error code 0xC02020A0 while processing input “Flat File Destination Input” (47). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information about the failure.
(SQL Server Import and Export Wizard)

Error 0xc02020c4: Data Flow Task 1: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.
(SQL Server Import and Export Wizard)

Error 0xc0047038: Data Flow Task 1: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component “Source – Query” (1) returned error code 0xC02020C4.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
(SQL Server Import and Export Wizard)

Export - Choose Destinatino Dialogue

Export - Choose Destinatino Dialogue

I checked the mapping for the surname field, and at 100 characters it was the same as the field length so this wasn’t truncating, which left me with the codepage issue.  This is easily fixed by simply changing the encoding of the flat file all the way back on the Choose a Destination tab- Mine defaulted to “1252 (ANSI – Latin I)” so i changed it to “65001 (UTF – 8)” and this fixed the problem.  Really simple, but I’d actually never come across this before when doing an export so figured I would blog it.

6 Comments

MSDeploy Setup Guide & How to Call Server Side Method Using jQuery/Ajax

Couple of interesting items popped up in the RRS feed’s this morning.

Automating Deployment with Microsoft Web Deploy – ScottGu’s Blog.

Calling Server Side Method Using jQuery/Ajax – Karan’s Blog.

No Comments

AxCMS.net v9 Release– any good?

This popped up in my rss reader this morning- release 9 of a free enterprise CMS based on .net called AxCMS; I don’t understand how I’ve not heard of this!?  Has any one used it or know if it’s any good?

AxCMS.net – the free ASP.NET CMS by Axinom.

,

2 Comments

Ninite Easy PC Setup – Silent Unattended Install Multiple Programs At Once

Nige at work pointed me over to an awesome site for creating a one stop setup for installing all your useful apps in one go after a format- just tick the apps you want and download the installer.

Ninite Easy PC Setup – Silent Unattended Install Multiple Programs At Once.

No Comments

Introducing the Microsoft Web Farm Framework – ScottGu’s Blog

Introducing the Microsoft Web Farm Framework – ScottGu’s Blog.

No Comments

Why ASMX web services are not an excuse anymore with WCF 4.0 – Pablo M. Cibraro (aka Cibrax)

Why ASMX web services are not an excuse anymore with WCF 4.0 – Pablo M. Cibraro (aka Cibrax).

No Comments

World of VS: Make it easy to change the default browser in Visual Studio Blog

World of VS: Make it easy to change the default browser in Visual Studio Blog.

No Comments