I have used the codesmith to genarate the  .NetTiers 2.2 template with Enterprise library v3.1, everything works good on my localhost virtual directory, but when I upload the site to godaddy servers, i got this error .

its only happening  when the system needs to connecet to the database. 

[SecurityException: That assembly does not allow partially trusted callers.]
   MTAAA.Services.DomainUtil.HandleException(Exception e, String policyName) +0
   MTAAA.Services.VwFundServiceBase.GetPaged(String whereClause, String orderBy, Int32 start, Int32 pageLength, Int32& totalCount) +258
   MTAAA.Website.UserControls.FundList_UC.FillGrid(Int32 StartIndex, Int32 PageSize, String Wherestm) +136
   MTAAA.Website.UserControls.FundList_UC.Page_Load(Object sender, EventArgs e) +186
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6978
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213
   System.Web.UI.Page.ProcessRequest() +86
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
   System.Web.UI.Page.ProcessRequest(HttpContext context) +49
   ASP.pages_fundlist_aspx.ProcessRequest(HttpContext context) in App_Web_jii6ku2w.1.cs:0
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +303
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

please help..