codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  sqlconnection failure in vb.net  fearpear at 07:03 on Tuesday, May 17, 2005
 

hi
I connect to a mssqlserver2000 database(windows authentication or user name and password)
The connection is OK.
But when I try to generate a dataset I receive the following message.
"Invalid object name 'dbo.employee'"
I tried each database installed with sqlserver2000 and I also created a simple database but it is in vain. Each time I received the same message.
In query analyzer I can use sql statements and I can query the data. There is no problem here.
The problem is between vb.net and sqlserver.
I use querybuilder button in data set generating wizard,then I select the fields and then I click the next button and I receive these message.
"Invalid object name 'dbo.employee'"

Would you please help me

xp pro servicepack2
sql server 2000
mdac 2.8 sp1
thanks

  Re: sqlconnection failure in vb.net  VisualShan at 21:32 on Friday, June 10, 2005
 

Here is the Connection string connecting the SqlServer

Provider=SQLOLEDB.1;Password=;Persist Security Info=True;User ID=;Initial Catalog=;Data Source=

Password->if you set password for the database just give the password here

User ID ->It is taken from from Users in SqlServer,Just check out the users from the users

Initial Catalog -> DataBase Name

Data Source -> SqlServer Name









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  matrix addition
•  Re: Storing data from HTML to Excel or TXT
•  Re: function within loop problem
•  Re: Ô‡´ò¥¯¥é¥Ö¤Ï ¥Æ©`¥é©`¥á¥¤¥É£ò£±£±¥¢¥¤¥¢¥ó ¤Î£··¬ ¤Ç¤¹
•  Re: Replace
•  Re: タイトリスト AP2アイアン 712ã�®æƒ…å �
•  Re: SMS from Perl using HTTP request
•  Re: Charl Schwartzel
•  Re: Adhyayan - Annual Student Conference and Online Coding Festival


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2013