Thnaks Jeff for helping me in finding help for error 80004005. I have given permission for iuser(machine) as well as anonymous user to database as well as folder for the database and temp folder of the user. I have updated applicationhost.config by disabling loadUserProfile property . I have used the following commands for giving permission to temp folder of network services.
icacls %windir%\serviceprofiles\networkservice\AppData\Local\Temp /grant Users:(CI)(S,WD,AD,X)
icacls %windir%\serviceprofiles\networkservice\AppData\Local\Temp /grant "CREATOR OWNER":(OI)(CI)(IO)(F).
on checking the users and CREATOR OWNER gets the special permission on temp folder.
The error i am getting is
Microsoft JET Database Engine error '80004005'
Unspecified error
with the following code
<%
cst = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & Server.MapPath("hello.mdb")
//response.write(cst)
set conn = CreateObject("ADODB.Connection")
conn.open cst
//set cn=Server.CreateObject("ADODB.Connection")
//set rs=Server.CreateObject("ADODB.Recordset")
//cn.Open "DSN=mydsn"
%>