Link to home
Start Free TrialLog in
Avatar of systems_ax
systems_ax

asked on

build errors in visual basic 2005

I am developing with visual basic 2005 and am unable to open my main form.  I have tried everything without success:

DataMember property 'VisitDetails' cannot be found on the DataSource.
Details    

at System.Windows.Forms.ListBindingHelper.GetList(Object dataSource, String dataMember)
at System.Windows.Forms.BindingSource.ResetList()
at System.Windows.Forms.BindingSource.EnsureInnerList()
at System.Windows.Forms.BindingSource.System.ComponentModel.ISupportInitialize.EndInit()


***VisitDetails" is the dataset that I created in desing time and I bounded one of my datagrids to it.  Is that what could be causing the problem.  I did comment out this datagridview and I do not know what to do next.

Then when I compile the project as it will be a re-distributable program, I get these 2 messages:

Error      19      Unable to load referenced library 'D:\Documents and Settings\Admin\Desktop\Fixed\Fixed\UpdatedJune92007AnotherOne\AnotherOne\022508 AnotherOne\AnotherOne\AnotherOne\obj\Debug\AxInterop.YbSkinLib.dll': The system cannot find the file specified.      D:\Documents and Settings\Admin\Desktop\Fixed\Fixed\UpdatedJune92007AnotherOne\AnotherOne\022508 AnotherOne\AnotherOne\AnotherOne\obj\Debug\AxInterop.YbSkinLib.dll      

Error      18      Could not find file 'D:\Documents and Settings\Admin\Desktop\Fixed\Fixed\UpdatedJune92007AnotherOne\AnotherOne\022508 AnotherOne\AnotherOne\AnotherOne\obj\Debug\AnotherOne.exe' 'The system cannot find the file specified.'      D:\Documents and Settings\Admin\Desktop\Fixed\Fixed\UpdatedJune92007AnotherOne\AnotherOne\022508 AnotherOne\AnotherOne\Setup5\Setup5.vdproj      Setup5


But I do see the AxInterop.YbSkinLib.dll and it is not read-only.  I do not see the AnotherOne.exe.
please help me.
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

1) You have a typed DataSet in a separate file.

2) You have a BindingSource on the main form.

3) The BindingSource is bound to a valid source (or is it?).

Bob
Avatar of systems_ax
systems_ax

ASKER

Bob,
thank you for responding.

i am trying to figure out how to get rid of this message first and I have uncommented the coding for datagrid and have deleted the dataset that I created in design time with no success.  I did bind the datagridview on my form to this dataset.  Please tell me what I need to do next to fix this.


DataMember property 'VisitDetails' cannot be found on the DataSource.
Details    

at System.Windows.Forms.ListBindingHelper.GetList(Object dataSource, String dataMember)
at System.Windows.Forms.BindingSource.ResetList()
at System.Windows.Forms.BindingSource.EnsureInnerList()
at System.Windows.Forms.BindingSource.System.ComponentModel.ISupportInitialize.EndInit()

thank you
I wouldn't know what to do specifically, so I am trying to find out some background information.

Bob
Bob,
I have commented everything that pertains to this dataset along with the datargridview.  
I am stuck at this point, i keep re-building and cleaning with no progress.
If you create a new form, and just bind a DataGridView to the DataSet, does it work?

Bob
i created a new form and new dataset and it does work.  I do not understand why after commenting the coding and deleting the dataset, I still have this error.
please any suggestions
I don't think that I can tell you what the problem is either, other than a bug in the designer.

Bob
ok , I will re-create the form then.
thank you for trying to help.
Bob,
do you know if the program will corrupt if I compile it more than 10 times per day as I do need to make a deployment?
I don't think so, but there isn't any way to be 100% sure.  Are you using 2005 SP1?

Bob
My OS is XP SP2 and I have visual studio 2005 version 2.0.50727 if that helps.
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Bob,
I re-created a form, thank you for trying to help.