-
NUnit, RegAsm, and "Failed to generate type library"
I’m trying to use COM+ to manage database transactions in my unit tests. All of a sudden, I start getting all these weird errors saying “Failed to generate type library.“ No clue what was going on. I ran “regasm“ over the unit test assembly and all was healed. Weird, huh? -Ben Failed to generate…
-
NUnit, RegAsm, and “Failed to generate type library”
I’m trying to use COM+ to manage database transactions in my unit tests. All of a sudden, I start getting all these weird errors saying “Failed to generate type library.“ No clue what was going on. I ran “regasm“ over the unit test assembly and all was healed. Weird, huh? -Ben Failed to generate…
-
The dirty little secret about Visual SourceSafe -OR- How to backup and restore SourceSafe.
I think that I may have found a dirty little secret about Visual SourceSafe. Most people never back it up and even fewer people ever try to restore it. I made this discovery the hard way after running into big problems installing/uninstalling Visual Studio 2005 CTP and the latest version of SQL Server 2005. I…
-
Database call to 'ConnectionWrite (send()).' caused an exception.
In my last post, I wrote about the process of discovering that my client’s SQL Server hadn’t had a single service pack applied to it. We applied Service Pack 4 and good times were had by all….for about 12 hours. The web applications all worked but then a .NET Windows application started serving up strange…
-
Database call to ‘ConnectionWrite (send()).’ caused an exception.
In my last post, I wrote about the process of discovering that my client’s SQL Server hadn’t had a single service pack applied to it. We applied Service Pack 4 and good times were had by all….for about 12 hours. The web applications all worked but then a .NET Windows application started serving up strange…
-
Problem: Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection.
The last few days have been a little bit hellish. I’ve been on-site at my client’s office helping them do a Windows 2000 to Windows 2003 migration, set up their new server, and deploy beta versions of the applications that I’ve been writing for them. I backed up their SQL Server database from the old server…
-
Problem: Login failed for user ‘sa’. Reason: Not associated with a trusted SQL Server connection.
The last few days have been a little bit hellish. I’ve been on-site at my client’s office helping them do a Windows 2000 to Windows 2003 migration, set up their new server, and deploy beta versions of the applications that I’ve been writing for them. I backed up their SQL Server database from the old server…
-
HOWTO: Fix Quickbooks Online Banking after bank name change
My bank’s name just changed and although they insisted up and down that this would make no different to my life, they were wrong. The name change killed my Quickbooks 2004 Online Banking integration. I used to be able to download my bank statements right into Quickbooks…but that broke. It said something like “cannot complete…
-
Tech recruiters outsourcing phone work to India?
Ever get the feeling that IT recruiters are outsourcing phone work to India? I keep getting these calls with TERRIBLE line quality from people with Indian accents asking if I’m available for work. It’s like the agencies are cold calling everyone in their database on the off chance that someone’s available for some .NET work. …
-
Using a run-time defined connection string with Enterprise Library's Data Access Block.
As you can probably tell from previous posts, I’m feel pretty mixed about on the Microsoft Patterns & Practices Enterprise Library Data Access Block (MPAPELDAB, for short). I like the design of the classes and I really like that you can access databases other than just SQL Server but I’m having some serious problems with registry…