spmcmorrow
asked on
How do I check or change permissions for the IUSR account on XP
I am trying to solve the problem I have connecting to an access db using ASP .NET and an oledb connection and data adapter.
I get the following error.
Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot open the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data.
Microsoft says to check the permissions that the IUSR<machine name> account has on the database file. I don't see where to do this. I am using IIS 5.0 and Visual Studio .Net 2003.
Please help. I need to get this resolved right away.
I get the following error.
Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot open the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data.
Microsoft says to check the permissions that the IUSR<machine name> account has on the database file. I don't see where to do this. I am using IIS 5.0 and Visual Studio .Net 2003.
Please help. I need to get this resolved right away.
right click on file (access file) and select properties.
choose the security tab. u can see the users that hav permission to use the file.
choose the security tab. u can see the users that hav permission to use the file.
ASKER
I have verified both of those things. I cut and paste the values associated with the OleDbConnection object below, if that is of any help.
conn {System.Data.OleDb.OleDbCo
ConnectionString "Provider=Microsoft.Jet.OL
Provider "Microsoft.Jet.OLEDB.4.0" String
DataSource "C:\Inetpub\wwwroot\FLNutr
State Closed System.Data.ConnectionStat
ServerVersion <error: an exception of type: {System.InvalidOperationEx
ASKER
maXXXeE - there is no security tab when I right click on the file.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Now when you right click on the database
Tick everything for:
'IUSR' and 'everyone' users
Tick everything for:
'IUSR' and 'everyone' users
ASKER
Thank you, I couldn't find that for the life of me.
Glad to help, thanks for the grade :o)
1. the access db is not opened by u or any other user while trying your asp code.
2. the ms access file attribute is set READ ONLY.
wait for furthere assistance