At forum entry
http://forums.asp.net/t/1374832.aspx?Security+Exception+Medium+Trust+w+OleDbPermission+Go+Daddy+Shared+Server the original poster reported that he was getting the security exception from using OLEDB provider to connect to an access file. Someone told
him to use an SQL server database, (which is not really an answer as that is not always possbile.) He reported,
However, it turned out that my security exception was the result of my repeater utilizing reflection. I found a workaround and everything works fine now.
Unfortunately he never provided an example of the work around he used. Looking at the source code he originally provided I don't see what what kind of workaround ...
Go to the complete details ...