Biswo
Biswo

Reputation: 351

N2CMS while uploadin or updateing any files

Server Error in '/' Application. A potentially dangerous Request.Form value was detected from the client (ctl00$Content$ie$Text=". After setting this value, you can then disable request validation by setting validateRequest="false" in the Page directive or in the configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case. For more information, see http://go.microsoft.com/fwlink/?LinkId=153133.

Upvotes: 0

Views: 228

Answers (1)

Dejan Milicic
Dejan Milicic

Reputation: 819

I would say you are running N2CMS under ASP.NET 4.0. Please add following line into your web.config in order to remove some of default security obstacles that were not present in 2.0

<httpRuntime relaxedUrlToFileSystemMapping="true" requestPathInvalidCharacters="" requestValidationMode="2.0" />

Upvotes: 2

Related Questions