The business objects won't try to access the database by themselves. Most likely, there is a call to a fill method somewhere in a form constructor (or another place that gets called at design-time, like OnCreateComponent). If you try to fill a business object at design-time, it will try to create its DataLayer, which will try to access the data source. So, on the form in question, check the constructors of the form and any user controls/custom controls that are used on the form as all of these constructors will be called by the designer. If you have a Fill call in one of them, then you'll have to pull that call out and instead, override OnCreateControl and put it at the top of that method (before the MyBase.OnCreateComponent() call), but wrap your Fill in a test for design-time like:If Not Me.DesignMode Then
myBo.FillWhatever()
End If
This will keep it from trying to access the database at design-time.
As for the SharedDataTableProblem, I believe there is an outstanding issue on the SharedDataTables at design-time (we might have forgotten a test on Me.DesignMode ourselves). If this is the case, it will be fixed soon.