Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "kythor"

Answer

I'm a bit confused by this.

I have a custom entity Article inheriting FullAuditedEntity. So the fields CreatorUserId,... are created in the db. Now I want to get a list of articles, showing the Creator User Name in the list.

So do I add this to ArticleListDto:

public FullAuditedEntity<int, User> CreationUser { get; set; }

??

Hi,

I'm trying to use CKEditor for a textarea field inside a Modal form. Everything is working fine, but when I try to add an image to the ckeditor field, a new popup is created to edit the image properties, but the fields are not editable. I have been searching a lot, but cant come up with a good solution. Can you guys help me with this?

Now I'm getting: "attempted to access an unloaded appdomain"...

I followed these instructions, but still get errors. I'm using the IP Address in my connectionstring, but tools like DTCPing require Netbios name. Could that be an issue?

Oh, and when I set breakpoints in the code and do an F5 while first receiving the error, the second time it runs the code without problem, but doesnt load the view (still showing the error)....

while debugging, whenever I try to login with a user from the separate tenant db, I get this error:

'The underlying provider failed on Open'

why?

I have added the fields to the tenant db that were missing. And in production everything works fine. But when I'm debugging, I get this error

thanks for the info. I will try your suggestion.

Now I reverted the last 2 migrations, effectifly removing the new fields from the host database. everytime running Migrator to be sure the tenant db's are on the same version.

When re-adding the migration to add the fields, they are added to the host db. Running Migrator now without problems, but the fields are NOT added to the tenant db.....

It must have something to do when I first added the last modification, I forgot to actually change the entity. Did not yet used Update-Database. I changed the entity, and used Add-Migration "" -force, using the same migration name. Update-Databse works, but nog migrator.

Now I added an empty migration again, update-database, and the migrator works. But now the new fields of the previous migration are not added to the tenant db.

now what?

I just updated the User entity with some custom profile fields. I have done this before without problems. Add-Migration, Update-Database and after that start the Migrator to update the tenant databases.

But now suddenly when using the Migrator I get an error saying there are still Pending Changes. But there aren't. The host database contains the new fields.

What am I missing here?

Doh! stupid me... that's what you get when mixing dll's... :oops:

Showing 91 to 100 of 129 entries