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

Activities of "sumitshah"

Hey after running successfully both the project by default tenantid should 1 and tenantname should be 'Default' but it is setting tenant id null so no for every user it showing me invalid username password

Hi @ismcagdas I am attaching code block of angular.json here

{
  "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  "cli": {
    "analytics": false
  },
  "version": 1,
  "newProjectRoot": "projects",
  "projects": {
    "abp-zero-template": {
      "root": "",
      "sourceRoot": "src",
      "projectType": "application",
      "architect": {
        "build": {
          "builder": "@angular-devkit/build-angular:browser",
          "options": {
            "allowedCommonJsDependencies": [
              "@angularclass/hmr",
              "rtl-detect",
              "object-path",
              "angular2-text-mask",
              "angular2-counto",
              "rxjs/internal/observable/throwError"
            ],
            "outputPath": "wwwroot/dist",
            "index": "src/index.html",
            "main": "src/main.ts",
            "tsConfig": "src/tsconfig.app.json",
            "polyfills": "src/polyfills.ts",
            "preserveSymlinks": true,
            "assets": [
              "src/assets",
              "src/metronic",
              "src/favicon.ico",
              {
                "glob": "abp.signalr-client.js",
                "input": "node_modules/abp-web-resources/Abp/Framework/scripts/libs",
                "output": "/assets/abp"
              },
              {
                "glob": "**/*.*",
                "input": "node_modules/primeng/resources/themes/mdc-light-indigo/",
                "output": "assets/primeng/themes/mdc-light-indigo/"
              },
              {
                "glob": "**/*.*",
                "input": "node_modules/primeng/resources/themes/mdc-dark-indigo/",
                "output": "assets/primeng/themes/mdc-dark-indigo/"
              }
            ],
            "styles": [
              "node_modules/animate.css/animate.min.css",
              "node_modules/quill/dist/quill.core.css",
              "node_modules/quill/dist/quill.snow.css",
              "node_modules/famfamfam-flags/dist/sprite/famfamfam-flags.css",
              "node_modules/primeng/resources/primeng.min.css",
              "node_modules/primeicons/primeicons.css",
              "node_modules/sweetalert2/dist/sweetalert2.css",
              "node_modules/cookieconsent/build/cookieconsent.min.css",

              "src/assets/FreezeUI/freeze-ui.min.css",


              "src/assets/primeng/file-upload/css/primeng.file-upload.css",
              "src/assets/primeng/autocomplete/css/primeng.autocomplete.less",
              "src/assets/primeng/tree/css/primeng.tree.css",
              "src/assets/primeng/context-menu/css/primeng.context-menu.css",

              "src/assets/fonts/fonts-poppins.css",
              "src/assets/fonts/fonts-roboto.css",
              "src/assets/metronic/common/fonts/keenthemes-icons/ki.css",
              "src/assets/ngx-bootstrap/bs-datepicker.css",
              "src/assets/metronic/vendors/global/vendors.bundle.css",
              "src/app/shared/core.less",
              "src/app/shared/layout/layout.less",
              "src/styles.css"
            ],
            "scripts": [
              "node_modules/@microsoft/signalr/dist/browser/signalr.min.js",
              "node_modules/localforage/dist/localforage.js",
            
              "node_modules/push.js/bin/push.js",
              "node_modules/quill/dist/quill.js",
              "node_modules/sweetalert2/dist/sweetalert2.js",
              "node_modules/cookieconsent/build/cookieconsent.min.js",
              "src/assets/abp-web-resources/abp.js",
              "src/assets/abp-web-resources/abp.sweet-alert.js",
              "src/assets/abp-web-resources/abp.notify.js",
              "src/assets/canvas-toBlob/canvas-toBlob.js",
              "src/assets/metronic/vendors/global/vendors.bundle.js",
              "src/assets/metronic/common/js/components/menu.js",
              "src/assets/metronic/common/js/components/offcanvas.js",
              "src/assets/metronic/common/js/components/header.js",
              "src/assets/metronic/common/js/components/scrolltop.js",

            
             

              "src/assets/metronic/common/js/components/toggle.js",
              "src/assets/metronic/common/js/components/util.js",
               "node_modules/jquery/dist/jquery.min.js"
            ],
            "vendorChunk": true,
            "extractLicenses": false,
            "buildOptimizer": false,
            "sourceMap": true,
            "optimization": false,
            "namedChunks": true
          },
          "configurations": {
            "hmr": {
              "budgets": [
                {
                  "type": "anyComponentStyle",
                  "maximumWarning": "6kb"
                }
              ],
              "fileReplacements": [
                {
                  "replace": "src/environments/environment.ts",
                  "with": "src/environments/environment.hmr.ts"
                }
              ]
            },
            "production": {
              "budgets": [
                {
                  "type": "anyComponentStyle",
                  "maximumWarning": "6kb"
                }
              ],
              "optimization": true,
              "outputHashing": "all",
              "sourceMap": false,
              "extractCss": true,
              "namedChunks": false,
              "extractLicenses": true,
              "vendorChunk": false,
              "buildOptimizer": true,
              "fileReplacements": [
                {
                  "replace": "src/environments/environment.ts",
                  "with": "src/environments/environment.prod.ts"
                }
              ]
            },
            "k8s": {
              "budgets": [
                {
                  "type": "anyComponentStyle",
                  "maximumWarning": "6kb"
                }
              ],
              "optimization": true,
              "outputHashing": "all",
              "sourceMap": false,
              "extractCss": true,
              "namedChunks": false,
              "extractLicenses": true,
              "vendorChunk": false,
              "buildOptimizer": true,
              "fileReplacements": [
                {
                  "replace": "src/environments/environment.ts",
                  "with": "src/environments/environment.k8s.ts"
                }
              ]
            }
          },
          "defaultConfiguration": ""
        },
        "serve": {
          "builder": "@angular-devkit/build-angular:dev-server",
          "options": {
            "browserTarget": "abp-zero-template:build"
          },
          "configurations": {
            "hmr": {
              "browserTarget": "abp-zero-template:build:hmr"
            },
            "production": {
              "browserTarget": "abp-zero-template:build:production"
            },
            "k8s": {
              "browserTarget": "abp-zero-template:build:k8s"
            }
          }
        },
        "extract-i18n": {
          "builder": "@angular-devkit/build-angular:extract-i18n",
          "options": {
            "browserTarget": "abp-zero-template:build"
          }
        },
        "test": {
          "builder": "@angular-devkit/build-angular:karma",
          "options": {
            "tsConfig": "src/tsconfig.spec.json",
            "main": "src/test.ts",
            "karmaConfig": "./karma.conf.js",
            "polyfills": "src/polyfills.ts",
            "styles": [
              "node_modules/animate.css/animate.min.css",
              "node_modules/quill/dist/quill.core.css",
              "node_modules/quill/dist/quill.snow.css",
              "node_modules/famfamfam-flags/dist/sprite/famfamfam-flags.css",
              "node_modules/primeng/resources/primeng.min.css",
              "node_modules/primeicons/primeicons.css",
              "node_modules/sweetalert2/dist/sweetalert2.css",
              "node_modules/cookieconsent/build/cookieconsent.min.css",
              "src/assets/primeng/file-upload/css/primeng.file-upload.css",
              "src/assets/primeng/autocomplete/css/primeng.autocomplete.less",
              "src/assets/primeng/tree/css/primeng.tree.css",
              "src/assets/primeng/context-menu/css/primeng.context-menu.css",
              "src/assets/fonts/fonts-poppins.css",
              "src/assets/fonts/fonts-roboto.css",
              "src/assets/metronic/common/fonts/keenthemes-icons/ki.css",
              "src/assets/ngx-bootstrap/bs-datepicker.css",
              "src/assets/metronic/vendors/global/vendors.bundle.css",
              "src/app/shared/core.less",
              "src/app/shared/layout/layout.less",
              "src/styles.css"
            ],
            "scripts": [
              "node_modules/@microsoft/signalr/dist/browser/signalr.min.js",
              "node_modules/localforage/dist/localforage.js",
              "node_modules/push.js/bin/push.js",
              "node_modules/quill/dist/quill.js",
              "node_modules/sweetalert2/dist/sweetalert2.js",
              "node_modules/cookieconsent/build/cookieconsent.min.js",
              "src/assets/abp-web-resources/abp.js",
              "src/assets/abp-web-resources/abp.sweet-alert.js",
              "src/assets/abp-web-resources/abp.notify.js",
              "src/assets/canvas-toBlob/canvas-toBlob.js",
              "src/assets/metronic/vendors/global/vendors.bundle.js",
              "src/assets/metronic/common/js/components/menu.js",
              "src/assets/metronic/common/js/components/offcanvas.js",
              "src/assets/metronic/common/js/components/header.js",
              "src/assets/metronic/common/js/components/scrolltop.js",
              "src/assets/metronic/common/js/components/toggle.js",
              "src/assets/metronic/common/js/components/util.js"
            ],
            "assets": [
              "src/assets",
              "src/favicon.ico",
              {
                "glob": "abp.signalr-client.js",
                "input": "node_modules/abp-web-resources/Abp/Framework/scripts/libs",
                "output": "/assets/abp"
              },
              {
                "glob": "**/*.*",
                "input": "node_modules/primeng/resources/themes/mdc-light-indigo/",
                "output": "assets/primeng/themes/mdc-light-indigo/"
              },
              {
                "glob": "**/*.*",
                "input": "node_modules/primeng/resources/themes/mdc-dark-indigo/",
                "output": "assets/primeng/themes/mdc-dark-indigo/"
              }
            ]
          }
        },
        "lint": {
          "builder": "@angular-devkit/build-angular:tslint",
          "options": {
            "tsConfig": [
              "src/tsconfig.app.json"
            ],
            "exclude": []
          }
        }
      }
    },
    "abp-zero-template-e2e": {
      "root": "",
      "sourceRoot": "",
      "projectType": "application",
      "architect": {
        "e2e": {
          "builder": "@angular-devkit/build-angular:protractor",
          "options": {
            "protractorConfig": "./protractor.conf.js",
            "devServerTarget": "abp-zero-template:serve",
            "port": 4200
          }
        },
        "lint": {
          "builder": "@angular-devkit/build-angular:tslint",
          "options": {
            "tsConfig": [
              "e2e/tsconfig.json"
            ],
            "exclude": []
          }
        }
      }
    }
  },
  "defaultProject": "abp-zero-template",
  "schematics": {
    "@schematics/angular:component": {
      "prefix": "app",
      "style": "css"
    },
    "@schematics/angular:directive": {
      "prefix": "app"
    }
  }
}

Hi @ismcagdas Thanks for giving reference. but no solution is working for me.

in development enviorment. We have migrated to new version so new abp tables are created where we need to set that tenantid

Hi @ismcagdas I am trying using npm install ngx-bootstrap --save cmd but it is givving me following error-

Should i need to use any other cmd to upgrade ngx-bootstrap? also in Package.json "ngx-bootstrap": "^7.1.0",

Hi I resolved this issue by running** gulp build** command. Thanks

Hi @musa.demir I am able to compile but in service proxy it is accepting "text/html". but i want "application/json" Could you please suggest me what setting i should change to change service proxy regarding that accept : "application/json".

Hi I tried same but no luck....Is there any other solution or something where we can check why it is not updating service-proxy

Hello @ismcagdas, Yes we have resolved it.Thanks

Hello @ismcagdas, Thank you for response. we are using following connection string, I have removed all the values for respective key while sharing, "ConnectionStrings": { "Default": "Server=; Database=; Trusted_Connection=False;User ID=;Password=;" },

And in SQL Server we have entered above values in object explorer to connect the server,

To Connect server from SQL server management Studio, entered server name from connection string,Login is nothing but User ID from connection string and kept password as it is. It is connecting successfully to the server and database from SQL server management Studio.

Showing 11 to 20 of 59 entries