This is a migrated thread and some comments may be shown as answers.

Error: f is not construction

5 Answers 54 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nguyen
Top achievements
Rank 1
Nguyen asked on 01 Oct 2020, 03:03 AM

I have problem when using version 2020.1.114.

When I build the project locally, everything is still running normally, but when deployed to the IIS server and try to access the admin account, the error:

"f is not a constructor"

On local version of .NET Framework: 4.7.2, and on Server: 4.8

How do I handle this error?

 

5 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 02 Oct 2020, 09:05 AM

Hello,

The provided information is not sufficient to pinpoint the issue's cause. The described error reproduction when deployed to IIS only reminds me of wrong path resolution to js files, as discussed in the following StackOverflow thread. I would suggest to check for any errors in the browser dev tools Network tab and if there are js files not found, resolve the URLs for them, e.g.:

<script type="text/javascript" src="@Url.Content("~/content/scripts/myFile.js")"></script>

If this does not help you resolve the issue, please provide more information about the setup of the project and where is the error thrown.

Regards,
Dimitar
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).

0
Nguyen
Top achievements
Rank 1
answered on 13 Oct 2020, 07:37 AM

Hi Dimitar,

Thank you for reply. I don't know where this problem came from. Currently, I no longer have such error. But sometimes it still comes up with the same error. If next time it appears I will send more details to you. Thank you very much!

Best Regards

0
Nguyen
Top achievements
Rank 1
answered on 19 Oct 2020, 07:26 AM

Hi Dimitar,

I encountered this error again when I edit Content. This error is in the file ScriptResourse.axd. I checked in the browser dev tool Network but no error. I don't understand why. I send you my project setup information:

- Window Server 2019, IIS 10.0, .NET Framework 4.8

- SQL Server 2019

- Telerik version 2020.1.114

Do you know this error? How to handle this error. If you need more information, please sent details of what you need, I will provide information for you. Thank you!

0
Nguyen
Top achievements
Rank 1
answered on 19 Oct 2020, 07:54 AM
I give more information to you:
0
Dimitar
Telerik team
answered on 20 Oct 2020, 08:50 AM

Hi,

Thank you for providing more details. The error is not related to Kendo UI code.

As a side note, the screenshots show that the referenced Kendo UI version is 2020.3.915.

Best regards,
Dimitar
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).

Tags
General Discussions
Asked by
Nguyen
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Nguyen
Top achievements
Rank 1
Share this question
or