all groups > sql server msde > march 2007 >
You're in the

sql server msde

group:

Permission problem



Permission problem Tokatrash
3/26/2007 11:45:20 AM
sql server msde: Hi All,

One of my costumers have a program that connects to a servers MSDE
database.
The name of the program is Winfinance.

Trough DbaMGR2k i have granted a Windows 2003 security group full
permissions on the database.

When a client uses the program to connect to the MSDE database using
Windows authentication there is no problems at all.

However the company would like to make it possible for the staff to
dial in using PPTP VPN.
The PPTP VPN server is the router, so the users never authenticate
trough windows, and thereby can't connect to the MSDE database.

I've tried using the SA account, and by creating another account, with
no luck however.

I'm all out of ideas, if somebody have a shot in the dark i'd really
appreciate it.

Have a nice day.
Re: Permission problem Norman Yuan
3/26/2007 1:14:46 PM
SQL Server has two Authentication mode: Windows Authentication mode and
mixed mode (Windows and SQL Server). By default installation, it is most
likely, your MSDE is set "Windows Authentication" mode only. If your users
who access the SQL Server cannot be authenticated by its Windows user
account, then you need to enable the mixed authentication mode before you
can use a UserName/Password pair to access the database (never use SA for
the application access).

If you have Enterprise Manager, enable mixed authentication mode is an easy
task. I do not know the tool "DbaMGR2k" can do that or not. If not, search
the web/MS KB for article(s) on how to enable MSDE's mixed security mode.


[quoted text, click to view]

Re: Permission problem Andrea Montanari
3/27/2007 12:00:00 AM
hi,
[quoted text, click to view]

yes it can.. :D
access the server property (server node, rx click) and set the
authentication method accordingly to your needs (mixed mode)
--
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz http://italy.mvps.org
DbaMgr2k ver 0.21.0 - DbaMgr ver 0.65.0 and further SQL Tools
--------- remove DMO to reply

Re: Permission problem Tokatrash
3/27/2007 12:34:36 PM
On Mar 27, 12:06 pm, "Andrea Montanari" <andrea.sql...@virgilio.it>
[quoted text, click to view]

I will look into that, thank you both!

--Andrea is it you who have developed DbaMgr2k?
Re: Permission problem Tokatrash
3/27/2007 12:50:48 PM
On Mar 27, 12:06 pm, "Andrea Montanari" <andrea.sql...@virgilio.it>
[quoted text, click to view]

I tried changing it to mixed mode (it WAS set to Windows
authentication) however now i get the following error:
Login failed for user 'USERNAME' . Reason:Not associated with a
trusted SQL Server connection.

Any ideas?
Re: Permission problem Norman Yuan
3/27/2007 1:17:18 PM
Show your ConnectionString. If you have "Trusted_Connection=True" in
ConnectionString, then the connection is using Windows Authentication, which
is not what you want.


[quoted text, click to view]

Re: Permission problem Tokatrash
3/27/2007 2:33:37 PM
[quoted text, click to view]

There is no connection string visible to me, i'm using a program
called Winfinance to connect to the MSDE database.
It is that program that gives me that error.
Re: Permission problem Norman Yuan
3/27/2007 4:59:43 PM
Either that program was hard coded to use Windows Authentication (if so, bad
design), or there is someway to configure how the program to connect to SQL
Server (very likely), you just need to find where and how to configure it.


[quoted text, click to view]

Re: Permission problem Andrea Montanari
3/28/2007 12:00:00 AM
hi,
[quoted text, click to view]

yes, it's me.. please no insults :D

did you restart the MSDE service?
--
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz http://italy.mvps.org
DbaMgr2k ver 0.21.0 - DbaMgr ver 0.65.0 and further SQL Tools
--------- remove DMO to reply

Re: Permission problem Tokatrash
5/6/2007 2:23:15 PM
On Mar 28, 3:32 pm, "Andrea Montanari" <andrea.sql...@virgilio.it>
[quoted text, click to view]

Sorry... been away for a while...

No insults at all... just wanted to thank you for a great program...

I tried restarting the MSDE service... no changes.... it's really
quite odd.. i really need to be able to connect without using windows
authentication...
AddThis Social Bookmark Button