Re: Newbie Question 2 by Zam
Zam
Fri Mar 11 15:51:45 CST 2005
Hello,
Do you have enought permission? IUSR_xxx, IWAM_xxx On Disk, on Folder and on
File?
With best regards,
"TenStar" <tenstar@yahoo.com> wrote in message
news:OtgrumnJFHA.2736@TK2MSFTNGP09.phx.gbl...
> I had something close to that. I adopted your code.
>
> Microsoft JET Database Engine (0x80004005)
> 'Z:\Database' is not a valid path. Make sure that the path name is spelled
> correctly and that you are connected to the server on which the file
> resides.
> /sysinfo.asp, line 17
>
> Why is it pulling from the Z drive?
>
>
> <%
> Dim oADO, oRS
> set oADO = CreateObject("ADODB.Connection")
>
> oADO.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &
> server.mapPath("\database\sa inventory.mdb")
>
> Set oRS = oADO.Execute("SELECT * From SystemInfo")
> If Not oRS.EOF Then
> Do while not ors.eof
> Response.Write oRS.Fields.Item(0).Value & "<br>"
> Response.Write oRS.Fields.Item(1).Value & "<br>"
> Response.Write oRS.Fields.Item(2).Value & "<br>"
> Response.Write oRS.Fields.Item(3).Value & "<br>"
> Response.Write oRS.Fields.Item(4).Value & "<br>"
> oRS.Movenext
> Loop
> End If
> oRS.Close : Set oRS = Nothing
> oADO.Close : Set oADO = Nothing
> %>
>
>
>
>
>