Re: Permission required to execute a DTS package from ASP.NET applicatio?!!
- From: "Jéjé" <willgart@xxxxxxxxxxxxxxxxx>
- Date: Wed, 13 Jul 2005 23:55:21 -0400
if using the logged user account is optional and if you can impersonate
using another user account, then try it. (provide a spcific username /
password in the impersonate tag of the web.config file)
or... you can open a DTS package by providing a specific user / password
instead-of the integrated security. also use SQL Server accounts for the
connections in your package.
"J-T" <JT@xxxxxxxxxx> wrote in message
news:O4lyGWBiFHA.2152@xxxxxxxxxxxxxxxxxxxxxxx
> Thanks for your nice reply.
> I cannot implement kerbreros.How about this?
>
> I will impersonate under a local account of web server and then I
> duplicate that account in sql server as SQL SERVER Authentication and then
> I will give that account all the right permission sets to run the packages
> .
>
> Thanks
>
> "Jéjé" <willgart@xxxxxxxxxxxxxxxxx> wrote in message
> news:%23mPihwAiFHA.720@xxxxxxxxxxxxxxxxxxxxxxx
>> ok
>> the problem is a Kerberos issue!
>>
>> are you using the active directory?
>> trust your webserver in the active directory, this allow the computer to
>> delegates the end user access. (look at the properties of the computer
>> account in the AD)
>> if your ASP.Net application run under a specific user account (your app
>> pool run under a domain user), then you have to download the setspn
>> utility.
>> then use it like this:
>>
>> setspn -a http/webservername domain\apppooluser
>>
>> this command allow the domain\apppooluser user to delegates the end user
>> login during impersonation.
>>
>> but...
>> 1. your end user must be in the Active Directory too
>> 2. the client computer must be on the same network withtout firewall
>> between the station and the web server (the kerberos delegation dislike
>> firewalls)
>>
>> or use the basic authentication for the web server, because the basic
>> authentication "display" the password, then the ASP.net application use
>> the login / password when there is a back end access.
>>
>> "J-T" <JT@xxxxxxxxxx> wrote in message
>> news:eNHQhl8hFHA.3300@xxxxxxxxxxxxxxxxxxxxxxx
>>> Thanks Jeje,
>>>
>>>> have you setup the impersonation in the web.config file?
>>> Yes,I've enabled impersonation in my application and that's why it is
>>> under the security context of my account "Domain\My UserName".
>>>
>>>> does SQL server is on the same server as your ASP.net application?
>>> No they are in different boxes!!! I think this is the problem
>>>
>>>> do you use NTLM or Basic authentication?
>>> I'm using NTLM (Windows integrated security).
>>>
>>> Thanks again
>>>
>>>
>>> "Jéjé" <willgart@xxxxxxxxxxxxxxxxx> wrote in message
>>> news:uWzExP2hFHA.1968@xxxxxxxxxxxxxxxxxxxxxxx
>>>> does SQL server is on the same server as your ASP.net application?
>>>> do you use NTLM or Basic authentication?
>>>> have you setup the impersonation in the web.config file?
>>>>
>>>> "Ray5531" <Ray5531@xxxxxxxxxxxxx> wrote in message
>>>> news:usCQ510hFHA.1372@xxxxxxxxxxxxxxxxxxxxxxx
>>>>> Hello,
>>>>>
>>>>> I'm calling a DTS package from my asp.net application.Apparently
>>>>> because of permission issue I canot run the package within the sql
>>>>> server ,because when I set it to call a package from my local host it
>>>>> can execute te package.one step before calling the package I get the
>>>>> IDENTITY of the current security context and it is my Domian user name
>>>>> and I'm using IntegratedSecurity to call the DTS package.I'm also
>>>>> memeber of sysadmin rols in Database.Do I have to give it extra
>>>>> permissions?
>>>>>
>>>>> Thasnk
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
.
- Follow-Ups:
- References:
- Permission required to execute a DTS package from ASP.NET applicatio?!!
- From: Ray5531
- Re: Permission required to execute a DTS package from ASP.NET applicatio?!!
- From: Jéjé
- Re: Permission required to execute a DTS package from ASP.NET applicatio?!!
- From: J-T
- Re: Permission required to execute a DTS package from ASP.NET applicatio?!!
- From: Jéjé
- Re: Permission required to execute a DTS package from ASP.NET applicatio?!!
- From: J-T
- Permission required to execute a DTS package from ASP.NET applicatio?!!
- Prev by Date: Re: Permission required to execute a DTS package from ASP.NET applicatio?!!
- Next by Date: Re: Cannot immediately select after executing DTS
- Previous by thread: Re: Permission required to execute a DTS package from ASP.NET applicatio?!!
- Next by thread: Re: Permission required to execute a DTS package from ASP.NET applicatio?!!
- Index(es):
Relevant Pages
|
|