473,320 Members | 1,900 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Add referenced data set to designer: Could not add an instance of prjData.dsMachineInfo to the designer.

In my solution I have two projects. One project contains windows forms and
other user interface stuff. The other project contains data classes and
typed data sets (.xsd).

I've referenced prjFrontEnd with prjData.

I am dragging a dataset object onto the form into design mode. I can select
a typed dataset from its current project, but when I click in the drop down
"Referenced Datasets" and then click the dataset from the other project
(which now show up in the drop down list) I get the following error message.
--
Could not add an instance of prjData.dsMachineInfo to the designer.

To resolve this problem, build the project, fix any errors, and add the
instance to the designer again.
--
I have done that, and there are no errors in either project but this error
will not go away.

Does anyone have any suggestions?


Jul 21 '05 #1
2 1205
D,

Did you set a reference to that other project using
Project-> Add References -> Tab projects

Assuming you have added that other project to your current project

Cor
Jul 21 '05 #2
Yep all that was fine.

Funny enough, I re-started the IDE and all worked fine.

I wish I had done that first before writing that long newsgroup post ..
<shrug>


"Cor Ligthert" <no************@planet.nl> wrote in message
news:OH**************@TK2MSFTNGP14.phx.gbl...
D,

Did you set a reference to that other project using
Project-> Add References -> Tab projects

Assuming you have added that other project to your current project

Cor

Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Peter Rilling | last post by:
To minimize database calls, I would like to have a single stored procedure return all the data necessary to display on my page. This information is related from several different tables and what I...
1
by: Raj Chudasama | last post by:
i have an app that uses a lot of bitmaps, associated with various classes etc on the gui. Everytime i open then designer i am getting a "object reference not set to an instance of an object" msg...
9
by: Frank Rizzo | last post by:
I've got a number of user controls on the web page. How can I pass some data to it? I don't see where the user control is instantiated in the page code-behind page. Thanks.
6
by: Andy Barber | last post by:
Hi, I'm trying to write an app that reads data from a table into a string variable for later use in my program. Below is a snippet of the code I'm using, which compiles ok, but at runtime I get...
19
by: Simon Verona | last post by:
I'm not sure if I'm going down the correct route... I have a class which exposes a number of properties of an object (in this case the object represents a customer). Can I then use this...
2
by: D Witherspoon | last post by:
In my solution I have two projects. One project contains windows forms and other user interface stuff. The other project contains data classes and typed data sets (.xsd). I've referenced...
2
by: Gummy | last post by:
Hello All, I have a webpage that has two dropdown listboxes. Based on what is selected in these dropdown listboxes, it filters a DataGrid . That works fine. In the DataGrid , when I go to edit...
1
by: cnixuser | last post by:
Hello, I am currently working on an ASP.NET web application. When I compile my code behind the page, I do not get any errors ;however, when I attempt to view my code in a browser I get the error that...
4
by: Phil | last post by:
VS 2008 I have a windows form that was created in the normal way using the form designer. I do not wish to use this form directly though, I want to use it as a basis for some other forms. I have...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.