Serenity: IIS NET CORE

Created on 10 Apr 2017  ·  14Comments  ·  Source: serenity-is/Serenity

Uncaught Error: Script data Template.UserDialog is not found in registered script list!
Uncaught Error: Script data Template.RoleDialog is not found in registered script list!
...
The app is working fine when debugging in VS2017, the error occurs only when publishing.
Put this at the top of ScriptInitialization.ts file:
///<reference path="../Common/Helpers/LanguageList.ts" />
Can not open!

Most helpful comment

I resolved it by copying node_modules and Views > Templates folders

All 14 comments

02

01

You have some missing file. Thats not about reference path.

Can you give me some tips!

+1

I've same problem!

@volkanceylan can you help us?

@FARIVER did you resolve that problem?

There is no UserDialog template, so it means you don't have EntityDialog.Template.html or it is in different case. Use a file compare tool.

Realy I didn't have the folder Templates on folder View. But I put on there and the problem not solve.

volkanceylan commented 12 days ago
You have some missing file. Thats not about reference path.

But only publishing with VS 2017 to Azure Web App Service, didn't should works?

I'm copying some folders to Azure folder and now it's works.
I'll verify wich solve this problem and I'll report here for documentation.

@renattomachado: I can replicate this issue, may I know which folders did you copy?

I resolved it by copying node_modules and Views > Templates folders

Was this page helpful?
0 / 5 - 0 ratings

Related issues

stepankurdylo picture stepankurdylo  ·  3Comments

Amitloh picture Amitloh  ·  3Comments

ahsansolution picture ahsansolution  ·  3Comments

GitHubOrim picture GitHubOrim  ·  3Comments

dudeman972 picture dudeman972  ·  3Comments