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

Activities of "cicciottino"

Ok thanks, i supposed that!

So i did the dirty job to manage the paginator links using this jquery plugin with little effort.

Here is the link, it can be useful to someone: <a class="postlink" href="https://esimakin.github.io/twbs-pagination/">https://esimakin.github.io/twbs-pagination/</a>

What do You mean "link them togeder"? Same username for different tenants? In this way i need to logoff and logon on the other tenant, beside i have to keep the password in sync

Answer

i had this problem too and i've solved issued Update-Database command. Any idea what this problem is caused from?

the Install-Package command doesn't modify the web.config

web.config (modifying assembly version)

<dependentAssembly>
       <assemblyIdentity name="EntityFramework.DynamicFilters" publicKeyToken="146423a1b8d60775" culture="neutral" />
       
       <bindingRedirect oldVersion="0.0.0.0-2.3.0.0" newVersion="1.4.11.0" />
 </dependentAssembly>

After downgrading the EntityFramework.DynamicFilters in all project i got this error (any ideas?) Could not load file or assembly or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

sorry for the italian language

=== Informazioni sullo stato di preassociazione ===
REG: DisplayName = EntityFramework.DynamicFilters
 (Partial)
AVV: informazioni di associazione parziali specificate per un assembly:
AVV: nome assembly: EntityFramework.DynamicFilters | ID dominio: 2
AVV: un'associazione parziale si verifica quando viene specificata solo una parte del nome visualizzato dell'assembly.
AVV: ciò potrebbe determinare il caricamento di un assembly non corretto da parte del gestore di associazione.
AVV: è consigliabile specificare un'identità testuale completa per l'assembly,
AVV: costituita dal nome semplice, dalla versione, dalle impostazioni cultura e dal token di chiave pubblica.
AVV: per ulteriori informazioni e soluzioni comuni relative a questo problema, vedere il white paper http://go.microsoft.com/fwlink/?LinkId=109270.
REG: Appbase = file:///C:/Users/a.pinato/Desktop/tempate aspnet application/MaiPuiSprechi/MaiPuiSprechi.Web/
REG: PrivatePath iniziale = C:\Users\a.pinato\Desktop\tempate aspnet application\MaiPuiSprechi\MaiPuiSprechi.Web\bin
Assembly chiamante: (Unknown).
===
REG: l'associazione ha origine nel contesto di caricamento di default.
REG: utilizzo del file di configurazione dell'applicazione: C:\Users\a.pinato\Desktop\tempate aspnet application\MaiPuiSprechi\MaiPuiSprechi.Web\web.config
REG: utilizzo del file di configurazione host: C:\Users\a.pinato\Documents\IISExpress\config\aspnet.config
REG: utilizzo del file di configurazione computer da C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
REG: criteri attualmente non applicati al riferimento (associazione di assembly privati, personalizzati, parziali o basati su percorsi).
REG: tentativo di download del nuovo URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/23b8e119/1bfe6ada/EntityFramework.DynamicFilters.DLL.
REG: tentativo di download del nuovo URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/23b8e119/1bfe6ada/EntityFramework.DynamicFilters/EntityFramework.DynamicFilters.DLL.
REG: tentativo di download del nuovo URL file:///C:/Users/a.pinato/Desktop/tempate aspnet application/MaiPuiSprechi/MaiPuiSprechi.Web/bin/EntityFramework.DynamicFilters.DLL.
REG: utilizzo del file di configurazione dell'applicazione: C:\Users\a.pinato\Desktop\tempate aspnet application\MaiPuiSprechi\MaiPuiSprechi.Web\web.config
REG: utilizzo del file di configurazione host: C:\Users\a.pinato\Documents\IISExpress\config\aspnet.config
REG: utilizzo del file di configurazione computer da C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
REG: trovato reindirizzamento nel file di configurazione dell'applicazione: 1.4.11.0 reindirizzato a 2.3.0.0.
REG: riferimento post-criteri: EntityFramework.DynamicFilters, Version=2.3.0.0, Culture=neutral, PublicKeyToken=146423a1b8d60775
REG: tentativo di download del nuovo URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/23b8e119/1bfe6ada/EntityFramework.DynamicFilters.DLL.
REG: tentativo di download del nuovo URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/23b8e119/1bfe6ada/EntityFramework.DynamicFilters/EntityFramework.DynamicFilters.DLL.
REG: tentativo di download del nuovo URL file:///C:/Users/a.pinato/Desktop/tempate aspnet application/MaiPuiSprechi/MaiPuiSprechi.Web/bin/EntityFramework.DynamicFilters.DLL.
AVV: errata corrispondenza dal confronto con il nome dell'assembly: numero di versione principale
ERR: impossibile completare l'installazione dell'assembly (hr = 0x80131040). Sondaggio terminato.

Traccia dello stack: 


[FileLoadException: Impossibile caricare il file o l'assembly 'EntityFramework.DynamicFilters' o una delle relative dipendenze. La definizione di manifesto dell'assembly specificato non corrisponde al riferimento all'assembly. (Eccezione da HRESULT: 0x80131040)]

[FileLoadException: Impossibile caricare il file o l'assembly 'EntityFramework.DynamicFilters, Version=2.3.0.0, Culture=neutral, PublicKeyToken=146423a1b8d60775' o una delle relative dipendenze. La definizione di manifesto dell'assembly specificato non corrisponde al riferimento all'assembly. (Eccezione da HRESULT: 0x80131040)]
   System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
   System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +36
   System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +152
   System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) +77
   System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +21
   System.Reflection.Assembly.Load(String assemblyString) +28
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +38

[ConfigurationErrorsException: Impossibile caricare il file o l'assembly 'EntityFramework.DynamicFilters, Version=2.3.0.0, Culture=neutral, PublicKeyToken=146423a1b8d60775' o una delle relative dipendenze. La definizione di manifesto dell'assembly specificato non corrisponde al riferimento all'assembly. (Eccezione da HRESULT: 0x80131040)]
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +738
   System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +217
   System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +130
   System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +170
   System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies() +92
   System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +290
   System.Web.Compilation.BuildManager.ExecutePreAppStart() +157
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +531

[HttpException (0x80004005): Impossibile caricare il file o l'assembly 'EntityFramework.DynamicFilters, Version=2.3.0.0, Culture=neutral, PublicKeyToken=146423a1b8d60775' o una delle relative dipendenze. La definizione di manifesto dell'assembly specificato non corrisponde al riferimento all'assembly. (Eccezione da HRESULT: 0x80131040)]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9963380
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254

according to <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/1350">https://github.com/aspnetboilerplate/as ... ssues/1350</a> i tried to restore an old package with this command:

Install-Package EntityFramework.DynamicFilters -Version 1.4.11

this works only on the current selected project and not on the entire solution. Shouldn't it update all the solution if the -ProjectName parameter is not specified?

Thanks a lot, it works!

<cite>ddNils: </cite> Have you considered using

   private readonly UserManager _userManager;

in your Controller (use DI to get the actual Manager)?

in my ApplicationLayer you mean? right?

this is what i need thanks!

just a doubt: anyway this method re-query the db each time is it right?! nothing to do with cache or session

oh thanks a lot i did it quickly and easily

  1. Added the navigation properties
  2. Add-Migration
  3. Update-Database

and it's done, nice.

the AbpZeroSampleAppServiceBase.cs is an abstract class, so it can't be injected but must be only inherited, is it true? in this case the option 2) in not possible Correct me if i'm wrong, please. what about the others options?

Showing 1 to 10 of 24 entries