Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
sherlock_oz
Starting Member
12 Posts |
Posted - 2007-10-24 : 01:19:57
|
As a begginer i am trying to setup a simple ASP .NET website with a Hosting provider that strictly enforces medium trust, i know my MSSQL database is all OK .However i constantly get this error -------------------------------------------------------SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.] System.Reflection.Assembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase) +0 System.Web.UI.TemplateParser.GetType(String typeName, Boolean ignoreCase, Boolean throwOnError) +270 System.Web.UI.TemplateParser.ProcessInheritsAttribute(String baseTypeName, String codeFileBaseTypeName, String src, Assembly assembly) +163 System.Web.UI.TemplateParser.PostProcessMainDirectiveAttributes(IDictionary parseData) +192---------------------------------------I am just using one page with a login control on it , to try and prove this.WOrks fine on my local machine with a medium trust element in my web.config file , however it will not work on the remote host !does anyone know of a beginners guide to MSSQL database connections under medium trust hosting.i already have no hair, this is driving me nutsThanks SQL Team |
|
|
|
|
|
|