473,662 Members | 2,752 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Add referenced data set to designer: Could not add an instance of prjData.dsMachi neInfo 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.dsMachi neInfo 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 1220
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******** ******@TK2MSFTN GP14.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
1917
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 would like to do is to match the information loaded into a DataSet with the information in the database. For instance, suppose that I have a Customer table and an Order table. I would like to return a single customer and all their orders in a...
1
2064
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 box. i know what it measn but have no clue where it is comming from. how can i debug this?
9
2331
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
13994
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 and error 'Object reference not set to an instance of an object.' as soon as I try to access the data in the fields, I.e. at the line that reads 'KeyFlags(i) = rstFields("keyflag").value'
19
2332
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 object to databind to text boxes etc? I can't use a dataset as the object has loads of derived logic, for example updating one property may actually update several database fields for example.
2
1274
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 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...
2
2067
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 a row, I change the textbox (or other control), click Update, but it doesn't save my data. I then did this... In Page_Load, I added code to filter the DataGrid only when it was Not Page.IsPostBack. Then the editing/updating of the DataGrid data...
1
2575
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 is the title of this post. I am going to include a copy of my code behind the page, and my .aspx file code, can anyone help me out here? I am using Visual Studio.NET 2003, and my code behind the page is written in C#. Here is the error as it...
4
3022
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 added a MustOverride Sub and have added MustInherit to the class definition. I then created a second form, this time by adding a class module, and specifying that it inherits from my first form. It all works fine, but when I double-click on the...
0
8435
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8345
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8857
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8768
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8633
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7368
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5655
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
1999
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1754
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.