Hi Robert,
First, thank you for responding it is greatly appreciated.
1. First, I can get the "Install" version to run in medium trust.
2. However, I'm trying to develop modules, and I've found it easier to develop compiled modules (WAP I believe is the right term) works best when I'm doing development with the "Source" version because it allows me easy access to debugging etc.
3. This is where I'm having problems. I didn't have any problems with Windows XP. I had medium trust in the web.config file and everything ran fine, I could develop just fine. However, my newer machine has Windows Vista Home Premium and it's just refusing to allow me to install the DNN source version. I can actually get through the "Install" of DNN source, where the database is created. however when I click on the final link to "Go to Portal" I keep getting the error (see below)
I can go modify the system.web/deployment and add the requirePermission=false attribute, but it's in the machine.config file, and of course additional SecurityExceptions pop up after I make that first attribute change. Also I believe it's not a good idea to modify the machine.config file.
So to answer your questions
OS: Windows Vista Home Premium
IIS: 7
No third party modules as I can't even get DNN Source version to run.
Any help would be greatly appreciated! As for now the only way I can get the Source version to work is to run with Full Trust, which I'm doing on my development machine. Doing final testing with the Install version in medium trust after the module has been developed. But why can't I get the source version to run in medium trust?
System.Security.SecurityException: Request for ConfigurationPermission failed while attempting to access configuration section 'system.web/deployment'. To allow all callers to access the data for this section, set section attribute 'requirePermission' equal 'false' in the configuration file where this section is declared. ---> System.Security.SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at System.Configuration.BaseConfigurationRecord.CheckPermissionAllowed(String configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca) The action that failed was: Demand The type of the first permission that failed was: System.Configuration.ConfigurationPermission The first permission that failed was: The demand was for: The granted set of the failing assembly was: The assembly or AppDomain that failed was: System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 The method that caused the failure was: Boolean GetRetailFromConfig() The Zone of the assembly that failed was: MyComputer The Url of the assembly that failed was: file:///C:/inetpub/wwwroot/DotNetNuke514/Website/bin/system.web.extensions.DLL --- End of inner exception stack trace --- at System.Configuration.BaseConfigurationRecord.CheckPermissionAllowed(String configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca) at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) at System.Configuration.BaseConfigurationRecord.GetSection(String configKey, Boolean getLkg, Boolean checkPermission) at System.Configuration.BaseConfigurationRecord.GetSection(String configKey) at System.Web.HttpContext.GetSection(String sectionName) at System.Web.Configuration.HttpConfigurationSystem.GetSection(String sectionName) at System.Web.Configuration.WebConfigurationManager.GetSection(String sectionName) at System.Web.UI.DeploymentSectionCache.GetRetailFromConfig() at System.Web.UI.DeploymentSectionCache.get_Retail() at System.Web.UI.ScriptManager.get_DeploymentSectionRetail() at System.Web.UI.ScriptReference.IsDebuggingEnabled(ScriptManager scriptManager) at System.Web.UI.ScriptReference.ShouldUseDebugScript(String releaseName, Assembly assembly, ScriptManager scriptManager) at System.Web.UI.ScriptReference.GetResourceName(String releaseName, Assembly assembly, ScriptManager scriptManager) at System.Web.UI.ScriptReference.GetUrlFromName(ScriptManager scriptManager, IControl scriptManagerControl, Boolean zip) at System.Web.UI.ScriptReference.GetUrl(ScriptManager scriptManager, IControl scriptManagerControl, Boolean zip) at System.Web.UI.ScriptManager.RegisterScripts() at System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e) at System.Web.UI.Page.OnPreRenderComplete(EventArgs e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) The Zone of the assembly that failed was: MyComputer