Litle late maybe, but anyway: try to delete (uncomment) the part
after ...ua_portal.mdb" in your strConn. Remember to set the correct
permissions to the database after this (perhaps read&write I dont know ;-)
Regards
Bjoern
> hi, I am learning asp, I just downloaded an asp application called
> uaportal, so all the files and the MS access database are in a
directory
> called uaportal :
> E:\INETPUB\WWWROOT\majid\uaportal\
>
> One of those files is Common.asp :
> ...............
> Line 19: Dim strConn, strLogin, strPassword
> Line20: strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="
> & "E:\INETPUB\WWWROOT\majid\uaportal\ua_portal.mdb" & ";Persist
Security
> Info=False"
> Line21: strLogin = "Admin"
> Line22: strPassword = ""
> '-------------------------------
> ' Open the connection
> '-------------------------------
> Line26: cn.open strConn, strLogin, strPassword
>
>
> But when I go to the browser :
> http://155.108.117.153/majid/uaportal/
> I got this error :
> Microsoft JET Database Engine error '80004005'
> Could not lock file.
> /majid/uaportal/Common.asp, line 26
>
> Could you please help
> thanks
>