New 'Danger' reporting rules

by JasonRShaver 22. July 2009 17:01

 There is a new report going around about Apple iPods going up in flames. The CPSC has received 35 confirmed reports of this happening. Some news stations are going to run 'special reports' on this information. I have a new proposed rule. Next to every statistic, you need to report your chance of being hit by lighting right next to it. For example. Odds of your iPod exploding on you since 2001: 1 in 5,952,380 Odds of getting stuck by lighting since 2001: 1 in 87,719 People hit by lighting for every person's iPod exploding: 67 And as backup info, there are ~300,000,000 people in the US and 398 reported deaths and injuries from lighting strikes each year.

Tags:

Blog

Zombies?

by JasonRShaver 21. July 2009 17:00

 Tell me this is not the best error message ever!  ZombieCheck!

 

System.InvalidOperationException
 
Message:
This SqlTransaction has completed; it is no longer usable.
 
Stack Trace:
   at System.Data.SqlClient.SqlTransaction.ZombieCheck()
   at System.Data.SqlClient.SqlTransaction.Rollback()
   at MobilePro.Data.TransactionManager.Rollback() in MobileProInvoice\MobilePro.Data (Generated)\MobilePro.Data\TransactionManager.cs:line 205
   at MobilePro.Services.CustomersServiceBase.Save(Customers entity) in MobileProInvoice\MobilePro.Data (Generated)\MobilePro.Services\CustomersServiceBase.generated.cs:line 904
   at MobilePro.Quickbooks.QuickBooksSession.ProcessCustomer(Customers qbCustomer, Customers mpCustomer) in MobilePro.Quickbooks\QuickBooksSession.cs:line 459
   at MobilePro.Quickbooks.QuickBooksSession.ProcessQuickbooksCustomers(List`1 customers) in MobilePro.Quickbooks\QuickBooksSession.cs:line 307
   at MobilePro.Quickbooks.QuickBooksSession.ProcessResponse(String response) in MobilePro.Quickbooks\QuickBooksSession.cs:line 259
   at MobilePro.WebService.QuickBooksWebConnector.Service1.receiveResponseXML(String ticket, String response, String hresult, String message) in MobilePro.WebService.QuickBooksWebConnector\Service1.asmx.cs:line 306   

 

Tags:

Blog

.TestRunConfig windows closes when clicking Code Coverage in VS2008

by JasonRShaver 20. July 2009 17:00

 Ok, I am seeing this all the time and finding the solution in Google is next to impossible, so I am hoping this gets indexed high so others can find it in the future.

If you try to change the property settings in the .TestRunConfig file in your project and you have any of the following product types in your solution:

  • VS2008 Database Edition GDR
  • Silverlight
  • WiX Installer Project

the dialog box closes automatically.  No crash, no error, just a nice clean close.  This also happens when you try to run the "Create Unit Tests" wizard by right clicking on your classes.

The issue is with the OutputLoc property for these project types, because they don't support the OutputLoc concept, they just throw a NotImplementedException whenever they get called, and the dialog does not seem to handle that well.  There are two solutions to this problem:

  • Unload the offending projects from your solution, do what you need to do, then load them back up.
  • Install the fix described in KB 962866

Tags:

Blog

About the author

I am a software developer working for Microsoft in Redmond, WA.  In addition, my wife and I own TTXOnline, what is likely the 3rd largest table tennis store in the US.

Month List

Page List