Default I have App in we.MVC project, I want also Admin too I have version the latest ASP.NET Core MVC & jQuery Project ver v7.x
How do I add Add another area?
I have added Swedish language, it works well, but in the login page if I write wrong login/password the error message is english. How to translate that?
Error message show
DefaultError
DefaultErrorDetail
Im using ASP:NET MVC 5 x Jquery
When I run on my hosted SQL server and localhost from Visual Studio 2017 i got error see below I can change password but but never log in. If I use the same database local everything works good!
Im running v2.x on my hosted SQL Server 2016 and Webb server and that work well Any suggestions?
System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.Transactions.TransactionManagerCommunicationException: Network access for Distributed Transaction Manager (MSDTC) has been disabled. Please enable DTC for network access in the security configuration for MSDTC using the Component Services Administrative tool. ---> System.Runtime.InteropServices.COMException: Transaktionshanteraren har inaktiverat sitt stöd för fjärr- och nätverkstransaktioner. (Exception from HRESULT: 0x8004D024)
at System.Transactions.Oletx.IDtcProxyShimFactory.ReceiveTransaction(UInt32 propgationTokenSize, Byte[] propgationToken, IntPtr managedIdentifier, Guid& transactionIdentifier, OletxTransactionIsolationLevel& isolationLevel, ITransactionShim& transactionShim)
at System.Transactions.TransactionInterop.GetOletxTransactionFromTransmitterPropigationToken(Byte[] propagationToken)
--- End of inner exception stack trace ---
at System.Transactions.Oletx.OletxTransactionManager.ProxyException(COMException comException)
at System.Transactions.TransactionInterop.GetOletxTransactionFromTransmitterPropigationToken(Byte[] propagationToken)
at System.Transactions.TransactionStatePSPEOperation.PSPEPromote(InternalTransaction tx)
at System.Transactions.TransactionStateDelegatedBase.EnterState(InternalTransaction tx)
at System.Transactions.EnlistableStates.Promote(InternalTransaction tx)
at System.Transactions.Transaction.Promote()
at System.Transactions.TransactionInterop.ConvertToOletxTransaction(Transaction transaction)
at System.Transactions.TransactionInterop.GetExportCookie(Transaction transaction, Byte[] whereabouts)
at System.Data.SqlClient.SqlInternalConnection.GetTransactionCookie(Transaction transaction, Byte[] whereAbouts)
at System.Data.SqlClient.SqlInternalConnection.EnlistNonNull(Transaction tx)
at System.Data.SqlClient.SqlInternalConnection.Enlist(Transaction tx)
at System.Data.SqlClient.Sq...
HTTP Error 403.0 - Required permissions are not granted. At least one of these permissions must be granted:
How to handle Authorization Exception , is there any abp client scripts ?
Im using mvc jquery
I have downloaded the lastest versions ASP.NET MVC 5.x & JQuery ASP.NET MVC 5.x & Angularjs 1.x Project version 4.5.1(latest)
After I have restored all Nugets and Updated database. I got error "netfx.force.conflicts" on both versions! I use Visual Studio 2017 15.3.4
I have tried to change some lines in Web.Config: newversion="4.011.0" to "4.0.0.0", but its still error
Any solution?
I have a problem with an error message. When creating a user with special characters, i get the following error : "User name @-_test is invalid, can only contain letters or digits". But i cant get this error message being translated.
Its translate to all languages but not Swedish, is it because Identity is not translated to Swedish?
To add a Userrole I use this( from DefaultTenantRoleAndUserBuilder.cs)
_context.UserRoles.Add(new UserRole(adminUserForDefaultTenant.Id, adminRoleForDefaultTenant.Id));
_context.SaveChanges();
But how to remove a Userrole?
I have choosed: Multi Page Web Application, Entinty Framework and Include module zero!
I cant L("Login") in Views in Areas to work, it works in the controller!
What do I missing?
I have added in the area views
public abstract class SimpleTaskSystemWebViewPageBase : SimpleTaskSystemWebViewPageBase<dynamic>
{
}
public abstract class SimpleTaskSystemWebViewPageBase<TModel> : AbpWebViewPage<TModel>
{
protected SimpleTaskSystemWebViewPageBase()
{
LocalizationSourceName = "SimpleTaskSystem";
}
}