<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Search results matching tag 'Ajax'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=Ajax&amp;orTags=0</link><description>Search results matching tag 'Ajax'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>The assembly 'CheckboxValidator' could not be loaded</title><link>http://forums.iis.net/p/1161902/1921317.aspx#1921317</link><pubDate>Tue, 20 Oct 2009 05:10:29 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1921317</guid><dc:creator>edmund2009</dc:creator><cs:applicationKey>aspnet_administration--1</cs:applicationKey><description>&lt;p&gt;I developed my asp.net project using VS 2008 and it&amp;#39;s working fine in my development machine. But when deploy and upload into my web server is a Windows server 2003 web edition with .Net framework 2.0 , 3.5 and 3.5 SP1 installed. the following error occur .&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/p&gt;&lt;/span&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;
&lt;h1&gt;Server Error in &amp;#39;/&amp;#39; Application. 
&lt;hr /&gt;
&lt;/h1&gt;
&lt;h2&gt;&lt;i&gt;Parser Error&lt;/i&gt; &lt;/h2&gt;
&lt;p&gt;&lt;/span&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;b&gt;Description: &lt;/b&gt;An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Parser Error Message: &lt;/b&gt;Could not load file or assembly &amp;#39;CheckboxValidator&amp;#39; or one of its dependencies. The module was expected to contain an assembly manifest.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Source Error:&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;
&lt;table class="" bgcolor="#ffffcc"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;code&gt;&lt;pre&gt;Line 1:  &amp;lt;%@ Page Language=&amp;quot;VB&amp;quot; AutoEventWireup=&amp;quot;false&amp;quot; CodeFile=&amp;quot;signin.aspx.vb&amp;quot; Inherits=&amp;quot;signin&amp;quot; %&amp;gt;
Line 2:  
&lt;font color="#ff0000"&gt;Line 3:  &amp;lt;%@ Register assembly=&amp;quot;CheckboxValidator&amp;quot; namespace=&amp;quot;TensaiLabs.Web.Controls&amp;quot; tagprefix=&amp;quot;cc1&amp;quot; %&amp;gt;
&lt;/font&gt;Line 4:  &amp;lt;%@ Register src=&amp;quot;footer.ascx&amp;quot; tagname=&amp;quot;footer&amp;quot; tagprefix=&amp;quot;uc1&amp;quot; %&amp;gt;
Line 5:  &amp;lt;%@ Register assembly=&amp;quot;AjaxControlToolkit&amp;quot; namespace=&amp;quot;AjaxControlToolkit&amp;quot; tagprefix=&amp;quot;cc2&amp;quot; %&amp;gt;&lt;/pre&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;&lt;b&gt;Source File: &lt;/b&gt;/signin.aspx&lt;b&gt; &amp;nbsp;&amp;nbsp; Line: &lt;/b&gt;3 &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Assembly Load Trace:&lt;/b&gt; The following information can be helpful to determine why the assembly &amp;#39;CheckboxValidator&amp;#39; could not be loaded.&lt;br /&gt;&lt;br /&gt;
&lt;table class="" bgcolor="#ffffcc"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;code&gt;&lt;pre&gt;WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
&lt;/pre&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The IIS setting for in server 2003 web edition with ASP.NET version did changed to 2.0.50727.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;System.Web.Extensions with version 3.5.0.0 exist in C:\windows\assembly folder as well..&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is anything left beside for the setting above need to check?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But when we try to deploy it into another web server 2003 standard edition, everything is working fine.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is anyone facing this problem before? and any solution to solved it?&lt;/span&gt;&lt;/p&gt;</description></item><item><title>AJAX works on localhost, does not work on 127.0.0.1 or public IP</title><link>http://forums.iis.net/p/1160442/1915070.aspx#1915070</link><pubDate>Fri, 28 Aug 2009 20:43:30 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1915070</guid><dc:creator>arashikage</dc:creator><cs:applicationKey>iis_7_-_aspnet_administration-41</cs:applicationKey><description>Hello everyone,
I&amp;#39;m am experiencing some strange beahavior with a website. 

I have a page that performs a simple AJAX request to fill a div. The data is fetched from a page in the same domain.

When I perform the request using 
http://localhost/Dir/page.aspx? ....

The requests work perfectly, but when using

http://127.0.0.1/Dir/page.aspx? or http://public_ip/Dir/page.aspx? .....

My requests are simply ignored. I&amp;#39;ve used Firebug to track requests, and not even a single ajax request is performed. Normal requests ( such as fetching the main page that invokes the ajax code) works fine on both scenarios.

Does anyone have any ideas of what might be happening?

Thanks in advance !</description></item><item><title>Ajax Controls problem with RewriteModule</title><link>http://forums.iis.net/p/1159484/1911269.aspx#1911269</link><pubDate>Thu, 23 Jul 2009 06:16:13 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1911269</guid><dc:creator>sadegh-shad</dc:creator><cs:applicationKey>iis7_-_url_rewrite_module-41</cs:applicationKey><description>&lt;p&gt;&amp;nbsp;by default, when i using rewriteModule and rewrite page/default.aspx?id={0}&amp;amp;amp;title={1} to page/{0}/{1} All Ajax Controls (UpdatePanel, UpdateProgress and etc) dont works.&lt;/p&gt;&lt;p&gt;what should i do?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>ASP.Net website stops responding at regular intervals in IIS6</title><link>http://forums.iis.net/p/1158709/1908131.aspx#1908131</link><pubDate>Wed, 24 Jun 2009 15:50:26 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1908131</guid><dc:creator>azpcc</dc:creator><cs:applicationKey>aspnet_administration--1</cs:applicationKey><description>&lt;p&gt;&amp;nbsp;Hello, I have an ASP.Net AJAX website that needs to run continuously and it&amp;#39;s not.&amp;nbsp; Originally, the website would randomly throw &amp;quot;ScriptResource.axd&amp;quot; errors, and an associate recommended adjusting the App Pool recycling settings in IIS away from the defaults. My familiarity with IIS is limited, but I managed to spend the past week adjusting settings to recycle the app pool, and no matter what I change it always stops responding (no errors this time) at 22:24 each night.&amp;nbsp; Here&amp;#39;s the troubleshooting and findings I&amp;#39;ve done so far:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The IIS logs show it stopping every night at 22:23-22:24.&lt;span&gt;&amp;nbsp; &lt;/span&gt;No errors, just completely stops.&lt;span&gt;&amp;nbsp; &lt;/span&gt;The app itself reflects the same, because it captures the current minutes on the screen for every refresh, and it always shows a 23 or 24.&lt;/li&gt;
&lt;li&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;"&gt;Event Log shows nothing at or even close to this time, for both Application and System logs.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;"&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;"&gt;Our network team confirmed that there are no backups or other process-intensive tasks running on that box at that time.&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;"&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;"&gt;I have the following settings set on the app pool properties:&lt;/span&gt; 
&lt;ul&gt;
&lt;li&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;"&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;"&gt;Under the Recycling tab, only the “Recycle Worker Processes (in minutes)” item is checked, and set to 60 minutes.&lt;span&gt;&amp;nbsp; &lt;/span&gt;Setting this to 8 hours made no difference.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;"&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;"&gt;Under the Performance tab, everything is unchecked, and the “Maximum number of worker processes” item is set to 3.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;"&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;"&gt;Under the Health tab, “Enable Pinging” is checked and set to 30 seconds, “Enable Rapid Fail Protection” is unchecked, and both the Startup and Shutdown time limits are set to 90 seconds.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;"&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;"&gt;Under the Identity tab, “Predefined” is selected and set to Local System.&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;"&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;"&gt;Likewise, under the actual website settings, I have “Enable HTTP Keep-Alives” checked, bandwidth throttling is not checked, website connections is set to unlimited, “Enable Content Expiration” is not checked, and Isolation mode is not checked (it’s IIS6).&lt;span&gt;&amp;nbsp; &lt;/span&gt;The server it’s running on is my dev server (Server 2003) and I’m the only developer, so I know nobody’s messing with the box at all, ‘cause nobody else can get to it.&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;"&gt;&amp;nbsp;The goal is for the web app to run continuously.&amp;nbsp; There&amp;#39;s a Timer control built into the app that causes a postback every 10 seconds.&amp;nbsp; Users will walk past the screen and see current information displayed automatically.&amp;nbsp; &lt;/span&gt;
&lt;p&gt;&amp;nbsp;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;"&gt;What else could be causing this to happen every night at the same time?&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;UPDATE: I apologize, I read the IIS log wrong, it actually dies between 15:23 and 16:18 every day.&amp;nbsp; There&amp;#39;s nothing running at those times that could interfere either, however.&lt;/p&gt;</description></item><item><title>Chat Ajax Application performance on IIS6 W2003 (CLASSIC ASP)</title><link>http://forums.iis.net/p/1158411/1906873.aspx#1906873</link><pubDate>Sat, 13 Jun 2009 16:16:15 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1906873</guid><dc:creator>cesarmello</dc:creator><cs:applicationKey>tuning_iis--1</cs:applicationKey><description>&lt;p&gt;Hi People.&lt;/p&gt;
&lt;p&gt;First of all I would like to excuse form my bad English. I´m a Brasilian (Yeah, we have internet here too. And I´m not writing this as I fight off a giant snake. Never seen one. Althoug I´m married to a typical beautiful brasilian women like those you see in the movies. That part about Brazil IS true.)&lt;/p&gt;
&lt;p&gt;I´ve been mostly reading this forum and got some good ideas, and solved some problems.&lt;/p&gt;
&lt;p&gt;So&amp;nbsp;Iwould like to start this topic to dicuss an application and how to configure the server to better serve it.&lt;/p&gt;
&lt;p&gt;I have an ASP CHAT application. In fact it´s an module in a bigger application.&lt;/p&gt;
&lt;p&gt;Since it´s a free service, sometimes I have many users connected using the service.&lt;/p&gt;
&lt;p&gt;The firt structure i designed was this:&lt;/p&gt;
&lt;p&gt;Client -&lt;/p&gt;
&lt;p&gt;In the javascript I run an XmlHtttpRequest that would every 1 second send to the server the current chat ID and the last message ID.&lt;/p&gt;
&lt;p&gt;Server -&lt;/p&gt;
&lt;p&gt;Would query the Database and see if there was new messages. If so, returned the messages.&lt;/p&gt;
&lt;p&gt;------&lt;/p&gt;
&lt;p&gt;As you wold expect, soon the system became popular, the SQL Server ate up all the memory and the server would return HTTP 1.1 New Session Failed.&lt;/p&gt;
&lt;p&gt;I solved this by limiting the maximum memory allocated for the Sql server.&lt;/p&gt;
&lt;p&gt;Still sometimes the server would became so slow that it would timeout.&lt;/p&gt;
&lt;p&gt;I solved this by making subdomains for each function of the server and using a different AppPool for each. &lt;/p&gt;
&lt;p&gt;That solved many performance problems, since it isolated the system functions.&lt;/p&gt;
&lt;p&gt;Still the chat sometimes becomes slow.&lt;/p&gt;
&lt;p&gt;I tried to increase the time for each request from 1 second to 2.5 seconds. It did´nt solved the problem (only allowed more concurrent chat sessions) and the response time of the service became poor.&lt;/p&gt;
&lt;p&gt;So,&amp;nbsp;I&amp;nbsp;thought on a solution that many people may Use.&lt;/p&gt;
&lt;p&gt;It goes like this:&lt;/p&gt;
&lt;p&gt;Client:&lt;/p&gt;
&lt;p&gt;Wen a new message is sent to the server, or a new chat session is created, I save the new message ID in an Application(&amp;quot;chatid&amp;quot;) variable.&lt;/p&gt;
&lt;p&gt;In the javascript I run an XmlHtttpRequest that would every 1 second send to the server the current chat ID and the last message ID it has reveived.&lt;/p&gt;
&lt;p&gt;Server.&lt;/p&gt;
&lt;p&gt;Now, instead of searching the SQL SEVER I have a function that cheks if the&amp;nbsp; Application(&amp;quot;chatid&amp;quot;) &amp;gt; Request(&amp;quot;messageid&amp;quot;)&lt;/p&gt;
&lt;p&gt;So, it checks if the&amp;nbsp;last message the system has reveived is major than the las message the cliente has&amp;nbsp;received.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If so, I return &amp;quot;1&amp;quot; to the cliente.&lt;/p&gt;
&lt;p&gt;Cliente &lt;/p&gt;
&lt;p&gt;If the server response is 1 then send a new XmlHtttpRequest requesting the new messages&lt;/p&gt;
&lt;p&gt;Server&lt;/p&gt;
&lt;p&gt;Get the new messages from the SQL SERVER.&lt;/p&gt;
&lt;p&gt;---------------&lt;/p&gt;
&lt;p&gt;At first glance, seens that the server is making more work, but it isnt true.&lt;/p&gt;
&lt;p&gt;That´s because every second the client checks with the server if there is a new message, and it does so just by comparing with the Application Variable. It doesn´t connect to the Sql server. It doesnt create a new variable. &lt;/p&gt;
&lt;p&gt;Since this action ocurrs every 1 second for each cliente conected and people don´t send a new message every second on a chat session (it´s more like a message ever 10 seconds) you can imagine the number of querys to the Database that I save by doing this.&lt;/p&gt;
&lt;p&gt;There´s a problem thougth.&lt;/p&gt;
&lt;p&gt;Since I´m using the Application() Variable, I have, every hour to run an script that destroys the application object that is not going to be used anymore.&lt;/p&gt;
&lt;p&gt;THE RESULT:&lt;/p&gt;
&lt;p&gt;The resulting impact in the server is this:&lt;/p&gt;
&lt;p&gt;1 - Dramatically decreased the memory used by SQL SERVER. I have free memory all the time now.&lt;/p&gt;
&lt;p&gt;2 - ASP Response Times dramatically increased.&lt;/p&gt;
&lt;p&gt;3 - Number o ASP Requests Queued - Never above 20 since the change.&lt;/p&gt;
&lt;p&gt;OK.&lt;/p&gt;
&lt;p&gt;Now comes my question:&lt;/p&gt;
&lt;p&gt;Problem: This chat sessions are using up my TCP connections. &lt;/p&gt;
&lt;p&gt;But since we now that:&lt;br /&gt;This Xmlttprequest doesn´t have to keep Open When it return 1 or 0 it´s job is done.&lt;br /&gt;I don´t use Session() variables since the users are not logged in or anything, and I can save the variables on the HTML or javascript.&lt;br /&gt;This service is running in it´s own AppPool, so the configuration on this website doesn´t influence on the rest of the website.&lt;/p&gt;
&lt;p&gt;What would be the best configuration for this website to serve up the maximum amount of this simple requests, closing them soon after they completed?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Ajax calls not working - no errors indicated</title><link>http://forums.iis.net/p/1158143/1905742.aspx#1905742</link><pubDate>Thu, 04 Jun 2009 09:08:15 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1905742</guid><dc:creator>LesterDK</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I have migrated to 2008 Server and IIS7, but still using classic ASP and figured out most of my previous problems.&lt;/p&gt;&lt;p&gt;Know a page using ajax to update a form basen on criteria simply does not trigger. According to firebug (firefox) the page gets called at least once, but no change occur to the form fields. And no js errors seen either. This is the same for IE8.&lt;/p&gt;&lt;p&gt;Nothing to see in the event log, and checked out the features installed to see if ajax support needs to be enabled somewhere, but nothing...&lt;/p&gt;&lt;p&gt;Any hints would be appreciated.&lt;/p&gt;&lt;p&gt;IIS6 - &lt;a href="http://allan-hansen.dk/2143.cms" title="IIS6 sample" target="_blank"&gt;IIS6 sample&lt;/a&gt; working form with ajax, changing &amp;quot;mærke&amp;quot; will load model according to change made.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;IIS7 - &lt;a href="http://toyota-krogsgaard.dk/3194.cms" target="_blank"&gt;IIS7 sample&lt;/a&gt; same code not working with IIS7. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Weird IE error with AJAX - parseerror - works on IIS 5.1</title><link>http://forums.iis.net/p/1155758/1895667.aspx#1895667</link><pubDate>Wed, 04 Mar 2009 18:27:34 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1895667</guid><dc:creator>KasperFP</dc:creator><cs:applicationKey>iis7_-_classic_asp-41</cs:applicationKey><description>&lt;p&gt;Dear all,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve been breaking my brain the last couple of days with this issue, and I&amp;#39;ve asked several JavaScript / AJAX experts, who all concludes the same as I have. The error must be a server issue.&lt;/p&gt;&lt;p&gt;I have two files: ajax.html and ajax.asp.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.test.orango.nu/dev/ajax.html" target="_blank"&gt;http://www.test.orango.nu/dev/ajax.html&lt;/a&gt;&lt;/p&gt;&lt;p&gt;This is what happens / should happen:&lt;br /&gt;1. ajax.html posts to ajax.asp, with the query string cmd=a command value.&lt;br /&gt;2. ajax.asp response.writes the query string &amp;quot;cmd&amp;quot;&lt;br /&gt;3. ajax.html alert&amp;#39;s the response text&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So what does actually happens? No one knows. In ALL other browsers than Internet Explorer (I use v7, haven&amp;#39;t tried other versions), it alerts &amp;quot;a command value&amp;quot; (use the link I provided you to see for yourself) - but with Internet Explorer - it doesn&amp;#39;t :( it returns an error.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So why do I blame the server? because when I remove the &amp;quot;response.write request(&amp;quot;cmd&amp;quot;)&amp;quot; line from ajax.asp, so that ajax.asp does nothing, then the ajax.html alerts without anything in the alert pop-up.&lt;/p&gt;&lt;p&gt;Do you have any idea what the frick could be the matter? If I download the two files to my localhost, it works after the intention..&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;My ajax.asp file looks like this:&lt;br /&gt; &amp;lt;%&lt;br /&gt;Response.ContentType = &amp;quot;text/plain&amp;quot;&amp;nbsp; &lt;br /&gt;Response.AddHeader &amp;quot;Content-Type&amp;quot;, &amp;quot;text/plain;charset=UTF-8&amp;quot;&amp;nbsp; &lt;br /&gt;Response.CodePage = 65001&amp;nbsp; &lt;br /&gt;Response.CharSet = &amp;quot;UTF-8&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;response.write request(&amp;quot;cmd&amp;quot;)&lt;br /&gt;%&amp;gt;&lt;br /&gt;and it&amp;#39;s encoded in UTF-8 as well&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve tried to change the content-type, the encoding, I&amp;#39;ve tried to use jQuery and other js-kits and so on and so on, but nothing seems to work with Internet Explorer, so I&amp;#39;m guessing it&amp;#39;s an issue with my server, which by the way, is:&lt;br /&gt;Windows Web Server 2008 64 bit&lt;br /&gt;IIS 7.0 running 32-bit compatible mode&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;All suggestions are welcome, I&amp;#39;m willing to try anything to make this work.&lt;/p&gt;&lt;p&gt;Thanks in advance &lt;br /&gt;&lt;/p&gt;</description></item><item><title>IIS 7 - FRAMEWORK 3.5 - Debug fails to see javascript breakpoints (WIN XP Pro)</title><link>http://forums.iis.net/p/1154967/1892365.aspx#1892365</link><pubDate>Wed, 04 Feb 2009 23:24:10 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1892365</guid><dc:creator>DomNotDOM</dc:creator><cs:applicationKey>iis_7_-_aspnet_administration-41</cs:applicationKey><description>&lt;p&gt;.&lt;br /&gt;I am in a soup of weak understanding.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;May save yourself some time, by reading the next reply... as IE 8 seems to be the source of the problem.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;u&gt;SETUP&lt;/u&gt;:&lt;br /&gt;&lt;/strong&gt;I installed 3.5 ajax, IIS 7, 3.5 framework, and Visual Studio 2008, on XP PRO.&lt;br /&gt;All good all functioning well, debugging (javascript, HTML, VB).&lt;br /&gt;Intellisense working in all 3 languages, isn&amp;#39;t that simply beautiful.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;This is on a startup project with 4 html/aspx pages accessing my SQLServer 2005 without any problems, and doing postbacks via the ajax ScriptManager mechanism, sweetly.&amp;nbsp; Couldn&amp;#39;t be better!&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;u&gt;ERROR&lt;/u&gt;:&lt;/strong&gt;&lt;br /&gt;...after weeks of working great,&amp;nbsp;problem with &lt;strong&gt;breakpoints in javascript being ignored.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;TROUBLESHOOTING&lt;/u&gt;:&lt;br /&gt;&lt;/strong&gt;I have done everything suggested in 1 million forums, to no avail.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Yes, I do place a breakpoint in the VB codebehind, and it hits that one.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Partial list of things that I checked, or ran&lt;/strong&gt;:&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;IE Intenet Options - Advanced&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Disable script debugging (IE) &lt;strong&gt;unchecked&lt;/strong&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Disable script debugging (Other) &lt;strong&gt;unchecked&lt;/strong&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;IIS Virtual Directory TAB&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Local path... points to &lt;strong&gt;folder where project is&lt;br /&gt;&lt;/strong&gt;\MydevArea\MyProjects\ProjectName\(&lt;strong&gt;all files here&lt;/strong&gt;)&lt;br /&gt;\inetpub\wwwroot\ProjectName\(&lt;strong&gt;no files here&lt;/strong&gt;)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;IIS Application Protection &lt;strong&gt;Medium Pooled&lt;/strong&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;Configuration/Mappings&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\&lt;strong&gt;****&lt;/strong&gt;&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;Configuration/Debugging&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Enable ASP server-side script debugging &lt;strong&gt;checked&lt;/strong&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;Enable ASP client-side script debugging &lt;strong&gt;checked&lt;/strong&gt;&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;web.config&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Debug = &lt;strong&gt;true&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;ran both commands in command window&lt;/strong&gt;&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 - aspnet_regiis -i&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;C:\WINDOWS\Microsoft.NET\Framework\v3.5 -&amp;nbsp;WFServicesReg.exe /c&lt;br /&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;Project Properties,&lt;strong&gt; Compile&lt;/strong&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Debug&lt;strong&gt;(Active)&lt;/strong&gt;... it keeps reverting to that even though I keep setting it to &lt;strong&gt;&amp;#39;Debug&amp;#39;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;I have had it see the breakpoints in javascript while switching this setting to Debug, while in a debug session. ???&amp;nbsp; was not able to duplicate that.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;Project Properties, &lt;strong&gt;Compile - Advanced&lt;/strong&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Set Debug Constant &lt;strong&gt;checked&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Set Trace Constant &lt;strong&gt;checked&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Target CPU &lt;strong&gt;AnyCPU&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Target Framework &lt;strong&gt;3.5&lt;/strong&gt; (All configurations)&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;Project Properties,&lt;strong&gt; WEB&lt;/strong&gt;&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Use IIS web server -&amp;nbsp;&lt;strong&gt;checked&lt;/strong&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;debuggers - &lt;strong&gt;ASP.NET&lt;/strong&gt;&amp;nbsp;&lt;strong&gt;checked&lt;/strong&gt; (Native and SQL unchecked)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Noticed the Visual Studio Development server does not see javascript&lt;br /&gt;...but I faintly remember that when I used it when I first installed, I believe it did...&lt;em&gt;(may be wrong on that one)&lt;/em&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;u&gt;DISCREPANCIES&lt;/u&gt;:&amp;nbsp; &lt;/strong&gt;&lt;em&gt;(The only reason I became aware of these discrepancies is thru troubleshooting the breakpoints issue.)&lt;/em&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;The ASP.NET version in IIS shows 2.xxxxxx, was expecting 3.5.&lt;br /&gt;Ok! I now know that 3.5 is an extension thus 2.xxx is still the base (aspnet_isapi.dll).&lt;br /&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Even though I have installed IIS 7.0(and is shows correctly in the Add Programs), when I check the version under the &lt;strong&gt;Help-About&lt;/strong&gt; of the IIS console, it shows 5.1&lt;br /&gt;Is 7 not installed? or is the version on the IIS panel the version of the console?&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;&lt;u&gt;QUESTIONS&lt;/u&gt;:&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Did either of the commands I ran under the command window do any damage?&lt;br /&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;How do I know IIS 7.0 is really installed?&amp;nbsp; ...given discrepancy 2.&lt;br /&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Can you see anything I need to check that might resolve the issue of the breakpoints in javascript?&lt;br /&gt;&lt;strong&gt;I am praying the answer is here, not in 4. below.&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;I am at the end of my wits on this one, and I am contemplating reinstalling!&lt;/div&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;I will first&lt;/strong&gt; create a new project and rebuild one page at a time to see if I get success.&lt;br /&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;If 1 fails, and I do reinstall:&lt;/div&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;what should I UNINSTALL, ZAP, in WHAT order?&lt;br /&gt;&lt;strong&gt;be clear as to exactly what, including whether a folder is to be removed along with its contents.&lt;/strong&gt;&lt;br /&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;...and what should I INSTALL in WHAT ORDER!&lt;br /&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;DO I HAVE TO reINSTALL all of:&lt;br /&gt;Framework(s), IIS, Visual Studio?&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;/ol&gt;
&lt;p&gt;I can only thank you in advance.&lt;br /&gt;&lt;strong&gt;NicMartel&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>I want to Upload Multiple Image on web server using DataGrid</title><link>http://forums.iis.net/p/1154032/1888617.aspx#1888617</link><pubDate>Tue, 30 Dec 2008 11:37:02 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1888617</guid><dc:creator>abdullahimaginations</dc:creator><cs:applicationKey>general--1</cs:applicationKey><description>&lt;p&gt;Hii....am Abdullah&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Frndz i want to add multiple Images in to the grid..&lt;/p&gt;
&lt;p&gt;Can ny1 help me...i have a code which is running properly in 2003 bt showing a Error in 2005&lt;/p&gt;
&lt;p&gt;Request for the permission of type &amp;#39;System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&amp;#39; failed.&lt;/p&gt;
&lt;p&gt;Private Sub CreateFolder() &lt;br /&gt;Dim MImageDirectoryPath As String&lt;/p&gt;
&lt;p&gt;Dim MImageDirectoryName As String&lt;/p&gt;
&lt;p&gt;Dim MSmall As String&lt;/p&gt;
&lt;p&gt;Dim UserName As String&lt;/p&gt;
&lt;p&gt;Try&lt;/p&gt;
&lt;p&gt;If Session(&amp;quot;GuruID&amp;quot;) &amp;gt; 0 Then&lt;/p&gt;
&lt;p&gt;UserName = Session(&amp;quot;UserName&amp;quot;) &lt;br /&gt;Else&lt;/p&gt;
&lt;p&gt;UserName = txtUserName.Text&lt;/p&gt;
&lt;p&gt;End If&lt;/p&gt;
&lt;p&gt;MImageDirectoryName = &amp;quot;../Pictures/Guru&amp;quot;&lt;/p&gt;
&lt;p&gt;MImageDirectoryPath = Server.MapPath(MImageDirectoryName)&lt;/p&gt;
&lt;p&gt;If Dir(MImageDirectoryPath, FileAttribute.Directory) = &amp;quot;&amp;quot; Then&lt;/p&gt;
&lt;p&gt;MkDir(MImageDirectoryPath)&lt;/p&gt;
&lt;p&gt;End If&lt;/p&gt;
&lt;p&gt;MSmall = MImageDirectoryName &amp;amp; &amp;quot;/&amp;quot; &amp;amp; UserName &lt;br /&gt;MImageDirectoryPath = Server.MapPath(MSmall)&lt;/p&gt;
&lt;p&gt;If Dir(MImageDirectoryPath, FileAttribute.Directory) = &amp;quot;&amp;quot; Then&lt;/p&gt;
&lt;p&gt;MkDir(MImageDirectoryPath)&lt;/p&gt;
&lt;p&gt;End If&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;MSmall = MImageDirectoryName &amp;amp; &amp;quot;/&amp;quot; &amp;amp; UserName &amp;amp; &amp;quot;/Images&amp;quot; &lt;br /&gt;MImageDirectoryPath = Server.MapPath(MSmall)&lt;/p&gt;
&lt;p&gt;If Dir(MImageDirectoryPath, FileAttribute.Directory) = &amp;quot;&amp;quot; Then&lt;/p&gt;
&lt;p&gt;MkDir(MImageDirectoryPath)&lt;/p&gt;
&lt;p&gt;End If &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Catch ex As Exception clsCommon.ErrorTrapping(Request.ServerVariables(&amp;quot;Script_Name&amp;quot;), &amp;quot;CreateFolder&amp;quot;, ex.Message) &lt;br /&gt;End Try&lt;/p&gt;
&lt;p&gt;End Sub&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Keep web Application active</title><link>http://forums.iis.net/p/1151679/1879114.aspx#1879114</link><pubDate>Thu, 11 Sep 2008 20:24:25 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1879114</guid><dc:creator>bapo_10@hotmail.com</dc:creator><cs:applicationKey>general--1</cs:applicationKey><description>&lt;p&gt;I have a web&amp;nbsp;application that uses the COM model to connect to a remote server. It is currently running on my Local machine.&lt;/p&gt;
&lt;p&gt;I wish to push it out to a remote web server. I further wish to log on and config the application from time to time. Locally, I can disconnect the browser and the application still receives updates that I have subscribed to from the third party server.&lt;/p&gt;
&lt;p&gt;My problem seems to be that occasionaly the IIS Local server disconnects from the third party server. The connection is genuinely lost for some time.&amp;nbsp;I can reconnect whilst connected to IIS with a browser (through code timers running on page).&lt;/p&gt;
&lt;p&gt;What page is IIS actually running when I disconnect the browser ?&lt;/p&gt;
&lt;p&gt;Can I run a Timer on&amp;nbsp;such a&amp;nbsp;page (perhaps a Master page), when the browser is disconnected?&lt;/p&gt;
&lt;p&gt;How do I get a process to run as a metronome or otherwise in a web application under IIS with the above circumstances I describe?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I,m real stuck on this and new to IIS.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any help would be appreciated&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Robert&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>