User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 426,514 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,105 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 342 | Replies: 2
Reply
Join Date: Jul 2008
Posts: 2
Reputation: gary236 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
gary236 gary236 is offline Offline
Newbie Poster

problem working with sql server Express 2005 in Visual studio 2003

  #1  
Jul 14th, 2008
Hi, I am unable to create a new database within Visual Studio. I can however create a database in SqlExpress and then see it in Visual Studio, but once in Visual Studio I can’t seem to do anything, e.g. If I right click the ‘Tables’ icon within a database in Visual Studio I should be able to click to create a ‘New Table’. But the only things I see when I right click the ‘Tables’ icon are ‘Refresh’ and ‘Properties’.

Also, when I create a Data Form Wizard, I first select the ‘Microsoft OLE DB Provider for SQL Server’ . I then go to the ‘Connection’ tab of the wizard and put in ‘(Home)\NetSDK’ as my server name, I then select ‘Use Windows NT Integrated security’ and then I am able to Select the database I want from the drop down list. Once I have done this I am able to go to the ‘Choose tables and views’ section of the wizard and I am able to select a table in the Available Items list and click the > button to move it to the selected Items list. After I have selected the table I click ‘Next’, and this is the point when I get a pop-up box that reads:

‘The following error occurred:”There were errors configuring the data adapter.”

Can anyone give me any pointers as to what might be going wrong here?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,458
Reputation: peter_budo is a jewel in the rough peter_budo is a jewel in the rough peter_budo is a jewel in the rough peter_budo is a jewel in the rough 
Rep Power: 11
Solved Threads: 296
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is online now Online
Code tags enforcer

Re: problem working with sql server Express 2005 in Visual studio 2003

  #2  
Jul 15th, 2008
If I'm correct you should use VS 2005 with SQL server 2005. Just download VS 2008 (or VS 2005 if you do not want to make big jump)
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Reply With Quote  
Join Date: Jul 2008
Posts: 2
Reputation: gary236 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
gary236 gary236 is offline Offline
Newbie Poster

Re: problem working with sql server Express 2005 in Visual studio 2003

  #3  
Jul 15th, 2008
Originally Posted by peter_budo View Post
If I'm correct you should use VS 2005 with SQL server 2005. Just download VS 2008 (or VS 2005 if you do not want to make big jump)


Hi many thanks for your reply. As you may have guessed, I am a student studying ASP.NET, and my tutors advise I stick to VS 2003 for the moment due to the fact that all the text books I'm using refer to this version of VS. I have contacted my tutor about this problem, but I he has not yet replied due to the fact that he may be researching a solution.

I am in touch with some of my fellow students, who are all successfully using Sql Server 2005 in VS 2003, and they don't seem to know why I am having these problems.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 6:05 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC