Using MS Access database with medium trust level
-
Hi everybody :) I've written an ASP.NET application which has to use ms access database (It was a clients request) on my development server everything works fine, but on a live server it is not possible to connect to database. Their technical support told me that the problem is in the medium trust level! Can anyone help me with configuration? Thanks, Fedor (Sorry if this is double post, but search on messages works painfully slow on my connection)
-
Hi everybody :) I've written an ASP.NET application which has to use ms access database (It was a clients request) on my development server everything works fine, but on a live server it is not possible to connect to database. Their technical support told me that the problem is in the medium trust level! Can anyone help me with configuration? Thanks, Fedor (Sorry if this is double post, but search on messages works painfully slow on my connection)
Hi there, What you might need to do is to grant the
OleDbPermission
to the application, you can see the details from the links: http://msdn2.microsoft.com/en-us/library/wyts434y.aspx[^] http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/PAGHT000020.asp[^] -
Hi there, What you might need to do is to grant the
OleDbPermission
to the application, you can see the details from the links: http://msdn2.microsoft.com/en-us/library/wyts434y.aspx[^] http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/PAGHT000020.asp[^]Great! That's it! Thank you very much, you saved my day ;) !!