Hi
I published aspnetzero demo project to our test environment. When I call the web.mvc project from browser I get following error. The log file is below. There is no tempkey.rsa file in published files.
Application startup exception: System.UnauthorizedAccessException:** Access to the path 'C:\inetpub\wwwroot\dashboard\tempkey.rsa' is denied.** at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost) at Microsoft.Extensions.DependencyInjection.IdentityServerBuilderExtensionsCrypto.AddDeveloperSigningCredential(IIdentityServerBuilder builder, Boolean persistKey, String filename) at AutoSenseDemo.Web.IdentityServer.IdentityServerRegistrar.Register(IServiceCollection services, IConfigurationRoot configuration) at AutoSenseDemo.Web.Startup.Startup.ConfigureServices(IServiceCollection services) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.ConfigureServices(IServiceCollection services) at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureApplicationServices() at Microsoft.AspNetCore.Hosting.Internal.WebHost.Initialize() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication() Hosting environment: Production Content root path: C:\inetpub\wwwroot\dashboard Now listening on: http://127.0.0.1:43126 Application started. Press Ctrl+C to shut down.
Hi
I dont want to assign full permission to tenants. I created a static role which is named TenantAdmin. How can i assign permissions to this role? Should I override this method and where can i find GrantedPermissions list? There is similar questions but neither of them giving information about permission lists
public StaticRoleDefinition(string roleName, MultiTenancySides side, bool grantAllPermissionsByDefault = false)
{
RoleName = roleName;
Side = side;
GrantAllPermissionsByDefault = grantAllPermissionsByDefault;
GrantedPermissions = new List<string>();
}
Hi I just dowloaded AspnetCore MVC - Jquery 6.7 version. When I run the project I got lots of errors like below. It is brand new project. What can i do? Please help.
Refused to apply style from 'http://localhost:62114/view-resources/Areas/App/Views/_Bundles/account-layout-libs.min.css' because its MIME type ('') is not a supported stylesheet MIME type, and strict MIME checking is enabled.