How to compile ASP.NET 2.0 applications in medium trust
<p>I am using a .Net/C# script to upload XLS files and then dump in SQL SERVER.</p>

<p>It works great on Local server but doesnt on shared hosting space. Hosting is saying </p>

<p>"It seems you are using full trust in this application and we support medium trust on shared server, due to that reason you are getting this error message. Please recompile the application in medium trust and then check it."</p>

<p>I asked them how to recompile it Medium Trust, but they ask me to search on google, where i dont find any great help.</p>

<p>Shall i change something in web.config ?</p>
