Base solution for your next web application

Activities of "manojreddy"

I have licensed version, but I'm getting the below error in Visual Studio Output window.

MyCompany.MyProject.Web.Host> AspNet Zero License Check Failed. Please contact to <a href="mailto:[email protected]">[email protected]</a> if you are using a licensed version!

I'm not able to install Power Tool version 1.5.0 in Visual Studio 15.6.6.

I'm getting the below error message.

Please find the logs below.

14-05-2018 12:14:16 - Microsoft VSIX Installer 14-05-2018 12:14:16 - ------------------------------------------- 14-05-2018 12:14:16 - vsixinstaller.exe version: 14-05-2018 12:14:16 - 15.6.152+ge95e4dd1ce 14-05-2018 12:14:16 - ------------------------------------------- 14-05-2018 12:14:16 - Command line parameters: 14-05-2018 12:14:16 - C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,C:\Users\MyName\Downloads\AspNetZeroRadToolVisualStudioExtension (1).vsix 14-05-2018 12:14:16 - ------------------------------------------- 14-05-2018 12:14:16 - Microsoft VSIX Installer 14-05-2018 12:14:16 - ------------------------------------------- 14-05-2018 12:14:16 - Initializing Install... 14-05-2018 12:14:17 - Extension Details... 14-05-2018 12:14:17 - Identifier : AspNetZeroPowerTools.9906ae75-6ad5-42ef-b6fe-18e263dde53c 14-05-2018 12:14:17 - Name : ASP.NET Zero Power Tools 14-05-2018 12:14:17 - Author : Volosoft 14-05-2018 12:14:17 - Version : 1.5.0 14-05-2018 12:14:17 - Description : ASP.NET Zero Rapid Application Development tooling. 14-05-2018 12:14:17 - Locale : en-US 14-05-2018 12:14:17 - MoreInfoURL : <a class="postlink" href="https://aspnetzero.com/">https://aspnetzero.com/</a> 14-05-2018 12:14:17 - InstalledByMSI : False 14-05-2018 12:14:17 - SupportedFrameworkVersionRange : [4.5,) 14-05-2018 12:14:17 - 14-05-2018 12:14:17 - SignatureState : Unsigned 14-05-2018 12:14:17 - Supported Products : 14-05-2018 12:14:17 - Microsoft.VisualStudio.Community 14-05-2018 12:14:17 - Version : [15.0] 14-05-2018 12:14:17 - 14-05-2018 12:14:17 - References : 14-05-2018 12:14:17 - ------------------------------------------------------- 14-05-2018 12:14:17 - Identifier : Microsoft.VisualStudio.MPF.15.0 14-05-2018 12:14:17 - Name : Visual Studio MPF 15.0 14-05-2018 12:14:17 - Version : [15.0] 14-05-2018 12:14:17 - MoreInfoURL : 14-05-2018 12:14:17 - Nested : No 14-05-2018 12:14:17 - 14-05-2018 12:14:17 - Prerequisites : 14-05-2018 12:14:17 - ------------------------------------------------------- 14-05-2018 12:14:17 - Identifier : Microsoft.VisualStudio.Component.CoreEditor 14-05-2018 12:14:17 - Name : Visual Studio core editor 14-05-2018 12:14:17 - Version : [15.0,16.0) 14-05-2018 12:14:17 - 14-05-2018 12:14:17 - Signature Details... 14-05-2018 12:14:17 - Extension is not signed. 14-05-2018 12:14:17 - 14-05-2018 12:14:17 - Searching for applicable products... 14-05-2018 12:14:17 - Found installed product - Global Location 14-05-2018 12:14:17 - Found installed product - Visual Studio Professional 2017 14-05-2018 12:14:18 - System.InvalidOperationException: VSHiveStub.exe failed: PkgdefManagement failed to create application: "0x80070005". at VSIXInstaller.LocationBasedSKU.get_RegRootHiveOverride() at VSIXInstaller.SupportedVSSKU.InitializeSettingsManager() at VSIXInstaller.SupportedVSSKU.get_Host() at VSIXInstaller.SupportedVSSKU.CreateExtensionEngine() at System.Lazy1.CreateValue() at System.Lazy1.LazyInitValue() at System.Lazy1.get_Value() at VSIXInstaller.App.GetExtensionEngineForApplicableSKU(SupportedVSSKU supportedSKU, IInstallableExtension installableExtension, List1 applicableSKUs, Boolean isRepairSupported) at VSIXInstaller.App.TryAddSkuToValidSkuList(SupportedVSSKU supportedSKU, IInstallableExtension extension, List1 validSKUs, Boolean isRepairSupported) 14-05-2018 12:14:18 - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products. at VSIXInstaller.App.GetInstallableData(String vsixPath, Boolean isRepairSupported, IEnumerable1& skuData) at VSIXInstaller.App.Initialize(Boolean isRepairSupported) at VSIXInstaller.App.Initialize() at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.Tasks.Task.Execute()

When I'm trying to install it again, then it gives error message This extention is already isntalled to all applicable products. But extension cannot be found inside the Tools menu (Tools -> Asp.Net Zero -> Create An Entity).

Any updates on this?

No, it’s like SSRS, Crystal reports and Active reports.

Yes, SQL Server Triggers.

Answer

@yekalkan, Thanks I already solved my issue. This fix has to be mentioned in the document. Otherwise, everybody will face issues.

I have got the root cause of the issue.

So basically I have an insert trigger on Entity2 and When I have commented the query inside this trigger and then its working fine.

There are approximately 10 queries in this trigger and it's very hard to know which one is causing the problem. So could you please let me know how to debug this trigger?

I want to implement reporting features in UI like graphs, pie charts, tables, print report. Could you please suggest tools which are compatible with ABP framework.

Any update please?

I'm trying to insert records in two tables, but getting the exception.

try
{
	var test = new Test();

	using (var uow = _unitOfWorkManager.Begin(TransactionScopeOption.RequiresNew))
	{
		int? tenantId = _unitOfWorkManager.Current.GetTenantId();
		using (_unitOfWorkManager.Current.SetTenantId(tenantId))
		{
			await _testRepository.InsertAsync(test);

			var xyz = new XYZ();
			await _xyzRepository.InsertAsync(xyz);
			await _unitOfWorkManager.Current.SaveChangesAsync();
			await uow.CompleteAsync();
		}
	}
}
catch (Exception ex)
{
	throw new UserFriendlyException(ex.Message);
}

Exception

Message : Database operation expected to affect 1 row(s) but actually affected 0 row(s). Data may have been modified or deleted since entities were loaded. See <a class="postlink" href="http://go.microsoft.com/fwlink/?LinkId=527962">http://go.microsoft.com/fwlink/?LinkId=527962</a> for information on understanding and handling optimistic concurrency exceptions.

stack trace : at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ThrowAggregateUpdateConcurrencyException(Int32 commandIndex, Int32 expectedRowsAffected, Int32 rowsAffected) at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.<ConsumeResultSetWithPropagationAsync>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.<ConsumeAsync>d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.<ExecuteAsync>d__32.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.<ExecuteAsync>d__10.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.EntityFrameworkCore.Storage.Internal.SqlServerExecutionStrategy.<ExecuteAsync>d__7`2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.

INFO 2018-04-11 13:59:53,439 [3 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method MyCompany.MyProject.AdditionalMasterData.Tests.TestsAppService.CreateOrEdit (MyCompany.MyProject.Application) with arguments ([CreateOrEditTestDto ]) - ModelState is Valid WARN 2018-04-11 14:01:48,396 [4 ] Mvc.ExceptionHandling.AbpExceptionFilter - Database operation expected to affect 1 row(s) but actually affected 0 row(s). Data may have been modified or deleted since entities were loaded. See http://go.microsoft.com/fwlink/?LinkId=527962 for information on understanding and handling optimistic concurrency exceptions. Abp.UI.UserFriendlyException: Database operation expected to affect 1 row(s) but actually affected 0 row(s). Data may have been modified or deleted since entities were loaded. See http://go.microsoft.com/fwlink/?LinkId=527962 for information on understanding and handling optimistic concurrency exceptions. at MyCompany.MyProject.AdditionalMasterData.Tests.TestsAppService.

Showing 11 to 20 of 267 entries