Claudio
Fri Jul 25 07:40:45 CDT 2008
Hi Joe,
When I test my page into the server I am using my own network user
and when I test it from my PC machine too, so the security configured
in the IIS and the security of the shared folder is not the problem.
In both situation the result is diferent, in the first situation,
the page give me "true" as result, and the other give me "false".
Claudio
On Jul 24, 4:08=A0am, "Joe Fawcett" <joefawc...@newsgroup.nospam> wrote:
> Traditionally ASP uses the IUSR_<machinename> account so try mapping a dr=
ive
> using that username and password or assigning permissions to that account=
or
> changing to a different one if you don't know or can't change the passwor=
d.
> (It's also difficult giving permissions on a remote machine to a local
> account, you need to create one on the remote machine with identical name
> and password.)
> When you've sorted out what's happening you can decide how to proceed
> bearing in mind that giving the ASP account higher privileges can be
> dangerous from a security stand point.
>
> --
>
> Joe Fawcett (MVP - XML)
http://joe.fawcett.name
>
> "Claudio" <csch...@gmail.com> wrote in message
>
> news:c7254eff-d666-4bc7-93aa-1008b53ce5ad@d77g2000hsb.googlegroups.com...
>
>
>
> > Hi,
>
> > =A0 When I ran this command from the server logged with my user it
> > works, when I ran this command form my PC too.
> > =A0 The problem is when I ran the asp page from my PC using an Internet
> > Explorer.
>
> > =A0 I post the problem here, (not in the ASP group) becouse I think
> > that the problem is related to vbscript code or permissions.
>
> > Thanks
>
> > On 23 jul, 11:54, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
> >> <csch...@gmail.com> wrote in message
>
> >>news:d24db7dc-8b7c-4b0c-b2cb-8671726f9d7e@l64g2000hse.googlegroups.com.=
..
>
> >> > Hi All,
>
> >> > I have the follow situation:
>
> >> > In may Server A i have test asp page with the following code
>
> >> > <%
> >> > mImportDirectory =3D "\\BAIVMAST3\cvmData$"
> >> > set fso =3D Server.CreateObject("Scripting.FileSystemObject")
> >> > response.write mImportDirectory"=3D"&fso.FolderExists(mImportDirecto=
ry)
> >> > %>
>
> >> > when I test the page into the server with my user, the result of
> >> > FolderExists is "True", but when I test it from another PC (not the
> >> > server), the result is "False".
>
> >> > The share permissions and the security permissions on \
> >> > \BAIVMAST3\cvmData$ is everybody fullcontrol.
>
> >> > The IIS site is seted to use the Integrated Windows security, so in
> >> > both case my username of windows was used.
>
> >> > Any idea?
>
> >> > Thanks
>
> >> What happens when you type these commands from a Command Prompt?
>
> >> dir \\BAIVMAST3\cvmData$
> >> if exist \\BAIVMAST3\cvmData$ (echo Folder found) else (echo Folder no=
t
> >> found)- Ocultar texto de la cita -
>
> >> - Mostrar texto de la cita -- Hide quoted text -
>
> - Show quoted text -