Images Virtual Directory

Images Virtual Directory

am 04.09.2007 14:52:03 von EdwardH

I have asp.net applic on WServer 2003 accessing remote SQL data perfectly. A
field in table holds image file name. I can see actual image files from a
remote share in a VD which is sub to main site VD but cannot bring up images
in application. Path, set in web.config looks correct - CImages\. In applic
file name cannot be found even though can be seen -
C:\Inetpub\wwwroot\VDName\CImages\filename. I guess problem is permissions.
Does subVD have to have specific permissions when accessed by main VD?
With thanks

Re: Images Virtual Directory

am 05.09.2007 03:26:13 von Steve Schofield

You can try Filemon from Sysinternals to determine if this is a permissions
issue on the local disk. Do you see anything in the event logs?

--

Best regards,

Steve Schofield
Windows Server MVP - IIS
http://weblogs.asp.net/steveschofield


"EdwardH" wrote in message
news:504ABF8E-8AD0-4B7D-A64D-1744194EF51A@microsoft.com...
>I have asp.net applic on WServer 2003 accessing remote SQL data perfectly.
>A
> field in table holds image file name. I can see actual image files from a
> remote share in a VD which is sub to main site VD but cannot bring up
> images
> in application. Path, set in web.config looks correct - CImages\. In
> applic
> file name cannot be found even though can be seen -
> C:\Inetpub\wwwroot\VDName\CImages\filename. I guess problem is
> permissions.
> Does subVD have to have specific permissions when accessed by main VD?
> With thanks

Re: Images Virtual Directory

am 05.09.2007 19:46:02 von EdwardH

Thanks for your suggestion. There is nothing in the event log. I am now not
so sure I have got path right as error is coming up
"c:\inetpub\wwwroot\sitename\subVD\Filename" which is expecting a local
sub-directory which of course it is not. How do I refer in the web.config to
a sub VD?
With thanks

"Steve Schofield" wrote:

> You can try Filemon from Sysinternals to determine if this is a permissions
> issue on the local disk. Do you see anything in the event logs?
>
> --
>
> Best regards,
>
> Steve Schofield
> Windows Server MVP - IIS
> http://weblogs.asp.net/steveschofield
>
>
> "EdwardH" wrote in message
> news:504ABF8E-8AD0-4B7D-A64D-1744194EF51A@microsoft.com...
> >I have asp.net applic on WServer 2003 accessing remote SQL data perfectly.
> >A
> > field in table holds image file name. I can see actual image files from a
> > remote share in a VD which is sub to main site VD but cannot bring up
> > images
> > in application. Path, set in web.config looks correct - CImages\. In
> > applic
> > file name cannot be found even though can be seen -
> > C:\Inetpub\wwwroot\VDName\CImages\filename. I guess problem is
> > permissions.
> > Does subVD have to have specific permissions when accessed by main VD?
> > With thanks
>
>