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

Activities of "maharatha"

When I am using the RAD tool to create an entity it's throwing issue in Swagger :

Failed to load API definition.

Any ideas?

Question
DEBUG 2018-05-03 21:31:32,314 [1    ] Abp.Modules.AbpModuleManager             - Loading Abp modules...
FATAL 2018-05-03 21:31:32,970 [1    ] Abp.AbpBootstrapper                      - System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\home\site\wwwroot\Plugins'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileSystemEnumerableIterator`1.CommonInit()
   at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   at System.IO.Directory.EnumerateFiles(String path, String searchPattern, SearchOption searchOption)
   at Abp.Reflection.AssemblyHelper.GetAllAssembliesInFolder(String folderPath, SearchOption searchOption)
   at Abp.PlugIns.FolderPlugInSource.LoadAssemblies()
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at System.Lazy`1.get_Value()
   at Abp.PlugIns.FolderPlugInSource.GetModules()
   at Abp.PlugIns.PlugInSourceExtensions.GetModulesWithAllDependencies(IPlugInSource plugInSource)
   at Abp.PlugIns.PlugInSourceList.<>c.<GetAllModules>b__1_0(IPlugInSource pluginSource)
   at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()
   at System.Linq.Enumerable.&lt;DistinctIterator&gt;d__64`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Abp.PlugIns.PlugInSourceList.GetAllModules()
   at Abp.Modules.AbpModuleManager.FindAllModuleTypes(List`1& plugInModuleTypes)
   at Abp.Modules.AbpModuleManager.LoadAllModules()
   at Abp.Modules.AbpModuleManager.Initialize(Type startupModule)
   at Abp.AbpBootstrapper.Initialize()
System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\home\site\wwwroot\Plugins'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileSystemEnumerableIterator`1.CommonInit()
   at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   at System.IO.Directory.EnumerateFiles(String path, String searchPattern, SearchOption searchOption)
   at Abp.Reflection.AssemblyHelper.GetAllAssembliesInFolder(String folderPath, SearchOption searchOption)
   at Abp.PlugIns.FolderPlugInSource.LoadAssemblies()
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at System.Lazy`1.get_Value()
   at Abp.PlugIns.FolderPlugInSource.GetModules()
   at Abp.PlugIns.PlugInSourceExtensions.GetModulesWithAllDependencies(IPlugInSource plugInSource)
   at Abp.PlugIns.PlugInSourceList.<>c.<GetAllModules>b__1_0(IPlugInSource pluginSource)
   at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()
   at System.Linq.Enumerable.&lt;DistinctIterator&gt;d__64`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Abp.PlugIns.PlugInSourceList.GetAllModules()
   at Abp.Modules.AbpModuleManager.FindAllModuleTypes(List`1& plugInModuleTypes)
   at Abp.Modules.AbpModuleManager.LoadAllModules()
   at Abp.Modules.AbpModuleManager.Initialize(Type startupModule)
   at Abp.AbpBootstrapper.Initialize()
FATAL 2018-05-03 21:31:33,064 [1    ] soft.AspNetCore.Hosting.Internal.WebHost - Application startup exception
System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\home\site\wwwroot\Plugins'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileSystemEnumerableIterator`1.CommonInit()
   at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   at System.IO.Directory.EnumerateFiles(String path, String searchPattern, SearchOption searchOption)
   at Abp.Reflection.AssemblyHelper.GetAllAssembliesInFolder(String folderPath, SearchOption searchOption)
   at Abp.PlugIns.FolderPlugInSource.LoadAssemblies()
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at System.Lazy`1.get_Value()
   at Abp.PlugIns.FolderPlugInSource.GetModules()
   at Abp.PlugIns.PlugInSourceExtensions.GetModulesWithAllDependencies(IPlugInSource plugInSource)
   at Abp.PlugIns.PlugInSourceList.<>c.<GetAllModules>b__1_0(IPlugInSource pluginSource)
   at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()
   at System.Linq.Enumerable.&lt;DistinctIterator&gt;d__64`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Abp.PlugIns.PlugInSourceList.GetAllModules()
   at Abp.Modules.AbpModuleManager.FindAllModuleTypes(List`1& plugInModuleTypes)
   at Abp.Modules.AbpModuleManager.LoadAllModules()
   at Abp.Modules.AbpModuleManager.Initialize(Type startupModule)
   at Abp.AbpBootstrapper.Initialize()
   at Abp.AspNetCore.AbpApplicationBuilderExtensions.InitializeAbp(IApplicationBuilder app)
   at Abp.AspNetCore.AbpApplicationBuilderExtensions.UseAbp(IApplicationBuilder app, Action`1 optionsAction)
   at DOCUHOLD.EDRMS.Web.Startup.Startup.Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)
   at Microsoft.AspNetCore.Server.IISIntegration.IISSetupFilter.&lt;&gt;c__DisplayClass3_0.&lt;Configure&gt;b__0(IApplicationBuilder app)
   at Microsoft.AspNetCore.Hosting.Internal.AutoRequestServicesStartupFilter.&lt;&gt;c__DisplayClass0_0.&lt;Configure&gt;b__0(IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
INFO  2018-05-03 21:31:33,954 [8    ] soft.AspNetCore.Hosting.Internal.WebHost -

Please help

Hi -

I am creating a new database for each tenant. I would like to delete the database once the tenant is deleted. Where and what is the best way to implement this ?

Hi -

I have hosted my app on Azure. I have hosted the WebUi and WebAPI on separate servers. I had initially enabled CORS in Azure for WebAPI hosting as result the Chat didn't work. So i completely removed that setting and added the list to the CORS white list in appsetting.

After doing so the Chat functionality started working . When I click on the Tenant Menu at the host login , the tenant doesn't load initially but when you change the Edition Filter and then select Assigned or Not Assigned the tenant grid loads fine. When you move back to All then also it works fine. Below is the error message from Chrome developer tool :

Failed to load <a class="postlink" href="http://xxx.api.yyyy.com/api/services/app/Tenant/GetTenants?Filter=&EditionIdSpecified=false&MaxResultCount=10&SkipCount=0">http://xxx.api.yyyy.com/api/services/ap ... kipCount=0</a>: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://xxx.yyyy.com' is therefore not allowed access. The response had HTTP status code 400.

<a class="postlink" href="http://xxx.api.yyyy.com">http://xxx.api.yyyy.com</a> : This is the API hosting details

<a class="postlink" href="http://xxx.yyyy.com'">http://xxx.yyyy.com'</a> : This is the WebUi details

Note : This is only happening in the Tenant grid, rest all works fine.

Question

Hi -

We are planning to use token based authentication using Auth0 or similar provider.

Can you guide how to approach along with the Aspnet zero ?

Hi -

I am trying to upgarde to v2.0.0-rc2 and below are the two issues :

The return type of

CreateAsync(tenant)

has changed to Void. Any reason for this ?

and

throw _abpLoginResultTypeHelper.CreateExceptionForFailedLoginAttempt(loginResult.Result , usernameOrEmailAddress, tenancyName); to 

throw _abpLoginResultTypeHelper.CreateExceptionForFailedLoginAttempt(loginResult, usernameOrEmailAddress, tenancyName);
Question

I am currently working on a Roll back Strategy and this is what I am currently doing.

I am making changes to the migrator tool . First of all I am getting the last migration applied :

var query = "select top 1 MigrationId from __MigrationHistory order by LEFT(MigrationId, 15) desc"; var migrationId = context.Database.SqlQuery<string>(query).FirstOrDefault();

I somehow have to apply this migration if something goes wrong. Something like :

_migrator.RollbackForHost(migrationid);

Can you help me on this ?

I am trying to use th epredicate builder : <a class="postlink" href="http://www.albahari.com/nutshell/predicatebuilder.aspx">http://www.albahari.com/nutshell/predicatebuilder.aspx</a>

How can I use with Abp ?

If you look at the below image the icons are not loading for the menu and JqTable because the referencing si wrong.

We haven't made any changes any where.

When I use <a class="postlink" href="http://localhost:6240">http://localhost:6240</a> it works but when I host it it <a class="postlink" href="http://x.x.x.x/ABCDEV/">http://x.x.x.x/ABCDEV/</a> the icon doesn't load.

The image referencing is probably wrong.

I am having the below issue when I run the MVC code for ASPNET Zero :

#1757@00e46c38-8cc3-4d0f-881e-dbcc386d0552

It works in local host but but it doesn't work when hosted. I used the same database for local host and hosted url as well.

Please provide a solution asap, as I am kind of stuck.

Showing 61 to 70 of 120 entries