How do I set up IIS for this version?

Posted by Community Admin on 03-Aug-2018 19:03

How do I set up IIS for this version?

All Replies

Posted by Community Admin on 27-Aug-2010 00:00

What are the nessisary steps to set up IIS so that I can access my sitefinity 4 beta install from outside of my local machine?

I've tried creating a new website in IIS and setting my sitefinity install as it's default directory. But trying to connect only gives me a lengthy Access Denied Error seen below.

Running the website through the included project manager works just fine.

What's going on here?

Server Error in '/' Application.
Access to the path 'C:\Inetpub\wwwroot\sitefinity4\maxq\App_Data\Sitefinity\Logs' is denied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
 
Exception Details: System.UnauthorizedAccessException: Access to the path 'C:\Inetpub\wwwroot\sitefinity4\maxq\App_Data\Sitefinity\Logs' is denied.
 
ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically MACHINE\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
 
To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
 
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:
 
[UnauthorizedAccessException: Access to the path 'C:\Inetpub\wwwroot\sitefinity4\maxq\App_Data\Sitefinity\Logs' is denied.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +7716639
   System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity) +7569557
   System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity) +150
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.TraceListeners.FormattedTextWriterTraceListener.RootFileNameAndEnsureTargetFolderExists(String fileName) +99
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.TraceListeners.FormattedTextWriterTraceListener..ctor(String fileName) +13
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.TraceListeners.FlatFileTraceListener..ctor(String fileName, String header, String footer, ILogFormatter formatter) +48
   BuildUp_Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.TraceListeners.FlatFileTraceListener(IBuilderContext ) +522
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context) +12
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) +191
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +97
 
[BuildFailedException: The current build operation (build key Build Key[Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.TraceListeners.FlatFileTraceListener, Trace]) failed: Access to the path 'C:\Inetpub\wwwroot\sitefinity4\maxq\App_Data\Sitefinity\Logs' is denied. (Strategy type BuildPlanStrategy, index 5)]
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +275
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Common.Configuration.Unity.ReferenceCollectionResolverPolicy.Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.IDependencyResolverPolicy.Resolve(IBuilderContext context) +219
   BuildUp_Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.LogSource(IBuilderContext ) +257
 
[InvalidOperationException: The parameter traceListeners could not be resolved when attempting to call constructor Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.LogSource(System.String name, System.Collections.Generic.List`1[[System.Diagnostics.TraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] traceListeners, System.Diagnostics.SourceLevels level, System.Boolean autoFlush).]
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForResolutionFailed(Exception inner, String parameterName, String constructorSignature, IBuilderContext context) +140
   BuildUp_Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.LogSource(IBuilderContext ) +548
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context) +12
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) +191
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +97
 
[BuildFailedException: The current build operation (build key Build Key[Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.LogSource, Default]) failed: The parameter traceListeners could not be resolved when attempting to call constructor Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.LogSource(System.String name, System.Collections.Generic.List`1[[System.Diagnostics.TraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] traceListeners, System.Diagnostics.SourceLevels level, System.Boolean autoFlush). (Strategy type BuildPlanStrategy, index 5)]
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +275
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Common.Configuration.Unity.ReferenceCollectionResolverPolicy.Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.IDependencyResolverPolicy.Resolve(IBuilderContext context) +219
   BuildUp_Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.LogWriter(IBuilderContext ) +240
 
[InvalidOperationException: The parameter traceSources could not be resolved when attempting to call constructor Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.LogWriter(System.Collections.Generic.ICollection`1[[Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.Filters.ILogFilter, Telerik.Sitefinity.Utilities, Version=4.0.565.0, Culture=neutral, PublicKeyToken=b28c218413bdf563]] filters, System.Collections.Generic.ICollection`1[[Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.LogSource, Telerik.Sitefinity.Utilities, Version=4.0.565.0, Culture=neutral, PublicKeyToken=b28c218413bdf563]] traceSources, Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.LogSource allEventsTraceSource, Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.LogSource notProcessedTraceSource, Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.LogSource errorsTraceSource, System.String defaultCategory, System.Boolean tracingEnabled, System.Boolean logWarningsWhenNoCategoriesMatch).]
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForResolutionFailed(Exception inner, String parameterName, String constructorSignature, IBuilderContext context) +140
   BuildUp_Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.LogWriter(IBuilderContext ) +954
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context) +12
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) +191
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +97
 
[BuildFailedException: The current build operation (build key Build Key[Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.LogWriter, null]) failed: The parameter traceSources could not be resolved when attempting to call constructor Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.LogWriter(System.Collections.Generic.ICollection`1[[Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.Filters.ILogFilter, Telerik.Sitefinity.Utilities, Version=4.0.565.0, Culture=neutral, PublicKeyToken=b28c218413bdf563]] filters, System.Collections.Generic.ICollection`1[[Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.LogSource, Telerik.Sitefinity.Utilities, Version=4.0.565.0, Culture=neutral, PublicKeyToken=b28c218413bdf563]] traceSources, Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.LogSource allEventsTraceSource, Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.LogSource notProcessedTraceSource, Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.LogSource errorsTraceSource, System.String defaultCategory, System.Boolean tracingEnabled, System.Boolean logWarningsWhenNoCategoriesMatch). (Strategy type BuildPlanStrategy, index 5)]
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +275
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Common.Configuration.Unity.ReferenceResolverPolicy.Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.IDependencyResolverPolicy.Resolve(IBuilderContext context) +69
   BuildUp_Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.Logging.LoggingExceptionHandler(IBuilderContext ) +742
 
[InvalidOperationException: The parameter writer could not be resolved when attempting to call constructor Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.Logging.LoggingExceptionHandler(System.String logCategory, System.Int32 eventId, System.Diagnostics.TraceEventType severity, System.String title, System.Int32 priority, System.Type formatterType, Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.LogWriter writer).]
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForResolutionFailed(Exception inner, String parameterName, String constructorSignature, IBuilderContext context) +140
   BuildUp_Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.Logging.LoggingExceptionHandler(IBuilderContext ) +881
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context) +12
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) +191
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +97
 
[BuildFailedException: The current build operation (build key Build Key[Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.Logging.LoggingExceptionHandler, 4987b2e3-9b60-44c0-9c6d-797dcf5d58c5Logging Handler]) failed: The parameter writer could not be resolved when attempting to call constructor Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.Logging.LoggingExceptionHandler(System.String logCategory, System.Int32 eventId, System.Diagnostics.TraceEventType severity, System.String title, System.Int32 priority, System.Type formatterType, Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Logging.LogWriter writer). (Strategy type BuildPlanStrategy, index 5)]
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +275
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Common.Configuration.Unity.ReferenceCollectionResolverPolicy.Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.IDependencyResolverPolicy.Resolve(IBuilderContext context) +219
   BuildUp_Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyEntry(IBuilderContext ) +250
 
[InvalidOperationException: The parameter handlers could not be resolved when attempting to call constructor Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyEntry(Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.PostHandlingAction postHandlingAction, System.Collections.Generic.ICollection`1[[Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.IExceptionHandler, Telerik.Sitefinity.Utilities, Version=4.0.565.0, Culture=neutral, PublicKeyToken=b28c218413bdf563]] handlers).]
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForResolutionFailed(Exception inner, String parameterName, String constructorSignature, IBuilderContext context) +140
   BuildUp_Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyEntry(IBuilderContext ) +328
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context) +12
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) +191
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +97
 
[BuildFailedException: The current build operation (build key Build Key[Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyEntry, 4005da2a-77c5-4500-b5d5-7dab75885e8aException]) failed: The parameter handlers could not be resolved when attempting to call constructor Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyEntry(Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.PostHandlingAction postHandlingAction, System.Collections.Generic.ICollection`1[[Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.IExceptionHandler, Telerik.Sitefinity.Utilities, Version=4.0.565.0, Culture=neutral, PublicKeyToken=b28c218413bdf563]] handlers). (Strategy type BuildPlanStrategy, index 5)]
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +275
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Common.Configuration.Unity.ReferenceDictionaryResolverPolicy`3.Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.IDependencyResolverPolicy.Resolve(IBuilderContext context) +305
   BuildUp_Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyImpl(IBuilderContext ) +257
 
[InvalidOperationException: The parameter policyEntries could not be resolved when attempting to call constructor Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyImpl(System.String policyName, System.Collections.Generic.Dictionary`2[[System.Type, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyEntry, Telerik.Sitefinity.Utilities, Version=4.0.565.0, Culture=neutral, PublicKeyToken=b28c218413bdf563]] policyEntries).]
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForResolutionFailed(Exception inner, String parameterName, String constructorSignature, IBuilderContext context) +140
   BuildUp_Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyImpl(IBuilderContext ) +353
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context) +12
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) +191
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +97
 
[BuildFailedException: The current build operation (build key Build Key[Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyImpl, Global]) failed: The parameter policyEntries could not be resolved when attempting to call constructor Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyImpl(System.String policyName, System.Collections.Generic.Dictionary`2[[System.Type, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyEntry, Telerik.Sitefinity.Utilities, Version=4.0.565.0, Culture=neutral, PublicKeyToken=b28c218413bdf563]] policyEntries). (Strategy type BuildPlanStrategy, index 5)]
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +275
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Common.Configuration.Unity.ReferenceDictionaryResolverPolicy`3.Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.IDependencyResolverPolicy.Resolve(IBuilderContext context) +305
   BuildUp_Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.ExceptionManagerImpl(IBuilderContext ) +158
 
[InvalidOperationException: The parameter exceptionPolicies could not be resolved when attempting to call constructor Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.ExceptionManagerImpl(System.Collections.Generic.IDictionary`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyImpl, Telerik.Sitefinity.Utilities, Version=4.0.565.0, Culture=neutral, PublicKeyToken=b28c218413bdf563]] exceptionPolicies).]
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForResolutionFailed(Exception inner, String parameterName, String constructorSignature, IBuilderContext context) +140
   BuildUp_Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.ExceptionManagerImpl(IBuilderContext ) +235
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context) +12
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) +191
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +97
 
[BuildFailedException: The current build operation (build key Build Key[Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.ExceptionManagerImpl, null]) failed: The parameter exceptionPolicies could not be resolved when attempting to call constructor Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.ExceptionManagerImpl(System.Collections.Generic.IDictionary`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyImpl, Telerik.Sitefinity.Utilities, Version=4.0.565.0, Culture=neutral, PublicKeyToken=b28c218413bdf563]] exceptionPolicies). (Strategy type BuildPlanStrategy, index 5)]
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) +275
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ObjectBuilder2.Builder.BuildUp(IReadWriteLocator locator, ILifetimeContainer lifetime, IPolicyList policies, IStrategyChain strategies, Object buildKey, Object existing) +59
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name) +182
 
[ResolutionFailedException: Resolution of the dependency failed, type = "Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.ExceptionManager", name = "". Exception message is: The current build operation (build key Build Key[Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.ExceptionManagerImpl, null]) failed: The parameter exceptionPolicies could not be resolved when attempting to call constructor Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.ExceptionManagerImpl(System.Collections.Generic.IDictionary`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyImpl, Telerik.Sitefinity.Utilities, Version=4.0.565.0, Culture=neutral, PublicKeyToken=b28c218413bdf563]] exceptionPolicies). (Strategy type BuildPlanStrategy, index 5)]
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name) +220
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Unity.UnityContainer.Resolve(Type t, String name) +11
   Telerik.Sitefinity.Utilities.Microsoft.EnterpriseLibrary.Unity.UnityContainerBase.Resolve() +65
   Telerik.Sitefinity.Abstractions.ObjectFactory.Resolve() +59
   Telerik.Sitefinity.Abstractions.Exceptions.get_Manager() +18
   Telerik.Sitefinity.Abstractions.Exceptions.HandleException(Exception exceptionToHandle, ExceptionPolicyName policy) +29
   Telerik.Sitefinity.Data.ManagerBase`1.InstantiateProvider(DataProviderSettings providerSettings, Type providerType, ExceptionPolicyName policy, ManagerBase`1 manager) +1304
   Telerik.Sitefinity.Data.ManagerBase`1.InstantiateProvider(DataProviderSettings providerSettings, ExceptionPolicyName policy, ManagerBase`1 manager) +100
   Telerik.Sitefinity.Data.ManagerBase`1.InstantiateProviders(ICollection`1 configProviders, ManagerBase`1 manager) +411
   Telerik.Sitefinity.Data.ManagerBase`1.Initialize() +529
   Telerik.Sitefinity.Data.ManagerBase`1..ctor(String providerName, String transactionName) +21
   Telerik.Sitefinity.Taxonomies.TaxonomyManager..ctor() +12
 
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
   System.Activator.CreateInstance() +111
   Telerik.Sitefinity.Data.ManagerBase`1.GetManager(String providerName, String transactionName) +93
   Telerik.Sitefinity.Modules.DefinitionsHelper.CreateTaxonomyLink(Guid id, String commandName, String commandArgument, WidgetBarSectionElement sidebar) +69
   Telerik.Sitefinity.Modules.GenericContent.ContentDefinitions.DefineContentBackendContentView(ConfigElement parent) +4581
   Telerik.Sitefinity.Web.UI.ContentUI.Config.ContentViewConfig.OnPropertiesLoaded() +66
   Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.LoadSection(ConfigSection section, ConfigPolicyHandler policyHandler, String policyName) +85
   Telerik.Sitefinity.Configuration.ConfigSection.Initialize(ConfigProvider provider, ConfigPolicyHandler policyHandler, String policyName, Boolean singlePolicy) +141
   Telerik.Sitefinity.Configuration.ConfigSection.Initialize(ConfigProvider provider) +13
   Telerik.Sitefinity.Configuration.Config.Get() +134
   Telerik.Sitefinity.Modules.News.NewsModule.Initialize(ModuleSettings settings) +47
   Telerik.Sitefinity.Services.SystemManager.InitializeModule(ModuleSettings settings, Boolean start) +88
   Telerik.Sitefinity.Services.SystemManager.Initialize() +614
   Telerik.Sitefinity.Abstractions.Bootstrapper.RegisterRoutes(RouteCollection routes) +984
   Telerik.Sitefinity.Abstractions.Bootstrapper.Bootstrap() +76
   Telerik.Sitefinity.Web.SitefinityHttpModule.Init(HttpApplication context) +24
   System.Web.Routing.UrlRoutingModule.System.Web.IHttpModule.Init(HttpApplication application) +7
   System.Web.HttpApplication.InitModulesCommon() +65
   System.Web.HttpApplication.InitModules() +43
   System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +729
   System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +298
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +107
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +289
 
 
Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3614

Posted by Community Admin on 29-Aug-2010 00:00

Hello Chris,

Please take a look at this post.

Regards,
Ivan Dimitrov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 30-Aug-2010 00:00

Thank you but when I try to follow along with what the guy shows in that video I get an error when trying to create a new project from sitefinity's project manager.

I set up a new website in IIS (unlike the video, I am using Windows Server 2003 and IIS 6)
I create a new database in SQL Server Management Studio
Then I open Sitefinity Project Manager - I click 'Create New Project'
I select HTTP for location - then I click browse, and select IIS
I select my new website that is listed under IIS and click OK

But then I'm given an error that reads:
Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the appliction will close immediately.

Site: Test does not exist.

Details are:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
 
************** Exception Text **************
System.Exception: Site: Test does not exist.
   at Sitefinity.ProjectManager.Deployment.LocalIIS.IIS6Provider.GetAppBrowseInfo(Site parent, String path)
   at Sitefinity.ProjectManager.Controls.IisBrowser.IisBrowserControl.get_ProjLocation()
   at Sitefinity.ProjectManager.UI.Controls.BrowseLocationDialog.get_BrowseResult()
   at Sitefinity.ProjectManager.UI.CreateProjectGeneralPage.btnBrowse_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 
 
************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3615 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Sitefinity
    Assembly Version: 4.0.565.0
    Win32 Version: 4.0.565.0
    CodeBase: file:///C:/Documents%20and%20Settings/Administrator/Desktop/Sitefinity_4_0_BETA.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3614 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.1 built by: SP
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.DirectoryServices
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.DirectoryServices/2.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll
----------------------------------------
 
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
 
For example:
 
<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>
 
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Clicking continue brings me back to the Create New Project Wizard with no information entered. Clicking Quit closes the project manager.

What should I do?

Posted by Community Admin on 30-Aug-2010 00:00

Hello Chris,

Can you try the same by following the attached video? Do you get the same error?

Best wishes,
Radoslav Georgiev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 30-Aug-2010 00:00

I tried following your attached video, but now I get a new error.

I click Create New Project
I click Browse...
I choose IIS select my 'Default Web Site' and the I click Create, give it a name and a path. I click OK.
I click OK on the Choose Location window.
I give the project a name and click next, leaving it as evaluation mode I click next again, then Finish.
almost immediately I get a huge error screen, I've attached an image of the error message. It begins with FileNotFoundException

clicking OK on the error screen brings me back to the Project Manager with my projects status listed as "Corrupted"

Posted by Community Admin on 30-Aug-2010 00:00

Hello Chris,

Try deleting the _EmptyProject directory located in the same folder as your Sitefinity Project Manager executable.

Best wishes,
Radoslav Georgiev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 30-Aug-2010 00:00

Deleting the _EmptyProject directory did allow me to create new projects from the sitefinity project manager. But, now i've got a new issue.

I was able to make a new project and i am able to navigate to the Project Startup page. I'm then asked for my database information. Using Windows Authentication as my login (which has full rights to the database) and entering my database's information, I click continue and sitefinity thinks for a few seconds before presenting me with another massive permission denied error, only this one is different from my original.

Server Error in '/sitefinity4' Application.
--------------------------------------------------------------------------------
 
CREATE DATABASE permission denied in database 'master'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
 
Exception Details: Telerik.OpenAccess.RT.sql.SQLException: CREATE DATABASE permission denied in database 'master'.
 
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:
 
 
[SQLException: CREATE DATABASE permission denied in database 'master'.]
   Telerik.OpenAccess.RT.Adonet2Generic.Impl.StatementImp.executeUpdate(String sql) +196
   Telerik.OpenAccess.RT.Adonet2Generic.Impl.StatementImp.execute(String sql) +5
   OpenAccessRuntime.DataObjects.tools.ant.DataObjectsTaskBase.ExecuteSqlScript(String script, Connection con, SqlDriver sqlDriver, Boolean noShredder) +279
 
[OpenAccessException: SQL exception on 'CREATE DATABASE sitefinity4' : CREATE DATABASE permission denied in database 'master'.]
   Telerik.OpenAccess.SPI.Backends.ThrowException(Exception e) +4
   Telerik.OpenAccess.RT.ExceptionWrapper.Throw() +14
   OpenAccessRuntime.DataObjects.tools.ant.DataObjectsTaskBase.throwBuildException(String str, Exception e) +32
   OpenAccessRuntime.DataObjects.tools.ant.DataObjectsTaskBase.ExecuteSqlScript(String script, Connection con, SqlDriver sqlDriver, Boolean noShredder) +331
   OpenAccessRuntime.DataObjects.tools.ant.DatabaseCreationTask.createDatabase() +1037
 
[OpenAccessException: Telerik.OpenAccess.OpenAccessException: SQL exception on 'CREATE DATABASE sitefinity4' : CREATE DATABASE permission denied in database 'master'.]
   Telerik.OpenAccess.SPI.Backends.ThrowException(Exception e) +4
   Telerik.OpenAccess.RT.ExceptionWrapper.Throw() +14
   OpenAccessRuntime.DataObjects.tools.ant.DataObjectsTaskBase.throwBuildException(String str, Exception e) +32
   OpenAccessRuntime.DataObjects.tools.ant.DatabaseCreationTask.createDatabase() +1099
   OpenAccessRuntime.DataObjects.tools.ant.DatabaseCreationTask.execute() +5
   Telerik.OpenAccess.RT.OpenAccessSchemaAdapter.CreateDatabase(Boolean checkOnly) +337
   Telerik.OpenAccess.SchemaHandlerImpl.Telerik.OpenAccess.ISchemaHandler.CreateDatabase() +55
   Telerik.Sitefinity.Data.Decorators.OpenAccessDecorator.UpgradeDatabase(Database db) +33
   Telerik.Sitefinity.Data.Metadata.OAMetadataLoader.Init(String connectionName, String connectionConfig, Assembly[] references, CultureInfo[] cultures) +283
   Telerik.Sitefinity.Data.Decorators.OpenAccessDecorator.SetDynamicFields(String connName, XElement config, Assembly[] references, CultureInfo[] cultures, XNamespace xmlns) +577
   Telerik.Sitefinity.Data.Decorators.OpenAccessDecorator.ParseConnectionString(String connectionStringName, String key, Assembly[] references, CultureInfo[] cultures) +2657
   Telerik.Sitefinity.Data.Decorators.OpenAccessDecorator.EstablishConnection(String connName, String key, Assembly[] references, CultureInfo[] cultures) +21
   Telerik.Sitefinity.Data.Decorators.OpenAccessDecorator.GetDatabase(String connectionStringName, Assembly[]& references, CultureInfo[] cultures, Boolean& requiresReset) +98
   Telerik.Sitefinity.Data.Decorators.OpenAccessDecorator.InitializeProvider(IOpenAccessDataProvider provider, String connectionName) +90
   Telerik.Sitefinity.Data.Decorators.OpenAccessDecorator.InitializeDatabase(DataProviderBase dataProvider, NameValueCollection config) +76
   Telerik.Sitefinity.Data.Decorators.OpenAccessDecorator.Initialize(String providerName, NameValueCollection config, Type managerType) +18
   Telerik.Sitefinity.Data.DataProviderBase.Initialize(String providerName, NameValueCollection config, Type managerType, Boolean initializeDecorator) +727
   Telerik.Sitefinity.Data.DataProviderBase.Initialize(String providerName, NameValueCollection config, Type managerType) +18
   Telerik.Sitefinity.Web.UI.Backend.StartupWizard.CreateInstantProvider(String providerName, String connectionString, ConfigElementDictionary`2 providers) +605
   Telerik.Sitefinity.Web.UI.Backend.StartupWizard.GetRoleProvider() +63
   Telerik.Sitefinity.Web.UI.Backend.AdministratorPane.ValidateMembership() +21
   Telerik.Sitefinity.Web.UI.Backend.AdministratorPane.RaisePostBackEvent(String eventArgument) +45
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
 
  
 
 
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3614

What should I try next?

Posted by Community Admin on 30-Aug-2010 00:00

Also now that i've closed and re-opened project manager my site now has the status of 'Connecting' which never goes away, which makes me unable to click Go to Administration. Trying to navigate to the pages in IE via my history still works.

Posted by Community Admin on 30-Aug-2010 00:00

Also to note that my IIS user is already Local Server and when trying to connect to the database as user sa I get this same error. I also get this error even if I use a jibberish password which would make me think that it isn't even trying to authenticate when i use a real and privileged user account.

Posted by Community Admin on 31-Aug-2010 00:00

Hi Chris,

The same error occurred when I tried to install on IIS and the DefaultAppPool for IntegratedPipline was using NetworkServices identity, when the identity LocalSystem was used the database created successfully.

Regards,

Neil

Posted by Community Admin on 31-Aug-2010 00:00

Hello,

The problem is in the database user and identity you have set to run the website

CREATE DATABASE permission denied in database 'master'.]

Kind regards,
Ivan Dimitrov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 31-Aug-2010 00:00

Ok, thanks to all the guidance provided here I was able to get my website working and running through IIS 6 on Windows Server 2003. I'm hoping that the hang ups I ran into will be addressed and fixed before the official release. I've tried to compile the issues I ran into.

I was unable to use any website set up in IIS 6 other than by making a virtual site under the Default Web Site. Attempting to use any other site already setup in IIS 6 resulted in a message that the site was not found.
Inherited folder permissions from parent folders can cause access denied errors after sitefinity4 installs.
If sitefinity project manager is closed and reopened, the status of a site get stuck at 'Connecting'.
Sitefinity4 running through IIS6 requires that the DefaultAppPool be run as Local System, instead of it's default NetworkService.
Attempting to create a site using the sitefinity project manager will result in an error unless the _EmptyProjects folder is manually deleted from the directory containing the sitefinity project manager exe.


Posted by Community Admin on 02-Sep-2010 00:00

Hello Chris,

Thank you for getting back to us.

We are looking into folder permissions and see if there is a way to set up the site without inheriting permissions.

The issue with IIS 6.0 and sites other than the default one is also on our list for fixing.

Sitefinity does not require you to change the application pool identity. The problem comes when your identity account does not have permissions to create databases in the SQL server when using Windows Authentication for DB connection. Since you choose to let Sitefinity create the DB for you must use identity which has sufficient permissions. I hope that you understand that this is not something coming from Sitefinity. On the other hand if you use SQL authentication you can log in with an SQL user with sufficient rights too.

The issue with the _EmptyProject does not manifest always - if you have the Sitefinity.exe file in a location different than a downloads directory or the desktop you will not encounter the problem. Renaming the .exe file also causes this. We are trying to resolve this, however we are yet to find a solution for this issue.

Greetings,
Radoslav Georgiev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 06-Sep-2010 00:00

I faced the same error in image attached by Chris when creating second project.
Deleting _EmptyProjects folder worked and I was able to create second project.
Note: That happed when I had SF.exe in folder ..\Desktop\SiteFinity/ and also when I downloaded it on C:\SiteFinity\
And to add... I am also seeing the Status as Connecting on re-opening the SF project manager.

Posted by Community Admin on 26-Nov-2010 00:00

Hi!

I tried to set up IIS for the latest release (build 910) of Sitefinity so that I can access it remotely. I strictly followed the steps in the video posted in the second post of this thread by Ivan Dimitrov.

My problem is that accessing Sitefinity remotely is possible, but the interface is broken (image attached). The images and background colors are missing. Also I can't modify any pages. When I try to save a page as draft or publish it, I receive an error reading "Failed workflow operation." (image attached).

If I connect to the server via RDP and access Sitefinity locally everything is fine (image attached). Do you have any ideas what could be causing these problems?

I'm running Windows Server 2003 SP2, SQL Server 2005 and IIS 6. Thanks in advance for your help!

Best wishes,
David Knittl
 

Posted by Community Admin on 26-Nov-2010 00:00

Hi David,

Thank you for using our services.

It seems that there is some problem with the configuration of your IIS server since it is loading everything fine on the local site. Cam you please inspect the permissions for the Network Service account (your application pool's identity) if it has sufficient permissions over the website's folder structure. It should have at least read rights over the entire website structure and it should have full control over the ~/App_Data directory and its contents. Also when viewing the website remotely please try using FireBug or Fiddler to inspect why the styles are not loading (what is the error response from the requests to those resources).

Regarding the workflow, please make sure that your website has an extension mapping for the .xamlx extension pointing to the aspnet_isapi.dll, refer to attached image. Also make sure that you have the wildcard extension mapping configured as well.

Greetings,
Radoslav Georgiev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed