YAFLogo

Posted by: ChicagoDave - Monday, 8 June 2009 06:51:17
I downloaded the 2.0 and 3.5 binary packages last night and tried to get them working on my 2008 server. I continue to get security compilation errors when running /install. So today I grabbed the source and tried to build it, but I get Unknown Server Tag for every YAF tag (110 in all). If I can get the source building, I should be okay, but if anyone has any ideas about the security compilation issues, that might help too. Thanks, David C.

Posted by: ChicagoDave - Monday, 8 June 2009 06:54:04
Here's the error on the server... Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.] System.Reflection.Assembly._GetExportedTypes() +0 System.Reflection.Assembly.GetExportedTypes() +16 System.Web.Compilation.BuildResultMainCodeAssembly.FindAppInitializeMethod() +26 System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +8809739 System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +128 System.Web.Compilation.BuildManager.CompileCodeDirectories() +265 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +320 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.3074; ASP.NET Version:2.0.50727.3074

Posted by: ChicagoDave - Monday, 8 June 2009 08:03:51
I resolved the issue with the binary installation. I user the Administrator as the Connect As user in IIS 7 during setup and then reverted to a standard user after installation. David C.

Posted by: mddubs - Monday, 8 June 2009 09:35:33
I'm glad you got it worked out and you updated the thread for others who might have the same issue. Some people just get it :)