Monthly Archives: May 2016

How to access TableAdaptors in XSD

You have created XSD file that has table and TableAdaptor. Now you want to access data in your C# code. You have to use Table DataSetTableAdapters namespace to access these adaptors. Example

This method works in Visual Studio 2013. In earlier version you have to use their respective namespace. This tip is particularly helpful if you are following this Microsoft Tutorial about DAL which give me trouble because I could not access the XSD file. Turned out the way it is accessed has changed in Visual Studio.

Virtual Machine will not start, not enough memory

The exact error was

Free at least 422 MB on the physical hard disk that stores the “My Boot Camp” virtual machine and try again.

The error was thrown when I started Windows on Mac which was install as virtual machine on Parallels.

This KB Byte pretty much addresses it which means free up some space on you MAC drive (not windows as you might think)

But it needs some explanation

1. hysical hard disk that stores the “My Boot Camp” => your physical drive that is mac os X drive

2. The error is somewhat misleading because I did have some 6GB free space on mac drive but it still complained about not enough space and 422 MB which was in correct. Basically I further deleted 1.5 GB of files and Parallels started properly.

Also not that initially I though it was the Windows drive that it was complaining about but it it has only some 40MB free space but that was not the problem.