YAFLogo

ChicagoDave
  • ChicagoDave
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
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.

Sponsor
ChicagoDave
  • ChicagoDave
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
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

ChicagoDave
  • ChicagoDave
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
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.

mddubs
  • mddubs
  • 100% (Exalted)
  • YAF Developer
15 years ago
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 🙂


UserPostedImage 

www.bunkerhollow.com  | www.careercomputing.com 

When I post fp:mddubs in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Mek 🙂, who stole this off Ederon 🙂 )