Base solution for your next web application

Activities of "omkarchoudhari"

[attachment=2:l21b3d3m]Local Run.PNG[/attachment:l21b3d3m] I downloaded the Angular 2 Core template from Aspnetzero. Server project runs fine locally. When i right-click and publish the web.host project to azure through the publish wizard of Visual Studio , publish succeeds but page shows following error : [attachment=1:l21b3d3m]Azure Error.PNG[/attachment:l21b3d3m] Do not know how to publish this application to Azure. Is the issue related to .Net framework version in Project.json ? [attachment=0:l21b3d3m]ChangeInProject.Json File.PNG[/attachment:l21b3d3m]

While publishing a core app we should have .NetCore as selected , but i get the .NetFramework 4.6.1 as Target Framework.

Please inform procedure for publishing to azure. Really Urgent !!

Yes !! Updated the abp.zero.entityframework , deleted the temp folder, and cleaned and built the solution again. Now the error is gone and application runs. However , getting this error now after login page .

Getscripts Error :

<a class="postlink" href="http://localhost:6248/AbpScripts/GetScripts?v=636211105834908395">http://localhost:6248/AbpScripts/GetScr ... 5834908395</a>

Failed to load resource: the server responded with a status of 500 (Internal Server Error)

Referring to other threads , checked the logs for the web project and found the following error:

Method not found:System.String Abp.Application.Navigation.User MenuItem.get_Target()

Not able to resolve this one . Please advise on the solution.

We migrated Angularjs1.x MVC SPA project to newer version V2.1.0 Angularjs1.x MVC by copying files into the new downloaded project.

Update-database was successful . However we are getting the following error while running the project :

Following are current versions installed in the application and core projects : --------------------------APPLICATION PROJ---------------------- id="Abp" version="1.2.1.0" targetFramework="net461" id="Abp.AutoMapper" version="1.2.1.0" targetFramework="net461" id="Abp.Zero" version="1.2.0.0" targetFramework="net461" id="Abp.Zero.Ldap" version="1.2.0.0" targetFramework="net461" id="AutoMapper" version="5.2.0" targetFramework="net461" id="Castle.Core" version="3.3.3" targetFramework="net451" id="Castle.LoggingFacility" version="3.3.0" targetFramework="net451" id="Castle.Windsor" version="3.3.0" targetFramework="net451" id="EntityFramework" version="6.1.3" targetFramework="net451"


-------------------------CORE PROJ---------------------------------------- <package id="Abp" version="1.2.1.0" targetFramework="net461" <package id="Abp.AutoMapper" version="1.2.1.0" targetFramework="net461" <package id="Abp.Zero" version="1.2.0.0" targetFramework="net461" <package id="Abp.Zero.Ldap" version="1.2.0.0" targetFramework="net461" <package id="AutoMapper" version="5.2.0" targetFramework="net461" <package id="Castle.Core" version="3.3.3" targetFramework="net451" <package id="Castle.LoggingFacility" version="3.3.0" targetFramework="net451" <package id="Castle.Windsor" version="3.3.0" targetFramework="net451"

Issue seems to be with the abp.dll version . Please help us resolve this.

I got following error while using asp.net core Developing-Step-By-Step-Angular 2 tutorial Error is following

There is no directive with "exportAs" set to "bs-modal" ("<div bsModal [ERROR ->]#modal="bs-modal" (onShown)="onShown()" class="modal fade" tabindex="-1" role="dialog" aria-labelledb"): CreatePersonModalComponent@0:13 Can't bind to 'config' since it isn't a known property of 'div'. ("nShown()" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="modal" aria-hidden="true" [ERROR ->][config]="{backdrop: 'static'}"> <div class="modal-dialog"> <div class="modal-content">"): CreatePersonModalComponent@0:143 There is no directive with "exportAs" set to "ngForm" (" <div class="modal-dialog"> <div class="modal-content"> <form ngIf="active" [ERROR ->]#personForm="ngForm" novalidate (ngSubmit)="save()"> <div class="modal-header"> "): CreatePersonModalComponent@3:33 Can't bind to 'ngModel' since it isn't a known property of 'input'. ("l no-hint"> <input #nameInput class="form-control" type="text" name="name" [ERROR ->][(ngModel)]="person.name" required maxlength="32"> <label>{{l("Name")}}</lab"): CreatePersonModalComponent@15:87 Can't bind to 'ngModel' since it isn't a known property of 'input'. ("ng-label no-hint"> <input class="form-control" type="email" name="surname" [ERROR ->][(ngModel)]="person.surname" required maxlength="32"> <label>{{l("Surname")}"): CreatePersonModalComponent@20:80 Can't bind to 'ngModel' since it isn't a known property of 'input'. ("bel no-hint"> <input class="form-control" type="email" name="emailAddress" [ERROR ->][(ngModel)]="person.emailAddress" required maxlength="255" pattern="^\w+([.-]?\w+)@\w+([.-]?\w+)("): CreatePersonModalComponent@25:85 Can't bind to 'buttonBusy' since it isn't a known property of 'button'. (" <button type="submit" class="btn btn-primary blue" [disabled]="!personForm.form.valid" [ERROR ->][buttonBusy]="saving" [busyText]="l('SavingWithThreeDot')"><i class="fa fa-save"></i> <span>{{l("Save"): CreatePersonModalComponent@31:107 Can't bind to 'busyText' since it isn't a known property of 'button'. ("ype="submit" class="btn btn-primary blue" [disabled]="!personForm.form.valid" [buttonBusy]="saving" [ERROR ->][busyText]="l('SavingWithThreeDot')"><i class="fa fa-save"></i> <span>{{l("Save")}}</span></button> "): CreatePersonModalComponent@31:129 ; Zone: <root> ; Task: Promise.then ; Value: SyntaxError Error: Template parse errors: There is no directive with "exportAs" set to "bs-modal" ("<div bsModal [ERROR ->]#modal="bs-modal" (onShown)="onShown()" class="modal fade" tabindex="-1" role="dialog" aria-labelledb"): CreatePersonModalComponent@0:13 Can't bind to 'config' since it isn't a known property of 'div'. ("nShown()" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="modal" aria-hidden="true" [ERROR ->][config]="{backdrop: 'static'}"> <div class="modal-dialog"> <div class="modal-content">"): CreatePersonModalComponent@0:143 There is no directive with "exportAs" set to "ngForm" (" <div class="modal-dialog"> <div class="modal-content"> <form ngIf="active" [ERROR ->]#personForm="ngForm" novalidate (ngSubmit)="save()"> <div class="modal-header"> "): CreatePersonModalComponent@3:33 Can't bind to 'ngModel' since it isn't a known property of 'input'. ("l no-hint"> <input #nameInput class="form-control" type="text" name="name" [ERROR ->][(ngModel)]="person.name" required maxlength="32"> <label>{{l("Name")}}</lab"): CreatePersonModalComponent@15:87 Can't bind to 'ngModel' since it isn't a known property of 'input'. ("ng-label no-hint"> <input class="form-control" type="email" name="surname" [ERROR ->][(ngModel)]="person.surname" required maxlength="32"> <label>{{l("Surname")}"): CreatePersonModalComponent@20:80 Can't bind to 'ngModel' since it isn't a known property of 'input'. ("bel no-hint"> <input class="form-control" type="email" name="emailAddress" [ERROR ->][(ngModel)]="person.emailAddress" required maxlength="255" pattern="^\w+([.-]?\w+)@\w+([.-]?\w+)("): CreatePersonModalComponent@25:85 Can't bind to 'buttonBusy' since it isn't a known property of 'button'. (" <button type="submit" class="btn btn-primary blue" [disabled]="!personForm.form.valid" [ERROR ->][buttonBusy]="saving" [busyText]="l('SavingWithThreeDot')"><i class="fa fa-save"></i> <span>{{l("Save"): CreatePersonModalComponent@31:107 Can't bind to 'busyText' since it isn't a known property of 'button'. ("ype="submit" class="btn btn-primary blue" [disabled]="!personForm.form.valid" [buttonBusy]="saving" [ERROR ->][busyText]="l('SavingWithThreeDot')"><i class="fa fa-save"></i> <span>{{l("Save")}}</span></button> "): CreatePersonModalComponent@31:129 at SyntaxError.BaseError [as constructor] (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:104588:27">http://localhost:4200/vendor.bundle.js:104588:27</a>) [<root>] at new SyntaxError (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:28711:16">http://localhost:4200/vendor.bundle.js:28711:16</a>) [<root>] at TemplateParser.parse (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:43256:19">http://localhost:4200/vendor.bundle.js:43256:19</a>) [<root>] at JitCompiler._compileTemplate (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:79515:68">http://localhost:4200/vendor.bundle.js:79515:68</a>) [<root>] at <a class="postlink" href="http://localhost:4200/vendor.bundle.js:79398:62">http://localhost:4200/vendor.bundle.js:79398:62</a> [<root>] at Set.forEach (native) [<root>] at JitCompiler._compileComponents (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:79398:19">http://localhost:4200/vendor.bundle.js:79398:19</a>) [<root>] at createResult (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:79281:19">http://localhost:4200/vendor.bundle.js:79281:19</a>) [<root>] at Zone.run (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:145502:43">http://localhost:4200/vendor.bundle.js:145502:43</a>) [<root> => <root>] at <a class="postlink" href="http://localhost:4200/vendor.bundle.js:145909:57">http://localhost:4200/vendor.bundle.js:145909:57</a> [<root>] at Zone.runTask (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:145540:47">http://localhost:4200/vendor.bundle.js:145540:47</a>) [<root> => <root>] at drainMicroTaskQueue (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:145807:35">http://localhost:4200/vendor.bundle.js:145807:35</a>) [<root>] consoleError @ vendor.bundle.js:145794 _loop_1 @ vendor.bundle.js:145823 drainMicroTaskQueue @ vendor.bundle.js:145827 ZoneTask.invoke @ vendor.bundle.js:145738 vendor.bundle.js:145796 Error: Uncaught (in promise): Error: Template parse errors: There is no directive with "exportAs" set to "bs-modal" ("<div bsModal [ERROR ->]#modal="bs-modal" (onShown)="onShown()" class="modal fade" tabindex="-1" role="dialog" aria-labelledb"): CreatePersonModalComponent@0:13 Can't bind to 'config' since it isn't a known property of 'div'. ("nShown()" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="modal" aria-hidden="true" [ERROR ->][config]="{backdrop: 'static'}"> <div class="modal-dialog"> <div class="modal-content">"): CreatePersonModalComponent@0:143 There is no directive with "exportAs" set to "ngForm" (" <div class="modal-dialog"> <div class="modal-content"> <form ngIf="active" [ERROR ->]#personForm="ngForm" novalidate (ngSubmit)="save()"> <div class="modal-header"> "): CreatePersonModalComponent@3:33 Can't bind to 'ngModel' since it isn't a known property of 'input'. ("l no-hint"> <input #nameInput class="form-control" type="text" name="name" [ERROR ->][(ngModel)]="person.name" required maxlength="32"> <label>{{l("Name")}}</lab"): CreatePersonModalComponent@15:87 Can't bind to 'ngModel' since it isn't a known property of 'input'. ("ng-label no-hint"> <input class="form-control" type="email" name="surname" [ERROR ->][(ngModel)]="person.surname" required maxlength="32"> <label>{{l("Surname")}"): CreatePersonModalComponent@20:80 Can't bind to 'ngModel' since it isn't a known property of 'input'. ("bel no-hint"> <input class="form-control" type="email" name="emailAddress" [ERROR ->][(ngModel)]="person.emailAddress" required maxlength="255" pattern="^\w+([.-]?\w+)@\w+([.-]?\w+)("): CreatePersonModalComponent@25:85 Can't bind to 'buttonBusy' since it isn't a known property of 'button'. (" <button type="submit" class="btn btn-primary blue" [disabled]="!personForm.form.valid" [ERROR ->][buttonBusy]="saving" [busyText]="l('SavingWithThreeDot')"><i class="fa fa-save"></i> <span>{{l("Save"): CreatePersonModalComponent@31:107 Can't bind to 'busyText' since it isn't a known property of 'button'. ("ype="submit" class="btn btn-primary blue" [disabled]="!personForm.form.valid" [buttonBusy]="saving" [ERROR ->][busyText]="l('SavingWithThreeDot')"><i class="fa fa-save"></i> <span>{{l("Save")}}</span></button> "): CreatePersonModalComponent@31:129 Error: Template parse errors: There is no directive with "exportAs" set to "bs-modal" ("<div bsModal [ERROR ->]#modal="bs-modal" (onShown)="onShown()" class="modal fade" tabindex="-1" role="dialog" aria-labelledb"): CreatePersonModalComponent@0:13 Can't bind to 'config' since it isn't a known property of 'div'. ("nShown()" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="modal" aria-hidden="true" [ERROR ->][config]="{backdrop: 'static'}"> <div class="modal-dialog"> <div class="modal-content">"): CreatePersonModalComponent@0:143 There is no directive with "exportAs" set to "ngForm" (" <div class="modal-dialog"> <div class="modal-content"> <form ngIf="active" [ERROR ->]#personForm="ngForm" novalidate (ngSubmit)="save()"> <div class="modal-header"> "): CreatePersonModalComponent@3:33 Can't bind to 'ngModel' since it isn't a known property of 'input'. ("l no-hint"> <input #nameInput class="form-control" type="text" name="name" [ERROR ->][(ngModel)]="person.name" required maxlength="32"> <label>{{l("Name")}}</lab"): CreatePersonModalComponent@15:87 Can't bind to 'ngModel' since it isn't a known property of 'input'. ("ng-label no-hint"> <input class="form-control" type="email" name="surname" [ERROR ->][(ngModel)]="person.surname" required maxlength="32"> <label>{{l("Surname")}"): CreatePersonModalComponent@20:80 Can't bind to 'ngModel' since it isn't a known property of 'input'. ("bel no-hint"> <input class="form-control" type="email" name="emailAddress" [ERROR ->][(ngModel)]="person.emailAddress" required maxlength="255" pattern="^\w+([.-]?\w+)@\w+([.-]?\w+)("): CreatePersonModalComponent@25:85 Can't bind to 'buttonBusy' since it isn't a known property of 'button'. (" <button type="submit" class="btn btn-primary blue" [disabled]="!personForm.form.valid" [ERROR ->][buttonBusy]="saving" [busyText]="l('SavingWithThreeDot')"><i class="fa fa-save"></i> <span>{{l("Save"): CreatePersonModalComponent@31:107 Can't bind to 'busyText' since it isn't a known property of 'button'. ("ype="submit" class="btn btn-primary blue" [disabled]="!personForm.form.valid" [buttonBusy]="saving" [ERROR ->][busyText]="l('SavingWithThreeDot')"><i class="fa fa-save"></i> <span>{{l("Save")}}</span></button> "): CreatePersonModalComponent@31:129 at SyntaxError.BaseError [as constructor] (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:104588:27">http://localhost:4200/vendor.bundle.js:104588:27</a>) [<root>] at new SyntaxError (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:28711:16">http://localhost:4200/vendor.bundle.js:28711:16</a>) [<root>] at TemplateParser.parse (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:43256:19">http://localhost:4200/vendor.bundle.js:43256:19</a>) [<root>] at JitCompiler._compileTemplate (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:79515:68">http://localhost:4200/vendor.bundle.js:79515:68</a>) [<root>] at <a class="postlink" href="http://localhost:4200/vendor.bundle.js:79398:62">http://localhost:4200/vendor.bundle.js:79398:62</a> [<root>] at Set.forEach (native) [<root>] at JitCompiler._compileComponents (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:79398:19">http://localhost:4200/vendor.bundle.js:79398:19</a>) [<root>] at createResult (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:79281:19">http://localhost:4200/vendor.bundle.js:79281:19</a>) [<root>] at Zone.run (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:145502:43">http://localhost:4200/vendor.bundle.js:145502:43</a>) [<root> => <root>] at <a class="postlink" href="http://localhost:4200/vendor.bundle.js:145909:57">http://localhost:4200/vendor.bundle.js:145909:57</a> [<root>] at Zone.runTask (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:145540:47">http://localhost:4200/vendor.bundle.js:145540:47</a>) [<root> => <root>] at drainMicroTaskQueue (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:145807:35">http://localhost:4200/vendor.bundle.js:145807:35</a>) [<root>] at SyntaxError.BaseError [as constructor] (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:104588:27">http://localhost:4200/vendor.bundle.js:104588:27</a>) [<root>] at new SyntaxError (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:28711:16">http://localhost:4200/vendor.bundle.js:28711:16</a>) [<root>] at TemplateParser.parse (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:43256:19">http://localhost:4200/vendor.bundle.js:43256:19</a>) [<root>] at JitCompiler._compileTemplate (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:79515:68">http://localhost:4200/vendor.bundle.js:79515:68</a>) [<root>] at <a class="postlink" href="http://localhost:4200/vendor.bundle.js:79398:62">http://localhost:4200/vendor.bundle.js:79398:62</a> [<root>] at Set.forEach (native) [<root>] at JitCompiler._compileComponents (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:79398:19">http://localhost:4200/vendor.bundle.js:79398:19</a>) [<root>] at createResult (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:79281:19">http://localhost:4200/vendor.bundle.js:79281:19</a>) [<root>] at Zone.run (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:145502:43">http://localhost:4200/vendor.bundle.js:145502:43</a>) [<root> => <root>] at <a class="postlink" href="http://localhost:4200/vendor.bundle.js:145909:57">http://localhost:4200/vendor.bundle.js:145909:57</a> [<root>] at Zone.runTask (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:145540:47">http://localhost:4200/vendor.bundle.js:145540:47</a>) [<root> => <root>] at drainMicroTaskQueue (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:145807:35">http://localhost:4200/vendor.bundle.js:145807:35</a>) [<root>] at resolvePromise (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:145875:31">http://localhost:4200/vendor.bundle.js:145875:31</a>) [<root>] at resolvePromise (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:145860:17">http://localhost:4200/vendor.bundle.js:145860:17</a>) [<root>] at <a class="postlink" href="http://localhost:4200/vendor.bundle.js:145909:17">http://localhost:4200/vendor.bundle.js:145909:17</a> [<root>] at Zone.runTask (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:145540:47">http://localhost:4200/vendor.bundle.js:145540:47</a>) [<root> => <root>] at drainMicroTaskQueue (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:145807:35">http://localhost:4200/vendor.bundle.js:145807:35</a>) [<root>] at XMLHttpRequest.ZoneTask.invoke (<a class="postlink" href="http://localhost:4200/vendor.bundle.js:145738:25">http://localhost:4200/vendor.bundle.js:145738:25</a>) [<root>]

Using latest version of asp.net mvc and angular1.x template , I created a new tenant with separate database. But when i try to login with the tenant user , i get this error :

Access to was denied

You don't have authorization to view this page.

The db gets created and user is also captured.

Dont know here to look for. Error seems to be thrown from UserWithFriendsCacheItem methodin UserFriendsCache.cs

Single Web Deployment - Multiple Database

We want to implement Multitenant applicaion with seperated database for each tenant The problem is We need to create and maintain a seperated database for each tenant, this includes database migrations. We are aiming for auto creation of tenant DB's with a single user. So far we have created separate TenantDbcontext and added separate migrations , and migrations are added successfully. But after adding migration we are unable to update Db . The error is in the attached image. The migration is adding host tables in migration.

Could we have a simple step by step instruction list that would enable us to approach this implementation ?

How do i enable the application to run with https ? I have already added the SSL Certificate to my web application on Azure ? What steps do i take to redirect to any page using https ?

UI grid Data displays square characters for default data in IE 11. Data displays well when column is expanded. Also shows up on modal pop ups. Please see image attached. This displays well in chrome and firefox.

Many of our customers are likely to use IE 8, so we need to support that browser.. If IE8 is not supported , then what steps can we take in code to achieve compatibility ?

Are there any workarounds or tools that would help avoid rework for supporting IE8 ?

I want to be able to imports records from csv file into grid. I have tried using ui-grid-importer , but i cannot inject it into my controllers scope. it gives me injector error.

How can i use ui-grid importer, or any other approach for the grid ?

Showing 131 to 140 of 146 entries