Try our conversational search powered by Generative AI!

Error while creating new pages.

AP
AP
Vote:
 

Hi,

I am getting one weired error while creating new pages in edit mode of episerver cms. "Something went wrong. Unexpected token <".>

Thank You,

Amol Pawar

#186801
Jan 04, 2018 15:29
Vote:
 

You need a valid license file?

Some xhr request is returning html instead of json.

#186804
Jan 04, 2018 15:56
Vote:
 

I've seen this problem when multiple developers are working against the same database. Go into admin mode and check that the current page type is correct. It might be that someone has updated the page type and your local is different so just a rebuilt/restart of application might fix it.

#186902
Jan 08, 2018 13:56
AP
Vote:
 

Hi,

Thank you for replying GOSSO, Sebastian. But issue still persist at my end.

This error disapears after removing one rewrite rule(Converting URL to lowercase) from web.config.

<rule name="Convert to lower case" stopProcessing="true">
<match url=".*[A-Z].*" ignoreCase="false" />
<action type="Redirect" url="{ToLower:{R:0}}" redirectType="Permanent" />
</rule>

thank you.

#186948
Jan 09, 2018 12:00
Vote:
 

A workaround, put a condition to your rule:

 <conditions logicalGrouping="MatchAll" >           
            <add input="{REQUEST_URI}" negate="true" pattern="^/episerver/$" ignoreCase="true"  />
          </conditions>

where /episerver/ is your cms root.

Good luck

#186953
Jan 09, 2018 13:05
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.