473,394 Members | 1,870 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,394 software developers and data experts.

Add new datasource doesn't work in Whidbey...

I actually honestly believe that this problem might stem from my SQL
2005 Express installation, but since it occurs in Whidbey I figured I'd
post here.

My problem is that I can't create a new datasource in whidbey using the
add new option in the data menu. I get a messagebox with an error such
as the following:

"An unexpected error has occurred.
Please record the following message when seeking support from
Microsoft:

Source:Microsoft.VSDesigner
ErrorCode:-1
Additional Info:None

[OK]"

This error message obviously doesn't help much, and neither has various
search queries with googles been very helpful. Has anyone experienced
this? I've heard suggestions from re-installing VS to re-installing
windows. I've tried the former without any luck. Worth noting is that
the same error is produced either when dragging a table from the server
explorer to the dataset designer window. But get this, it works for ONE
table by dragging from the server explorer, but not any subsequent
tables. Also, adding a TableAdapter produces the same error. This
sounds to me like something might be wrong with the data connection.
However, the event viewer hasn't logged anything which might suggest
something is wrong with my SQL 2005 Express installation, although it
did fail the first time when installing with the VS 2005 installer, so
I downloaded the SQL 2005 Express installation from MSDN. Another thing
worth noting is that I get this dialog before the error (and also
before the first table in the dataset gets added):

"Updating queries can not be automatically generated because your
SELECT query does not include some primary key columns. Do you wish to
add primary key columns to your query?

[Yes] [No]"

Obviously, clicking no aborts the operation. Also, if it's helpful, I'm
connecting to a SQL database file (mdf).

And lastly, I've uploaded a diagram of how my tables looks:
http://hem.bredband.net/b251589/misc/db.png

I'm sorry about the small font. The relationship is as follows:
The Awards and Functions tables have a column called Section which has
a relationship with the Id column in the Sections table. The rest have
a column called Member which has a relationship with the Id column in
the Members table.

Has anyone else experienced this?

Nov 22 '05 #1
1 1306
Marcus,

There are special newsgroup for Whidbey beta testing.

http://communities.microsoft.com/new...idbey&slcid=us

I think that you help the most creating from 2003 beta a good product with
posting the problems to those newsgroups.

Cor
Nov 22 '05 #2

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

Similar topics

1
by: marcus | last post by:
I actually honestly believe that this problem might stem from my SQL 2005 Express installation, but since it occurs in Whidbey I figured I'd post here. My problem is that I can't create a new...
13
by: DraguVaso | last post by:
Hi, I need a function that gives me the number of Columns shown in a DataGrid. So I don't need to know the number of columns shown in tha DataSource, because this number can be completely...
13
by: Sherif ElMetainy | last post by:
Hello I was just got VS 2005 preview, and was trying generics. I tried the following code int intArray = new int; IList<int> intList = (IList<int>) intArray; it didn't compile, also the...
0
by: Billy Porter | last post by:
Greetings, Which datasource object (ObjectDataSource, SqlDataSource or DataSetDataSource) can I use when I already have a DataTable that I want to bind to my GridView? I would like to use one of...
4
by: Stephen | last post by:
IN VB.NET I have a form with a ListBox and would like to set the DataSource property at design-time but I can't seem to declare any kind of variable that will show up in the list. I have tried a...
2
by: John Richardson | last post by:
This is probably a yes/no answer... I have a datasource for a combobox, and my datasource is an IList. This list may be composed of two class types, but all implement an INavItem interface...
7
by: bernadou | last post by:
How do I (or is this even possible) get the total number of records from a datasource control in ASP.NET 2.0? I’ve messed around with getting the row count from the grid that the datasource is...
4
by: SHEBERT | last post by:
Here is an example of a SortedList that works as a datasource to the ComboBox and a generic SortedList<that does not works as a datasource to the ComboBox. Why? If I use List and generic List<>,...
2
by: shapper | last post by:
Hello, I created a Repeater at runtime with an AccessDataSource.Everything Works fine! Now I need to use the same repeater but with a DataSource created in my VB.Net code. I created a...
5
by: Mark Olbert | last post by:
How do I get the DataPager and ListView to play nice together when I use a custom datasource? In my webpage, I use linq to pull data from a SqlServer database and assign the resulting...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.