Ok, got it
adminUser = User.CreateTenantAdminUser(_tenantId, "[email protected]","123qwe");
Instead of using DefaultPassword. Should I raise an issue, fix it on github ?
In my case , I got this exception because I was not adding a Module. I copied the one from the generated test project, and it worked.
I was thinking it was unneeded for testing an application services, seems I was wrong.
<cite>joemo: </cite> If its the log4net file thats locking, I had the same problem. You can get around it by adding this line to log4net.config before the </appender> line:-
<lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
Thanks !
I get this error
[ComponentNotFoundException: No component for supporting the service Elmah.Mvc.ElmahController was found]
Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, IDictionary arguments, IReleasePolicy policy) +99
which I solved using this : <a class="postlink" href="http://stackoverflow.com/a/13573059/130420">http://stackoverflow.com/a/13573059/130420</a>
Elmah being a very useful / used component, you should add it to the documentation I think.
As soon as I set
Configuration.MultiTenancy.IsEnabled = false;
I can't log anymore, using the admin account and the default password
I'm just using a basic, just created - project (I just changed the default password, but it work when multitenancy is enabled)
Everytime I deploy to Azure AND the application is running (in Azure), I got an error "Web deployment task failed") because it can't suppress Logs.txt (locked by a process)
I can change by removing the "Suppress extra files during publish", but it seems to me that having the logs.txt file locked is wrong.
I'm starting to believe it's quite had to use ABP out of its comfort zone. Then, I don't think my problem is specific to ABP :)
I tried to make it using MySql : first, I had to apply <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero/issues/77">https://github.com/aspnetboilerplate/mo ... /issues/77</a> (after fixing it since the ABP code seems to have evolved), and now I'm stuck on an error during migration :
alter table AbpPermissions
drop index IX_UserId
MySql.Data.MySqlClient.MySqlException (0x80004005): Cannot drop index 'IX_UserId': needed in a foreign key constraint
I assume I can fix it using <a class="postlink" href="http://stackoverflow.com/a/8482400">http://stackoverflow.com/a/8482400</a> but there's a lot of fk to remove. I'm going to try to create a single migration files and see it's better handled by mysql
Since Azure is offering free hosting for 4.6 webapp, I'm sure you should get back to your roadmap (especially since your upgrade reason (preparing for Core) is more relevant each new day)
(fun story : created a template this morning, trying at noon to update it, and discovering you created a new template 4h hours ago)
Thanks for your work !
I'm a bit surprised at this bit "What’s New? Moved to .NET 4.6.1"
When the templates projects created by the website are 4.5.2
Is it possible to use Elmah ?
I assume it should be possible to use AbpHandledExceptionData to keep the ABP error way and manually log in Elmah (I 'm interested in accessing the Elmah page and its exception display), but I was not able to go very far.
thanks,