473,408 Members | 2,813 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,408 software developers and data experts.

Databases not showing up in Enterprise Manager

Enterprise Manager for MSSQL 2000 (V8.0), connecting to MSSQL 7 database
server:

Some logins can see the listing of all databases through Enterprise
Manager, some cannot. Logins are set up as users in the same databases,
and do not have any special server roles.

If it makes any difference, none of the logins are tied in to the Windows
logins.

Any idea why some of these logins can't see the databases?

Regards,
Lyle H. Gray
Dec 2 '05 #1
3 8657
> Any idea why some of these logins can't see the databases?

I don't have a SQL 7 instance handy but I believe EM uses the HAS_DBACCESS
function to show/hide databases any database listed by the query below
should be listed and available to the user. Conversely, databases not
returned by the query ought not to be listed

SELECT
name
FROM master.dbo.sysdatabases
WHERE has_dbaccess(name) = 1

Since you've already checked system roles, I suggest you check login/user
mapping using sp_helplogins. If incorrect, you can correct using
sp_change_users_login.

--
Hope this helps.

Dan Guzman
SQL Server MVP

"Lyle H. Gray" <gr**@no.spam.cs.umass.edu.invalid> wrote in message
news:Xn**********************************@192.168. 1.104...
Enterprise Manager for MSSQL 2000 (V8.0), connecting to MSSQL 7 database
server:

Some logins can see the listing of all databases through Enterprise
Manager, some cannot. Logins are set up as users in the same databases,
and do not have any special server roles.

If it makes any difference, none of the logins are tied in to the Windows
logins.

Any idea why some of these logins can't see the databases?

Regards,
Lyle H. Gray

Dec 2 '05 #2
"Dan Guzman" <gu******@nospam-online.sbcglobal.net> wrote in
news:XC*******************@newssvr11.news.prodigy. com:
Any idea why some of these logins can't see the databases?


I don't have a SQL 7 instance handy but I believe EM uses the
HAS_DBACCESS function to show/hide databases any database listed by
the query below should be listed and available to the user.
Conversely, databases not returned by the query ought not to be listed

SELECT
name
FROM master.dbo.sysdatabases
WHERE has_dbaccess(name) = 1


Here I might have something.

When I execute this query from my own (SA) login, I get a full list of
the databases, as I would exepct. When I run it from one of the logins
in question, I get a list of the databases that that login should have
access to as a user, but I also get the following message:

ODBC: Msg 0, Level 19, State 1
SqlDumpExceptionHandler: Process 13 generated fatal exception c0000005
EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process.

The process number would obviously change each time, but I expect that
what is happening is that the error stops Enterprise Manager from
displaying the database list.

I'll see if there's any information about this in the KB.

Thanks for the help,
Lyle
Dec 2 '05 #3
> ODBC: Msg 0, Level 19, State 1
SqlDumpExceptionHandler: Process 13 generated fatal exception c0000005
EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process.

The process number would obviously change each time, but I expect that
what is happening is that the error stops Enterprise Manager from
displaying the database list.

I'll see if there's any information about this in the KB.
If you can't find a KB article, see if the problem persists between server
restarts and run DBCC CHECKDBs to rule out data corruption. Even if EM
doesn't display an error, you should get a corresponding AV error in the SQL
Server error log.

--
Hope this helps.

Dan Guzman
SQL Server MVP

"Lyle H. Gray" <gr**@no.spam.cs.umass.edu.invalid> wrote in message
news:Xn**********************************@192.168. 1.104... "Dan Guzman" <gu******@nospam-online.sbcglobal.net> wrote in
news:XC*******************@newssvr11.news.prodigy. com:
Any idea why some of these logins can't see the databases?


I don't have a SQL 7 instance handy but I believe EM uses the
HAS_DBACCESS function to show/hide databases any database listed by
the query below should be listed and available to the user.
Conversely, databases not returned by the query ought not to be listed

SELECT
name
FROM master.dbo.sysdatabases
WHERE has_dbaccess(name) = 1


Here I might have something.

When I execute this query from my own (SA) login, I get a full list of
the databases, as I would exepct. When I run it from one of the logins
in question, I get a list of the databases that that login should have
access to as a user, but I also get the following message:

ODBC: Msg 0, Level 19, State 1
SqlDumpExceptionHandler: Process 13 generated fatal exception c0000005
EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process.

The process number would obviously change each time, but I expect that
what is happening is that the error stops Enterprise Manager from
displaying the database list.

I'll see if there's any information about this in the KB.

Thanks for the help,
Lyle

Dec 3 '05 #4

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

Similar topics

1
by: Hai-Chu Hsu | last post by:
Hi, I want to restore my databases from the old SQL Server installation into a new installation of SQL Server. My new installation of SQL Server has different data path from the old...
7
by: Trev | last post by:
In EM that is, in QA if I use: use master select * from sysdatabases I get: (6 row(s) affected) Server: Msg 220, Level 16, State 1, Line 1 Arithmetic overflow error for data type...
4
by: John Morgan | last post by:
I have Enterprise Manager on my local machine. For the last twelve months it has been connecting without problem to my online SQL Server database provided by my ISP. Three weeks ago the ISP...
1
by: mikew | last post by:
I am working at a company that has been using MS SQL Server, and we are going to be switching over to postgresql next week. (Getting off of Windows will be a relief!) I am very familiar with SQL...
0
by: Zorba.GR | last post by:
IBM DB2 Connect Enterprise Edition v8.2, other IBM DB2 (32 bit, 64 bit) (MULTiOS, Windows, Linux, Solaris), IBM iSoft Commerce Suite Server Enterprise v3.2.01, IBM Tivoli Storage Resource Manager...
2
by: AH | last post by:
Dear all, I am facing this 'bug' that really drive me nut. I created a trigger for Update script and tested in Enterprise manager to ensure it function correctly. However, when I used both VB or...
5
by: Steve | last post by:
I would like to provide users of a client program a list of databases on the network that match a certain pattern, like "%frp%". I have seen a list of databases in the Windows XP ODBC configuration...
0
by: mirzausce | last post by:
Accuired eServer i5 570 - Enterprise Edition; questions.. -------------------------------------------------------------------------------- My company just purchased this unit from a company...
2
by: Bob | last post by:
Trying to transfer databases from MSDE to SQL. When I use SQL Enterprise Manager - DTS - import or export, it works for the first database, but then fails for the others. I select the to and from...
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: 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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.