IIS to File Server
am 05.05.2006 17:58:02 von Bahman
Hello!
I asked this question on asp.net forum with no luck.
But it may be more appropriate here since it is less (I think) a programming
problem than a server configuration problem.
We have done the following:
-created a domain account that has access to IIS and file server
-created application process in IIS under that account and assigned to vd
on running code to get directory content we get 'access to path denied'.
is ASP.NET account hard-coded? it does not exist on file server. What did we
miss?
if this not possible and if I have to impersonate, can I put the
username/password somewhere else other than in the config file and just
reference it from there?
thank you very much for your help.
-Bahman
Re: IIS to File Server
am 07.05.2006 15:18:58 von Roger Abell
I notice you have not told use the versions (IIS, OS of fileserver)
involved. There could be a number of reasons this is not working.
If you are sure that the attempt to go off-box is running in the context
of the account you have defined, then it is likely that sufficient grants
have not been made at the targetted fileserver. Can you log in with
that account on the IIS box and manually obtain access to the target
location ?? The account used needs to have grants at the share level,
the NTFS level, and of the user right to log on over the network all
configured on the target machine.
"Bahman" wrote in message
news:401EFF84-667B-441A-95CE-1E0F472DD776@microsoft.com...
> Hello!
>
> I asked this question on asp.net forum with no luck.
>
> But it may be more appropriate here since it is less (I think) a
> programming
> problem than a server configuration problem.
>
> We have done the following:
>
> -created a domain account that has access to IIS and file server
> -created application process in IIS under that account and assigned to vd
>
> on running code to get directory content we get 'access to path denied'.
>
> is ASP.NET account hard-coded? it does not exist on file server. What did
> we
> miss?
>
> if this not possible and if I have to impersonate, can I put the
> username/password somewhere else other than in the config file and just
> reference it from there?
>
> thank you very much for your help.
>
> -Bahman