Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Got error in raw template #1141


User avatar
0
omital created

Hi, I download template with this option: Entity + MultiPage Application but when I run project I got this error

Unhandled exception at line 9, column 5 in http://localhost:61759/js/main.js

0x800a138a - JavaScript runtime error: Function expected


5 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    I suppose this is a problem with IE. It works in Chrome and Firefox. I created an issue, follow it: <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/1026">https://github.com/aspnetboilerplate/as ... ssues/1026</a>

  • User Avatar
    0
    omital created

    Thank you for your response. I try with another browser and error has gone. But another problem: first I change .Net version to 4.6.1 after that update all packages in solution. result: abp.zero.entityframework does not definition for ISupportSeedMode ?! abp.zero.entityframework new version : 0.9.1.0

  • User Avatar
    0
    hikalkan created
    Support Team

    ISupportSeedMode is removed. See <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero/issues/198">https://github.com/aspnetboilerplate/mo ... issues/198</a>

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    By the way, javascript error caused by missing semi-colon at the end of serializeFormToObject function definition. It's solved in the module zero repository on github.

  • User Avatar
    0
    omital created

    <cite>hikalkan: </cite> I suppose this is a problem with IE. It works in Chrome and Firefox. I created an issue, follow it: <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/1026">https://github.com/aspnetboilerplate/as ... ssues/1026</a>

    I think this bug is not related to IE. I tested it with Firefox, just ignore it. but when I want to for example submit New User form I got this error

    TypeError: _$form.serializeFormToObject is not a function