Base solution for your next web application

Activities of "kythor"

I manage to run the Web API on my local machine, but when i publish it to Azure I get this error:

in the Chrome developers tool I just see a "500 internal server error" message.

any help is appreciated

Hi, I'm getting following error message when running the API on my local machine:

Failed to load API definition: Fetch error, Not Found undefined

in the logs.txt is see this line: Request starting HTTP/1.1 GET http://localhost:22742/swagger/undefined

any help would be appreciated

Hi,

I want to run a very basic angular app, bought from themeforest. But i want to use the service proxies from my aspnetzero host app. Is there any documentation how to do this? Is adding the "service-proxies" folder enough? Do i have to add "abp-ng2-module": "^3.2.1", "abp-web-resources": "^3.8.4" to package.json ? I tried the above, but throws an error saying it cant find the module "@abp/abpHttpInterceptor"

any help would be appreciated

Simple question, but hard answer I imagine:

What is the best way to copy AbpUsers from an old database into a new database (created by latest version of zero)?

A simple (?) question. All the actions on the primeng-datatable open a modal. But i want to add an action to go to a new component, including the specific record id as parameter.

What is the best way to do this? Using a custom dataservice to pass parameters? or just adding a "href" attribute?

sorry if this has been asked before, but it is nearly impossible on this forum to get a decent search result.

Hi,

I regenerated an existing Entity (made with the RAD tool). I needed to add a new navigation property. It all went fine, migration is done, but when I fire up the host app, swagger gives me an error:

Failed to load API definition

Fetch error
Internal Server Error /swagger/v1/swagger.json

visual studio output

The source map 'swagger-ui-bundle.js.map' for file 'mdha:http://localhost:22742/swagger/swagger-ui-bundle.js' could not be read from the specified location due to error 'Exception of type 'TypeScriptSourceMapReader.SourceMapReadFailedException' was thrown.'.The source map 'swagger-ui-standalone-preset.js.map' for file 'mdha:http://localhost:22742/swagger/swagger-ui-standalone-preset.js' could not be read from the specified location due to error 'Exception of type 'TypeScriptSourceMapReader.SourceMapReadFailedException' was thrown.'.The source map 'swagger-ui-bundle.js.map' for file 'mdha:http://localhost:22742/swagger/swagger-ui-bundle.js' could not be read from the specified location due to error 'Exception of type 'TypeScriptSourceMapReader.SourceMapReadFailedException' was thrown.'.The source map 'swagger-ui-standalone-preset.js.map' for file 'mdha:http://localhost:22742/swagger/swagger-ui-standalone-preset.js' could not be read from the specified location due to error 'Exception of type 'TypeScriptSourceMapReader.SourceMapReadFailedException' was thrown.'.Visual Studio does not support additional debuggers attached to a web-page when multi-client remote debugging support is enabled in Chrome. Visual Studio is disconnecting the JavaScript debugger because we detected that Chrome Dev Tools were opened for this page: chrome-devtools://devtools/bundled/devtools_app.html?remoteBase=https://chrome-devtools-frontend.appspot.com/serve_file/@a10b9cedb40738cb152f8148ddab4891df876959/&can_dock=true&hasOtherClients=true&dockSide=undocked
Question

I installed the latest version, hosted on Azure. Ran "Update-Database", and then tried to login. But when launching the angular app, i get "Internal server error". When using the webhost, swagger ui, and authorize button, I can enter credentials, but cannot login with the admin account.

When I look into the database, there are no records (in table AbpUserAccounts or AbpUsers) in the newly created database. The table "__efmigrationshistory" does hold the migrations information, so it has done something. Am i missing something, do I need to do more than Update-Database with this new version?

Hi, I'm trying to update all the packages in the angular app package.json. I use the command "npm update" but after a while it hangs on "datamaps" and throws this error:

npm ERR! cb() never called!

i also get this

npm WARN tarball tarball data for [email protected] (sha1-0sMepJKyK2qNiHrqFZiaI4/AhK4=) seems to be corrupted. Trying one more time.

any idea's? I'm unable to install any npm packages because of this. I have installed latest node.js and updated npm itself

Question

After adding a new entity using latest RAD tool, running refresh.bat on angular, i get the following error when trying to run the angular site locally:

ERROR Error: Uncaught (in promise): TypeError: __webpack_require__.e is not a function
TypeError: __webpack_require__.e is not a function
    at webpackAsyncContext (eval at ./node_modules/@angular/common/locales lazy recursive ^\.\/.*\.js$ (main.bundle.js:6), <anonymous>:4199:29)
    at eval (webpack-internal:///./src/root.module.ts:63)
    at ZoneDelegate.invoke (webpack-internal:///./node_modules/zone.js/dist/zone.js:392)
    at Object.onInvoke (webpack-internal:///./node_modules/@angular/core/esm5/core.js:4965)
    at ZoneDelegate.invoke (webpack-internal:///./node_modules/zone.js/dist/zone.js:391)
    at Zone.run (webpack-internal:///./node_modules/zone.js/dist/zone.js:142)
    at eval (webpack-internal:///./node_modules/zone.js/dist/zone.js:844)
    at ZoneDelegate.invokeTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:425)
    at Object.onInvokeTask (webpack-internal:///./node_modules/@angular/core/esm5/core.js:4956)
    at ZoneDelegate.invokeTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:424)
    at webpackAsyncContext (eval at ./node_modules/@angular/common/locales lazy recursive ^\.\/.*\.js$ (main.bundle.js:6), <anonymous>:4199:29)
    at eval (webpack-internal:///./src/root.module.ts:63)
    at ZoneDelegate.invoke (webpack-internal:///./node_modules/zone.js/dist/zone.js:392)
    at Object.onInvoke (webpack-internal:///./node_modules/@angular/core/esm5/core.js:4965)
    at ZoneDelegate.invoke (webpack-internal:///./node_modules/zone.js/dist/zone.js:391)
    at Zone.run (webpack-internal:///./node_modules/zone.js/dist/zone.js:142)
    at eval (webpack-internal:///./node_modules/zone.js/dist/zone.js:844)
    at ZoneDelegate.invokeTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:425)
    at Object.onInvokeTask (webpack-internal:///./node_modules/@angular/core/esm5/core.js:4956)
    at ZoneDelegate.invokeTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:424)
    at resolvePromise (webpack-internal:///./node_modules/zone.js/dist/zone.js:795)
    at eval (webpack-internal:///./node_modules/zone.js/dist/zone.js:847)
    at ZoneDelegate.invokeTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:425)
    at Object.onInvokeTask (webpack-internal:///./node_modules/@angular/core/esm5/core.js:4956)
    at ZoneDelegate.invokeTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:424)
    at Zone.runTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:192)
    at drainMicroTaskQueue (webpack-internal:///./node_modules/zone.js/dist/zone.js:602)
Question

Since I'm unable to produce an entity with enum using the RAD tool, is it possible to give me an example on how the Enum is connected to the Angular side?

Showing 1 to 10 of 36 entries