Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: System.UnauthorizedAccessException when creating Global Data Type

$
0
0
Hi,
I am trying to setup Composite C1(v4.0 beta2) at Surftown. I have almost managed to get everything working. The issue I have is when I am trying to create new Global Data Types, it fails with a System.UnauthorizedAccessException exception.
I have used the following, http://surftown.dk/support/hvordan-tilfojer-jeg-skriverettigheder-networkservice-pa-iis7 (danish), to give the network service account write access to the whole website, but that is obviously not enough. This is the complete stack trace:
      System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.   at System.Security.AccessControl.Win32.SetSecurityInfo(ResourceType type, String name, SafeHandle handle, SecurityInfos securityInformation, SecurityIdentifier owner, SecurityIdentifier group, GenericAcl sacl, GenericAcl dacl)   at System.Security.AccessControl.NativeObjectSecurity.Persist(String name, SafeHandle handle, AccessControlSections includeSections, Object exceptionContext)   at System.Security.AccessControl.NativeObjectSecurity.Persist(String name, AccessControlSections includeSections, Object exceptionContext)   at System.Security.AccessControl.NativeObjectSecurity.Persist(String name, AccessControlSections includeSections)   at System.Security.AccessControl.FileSystemSecurity.Persist(String fullPath)   at System.IO.File.SetAccessControl(String path, FileSecurity fileSecurity)   at System.Configuration.Internal.WriteFileContext.DuplicateTemplateAttributes(String source, String destination)   at System.Configuration.Internal.WriteFileContext.DuplicateFileAttributes(String source, String destination)   at System.Configuration.Internal.WriteFileContext.Complete(String filename, Boolean success)   at System.Configuration.Internal.InternalConfigHost.StaticWriteCompleted(String streamName, Boolean success, Object writeContext, Boolean assertPermissions)   at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext, Boolean assertPermissions)   at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext)   at System.Configuration.Internal.DelegatingConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext)   at System.Configuration.UpdateConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext)   at System.Configuration.MgmtConfigurationRecord.SaveAs(String filename, ConfigurationSaveMode saveMode, Boolean forceUpdateAll)   at System.Configuration.Configuration.SaveAsImpl(String filename, ConfigurationSaveMode saveMode, Boolean forceSaveAll)   at Composite.Plugins.IO.IOProviders.LocalIOProvider.LocalC1Configuration.Save()   at Composite.Core.Implementation.C1ConfigurationImplementation.Save()   at Composite.Plugins.Data.DataProviders.XmlDataProvider.Foundation.InterfaceConfigurationManipulator.AddNew(String providerName, DataTypeDescriptor dataTypeDescriptor)   at Composite.Plugins.Data.DataProviders.XmlDataProvider.XmlDataProvider.CreateStore(DataTypeDescriptor dataTypeDescriptor)   at Composite.Data.Foundation.PluginFacades.DataProviderPluginFacade.CreateStore(String providerName, DataTypeDescriptor typeDescriptor)   at Composite.Data.DynamicTypes.DynamicTypeManagerImpl.CreateStore(String providerName, DataTypeDescriptor typeDescriptor, Boolean doFlush)   at Composite.Data.GeneratedTypes.GeneratedTypesFacadeImpl.GenerateNewType(String providerName, DataTypeDescriptor dataTypeDescriptor, Boolean makeAFlush)   at Composite.Data.GeneratedTypes.GeneratedTypesFacade.GenerateNewType(String providerName, DataTypeDescriptor dataTypeDescriptor, Boolean makeAFlush)   at Composite.Data.GeneratedTypes.GeneratedTypesHelper.CreateType(Boolean originalTypeHasData)   at Composite.Plugins.Elements.ElementProviders.GeneratedDataTypesElementProvider.AddNewInterfaceTypeWorkflow.codeActivity1_ExecuteCode(Object sender, EventArgs e)
Any help is appreciated.

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>