From: p byers on 28 Aug 2008 07:05 Anthony Jones wrote: > > > Did you do the windows explorer test? > > -- > Anthony Jones - MVP ASP/ASP.NET Sorry missed that !! Tried it - got the following Error --------------------------- Address Bar --------------------------- Windows cannot find '\\MSS-0135F8\pbyers\atest\ReConstituted_wwwroot\Data\common\'. Check the spelling and try again, or try searching for the item by clicking the Start button and then clicking Search. --------------------------- OK --------------------------- Tried it with just the Device Name --------------------------- Address Bar --------------------------- Windows cannot find '\\MSS-0135F8\'. Check the spelling and try again, or try searching for the item by clicking the Start button and then clicking Search. --------------------------- OK --------------------------- Pete (Northolt UK)
From: Anthony Jones on 28 Aug 2008 07:17 "p byers" <pb(a)sst-ltd.co.uk> wrote in message news:48B6865D.6942356(a)sst-ltd.co.uk... > > > Anthony Jones wrote: > > > > > > > Did you do the windows explorer test? > > > > -- > > Anthony Jones - MVP ASP/ASP.NET > > Sorry missed that !! > > Tried it - got the following Error > --------------------------- > Address Bar > --------------------------- > Windows cannot find > '\\MSS-0135F8\pbyers\atest\ReConstituted_wwwroot\Data\common\'. Check the > spelling and try again, or try searching for the item by clicking the Start > button and then clicking Search. > --------------------------- > OK > --------------------------- > > > > > Tried it with just the Device Name > > --------------------------- > Address Bar > --------------------------- > Windows cannot find '\\MSS-0135F8\'. Check the spelling and try again, or try > searching for the item by clicking the Start button and then clicking Search. > --------------------------- > OK > --------------------------- In my example HOST file entry I had a typo in the device name. Did you correct that? Perhaps it would be better to put something less prone to typos in the HOSTS file instead:- 192.168.1.110 mynas then use a UNC like:- \\mynas\pbyers\atest\ReConstituted_wwwroot\Data\common\ -- Anthony Jones - MVP ASP/ASP.NET
From: p byers on 28 Aug 2008 07:34 Anthony Jones wrote: > > > In my example HOST file entry I had a typo in the device name. Did you > correct that? > > Perhaps it would be better to put something less prone to typos in the HOSTS > file instead:- > > 192.168.1.110 mynas > > then use a UNC like:- > > \\mynas\pbyers\atest\ReConstituted_wwwroot\Data\common\ > > -- > Anthony Jones - MVP ASP/ASP.NET Didnt spot your typo Have corrected it. WHOOOOPPPEEE !!! The VBS and the ASP works Now I have got the file being opened !! Next step before I go out and get drunk is to confirm that I can SELECT and INSERT . . . . Thank you Mister - you have made an Old Fart VERY VERY HAPPY Pete (Northolt UK)
From: p byers on 28 Aug 2008 07:48 Anthony, It all works - I can "SELECT" and "INSERT" Thanks again Pete (Northolt UK) p byers wrote: > Anthony Jones wrote: > > > > > > > In my example HOST file entry I had a typo in the device name. Did you > > correct that? > > > > Perhaps it would be better to put something less prone to typos in the HOSTS > > file instead:- > > > > 192.168.1.110 mynas > > > > then use a UNC like:- > > > > \\mynas\pbyers\atest\ReConstituted_wwwroot\Data\common\ > > > > -- > > Anthony Jones - MVP ASP/ASP.NET > > Didnt spot your typo > > Have corrected it. > > WHOOOOPPPEEE !!! > > The VBS and the ASP works > > Now I have got the file being opened !! > > Next step before I go out and get drunk is to confirm that I can SELECT and > INSERT . . . . > > Thank you Mister - you have made an Old Fart VERY VERY HAPPY > > Pete (Northolt UK)
From: Bob Milutinovic on 2 Sep 2008 00:17
"Anthony Jones" <Ant(a)yadayadayada.com> wrote in message news:eimOXlICJHA.1228(a)TK2MSFTNGP02.phx.gbl... > "Bob Milutinovic" <cognicom(a)gmail.com> wrote in message > news:efiZGY$BJHA.4384(a)TK2MSFTNGP04.phx.gbl... >> If not, you'll need to create a permanent mapping to drive S: on _that_ >> machine, so IIS can reference the network drive. > > > How is that done exactly? I've never been able to convince IIS to use a > mapped drive, I'm not sure how a service would get to see one. NET USE <drive> <sharename> /PERSISTENT:YES But having said that, I'll admit that I haven't tried accessing files on a mapped drive using ASP. I'd have thought though that the ASP engine simply uses the operating system's file system, rather than handling access itself, so surely anything visible to the operating system should also be available to ASP? - Bob. |