Just recieved this error: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure “AjaxControlToolkit.Properties.Resources.NET4.resources” was correctly embedded or linked into assembly “AjaxControlToolkit” at compile time, or that all the satellite assemblies required are loadable and fully signed. Sometimes .Net errors look a lot…
Sql OUTPUT Params, SqlDataReaders and “Object reference not set to an instance of an object”
When you call ExecuteReader() on a SqlCommand object that has OUTPUT parameters you won’t be able to access the OUTPUT parameters until the SqlDataReader has been closed. Private Shared Sub SomeMethod() Using Con As New SqlConnection(“DSN…”) Con.Open() Using Com As New SqlCommand(“MyProc”, Con) Com.CommandType = System.Data.CommandType.StoredProcedure Com.Parameters.Add(New SqlParameter(“@YourOutputParam”, System.Data.SqlDbType.Int) With…
SQL Server 2008 Express Asymmetric Encryption
First off, if you’ve got SQL Server 2008 Enterprise Edition I’d recommend that you look at TDE. SQL Server 2008 Express Edition doesn’t support TDE so instead we need to find another way to encrypt our data. The method that I’m talking about here is asymmetric encryption using a password…
failed to rename “x264_2pass.log.temp” to “x264_2pass.log”
If you’re not running FFMPEG directly (running a GUI wrapper for instance) I don’t have an answer for you. But if you’re running FFMPEG directly from the command line you might run into this if you run multiple encodes at the same time. Specifically, FFMPEG allows you to specify the…
Unrecognized attribute ‘targetFramework’
I just installed the 4.0 framework on two servers and then had VS 2010 upgrade a test site from 3.5 to 4.0. When I tried accessing the site in my browser I got the error message Unrecognized attribute ‘targetFramework’. The solution appears to be simple, just right-click the site in…
Map File Extension to PHP
Short and simple, you want to map a file extension such as “html” to run under the PHP engine. Just add the following to your .htaccess file: AddHandler x-httpd-php html
Fixing a Linksys SD2008 running at 100 Mbps
We were having some networking issues at work where our Macs had problems with our Widows 2003 R2 file server. They could connect just fine but browsing was just painfully slow and file transfers were hit or miss. Our Vista and XP machines were running just fine. Googling turned up…
Fixing MySql “Can’t create table (errno: 150)”
I got this while trying to create a foreign key in MySql. Once you see the fix its obvious. My parent table’s primary key was declared as UNSIGNED while my child table wasn’t. Change one or the other to match and you’re all set. I really which the MySql people…
Email Marketing Checklist
Here’s the rules that I follow when producing an HTML Email. Some of these rules may seem obvious, some may seem stupid and some may go against everything you may have learned about web standards, best practices, semantic html and accessibility. This last one is a hard thing to accept….
Fixing “The remote server returned an error: (417) Expectation Failed”
After failing at breakpointing and debugging request and response headers I almost snapped Wireshark to my connection to determine why I was getting an WebException of “The remote server returned an error: (417) Expectation Failed“. A little searching took me to this site with the solution. The simple solution is…