My almost all web sites are hosted on goDaddy shared medium trust hosting.It is always painful to get things running on medium trust environment after got it running on your development environment.
But now you can set medium trust environment on your local machine and check every functionality there only.
You need to add following configuration in your web.config
<system.web>Now you can test your application as if it is running under Medium Trust environment.
<trust level="Medium" />