Re: User ASPNET in SQL Server 2000
From: Tom (tbekasiewicz@poczta.onet.pl)
Date: 12/05/02
- Next message: PPaps: "Client Connection"
- Previous message: Tom: "Re: User ASPNET in SQL Server 2000"
- In reply to: Larry Hastings: "Re: User ASPNET in SQL Server 2000"
- Next in thread: Larry Hastings: "Re: User ASPNET in SQL Server 2000"
- Reply: Larry Hastings: "Re: User ASPNET in SQL Server 2000"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Tom" <tbekasiewicz@poczta.onet.pl> Date: Thu, 5 Dec 2002 04:32:24 -0800
Hi Larry
Thank you for post.
But, could you explain me how can I do it.
I want to logon to the virtual catalog from the internet
as the windows user then I want to logon to the SQL Server
2000 as the same user as in Windows 2000 Server in the
previous operation. When I logon to the IIS 5.0 from the
internet I'am the user from the group of Windows users and
now I want a permission to the SQL Server 2000 database
(In the SQL Server 2000 and in the Windows 2000 AS are the
same users, and I have a permission to all the tables in
the database). I don't want to logon to the SQL Server as
the user ASPNET I want to logon to the SQL Server 2000 as
the user from the internet.
Plese replay...
>-----Original Message-----
>If you setup System to run your ASP.NET account then
account which would be used to access SQL server would be
NT Authority\System
>(for local machine) or DOMAIN\Computer$ for remote
access. You'd have to create user in SQL 2000 with exactly
the same name as I
>mentioned before and then assign it permissions to
database.
>This shall fix the problem.
>
>G
>
>"Tom" <tbekasiewicz@poczta.onet.pl> wrote in message
news:072e01c29b96$ec93e3f0$d5f82ecf@TK2MSFTNGXA12...
>> Hi everyb.
>>
>> I use IIS 5.0 and Win 2000 AS.
>> In my operating system I have two user accounts.
>> The authentication in ASP.NET application is "Windows
>> authentication". The SQL Server 2000 has "Windows
>> authentication", and has the same users as in Win 2000
AS.
>> In my machine.config file I have changed the
>> <processModel/> tag:
>>
>> </processModel
>> ...
>> userName="system"
>> password="autogenerate"
>> ...
>> />
>>
>> In properties of virtual catalog on IIS 5.0 I have
checked
>> the second Checkbox - Base authentication.
>> When I login to the server from the intrnet and I put
the
>> login and the password, I have got the message that the
>> ASPNET user hasn't got permission to the SQL Server
2000.
>> I want to login to the SQL Server 2000 as the user from
>> the Windows 2000 AS system.
>> Could you help me, please...
>>
>
>
>.
>
- Next message: PPaps: "Client Connection"
- Previous message: Tom: "Re: User ASPNET in SQL Server 2000"
- In reply to: Larry Hastings: "Re: User ASPNET in SQL Server 2000"
- Next in thread: Larry Hastings: "Re: User ASPNET in SQL Server 2000"
- Reply: Larry Hastings: "Re: User ASPNET in SQL Server 2000"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|