Re: How to connect to a custom database
- From: "Mark Rae [MVP]" <mark@xxxxxxxxxxxxxxxxx>
- Date: Mon, 10 Aug 2009 12:16:28 +0100
"Rinaldo" <zwartehoofdpiet@xxxxxxxxxxxxxxxxxx> wrote in message news:DAFA30B6-78E0-4F39-A0CA-BEF90547C731@xxxxxxxxxxxxxxxx
If I connect to the Northwind database there is no problem, so integrated security must be good
Yes, but IIRC Northwind configures itself automatically to allow the currently logged on user access as part of the installation process.
I always log in as a Windows user in SQL Server if I started it up, no username or passwords.
That's not quite true... When connecting as a Windows user, you most certainly *ARE* using a username and password, specifically your Windows username and password - that's what "integrated security" means...
The database is made by the integrated database wizard in VC#.
The error you're getting indicates that the user which is trying to connect to the instance of SSE doesn't have a valid SSE login.
If you were using a full version of SQL Server, I'd have suggested that you simply set up a trace to see exactly what's happening. Unfortunately, this isn't available in SSE. Therefore, you'll need to download and install this: http://sqlprofiler.googlepages.com/ and set up a trace that way. Then, once you have set the trace running, try to connect again - the trace will show all of the commands being sent to the instance of SSE on which you have configured the trace to run, and that will (almost certainly) tell you what the problem is.
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
.
- Follow-Ups:
- Re: How to connect to a custom database
- From: Rinaldo
- Re: How to connect to a custom database
- References:
- How to connect to a custom database
- From: Rinaldo
- Re: How to connect to a custom database
- From: Mark Rae [MVP]
- Re: How to connect to a custom database
- From: Rinaldo
- How to connect to a custom database
- Prev by Date: Re: How to connect to a custom database
- Next by Date: Re: LDAP
- Previous by thread: Re: How to connect to a custom database
- Next by thread: Re: How to connect to a custom database
- Index(es):
Relevant Pages
|