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

No tables visible in SQL server connection

Hi,

i am setting up an ASP.NET site and have connected to the SQL Server
successfully.

When I click on the connection it shows tables 'none' ?? I know there are
tables just cant see them.

When I set up an ASP site and connect to the SQL with DNS all tables are
visible.

I have spent a whole weekend on this tried everything.

Tools Dreamweaver MX
Server Windows Small Business Server 2003
DB SQL Server 2005
Language ASP.NET VB
ASP ASP.NET V2.0

Regards
Simon

Feb 20 '06 #1
5 1311
What is this DNS?
Can you connect using Query Analyzer?
Write a simple SQL statement and see if you can connect
be more specific..
Patrick

"SIMON GARE" <sg@simongare.com> wrote in message
news:Op**************@TK2MSFTNGP12.phx.gbl...
Hi,

i am setting up an ASP.NET site and have connected to the SQL Server
successfully.

When I click on the connection it shows tables 'none' ?? I know there are
tables just cant see them.

When I set up an ASP site and connect to the SQL with DNS all tables are
visible.

I have spent a whole weekend on this tried everything.

Tools Dreamweaver MX
Server Windows Small Business Server 2003
DB SQL Server 2005
Language ASP.NET VB
ASP ASP.NET V2.0

Regards
Simon

Feb 20 '06 #2
Thanks Patrick,

see SQL config below in ASP.NET

"Persist Security Info=False;
Data Source=SBS2003;
Initial Catalog=TobiasNET;
User ID=tobias;
Password=tobias"

After testing connection it reads connection made successfully, when i go to
view the tables it reads 'none'. Even tried administrator account same thing
happens.

I think it has something to do with the User ID, somebody suggested using
'sa' account but i dont know the password.

Any help you could suggest would be greatful.

Simon
"Patrick.O.Ige" <na********@hotmail.com> wrote in message
news:ul*************@TK2MSFTNGP14.phx.gbl...
What is this DNS?
Can you connect using Query Analyzer?
Write a simple SQL statement and see if you can connect
be more specific..
Patrick

"SIMON GARE" <sg@simongare.com> wrote in message
news:Op**************@TK2MSFTNGP12.phx.gbl...
Hi,

i am setting up an ASP.NET site and have connected to the SQL Server
successfully.

When I click on the connection it shows tables 'none' ?? I know there are tables just cant see them.

When I set up an ASP site and connect to the SQL with DNS all tables are
visible.

I have spent a whole weekend on this tried everything.

Tools Dreamweaver MX
Server Windows Small Business Server 2003
DB SQL Server 2005
Language ASP.NET VB
ASP ASP.NET V2.0

Regards
Simon


Feb 20 '06 #3
Have you checked the ownership of the tables? Your user should either
be the owner of the tables or be granted access rights to the tables.

We once had an old database that we hooked up against where we
encountered some of the same issues. Not against tables, but against
stored procedure. Even the administrator account could not locate some
of the procedures. The reason was that the procedures where created
with a user that no longer existed --> not even the administrator could
see them. The answer was to access the database through Enterprise
Manager and reset ownership.

Hope this helps.

Rune

Feb 20 '06 #4
"SIMON GARE" <sg@simongare.com> wrote in message
news:Of**************@TK2MSFTNGP09.phx.gbl...
Thanks Patrick,

see SQL config below in ASP.NET

"Persist Security Info=False;
Data Source=SBS2003;
Initial Catalog=TobiasNET;
User ID=tobias;
Password=tobias"

After testing connection it reads connection made successfully, when i go
to
view the tables it reads 'none'. Even tried administrator account same
thing
happens.

I think it has something to do with the User ID, somebody suggested using
'sa' account but i dont know the password.

Any help you could suggest would be greatful.


Well, at the risk of sounding extremely patronising, are you absolutely
certain you're looking at the correct database?

Run the following SQL query:

SELECT * FROM sysobjects WHERE xtype = 'U'

Does that return what you're expecting?

If not, run the following SQL query:

SELECT * FROM <database>.dbo.sysobjects WHERE xtype = 'U'

substituting <database> for the name of the database which contains the
tables in question.

Does that return what you're expecting?

If not, try creating a new table with the same name as one of the tables
which you know already exists - what happens?
Feb 20 '06 #5
"SIMON GARE" <sg@simongare.com> wrote in message
news:OE*************@TK2MSFTNGP15.phx.gbl...
Any reason for this or does this table appear automatically for each
Database? See below.


That's the sysobjects table - it is indeed one of the system tables which
are part of every SQL Server database.
Feb 20 '06 #6

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

Similar topics

1
by: Bennett Haselton | last post by:
I want to get an ASP.Net hosting account with my ISP, and I'm trying to find out what level of access to the server is requried in order for me to view the server in Server Explorer in Visual...
3
by: svdh2 | last post by:
I have been looking at a problem the entire week in access, I have still not been able to find a solution. Hope that you could maybe tell where to look Concerns the link between Access and Word....
1
by: svdh | last post by:
I have posed a question last saturday and have advanced alot in the meantime. But I am still not there Problem is that I try to merging various fields from various tables in one document in Word...
8
by: ZRexRider | last post by:
Hi, I have an application that uses MS-SQL Linked tables. I have a utility routine that drops all links and re-establishes them. It works great when my connection string is a DSN connection...
1
by: Ahmet Karaca | last post by:
Hi. myds.Reset(); mycommand.SelectCommand.CommandText= "Select att1 from Ing as Ingredient, Pro as Product "+ "where Pro.ad='apple' and Pro.id=Ing.id"; mycommand.Fill(myds, "Product"); // Here...
4
by: Joe Van Meer | last post by:
Hi, Is the datalist meant for one table or can I use it to display information from 2 different tables? Or should I be looking at a datagrid instead? I began my code and kinda ran into a snag...
0
by: Bennett Haselton | last post by:
In Visual Studio .Net 2002 Server Explorer, if I add a new connection under "Data Connections", I can specify a remote server name and the username and password that I want to use, but then when...
7
by: SIMON GARE | last post by:
Hi, i am setting up an ASP.NET site and have connected to the SQL Server successfully. When I click on the connection it shows tables 'none' ?? I know there are tables just cant see them. ...
1
by: peter.konda | last post by:
Hello! I have been busting my head with a problem, that goes like this: 1. with a first ajax call to the server(apache 2.0 + php), I create a temporary table like this: create temporary table...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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...

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.