help.axcms.netAxinom Logo
Save Save Chapter Send Feedback

Upgrading to AxCMS.net 5.5.0

 

Upgrading to Visual Studio 2005

AxCMS.net 5.5.0 is the first AxCMS-version designed to run with .NET Framework 2.0 and Visual Studio 2005. Before you upgrade to AxCMS.net 5.5.0, please upgrade your .NET-environment. Check  Prerequisites from the download-page. Read more about upgrading at "Upgrading to Visual Studio 2005". If you already have a project running under previous versions of AxCMS.net, carefully follow the instructions about converting your project.

Scheduling Reports

With AxCMS.net 5.5.0 you can schedule the CMS-reports. Add this key to your web.config:

<!-- Time to execute EveryDayAtSpecifiedTime watcher -->
<add key="ExecuteAt" value="13:40" />

If you don't add this key, reports are sent as usuall - at midnight every day.

enableEventValidation

The new ASP.NET offers one more security feature: it verifies that arguments to postback or
callback events originate from the server control that originally rendered them. If the verification fails, "Invalid postback or callback argument."-exception is thrown.

Microsoft recommends using the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

If you gets this exception but have no control over the code causing it, you can turn off event validation by putting this line into web.config:

<pages validateRequest="false" enableEventValidation="false"/>


Ip Authentication User Interface

If you have problems with accessing UI for IP Authentication in MS,
then have a look in the web.config of MS and remove (if existing)
following keys in section "IpRuleService":

<Username>Username</Username>
<Password>Password</Password>

Note: If you don't have NUnit 2.2 installed and you are using Sample version 2.0, you'll need the file nunitframework.dll for Init_Sample to work correctly. It must be located under Init_Sample folder.

You can download the necessary file here.

WebResource.axd handler does not work (LinkButton is not clickable) with AuthenticationModule

If you use AuthenticationModule in the Live System, it intercepts all the requests. Requests to WebResource.axd too. This file does not exist on the hard drive, this is why AuthenticationModule returns HTTP error 404 (not found).

WebResource.axd is a new feature of ASP.NET 2.0 (read, for example, this article).

ASP.NET 2.0 sometimes uses WebResources.axd to load its JavaScript-files, for example LinkButton uses it. It means, some problems with JavaScript-enabled ASP-Controls are possible, if AuthenticationModule is used.

Workaround: Create a dummy file WebResource.axd in the root of the Live System.

The problem will be adressed in the future versions of AxCMS.net.