PC Review


Reply
Thread Tools Rate Thread

When putting Trusted_Connection=false

 
 
Seb Santacroce
Guest
Posts: n/a
 
      25th Aug 2003
When putting Trusted_Connection=false in the
connectionstring for SQL Connection in VB .net, I get a GRANT ACCESS
error. We have a user setup with SQL server and I am
logging in with that user in the connectionstring.

I've granted access to all tables and stored procedures on
the SQL server to that SQL user.

I only get this error on some forms. As well I don't get it if the computer
user has administrator access in Windows XP.

Any idea what it could be?

Thanks

Sebastian


 
Reply With Quote
 
 
 
 
William \(Bill\) Vaughn
Guest
Posts: n/a
 
      25th Aug 2003
Use QA to log on to SQL Server with that specific user and password. Try to
run the query from there.
Turn on the Profiler to see what's getting sent to the server on the forms
that are failing. I suspect that there is a backdoor that's still using SSPI
authentication or you missed a table or SP when setting permissions.

--
____________________________________
Bill Vaughn
MVP, hRD
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________

"Seb Santacroce" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> When putting Trusted_Connection=false in the
> connectionstring for SQL Connection in VB .net, I get a GRANT ACCESS
> error. We have a user setup with SQL server and I am
> logging in with that user in the connectionstring.
>
> I've granted access to all tables and stored procedures on
> the SQL server to that SQL user.
>
> I only get this error on some forms. As well I don't get it if the

computer
> user has administrator access in Windows XP.
>
> Any idea what it could be?
>
> Thanks
>
> Sebastian
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
AllowFullMenus=False: Putting "Export" back on "File" Menu? PeteCresswell Microsoft Access 3 10th Jul 2009 09:40 PM
VBA always creates linked chart even when using PasteExcelTable False, False, False in Office 2007 Matt Simpson Microsoft Excel Programming 0 6th Aug 2007 09:11 PM
why aspnet instead of logged in user when trusted_connection=yes =?Utf-8?B?YmluZHVyYWplZXNo?= Microsoft ASP .NET 1 4th Apr 2006 07:50 PM
trusted_connection=yes Scott Pendleton Microsoft Windows 2000 Security 1 5th Aug 2004 06:00 PM
Can trusted_connection, use a different user than ASPNET? =?Utf-8?B?Rmxhdmlv?= Microsoft ASP .NET 1 8th Jun 2004 02:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:33 AM.