Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Impersonate, Windows Authentication and Database Access

Reply
Thread Tools

Impersonate, Windows Authentication and Database Access

 
 
Fabricio Sperandio
Guest
Posts: n/a
 
      04-05-2004
Hi everyone,

I am having problems in my Intranet web site. I recently changed the
authentication mode from forms to windows. I turned "OFF" the anonymous
access on the IIS security settings and turned "ON" the impersonate on my
Web.config.

That is ok, I am impersonating the user currently logged on each workstation
and it was working fine.

The problem is that I just can execute a query on my Access database using
OleDb for users that are members of the local Administrators group. For the
rest of them i received an "System.Data.OleDb.OleDbException: Unspecified
error" message.

Everyone has "Full Control" over the whole web site folder, the bin folder,
database, all of them and their respective files (*.mdb, *.dll).

What's going one here? Help me!

The only thing I can do is add all the users to the local Administrators
group, and then it works.

Cheers,

Fabrício


 
Reply With Quote
 
 
 
 
Andrea D'Onofrio [MSFT]
Guest
Posts: n/a
 
      04-14-2004
You must grant the read/write permission to the temp folder to the
impersonated account (all the Users in your scenario).
Follow the suggestions of this article:
http://support.microsoft.com/?id=825738

HtH,
Andrea

--
This posting is provided "AS IS" with no warranties, and confers no rights.

"Fabricio Sperandio" <> wrote in message
news:...
> Hi everyone,
>
> I am having problems in my Intranet web site. I recently changed the
> authentication mode from forms to windows. I turned "OFF" the anonymous
> access on the IIS security settings and turned "ON" the impersonate on my
> Web.config.
>
> That is ok, I am impersonating the user currently logged on each

workstation
> and it was working fine.
>
> The problem is that I just can execute a query on my Access database using
> OleDb for users that are members of the local Administrators group. For

the
> rest of them i received an "System.Data.OleDb.OleDbException: Unspecified
> error" message.
>
> Everyone has "Full Control" over the whole web site folder, the bin

folder,
> database, all of them and their respective files (*.mdb, *.dll).
>
> What's going one here? Help me!
>
> The only thing I can do is add all the users to the local Administrators
> group, and then it works.
>
> Cheers,
>
> Fabrício
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Database Database Database Database scott93727@gmail.com Computer Information 0 09-27-2012 02:43 AM
DataBase DataBase DataBase DataBase scott93727@gmail.com Computer Information 0 09-26-2012 09:40 AM
ASP.NET Authentication and Windows Authentication Fabio Gouw ASP .Net Security 2 11-16-2004 01:01 PM
Access database authentication James ASP .Net 1 12-22-2003 03:20 AM
Re: Software Developer to transcribe Oracle database into Access database Guy Cox MCSD 1 07-09-2003 08:07 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57