Category Archives: ajaxcontroltoolkit

URL Rewrite create compactible issues with AjaxToolkit

I'm using the latest AjaxControlToolKit v15.1.3 and using the ...

ajaxtoolkit:calendarextender

for popping up the calender tool on click.
everything works fine enough till there. now, when i add the URL rewrite code on the web.config file, the pop up on click no longer happens. any specific edit on the code i need to update for both to work.

Here is the URL rewrite code:

<rewrite>
  <rules>
    <rule name="RewriteASPX">
      <match url="(.*)" />
      <conditions logicalGrouping="MatchAll">
        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
      </conditions>
      <action type="Rewrite" url="{R:1}.aspx" />
    </rule>
  </rules>
</rewrite>

Load balancer and accessing the wrong temp folder?

We have two servers with an Apache httpd load balancer and reverse proxy. We enabled sticky session, and it works for all parts of the application except one. We have an AjaxFileUpload taking place in the app, and this control creates a folder in the server's TEMP location, but it fails every other time because it creates on one server and goes to access the temp folder in the other, or visa versa. Sticky sessions does not seem to be solving this.

Is there something else that needs to be configured in order to force it to access the folder on the server that it started on?