Team,
I am unable to add script code in html module i.e. While adding <script>test</script> and click save getting below error Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 403 I am able to add anything but when try to put word <script> then started getting error and this is happening even html module Header part as well Please guide how to overcome on this. this is urgent.
Awaiting for your reply.
everywhere i.e. HTML Module,Module Header(in module settings),Page Header(in Page seo settings) I am trying to add start with <script> not getting save getting below error, is there anthing changed at global level, Please guide Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 403
Hello:
First, please know that I moved this forum thread to another forum category to make it easier for everyone to find in the future.
Now, the HTML module is not meant to be used for advance HTML scenarios like this one. It's not completely a limitation of the module itself, but really a commentary on the WYSIWYG HTML editors and how they handle things. In your case, it's also a borderline security protection to some degree.
If you wish to inject HTML into the page that isn't content-related, you're really left with 5 options.
Thanks for your prompt response, My issue is I am not able to add javascript code in either any module Header or Page Header but earlier it was working fine but suddenly it stopped working, I could not recall what kind of changes I did so that this type of issue is coming. This is a global issue. Please guide.
Posted By shyamal majumder on 11/9/2022 9:07 PM Thanks for your prompt response, My issue is I am not able to add javascript code in either any module Header or Page Header but earlier it was working fine but suddenly it stopped working, I could not recall what kind of changes I did so that this type of issue is coming. This is a global issue. Please guide.
Well, I just gave you five options to add scripts to your website. If a script stops working without any edits, then there needs to be a bunch of troubleshooting. Unfortunately, you need to just follow the path of the script to determine why it didn't load. It might be a caching issue, browser issue, file availability, file path, antivirus, CDN, and a number of other potential causes. Without a clear condition that can be reproduced, we'll be very limited in how we can help and most things would literally be a guess. Sorry. :(
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.