Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » Connection made but no tables listed..ASP.net
Closed Thread
Old 05-31-2005, 07:13 PM   #1 (permalink)
 
Newb Techie

Join Date: May 2005

Posts: 2

MelanieT

Default Connection made but no tables listed..ASP.net

I have made a connection in UltrDev to my sql database. The connection says successful but there are no tables/views etc. listed. (connection string has been confirmed).
It simply says none. Yet when I use the DSN connection in a non .net page I see them fine. Same problem whether I try the connection in Front page or elsewhere. This happens with the sql 'pubs' database as well. Any suggestions?
MelanieT is offline  
Old 06-01-2005, 09:33 AM   #2 (permalink)
 
Ultra Techie

Join Date: Sep 2003

Location: Bamberg, Germany

Posts: 549

Iron_Cross

Send a message via ICQ to Iron_Cross Send a message via MSN to Iron_Cross Send a message via Yahoo to Iron_Cross
Default

what's the code you're using?
You can *-out the connection string for security reasons, but seeing the rest would be quite helpful.
__________________

See today\'s Penny-Arcade!(May contain foul lanuage)
Pain is weakness leaving the body.

PM Me for my MSN
Iron_Cross is offline  
Old 06-01-2005, 09:53 AM   #3 (permalink)
 
Newb Techie

Join Date: May 2005

Posts: 2

MelanieT

Default

This is my most recent string....one of thousands of different variations...dbFMO is my database and DBCQHJ41 is my machine


I got this fron conn.udl
"Provider=MSDASQL.1;Persist Security Info=False;User ID=sa;Extended Properties=DSN=dbFMO;UID=sa;APP=Microsoft® Windows® Operating System;WSID=DBCQHJ41;DATABASE=dbFMO;Initial Catalog=dbFMO"/>

or as basic as

Provider=MSDASQL.1;Persist Security Info=False;User ID=sa;Data Source=dbFMO;Initial Catalog=dbFMO

or
used sa as well as dbo username and password
"User ID=sa;
Password=;
Initial Catalog=dbFMO;
Data Source=dbFMO"

No matter what I use the result is the same.....I cannot see the tables
MelanieT is offline  
Old 06-01-2005, 10:45 AM   #4 (permalink)
 
Ultra Techie

Join Date: Sep 2003

Location: Bamberg, Germany

Posts: 549

Iron_Cross

Send a message via ICQ to Iron_Cross Send a message via MSN to Iron_Cross Send a message via Yahoo to Iron_Cross
Default

Initial Catalog should be set to the table you want to use. Data Source is the database.
__________________

See today\'s Penny-Arcade!(May contain foul lanuage)
Pain is weakness leaving the body.

PM Me for my MSN
Iron_Cross is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On