<rss version="2.0">
   <channel>
      <title>West Wind Message Board Messages</title>
      <link>http://www.foxcentral.net</link>
      <description>West Wind Message Board New Messages</description>
      <language>en-us</language>
      <ttl>1440</ttl>       <item>
			<title>Re: HttpModule processsing appears to clear out ASP Request object in IIS 7</title>
			<pubDate>Thu, 11 Mar 2010 00:26:22 GMT</pubDate>
			<guid isPermaLink="false">2VV0VA30C</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: HttpModule processsing appears to clear out ASP Request object in IIS 7&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    ASP.NET
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: HttpModule processsing appears to clear out ASP Request object in IIS 7
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/10/2010&lt;br /&gt;
           04:26:22 PM&lt;br /&gt;
          2VV0VA30C
          &lt;a href="default.asp?Thread=2VT0E0DJ7&amp;MsgId=2VV0VA30C"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ3H('armodi','hotmail.com','re%3A Re%3A HttpModule processsing appears to clear out ASP Request object in IIS 7');" &gt;Aashish Modi&lt;/a&gt;&lt;script&gt; function _2VV16LZ3H(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ3I('rstrahl','west-wind.com');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ3I(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    Are you referring to the BinaryRead method? Although I'm not sure if I still concur with that explanation, if that is indeed what is happening, what is the solution/alternative? Thanks.&lt;p&gt;- Aashish&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;The POST buffer is a stream in IIS and it's read on demand. AFAIK it's forward only - once read there's no way to go backwards to read values again. So if an ASP.NET module early in the request cycle reads the POST buffer as a full stream another tool like ASP won't see the request stream.&lt;/i&gt;&lt;p&gt;&lt;i&gt;Other ASP.NET componenets will see POST values just fine since those get set very early in the pipeline but if you read the stream (and modify it as you are trying to do) you are touching the raw stream and that's forward only.&lt;/i&gt;&lt;p&gt;&lt;i&gt;+++ Rick ---&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;Thanks for your prompt response.&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;Yes, this is accomplished in IIS 6 using wildcard application mapping.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;I'm not sure if I follow(/agree with) your explanation about the Request object being cleared out as it is read. I thought that the HttpModule is a part of the Request pipeline and therefore, has access to all events of the Request's life-cycle, even more so in IIS 7 when running in integrated pipeline mode, where the ASP.NET request pipeline is integrated with the Web server's Request pipeline.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Please let me know if I missed something.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;- Aashish&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Client has a Classic ASP application hosted on IIS 7 running in Integrated Pipeline mode. An ASP.NET based HttpModule registered on the IIS application attempts to prevent cross-site scripting attacks. The classic ASP application works fine (without the cross-site scripting attack filter functionality). But as soon as this HttpModule is added to the IIS 7 application, the Request object clears out after an HttpRequest is POSTed from the classic ASP application.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;BTW, this same implementation works fine on IIS 6. The code in the HttpModule is listed below, if it helps.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Uhm, how are you getting this to work on IIS 6? With wildcard mappings? &lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Both ASP and ASP.NET will reasd the post buffer and clear it as it is read since it's being read directly from the inbound IIS stream. Once read the POST buffer is gone. So if you read in ASP.NET then ASP isn't going to get POST data and vice versa AFAIK.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;+++ Rick ---&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Any ideas, please? Thanks.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;pre&gt;&lt;div class="vbcode"&gt;&lt;span class="statements"&gt;Imports&lt;/span&gt; System&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;span class="statements"&gt;Imports&lt;/span&gt; System.Web&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;span class="statements"&gt;Imports&lt;/span&gt; System.IO&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;

&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;span class="keywords"&gt;Public&lt;/span&gt; &lt;span class="statements"&gt;Class&lt;/span&gt; ASPRequestValidation : &lt;span class="statements"&gt;Implements&lt;/span&gt; IHttpModule&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;

&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;#Region &lt;span class="codestring"&gt;"Private Members"&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;    &lt;span class="keywords"&gt;Private&lt;/span&gt; _app &lt;span class="keywords"&gt;As&lt;/span&gt; HttpApplication&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;#End Region&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;

&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;#Region &lt;span class="codestring"&gt;"IHttpModule"&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;    &lt;span class="keywords"&gt;Public&lt;/span&gt; &lt;span class="statements"&gt;Sub&lt;/span&gt; Init(&lt;span class="keywords"&gt;ByVal&lt;/span&gt; context &lt;span class="keywords"&gt;As&lt;/span&gt; System.Web.HttpApplication) &lt;span class="statements"&gt;Implements&lt;/span&gt; System.Web.IHttpModule.Init&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;        _app = context&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;        &lt;span class="keywords"&gt;AddHandler&lt;/span&gt; _app.BeginRequest, &lt;span class="operators"&gt;AddressOf&lt;/span&gt; OnEnter&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;    &lt;span class="statements"&gt;End&lt;/span&gt; &lt;span class="statements"&gt;Sub&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;

&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;    &lt;span class="keywords"&gt;Public&lt;/span&gt; &lt;span class="statements"&gt;Sub&lt;/span&gt; Dispose() &lt;span class="statements"&gt;Implements&lt;/span&gt; System.Web.IHttpModule.Dispose&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;

&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;    &lt;span class="statements"&gt;End&lt;/span&gt; &lt;span class="statements"&gt;Sub&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;#End Region&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;

&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;#Region &lt;span class="codestring"&gt;"Helpers"&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;    &lt;span class="keywords"&gt;Private&lt;/span&gt; &lt;span class="statements"&gt;Sub&lt;/span&gt; OnEnter(&lt;span class="keywords"&gt;ByVal&lt;/span&gt; source &lt;span class="keywords"&gt;As&lt;/span&gt; &lt;span class="datatypes"&gt;Object&lt;/span&gt;, &lt;span class="keywords"&gt;ByVal&lt;/span&gt; e &lt;span class="keywords"&gt;As&lt;/span&gt; EventArgs)&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;        &lt;span class="codecomment"&gt;' Retrieve the query string data structure for the current page&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;        &lt;span class="statements"&gt;Dim&lt;/span&gt; app &lt;span class="keywords"&gt;As&lt;/span&gt; HttpApplication = &lt;span class="functions"&gt;CType&lt;/span&gt;(source, HttpApplication)&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;        _app.Request.ValidateInput()&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;

&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;        &lt;span class="statements"&gt;Try&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;            &lt;span class="statements"&gt;Dim&lt;/span&gt; touchForm &lt;span class="keywords"&gt;As&lt;/span&gt; &lt;span class="datatypes"&gt;Object&lt;/span&gt; = _app.Request.Form&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;            &lt;span class="statements"&gt;Dim&lt;/span&gt; touchQueryString &lt;span class="keywords"&gt;As&lt;/span&gt; &lt;span class="datatypes"&gt;Object&lt;/span&gt; = _app.Request.QueryString&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;        &lt;span class="statements"&gt;Catch&lt;/span&gt; ex &lt;span class="keywords"&gt;As&lt;/span&gt; HttpRequestValidationException&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;            app.Response.Redirect(&lt;span class="codestring"&gt;"invalidrequest.asp"&lt;/span&gt;)&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;        &lt;span class="statements"&gt;End&lt;/span&gt; &lt;span class="statements"&gt;Try&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;    &lt;span class="statements"&gt;End&lt;/span&gt; &lt;span class="statements"&gt;Sub&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;#End Region&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;span class="statements"&gt;End&lt;/span&gt; &lt;span class="statements"&gt;Class&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;p&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=1I4114LP7" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/helpbuilder_rotating.gif" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VV0VA30C";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VV0VA30C</link>
			<author>Aashish Modi</author>
     </item>
     <item>
			<title>Re: Java Script execution from SELECT tag (Custom Actions in Grid Columns)</title>
			<pubDate>Wed, 10 Mar 2010 22:32:56 GMT</pubDate>
			<guid isPermaLink="false">2VV0V6O0N</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: Java Script execution from SELECT tag (Custom Actions in Grid Columns)&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    Web Connection 5.0
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: Java Script execution from SELECT tag (Custom Actions in Grid Columns)
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/10/2010&lt;br /&gt;
           02:32:56 PM&lt;br /&gt;
          2VV0V6O0N
          &lt;a href="default.asp?Thread=2VV0U2OCH&amp;MsgId=2VV0V6O0N"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ3P('rstrahl','west-wind.com','re%3A Re%3A Java Script execution from SELECT tag %28Custom Actions in Grid Columns%29');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ3P(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ3Q('BCarraway','eKemper.com');" &gt;Brett Carraway&lt;/a&gt;&lt;script&gt; function _2VV16LZ3Q(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    &lt;br&gt;For the dynamic drop down editing check out this post:&lt;p&gt;&lt;a href="http://www.west-wind.com/WebLog/posts/868775.aspx"  target="top" &gt;http://www.west-wind.com/WebLog/posts/868775.aspx&lt;/a&gt;&lt;p&gt;which uses jQuery.&lt;p&gt;+++ Rick ---&lt;p&gt;&lt;br&gt;&lt;i&gt;I want to execute some Java script to call a method on the server to update a record, much like the DeleteCustomer example where the list is refreshed by using Java to fadeout the affected record and the entire page does not need posted back--this is very sweet (BTW).  &lt;/i&gt;&lt;p&gt;&lt;i&gt;However, instead of deleting the record via a link, I want the user to be able to select a status from a selection / list.  If the status changed, I want to remove the record from the list using JS.&lt;/i&gt;&lt;p&gt;&lt;i&gt;I've tried this for a couple of days now using the onchange event attribute.  I am able to get this to work with a link, but not with a SELECT tag.  &lt;/i&gt;&lt;p&gt;&lt;i&gt;Please help.&lt;/i&gt;&lt;p&gt;&lt;i&gt;In the snippet below, _2VG0F1QUF is the value of by record ID.&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;pre&gt;&lt;div class="htmlcode"&gt;&lt;span class="elements"&gt;&amp;lt;SELECT&lt;/span&gt; &lt;span class="attributes"&gt;WIDTH=&lt;/span&gt;&lt;span class="codestring"&gt;"25%"&lt;/span&gt; &lt;span class="attributes"&gt;NAME=&lt;/span&gt;&lt;span class="codestring"&gt;"SelDisp_KCLOGSRDSS"&lt;/span&gt; &lt;span class="attributes"&gt;SIZE=&lt;/span&gt;&lt;span class="codestring"&gt;"1"&lt;/span&gt; &lt;span class="attributes"&gt;onchange=&lt;/span&gt;&lt;span class="codestring"&gt;"JavaScript:DispChange(_2VG0F1QUF,event);"&lt;/span&gt;&amp;gt;&lt;span class="elements"&gt;&amp;lt;OPTION&lt;/span&gt; Value =&lt;span class="codestring"&gt;"AGT       "&lt;/span&gt; &amp;gt;Agt (agent contacted)&lt;span class="elements"&gt;&amp;lt;/OPTION&amp;gt;&lt;/span&gt;&lt;/i&gt;
&lt;i&gt;&lt;span class="elements"&gt;&amp;lt;/SELECT&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;br&gt;&lt;table width='100%' class='bt' bgcolor='LightGrey'  style="border: #E0E0E0 2px outset"&gt;&lt;tr&gt;&lt;br&gt;&lt;td&gt;&lt;font face='Arial' size=3 color='#800000'&gt;&lt;b&gt;Rick Strahl&lt;br&gt;West Wind Technologies&lt;/b&gt;&lt;hr&gt;&lt;i&gt;&lt;font size=2 color=black&gt;Where do you want to &lt;b&gt;surf&lt;/b&gt; today?&lt;/i&gt;&lt;/font&gt;&lt;/font&gt;&lt;/td&gt;&lt;br&gt;&lt;td align='right' valign='top'&gt;&lt;a style="font-size: 8pt" href='http://www.west-wind.com/wwReader.asp'&gt;&lt;i&gt;Reader Version: 5.0&lt;/i&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;&lt;small&gt;from Maui, Hawaii&lt;/small&gt;&lt;br&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=1I4114LP7" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/helpbuilder_rotating.gif" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VV0V6O0N";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VV0V6O0N</link>
			<author>Rick Strahl</author>
     </item>
     <item>
			<title>Re: Java Script execution from SELECT tag (Custom Actions in Grid Columns)</title>
			<pubDate>Wed, 10 Mar 2010 22:26:43 GMT</pubDate>
			<guid isPermaLink="false">2VV0UYNYH</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: Java Script execution from SELECT tag (Custom Actions in Grid Columns)&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    Web Connection 5.0
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: Java Script execution from SELECT tag (Custom Actions in Grid Columns)
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/10/2010&lt;br /&gt;
           02:26:43 PM&lt;br /&gt;
          2VV0UYNYH
          &lt;a href="default.asp?Thread=2VV0U2OCH&amp;MsgId=2VV0UYNYH"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ3V('rstrahl','west-wind.com','re%3A Re%3A Java Script execution from SELECT tag %28Custom Actions in Grid Columns%29');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ3V(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ3W('BCarraway','eKemper.com');" &gt;Brett Carraway&lt;/a&gt;&lt;script&gt; function _2VV16LZ3W(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    Several problems with your code: events should have no JavaScript tag (and it needs to be javascript all lower when you do use it). Additionally your first parameter needs to be in quotes.&lt;p&gt;&lt;pre&gt;&lt;div class="htmlcode"&gt;&lt;span class="attributes"&gt;onchange=&lt;/span&gt;&lt;span class="codestring"&gt;"DispChange('_2xadasadsas',event);"&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;p&gt;FireBug or the IE Script debugger are your friend - they will show you the errors in your page code or when page is executed and fails - otherwise these errors fail silently which is highly undesirable.&lt;p&gt;However I would recommend that you dynamically load the drop downlist only when needed rather than rendering it into the page for each item (unless each item has different options) to avoid page bloat due to duplication.&lt;p&gt;+++ Rick ---&lt;p&gt;&lt;i&gt;I want to execute some Java script to call a method on the server to update a record, much like the DeleteCustomer example where the list is refreshed by using Java to fadeout the affected record and the entire page does not need posted back--this is very sweet (BTW).  &lt;/i&gt;&lt;p&gt;&lt;i&gt;However, instead of deleting the record via a link, I want the user to be able to select a status from a selection / list.  If the status changed, I want to remove the record from the list using JS.&lt;/i&gt;&lt;p&gt;&lt;i&gt;I've tried this for a couple of days now using the onchange event attribute.  I am able to get this to work with a link, but not with a SELECT tag.  &lt;/i&gt;&lt;p&gt;&lt;i&gt;Please help.&lt;/i&gt;&lt;p&gt;&lt;i&gt;In the snippet below, _2VG0F1QUF is the value of by record ID.&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;pre&gt;&lt;div class="htmlcode"&gt;&lt;span class="elements"&gt;&amp;lt;SELECT&lt;/span&gt; &lt;span class="attributes"&gt;WIDTH=&lt;/span&gt;&lt;span class="codestring"&gt;"25%"&lt;/span&gt; &lt;span class="attributes"&gt;NAME=&lt;/span&gt;&lt;span class="codestring"&gt;"SelDisp_KCLOGSRDSS"&lt;/span&gt; &lt;span class="attributes"&gt;SIZE=&lt;/span&gt;&lt;span class="codestring"&gt;"1"&lt;/span&gt; &lt;span class="attributes"&gt;onchange=&lt;/span&gt;&lt;span class="codestring"&gt;"JavaScript:DispChange(_2VG0F1QUF,event);"&lt;/span&gt;&amp;gt;&lt;span class="elements"&gt;&amp;lt;OPTION&lt;/span&gt; Value =&lt;span class="codestring"&gt;"AGT       "&lt;/span&gt; &amp;gt;Agt (agent contacted)&lt;span class="elements"&gt;&amp;lt;/OPTION&amp;gt;&lt;/span&gt;&lt;/i&gt;
&lt;i&gt;&lt;span class="elements"&gt;&amp;lt;/SELECT&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;br&gt;&lt;table width='100%' class='bt' bgcolor='LightGrey'  style="border: #E0E0E0 2px outset"&gt;&lt;tr&gt;&lt;br&gt;&lt;td&gt;&lt;font face='Arial' size=3 color='#800000'&gt;&lt;b&gt;Rick Strahl&lt;br&gt;West Wind Technologies&lt;/b&gt;&lt;hr&gt;&lt;i&gt;&lt;font size=2 color=black&gt;Where do you want to &lt;b&gt;surf&lt;/b&gt; today?&lt;/i&gt;&lt;/font&gt;&lt;/font&gt;&lt;/td&gt;&lt;br&gt;&lt;td align='right' valign='top'&gt;&lt;a style="font-size: 8pt" href='&lt;a href="http://www.west-wind.com/wwReader.asp"  target="top" &gt;http://www.west-wind.com/wwReader.asp&lt;/a&gt;'&gt;&lt;i&gt;Reader Version: 5.0&lt;/i&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;&lt;small&gt;from Maui, Hawaii&lt;/small&gt;&lt;br&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=1I4114LP7" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/helpbuilder_rotating.gif" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VV0UYNYH";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VV0UYNYH</link>
			<author>Rick Strahl</author>
     </item>
     <item>
			<title>Java Script execution from SELECT tag (Custom Actions in Grid Columns)</title>
			<pubDate>Wed, 10 Mar 2010 22:01:50 GMT</pubDate>
			<guid isPermaLink="false">2VV0U2OCI</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Java Script execution from SELECT tag (Custom Actions in Grid Columns)&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    Web Connection 5.0
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Java Script execution from SELECT tag (Custom Actions in Grid Columns)
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/10/2010&lt;br /&gt;
           02:01:50 PM&lt;br /&gt;
          2VV0U2OCI
          &lt;a href="default.asp?Thread=2VV0U2OCH&amp;MsgId=2VV0U2OCI"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ42('BCarraway','eKemper.com','re%3A Java Script execution from SELECT tag %28Custom Actions in Grid Columns%29');" &gt;Brett Carraway&lt;/a&gt;&lt;script&gt; function _2VV16LZ42(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;All&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    I want to execute some Java script to call a method on the server to update a record, much like the DeleteCustomer example where the list is refreshed by using Java to fadeout the affected record and the entire page does not need posted back--this is very sweet (BTW).  &lt;p&gt;However, instead of deleting the record via a link, I want the user to be able to select a status from a selection / list.  If the status changed, I want to remove the record from the list using JS.&lt;p&gt;I've tried this for a couple of days now using the onchange event attribute.  I am able to get this to work with a link, but not with a SELECT tag.  &lt;p&gt;Please help.&lt;p&gt;In the snippet below, _2VG0F1QUF is the value of by record ID.&lt;p&gt;&lt;pre&gt;&lt;div class="htmlcode"&gt;&lt;span class="elements"&gt;&amp;lt;SELECT&lt;/span&gt; &lt;span class="attributes"&gt;WIDTH=&lt;/span&gt;&lt;span class="codestring"&gt;"25%"&lt;/span&gt; &lt;span class="attributes"&gt;NAME=&lt;/span&gt;&lt;span class="codestring"&gt;"SelDisp_KCLOGSRDSS"&lt;/span&gt; &lt;span class="attributes"&gt;SIZE=&lt;/span&gt;&lt;span class="codestring"&gt;"1"&lt;/span&gt; &lt;span class="attributes"&gt;onchange=&lt;/span&gt;&lt;span class="codestring"&gt;"JavaScript:DispChange(_2VG0F1QUF,event);"&lt;/span&gt;&amp;gt;&lt;span class="elements"&gt;&amp;lt;OPTION&lt;/span&gt; Value =&lt;span class="codestring"&gt;"AGT       "&lt;/span&gt; &amp;gt;Agt (agent contacted)&lt;span class="elements"&gt;&amp;lt;/OPTION&amp;gt;&lt;/span&gt;
&lt;span class="elements"&gt;&amp;lt;/SELECT&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;br&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;p&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=0240SNVU" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/codemag3.jpg" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VV0U2OCI";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VV0U2OCI</link>
			<author>Brett Carraway</author>
     </item>
     <item>
			<title>Re: Suggestions</title>
			<pubDate>Wed, 10 Mar 2010 21:54:59 GMT</pubDate>
			<guid isPermaLink="false">2VV0TTUZH</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: Suggestions&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    West Wind Web Toolkit for ASP.NET
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: Suggestions
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/10/2010&lt;br /&gt;
           01:54:59 PM&lt;br /&gt;
          2VV0TTUZH
          &lt;a href="default.asp?Thread=2VQ0CWR1R&amp;MsgId=2VV0TTUZH"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ47('paulm','rcs-solutions.com','re%3A Re%3A Suggestions');" &gt;Paul Mrozowski&lt;/a&gt;&lt;script&gt; function _2VV16LZ47(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ48('rstrahl','west-wind.com');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ48(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    &lt;i&gt; It's a funky format that it expects...&lt;/i&gt;&lt;p&gt;Yes it is. I've got a couple of custom class structures now that match what it's expecting. The first grid was a little painful but now it's a little more cookie-cutter. &lt;p&gt;-Paul&lt;br&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;p&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=0240SNVU" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/codemag3.jpg" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VV0TTUZH";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VV0TTUZH</link>
			<author>Paul Mrozowski</author>
     </item>
     <item>
			<title>Re: webdropdownlist</title>
			<pubDate>Wed, 10 Mar 2010 20:00:48 GMT</pubDate>
			<guid isPermaLink="false">2VV0PR0D6</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: webdropdownlist&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    Web Connection 5.0
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: webdropdownlist
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/10/2010&lt;br /&gt;
           12:00:48 PM&lt;br /&gt;
          2VV0PR0D6
          &lt;a href="default.asp?Thread=2VV0DAZ49&amp;MsgId=2VV0PR0D6"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ4C('charless','metzcorp.com','re%3A Re%3A webdropdownlist');" &gt;Charles Steinhauer&lt;/a&gt;&lt;script&gt; function _2VV16LZ4C(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ4D('rstrahl','west-wind.com');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ4D(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    Thank You!&lt;p&gt;CBY&lt;p&gt;&lt;p&gt;&lt;i&gt;Hi Charles,&lt;/i&gt;&lt;p&gt;&lt;i&gt;You can't directly retrieve the text value from a text box - only the value is available. If you need the text value you need to look it up in the table based on the key you retrieved...&lt;/i&gt;&lt;p&gt;&lt;i&gt;Web Connection doesn't keep a list of list items for any of the list controls (which is unlike ASP.NET) because of performance and memory concerns in VFP - there's tremendous overhead in creating new lists and keeping them in memory compared to rendering directly from the data source.&lt;/i&gt;&lt;p&gt;&lt;i&gt;The data source should be open after selection - so a lookup for the value should be pretty easy to do.&lt;/i&gt;&lt;p&gt;&lt;i&gt;+++ Rick ---&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;I have a drop down that lists valid gl account numbers.&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;the display text is the account name (Accounts receivable) while the selected value is the account number (12345-0000)&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;I can assign a value from a drop down list with&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;this.sa4.text=this.sl1_list.SelectedValue (12345-0000)&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;I need to assign the accoumnt name to another text object. &lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;this.sl4.text=this.sl1_list.?  (Accounts Receivable)&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Cannot seem to find the correct tag&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Thanks,&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;   Charles&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;p&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=0230SIL5" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/webconnectionBanner50.gif" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VV0PR0D6";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VV0PR0D6</link>
			<author>Charles Steinhauer</author>
     </item>
     <item>
			<title>Re: Suggestions</title>
			<pubDate>Wed, 10 Mar 2010 19:52:56 GMT</pubDate>
			<guid isPermaLink="false">2VV0PGWDX</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: Suggestions&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    West Wind Web Toolkit for ASP.NET
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: Suggestions
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/10/2010&lt;br /&gt;
           11:52:56 AM&lt;br /&gt;
          2VV0PGWDX
          &lt;a href="default.asp?Thread=2VQ0CWR1R&amp;MsgId=2VV0PGWDX"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ4H('rstrahl','west-wind.com','re%3A Re%3A Suggestions');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ4H(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ4I('paulm','rcs-solutions.com');" &gt;Paul Mrozowski&lt;/a&gt;&lt;script&gt; function _2VV16LZ4I(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    There's an example in the samples that feeds jqGrid data - but it returns JSON data. It's a funky format that it expects...&lt;p&gt;+++ Rick ---&lt;p&gt;&lt;i&gt;&lt;i&gt;BTW, you can also use a Callback handler completely generically if you pass in your parameters as POST or QueryString values by specifying:&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;pre&gt;&lt;div class="vfpcode"&gt;MyHandler.ashx?Method=MyCallbackMethod&lt;/div&gt;&lt;/pre&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;which is a great way to build a generic POX service. Simply add methods to the handler, add the ReturnAsRawString parameter to CallbackMethod() and you have a very easy way to have a single class that handles many operations and can return either raw data or JSON.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Just used this for a customer implementation and it's a huge time saver!&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;I'm actually using it for jqGrid right now. Well, I'm using both the JSON and (now that I found out how to) raw data. No XML yet but it's nice to be able to handle it all without having to have multiple handlers.&lt;/i&gt;&lt;p&gt;&lt;i&gt;-Paul &lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;br&gt;&lt;table width='100%' class='bt' bgcolor='LightGrey'  style="border: #E0E0E0 2px outset"&gt;&lt;tr&gt;&lt;br&gt;&lt;td&gt;&lt;font face='Arial' size=3 color='#800000'&gt;&lt;b&gt;Rick Strahl&lt;br&gt;West Wind Technologies&lt;/b&gt;&lt;hr&gt;&lt;i&gt;&lt;font size=2 color=black&gt;Where do you want to &lt;b&gt;surf&lt;/b&gt; today?&lt;/i&gt;&lt;/font&gt;&lt;/font&gt;&lt;/td&gt;&lt;br&gt;&lt;td align='right' valign='top'&gt;&lt;a style="font-size: 8pt" href='http://www.west-wind.com/wwReader.asp'&gt;&lt;i&gt;Reader Version: 5.0&lt;/i&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;&lt;small&gt;from Maui, Hawaii&lt;/small&gt;&lt;br&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=0230SIL5" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/webconnectionBanner50.gif" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VV0PGWDX";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VV0PGWDX</link>
			<author>Rick Strahl</author>
     </item>
     <item>
			<title>Re: using localization from code behind</title>
			<pubDate>Wed, 10 Mar 2010 19:52:56 GMT</pubDate>
			<guid isPermaLink="false">2VV0PGWE3</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: using localization from code behind&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    West Wind Web Tools for .NET
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: using localization from code behind
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/10/2010&lt;br /&gt;
           11:52:56 AM&lt;br /&gt;
          2VV0PGWE3
          &lt;a href="default.asp?Thread=2VV07MGFU&amp;MsgId=2VV0PGWE3"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ4M('rstrahl','west-wind.com','re%3A Re%3A using localization from code behind');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ4M(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ4N('manojg','contata.co.in');" &gt;Manu&lt;/a&gt;&lt;script&gt; function _2VV16LZ4N(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    In ASP.NET applications you should never use a ResourceManager. You'll end up duplicating the resources loaded...&lt;p&gt;Use HttpContext.GetGlobalResourceObject() or HttpContext.GetLocalResourceObject() to retrieve resource values anywhere in an ASP.NET application to ensure you're using the right resource provider that is serving the rest of the application resources.&lt;p&gt;+++ Rick ---&lt;p&gt;&lt;i&gt;Hi Rick,&lt;/i&gt;&lt;br&gt;&lt;i&gt;I stuck in middle of my implementation as my requirement is to get value of certain dynamic control to be bind from code behind or just for any control if i don't use meta key and would like to bind the value from code behind,how this could be done.&lt;/i&gt;&lt;br&gt;&lt;i&gt;I tried to use in this way but this don't work.&lt;/i&gt;&lt;br&gt;&lt;i&gt;System.Resources.ResourceManager resource = new System.Resources.ResourceManager(typeof(MeasureControl));&lt;/i&gt;&lt;br&gt;&lt;i&gt;btnPri.Text= resource.GetString("btnPri.Text");&lt;/i&gt;&lt;br&gt;&lt;i&gt;I also tried to call getobject("btnPri.Text") but this approach dont work as this expect resource file to be available,Please help me how can i get resource-id value using resource-id,culture from code behind.&lt;/i&gt;&lt;br&gt;&lt;i&gt;Thanks&lt;/i&gt;&lt;br&gt;&lt;i&gt;Mano&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;br&gt;&lt;table width='100%' class='bt' bgcolor='LightGrey'  style="border: #E0E0E0 2px outset"&gt;&lt;tr&gt;&lt;br&gt;&lt;td&gt;&lt;font face='Arial' size=3 color='#800000'&gt;&lt;b&gt;Rick Strahl&lt;br&gt;West Wind Technologies&lt;/b&gt;&lt;hr&gt;&lt;i&gt;&lt;font size=2 color=black&gt;Where do you want to &lt;b&gt;surf&lt;/b&gt; today?&lt;/i&gt;&lt;/font&gt;&lt;/font&gt;&lt;/td&gt;&lt;br&gt;&lt;td align='right' valign='top'&gt;&lt;a style="font-size: 8pt" href='http://www.west-wind.com/wwReader.asp'&gt;&lt;i&gt;Reader Version: 5.0&lt;/i&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;&lt;small&gt;from Maui, Hawaii&lt;/small&gt;&lt;br&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=0230SIL5" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/webconnectionBanner50.gif" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VV0PGWE3";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VV0PGWE3</link>
			<author>Rick Strahl</author>
     </item>
     <item>
			<title>Re: Shareware-Notice on the real thing ???</title>
			<pubDate>Wed, 10 Mar 2010 19:52:56 GMT</pubDate>
			<guid isPermaLink="false">2VV0PGWE7</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: Shareware-Notice on the real thing ???&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    Web Connection 5.0
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: Shareware-Notice on the real thing ???
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/10/2010&lt;br /&gt;
           11:52:56 AM&lt;br /&gt;
          2VV0PGWE7
          &lt;a href="default.asp?Thread=2VV071UWL&amp;MsgId=2VV0PGWE7"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ4R('rstrahl','west-wind.com','re%3A Re%3A Shareware%2DNotice on the real thing %3F%3F%3F');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ4R(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ4S('tb','teddy-billewicz.de');" &gt;Teddy Billewicz&lt;/a&gt;&lt;script&gt; function _2VV16LZ4S(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    &lt;br&gt;You need to make sure you have the registered files installed and that you recompile all of your code explicitly...&lt;p&gt;If you're using Web Connection there's a topic in the help file that describes the steps to ensure the shareware restrictions are gone if you install ontop of a shareware install...&lt;p&gt;+++ Rick ---&lt;p&gt;&lt;i&gt;I purchased WWIPSTUFF (some time ago) und Web-Connection just recently.&lt;/i&gt;&lt;p&gt;&lt;i&gt;During my testing and learning I have encountered the message&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;"Welcome to West Wind Internet Protocols&lt;/i&gt;&lt;br&gt;&lt;i&gt;This is a Shareware Copy of ssIPStuff&lt;/i&gt;&lt;p&gt;&lt;i&gt;Please register your copy"&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;I thought I had registered both purchased programms.&lt;/i&gt;&lt;p&gt;&lt;i&gt;My PRG that generates the message, both running against wwIPStuff or wwconnect reads:&lt;/i&gt;&lt;p&gt;&lt;i&gt;*---------*---------*---------*---------*---------*---------*&lt;/i&gt;&lt;br&gt;&lt;i&gt;*SET CLASSLIB TO d:\wwconnection\classes\wwipstuff_deprecated.vcx additive&lt;/i&gt;&lt;br&gt;&lt;i&gt;* this is my purchased and registered copy of WestWind-WebConnection&lt;/i&gt;&lt;br&gt;&lt;i&gt;*---------*---------*---------*---------*---------*---------*&lt;/i&gt;&lt;p&gt;&lt;i&gt;*---------*---------*---------*---------*---------*---------*&lt;/i&gt;&lt;br&gt;&lt;i&gt;SET CLASSLIB TO d:\wwipstuff\wwipstuff.vcx additive&lt;/i&gt;&lt;br&gt;&lt;i&gt;* this is my purchased and registered copy of WWIPSTUFF&lt;/i&gt;&lt;br&gt;&lt;i&gt;*---------*---------*---------*---------*---------*---------*&lt;/i&gt;&lt;p&gt;&lt;i&gt;o=create("wwFTP")&lt;/i&gt;&lt;br&gt;&lt;i&gt;IF o.FTPGetFile(;		&lt;/i&gt;&lt;br&gt;&lt;i&gt;	"ftp.wurzeli.de",;			&amp;&amp; server&lt;/i&gt;&lt;br&gt;&lt;i&gt;	"wurzeli.zip",;				&amp;&amp; sourcefile&lt;/i&gt;&lt;br&gt;&lt;i&gt;	"d:\temp_wwconnection\wurzeli.zip",;	&amp;&amp; target file&lt;/i&gt;&lt;br&gt;&lt;i&gt;	2,;					&amp;&amp; binary = 2, asci = 1&lt;/i&gt;&lt;br&gt;&lt;i&gt;	"wurzeli_user",;			&amp;&amp; username&lt;/i&gt;&lt;br&gt;&lt;i&gt;	"wu12991299";				&amp;&amp; password&lt;/i&gt;&lt;br&gt;&lt;i&gt;	) # 0&lt;/i&gt;&lt;br&gt;&lt;i&gt;	&lt;/i&gt;&lt;br&gt;&lt;i&gt;   ? o.cErrorMsg&lt;/i&gt;&lt;br&gt;&lt;i&gt;ENDIF&lt;/i&gt;&lt;p&gt;&lt;i&gt;*---------*---------*---------*---------*---------*---------*&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;Am I doing something wrong? I have already checked all the steps described in the help file for migrating from shareware-version to the real thing (and had not installed over top of a shareware version).&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;br&gt;&lt;table width='100%' class='bt' bgcolor='LightGrey'  style="border: #E0E0E0 2px outset"&gt;&lt;tr&gt;&lt;br&gt;&lt;td&gt;&lt;font face='Arial' size=3 color='#800000'&gt;&lt;b&gt;Rick Strahl&lt;br&gt;West Wind Technologies&lt;/b&gt;&lt;hr&gt;&lt;i&gt;&lt;font size=2 color=black&gt;Where do you want to &lt;b&gt;surf&lt;/b&gt; today?&lt;/i&gt;&lt;/font&gt;&lt;/font&gt;&lt;/td&gt;&lt;br&gt;&lt;td align='right' valign='top'&gt;&lt;a style="font-size: 8pt" href='http://www.west-wind.com/wwReader.asp'&gt;&lt;i&gt;Reader Version: 5.0&lt;/i&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;&lt;small&gt;from Maui, Hawaii&lt;/small&gt;&lt;br&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=0230SIL5" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/webconnectionBanner50.gif" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VV0PGWE7";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VV0PGWE7</link>
			<author>Rick Strahl</author>
     </item>
     <item>
			<title>Re: webdropdownlist</title>
			<pubDate>Wed, 10 Mar 2010 19:52:56 GMT</pubDate>
			<guid isPermaLink="false">2VV0PGWED</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: webdropdownlist&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    Web Connection 5.0
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: webdropdownlist
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/10/2010&lt;br /&gt;
           11:52:56 AM&lt;br /&gt;
          2VV0PGWED
          &lt;a href="default.asp?Thread=2VV0DAZ49&amp;MsgId=2VV0PGWED"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ4X('rstrahl','west-wind.com','re%3A Re%3A webdropdownlist');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ4X(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ4Y('charless','metzcorp.com');" &gt;Charles Steinhauer&lt;/a&gt;&lt;script&gt; function _2VV16LZ4Y(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    Hi Charles,&lt;p&gt;You can't directly retrieve the text value from a text box - only the value is available. If you need the text value you need to look it up in the table based on the key you retrieved...&lt;p&gt;Web Connection doesn't keep a list of list items for any of the list controls (which is unlike ASP.NET) because of performance and memory concerns in VFP - there's tremendous overhead in creating new lists and keeping them in memory compared to rendering directly from the data source.&lt;p&gt;The data source should be open after selection - so a lookup for the value should be pretty easy to do.&lt;p&gt;+++ Rick ---&lt;p&gt;&lt;br&gt;&lt;i&gt;I have a drop down that lists valid gl account numbers.&lt;/i&gt;&lt;br&gt;&lt;i&gt;the display text is the account name (Accounts receivable) while the selected value is the account number (12345-0000)&lt;/i&gt;&lt;p&gt;&lt;i&gt;I can assign a value from a drop down list with&lt;/i&gt;&lt;br&gt;&lt;i&gt;this.sa4.text=this.sl1_list.SelectedValue (12345-0000)&lt;/i&gt;&lt;p&gt;&lt;i&gt;I need to assign the accoumnt name to another text object. &lt;/i&gt;&lt;br&gt;&lt;i&gt;this.sl4.text=this.sl1_list.?  (Accounts Receivable)&lt;/i&gt;&lt;p&gt;&lt;i&gt;Cannot seem to find the correct tag&lt;/i&gt;&lt;p&gt;&lt;i&gt;Thanks,&lt;/i&gt;&lt;br&gt;&lt;i&gt;   Charles&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;br&gt;&lt;table width='100%' class='bt' bgcolor='LightGrey'  style="border: #E0E0E0 2px outset"&gt;&lt;tr&gt;&lt;br&gt;&lt;td&gt;&lt;font face='Arial' size=3 color='#800000'&gt;&lt;b&gt;Rick Strahl&lt;br&gt;West Wind Technologies&lt;/b&gt;&lt;hr&gt;&lt;i&gt;&lt;font size=2 color=black&gt;Where do you want to &lt;b&gt;surf&lt;/b&gt; today?&lt;/i&gt;&lt;/font&gt;&lt;/font&gt;&lt;/td&gt;&lt;br&gt;&lt;td align='right' valign='top'&gt;&lt;a style="font-size: 8pt" href='http://www.west-wind.com/wwReader.asp'&gt;&lt;i&gt;Reader Version: 5.0&lt;/i&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;&lt;small&gt;from Maui, Hawaii&lt;/small&gt;&lt;br&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=0230SIL5" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/webconnectionBanner50.gif" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VV0PGWED";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VV0PGWED</link>
			<author>Rick Strahl</author>
     </item>
     <item>
			<title>Re: HttpModule processsing appears to clear out ASP Request object in IIS 7</title>
			<pubDate>Wed, 10 Mar 2010 19:52:56 GMT</pubDate>
			<guid isPermaLink="false">2VV0PGWEI</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: HttpModule processsing appears to clear out ASP Request object in IIS 7&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    ASP.NET
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: HttpModule processsing appears to clear out ASP Request object in IIS 7
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/10/2010&lt;br /&gt;
           11:52:56 AM&lt;br /&gt;
          2VV0PGWEI
          &lt;a href="default.asp?Thread=2VT0E0DJ7&amp;MsgId=2VV0PGWEI"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ52('rstrahl','west-wind.com','re%3A Re%3A HttpModule processsing appears to clear out ASP Request object in IIS 7');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ52(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ53('armodi','hotmail.com');" &gt;Aashish Modi&lt;/a&gt;&lt;script&gt; function _2VV16LZ53(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    &lt;br&gt;The POST buffer is a stream in IIS and it's read on demand. AFAIK it's forward only - once read there's no way to go backwards to read values again. So if an ASP.NET module early in the request cycle reads the POST buffer as a full stream another tool like ASP won't see the request stream.&lt;p&gt;Other ASP.NET componenets will see POST values just fine since those get set very early in the pipeline but if you read the stream (and modify it as you are trying to do) you are touching the raw stream and that's forward only.&lt;p&gt;+++ Rick ---&lt;p&gt;&lt;br&gt;&lt;i&gt;Thanks for your prompt response.&lt;/i&gt;&lt;br&gt;&lt;i&gt;Yes, this is accomplished in IIS 6 using wildcard application mapping.&lt;/i&gt;&lt;p&gt;&lt;i&gt;I'm not sure if I follow(/agree with) your explanation about the Request object being cleared out as it is read. I thought that the HttpModule is a part of the Request pipeline and therefore, has access to all events of the Request's life-cycle, even more so in IIS 7 when running in integrated pipeline mode, where the ASP.NET request pipeline is integrated with the Web server's Request pipeline.&lt;/i&gt;&lt;p&gt;&lt;i&gt;Please let me know if I missed something.&lt;/i&gt;&lt;p&gt;&lt;i&gt;- Aashish&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Client has a Classic ASP application hosted on IIS 7 running in Integrated Pipeline mode. An ASP.NET based HttpModule registered on the IIS application attempts to prevent cross-site scripting attacks. The classic ASP application works fine (without the cross-site scripting attack filter functionality). But as soon as this HttpModule is added to the IIS 7 application, the Request object clears out after an HttpRequest is POSTed from the classic ASP application.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;BTW, this same implementation works fine on IIS 6. The code in the HttpModule is listed below, if it helps.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Uhm, how are you getting this to work on IIS 6? With wildcard mappings? &lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Both ASP and ASP.NET will reasd the post buffer and clear it as it is read since it's being read directly from the inbound IIS stream. Once read the POST buffer is gone. So if you read in ASP.NET then ASP isn't going to get POST data and vice versa AFAIK.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;+++ Rick ---&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Any ideas, please? Thanks.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;pre&gt;&lt;div class="vbcode"&gt;&lt;span class="statements"&gt;Imports&lt;/span&gt; System&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;span class="statements"&gt;Imports&lt;/span&gt; System.Web&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;span class="statements"&gt;Imports&lt;/span&gt; System.IO&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;

&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;span class="keywords"&gt;Public&lt;/span&gt; &lt;span class="statements"&gt;Class&lt;/span&gt; ASPRequestValidation : &lt;span class="statements"&gt;Implements&lt;/span&gt; IHttpModule&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;

&lt;i&gt;&lt;i&gt;&lt;i&gt;#Region &lt;span class="codestring"&gt;"Private Members"&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;    &lt;span class="keywords"&gt;Private&lt;/span&gt; _app &lt;span class="keywords"&gt;As&lt;/span&gt; HttpApplication&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;#End Region&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;

&lt;i&gt;&lt;i&gt;&lt;i&gt;#Region &lt;span class="codestring"&gt;"IHttpModule"&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;    &lt;span class="keywords"&gt;Public&lt;/span&gt; &lt;span class="statements"&gt;Sub&lt;/span&gt; Init(&lt;span class="keywords"&gt;ByVal&lt;/span&gt; context &lt;span class="keywords"&gt;As&lt;/span&gt; System.Web.HttpApplication) &lt;span class="statements"&gt;Implements&lt;/span&gt; System.Web.IHttpModule.Init&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;        _app = context&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;        &lt;span class="keywords"&gt;AddHandler&lt;/span&gt; _app.BeginRequest, &lt;span class="operators"&gt;AddressOf&lt;/span&gt; OnEnter&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;    &lt;span class="statements"&gt;End&lt;/span&gt; &lt;span class="statements"&gt;Sub&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;

&lt;i&gt;&lt;i&gt;&lt;i&gt;    &lt;span class="keywords"&gt;Public&lt;/span&gt; &lt;span class="statements"&gt;Sub&lt;/span&gt; Dispose() &lt;span class="statements"&gt;Implements&lt;/span&gt; System.Web.IHttpModule.Dispose&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;

&lt;i&gt;&lt;i&gt;&lt;i&gt;    &lt;span class="statements"&gt;End&lt;/span&gt; &lt;span class="statements"&gt;Sub&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;#End Region&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;

&lt;i&gt;&lt;i&gt;&lt;i&gt;#Region &lt;span class="codestring"&gt;"Helpers"&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;    &lt;span class="keywords"&gt;Private&lt;/span&gt; &lt;span class="statements"&gt;Sub&lt;/span&gt; OnEnter(&lt;span class="keywords"&gt;ByVal&lt;/span&gt; source &lt;span class="keywords"&gt;As&lt;/span&gt; &lt;span class="datatypes"&gt;Object&lt;/span&gt;, &lt;span class="keywords"&gt;ByVal&lt;/span&gt; e &lt;span class="keywords"&gt;As&lt;/span&gt; EventArgs)&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;        &lt;span class="codecomment"&gt;' Retrieve the query string data structure for the current page&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;        &lt;span class="statements"&gt;Dim&lt;/span&gt; app &lt;span class="keywords"&gt;As&lt;/span&gt; HttpApplication = &lt;span class="functions"&gt;CType&lt;/span&gt;(source, HttpApplication)&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;        _app.Request.ValidateInput()&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;

&lt;i&gt;&lt;i&gt;&lt;i&gt;        &lt;span class="statements"&gt;Try&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;            &lt;span class="statements"&gt;Dim&lt;/span&gt; touchForm &lt;span class="keywords"&gt;As&lt;/span&gt; &lt;span class="datatypes"&gt;Object&lt;/span&gt; = _app.Request.Form&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;            &lt;span class="statements"&gt;Dim&lt;/span&gt; touchQueryString &lt;span class="keywords"&gt;As&lt;/span&gt; &lt;span class="datatypes"&gt;Object&lt;/span&gt; = _app.Request.QueryString&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;        &lt;span class="statements"&gt;Catch&lt;/span&gt; ex &lt;span class="keywords"&gt;As&lt;/span&gt; HttpRequestValidationException&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;            app.Response.Redirect(&lt;span class="codestring"&gt;"invalidrequest.asp"&lt;/span&gt;)&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;        &lt;span class="statements"&gt;End&lt;/span&gt; &lt;span class="statements"&gt;Try&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;    &lt;span class="statements"&gt;End&lt;/span&gt; &lt;span class="statements"&gt;Sub&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;#End Region&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;span class="statements"&gt;End&lt;/span&gt; &lt;span class="statements"&gt;Class&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;br&gt;&lt;table width='100%' class='bt' bgcolor='LightGrey'  style="border: #E0E0E0 2px outset"&gt;&lt;tr&gt;&lt;br&gt;&lt;td&gt;&lt;font face='Arial' size=3 color='#800000'&gt;&lt;b&gt;Rick Strahl&lt;br&gt;West Wind Technologies&lt;/b&gt;&lt;hr&gt;&lt;i&gt;&lt;font size=2 color=black&gt;Where do you want to &lt;b&gt;surf&lt;/b&gt; today?&lt;/i&gt;&lt;/font&gt;&lt;/font&gt;&lt;/td&gt;&lt;br&gt;&lt;td align='right' valign='top'&gt;&lt;a style="font-size: 8pt" href='http://www.west-wind.com/wwReader.asp'&gt;&lt;i&gt;Reader Version: 5.0&lt;/i&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;&lt;small&gt;from Maui, Hawaii&lt;/small&gt;&lt;br&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=0230SIL5" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/webconnectionBanner50.gif" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VV0PGWEI";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VV0PGWEI</link>
			<author>Rick Strahl</author>
     </item>
     <item>
			<title>Re: COM Class Threading Model</title>
			<pubDate>Wed, 10 Mar 2010 19:52:56 GMT</pubDate>
			<guid isPermaLink="false">2VV0PGWEP</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: COM Class Threading Model&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    .NET  Framework
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: COM Class Threading Model
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/10/2010&lt;br /&gt;
           11:52:56 AM&lt;br /&gt;
          2VV0PGWEP
          &lt;a href="default.asp?Thread=2VV0DY1TX&amp;MsgId=2VV0PGWEP"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ5A('rstrahl','west-wind.com','re%3A Re%3A COM Class Threading Model');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ5A(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ5B('richard','statuscomputers.com');" &gt;Richard Norris&lt;/a&gt;&lt;script&gt; function _2VV16LZ5B(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    &lt;br&gt;Not to sound snippy, but if you want to integrate .NET code into SQL Server why don't you upgrade to SQL 2005 or later that has native .NET support? You'll get much better performance, integration and most important stability and security.&lt;p&gt;Putting COM into any multi-threaded environment if you can avoid it is a disaster waiting to happen :-}...&lt;p&gt;+++ Rick ---&lt;p&gt;&lt;i&gt;Hi all,&lt;/i&gt;&lt;p&gt;&lt;i&gt;I think I find I'm OK.&lt;/i&gt;&lt;p&gt;&lt;i&gt;It appears that sp_OA calls in SQL Server are created on seperate threads that make there own calls to OleInitialze() (essenitally putting these threads in their own STA).  There is a main STA which keeps a reference count per thread STA created.  So as .NET COM classes are set to Both my class will be put in STA allowing SQL server direct access to the class on one thread per STA. As SQL supports multiple STA's there will not be any real issues with blocking so I do not need to worry too much about this. Am I making the correct assumption here?&lt;/i&gt;&lt;p&gt;&lt;i&gt;Also, as .NET classes can be placed in an MTA does that mean from now on I need to ensure thread safety to some degree?  I don't normall check for MTA when I assume an app is not concurrently using my class.  Of course this could be a mistake if the process uses multiple threads in a single MTA to access my object(s). Do I need to cater for this with my own thread synchronisation and is this best practice for C# COM classes anyway?&lt;/i&gt;&lt;p&gt;&lt;i&gt;TIA&lt;/i&gt;&lt;p&gt;&lt;i&gt;Richard&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Hi all,&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;I have built COM classes in C# before either using ClassInterfaceType.AutoDual for automatic late and early bound type exports and ClassInterfaceType.None to explicitly specify an interface for my class.  The later I use for versioning and to implement COM events.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Typically I have used these COM classes in VFP, called via VFP's single threaded model, and have not worried about threads or COM apartments.  I now have a scenareo where I want to expose a .NET COM Class to SQL Server 2000 which I want concurrent use of my class.  I assume that SQL server will use multiple threads to call my class but I am unsure if it sets its threads to be in an STA or MTA?&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;I assume my .NET COM classes are STA?? Now if SQL Server is MTA, ideally I would want to make my class MTA to avoid marshalling, but would I then have to handle thread synchronization within my COM methods?  Can I even make my C# based COM class MTA?&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;If my understanding of this is correct. . . If I have an STA I assume that any calls from other threads during a call from another thread will block until the first thread is complete?  Is this correct?  I know that MTA is marshalled to STA in this way which causes blocking.  Basically will an STA block calls from an STA and MTA with multiple threads calling the COM object?&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Looking at the COM registration in the registry the class is actually using mscoree as a proxy to my .NET class.  Its threading model is set to BOTH which means the apartment type is determined by the caller.  In which case how does mscoree handle this?  Does I not have to worry about this?&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;I must sound rather confused, and that is because I am &amp;lt;g&amp;gt;.  I got some grounding on the theory but not a firm enough grasp to take things forward.  I just want to create a COM class that works efficiantly with SQL Server with the possiblility of avoiding:&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;1) COM Apartment Marshalling causing bad performance.&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;2) Blocking, effectively causing bad peformance.&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;3) Race conditions, deadlocks due to lack of thread safety.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Can anyone offer any advice, tips or point me to an example anywhere?&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;TIA&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Richard&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;br&gt;&lt;table width='100%' class='bt' bgcolor='LightGrey'  style="border: #E0E0E0 2px outset"&gt;&lt;tr&gt;&lt;br&gt;&lt;td&gt;&lt;font face='Arial' size=3 color='#800000'&gt;&lt;b&gt;Rick Strahl&lt;br&gt;West Wind Technologies&lt;/b&gt;&lt;hr&gt;&lt;i&gt;&lt;font size=2 color=black&gt;Where do you want to &lt;b&gt;surf&lt;/b&gt; today?&lt;/i&gt;&lt;/font&gt;&lt;/font&gt;&lt;/td&gt;&lt;br&gt;&lt;td align='right' valign='top'&gt;&lt;a style="font-size: 8pt" href='http://www.west-wind.com/wwReader.asp'&gt;&lt;i&gt;Reader Version: 5.0&lt;/i&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;&lt;small&gt;from Maui, Hawaii&lt;/small&gt;&lt;br&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=0JK068RI6" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/helpbuilder_rotating.gif" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VV0PGWEP";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VV0PGWEP</link>
			<author>Rick Strahl</author>
     </item>
     <item>
			<title>Re: HttpModule processsing appears to clear out ASP Request object in IIS 7</title>
			<pubDate>Wed, 10 Mar 2010 19:25:42 GMT</pubDate>
			<guid isPermaLink="false">2VV0OEZHD</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: HttpModule processsing appears to clear out ASP Request object in IIS 7&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    ASP.NET
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: HttpModule processsing appears to clear out ASP Request object in IIS 7
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/10/2010&lt;br /&gt;
           11:25:42 AM&lt;br /&gt;
          2VV0OEZHD
          &lt;a href="default.asp?Thread=2VT0E0DJ7&amp;MsgId=2VV0OEZHD"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ5G('armodi','hotmail.com','re%3A Re%3A HttpModule processsing appears to clear out ASP Request object in IIS 7');" &gt;Aashish Modi&lt;/a&gt;&lt;script&gt; function _2VV16LZ5G(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ5H('rstrahl','west-wind.com');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ5H(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    Thanks for your prompt response.&lt;br&gt;Yes, this is accomplished in IIS 6 using wildcard application mapping.&lt;p&gt;I'm not sure if I follow(/agree with) your explanation about the Request object being cleared out as it is read. I thought that the HttpModule is a part of the Request pipeline and therefore, has access to all events of the Request's life-cycle, even more so in IIS 7 when running in integrated pipeline mode, where the ASP.NET request pipeline is integrated with the Web server's Request pipeline.&lt;p&gt;Please let me know if I missed something.&lt;p&gt;- Aashish&lt;p&gt;&lt;i&gt;&lt;i&gt;Client has a Classic ASP application hosted on IIS 7 running in Integrated Pipeline mode. An ASP.NET based HttpModule registered on the IIS application attempts to prevent cross-site scripting attacks. The classic ASP application works fine (without the cross-site scripting attack filter functionality). But as soon as this HttpModule is added to the IIS 7 application, the Request object clears out after an HttpRequest is POSTed from the classic ASP application.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;BTW, this same implementation works fine on IIS 6. The code in the HttpModule is listed below, if it helps.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;Uhm, how are you getting this to work on IIS 6? With wildcard mappings? &lt;/i&gt;&lt;p&gt;&lt;i&gt;Both ASP and ASP.NET will reasd the post buffer and clear it as it is read since it's being read directly from the inbound IIS stream. Once read the POST buffer is gone. So if you read in ASP.NET then ASP isn't going to get POST data and vice versa AFAIK.&lt;/i&gt;&lt;p&gt;&lt;i&gt;+++ Rick ---&lt;/i&gt;&lt;p&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Any ideas, please? Thanks.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;pre&gt;&lt;div class="vbcode"&gt;&lt;span class="statements"&gt;Imports&lt;/span&gt; System&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;span class="statements"&gt;Imports&lt;/span&gt; System.Web&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;span class="statements"&gt;Imports&lt;/span&gt; System.IO&lt;/i&gt;&lt;/i&gt;

&lt;i&gt;&lt;i&gt;&lt;span class="keywords"&gt;Public&lt;/span&gt; &lt;span class="statements"&gt;Class&lt;/span&gt; ASPRequestValidation : &lt;span class="statements"&gt;Implements&lt;/span&gt; IHttpModule&lt;/i&gt;&lt;/i&gt;

&lt;i&gt;&lt;i&gt;#Region &lt;span class="codestring"&gt;"Private Members"&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;    &lt;span class="keywords"&gt;Private&lt;/span&gt; _app &lt;span class="keywords"&gt;As&lt;/span&gt; HttpApplication&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;#End Region&lt;/i&gt;&lt;/i&gt;

&lt;i&gt;&lt;i&gt;#Region &lt;span class="codestring"&gt;"IHttpModule"&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;    &lt;span class="keywords"&gt;Public&lt;/span&gt; &lt;span class="statements"&gt;Sub&lt;/span&gt; Init(&lt;span class="keywords"&gt;ByVal&lt;/span&gt; context &lt;span class="keywords"&gt;As&lt;/span&gt; System.Web.HttpApplication) &lt;span class="statements"&gt;Implements&lt;/span&gt; System.Web.IHttpModule.Init&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;        _app = context&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;        &lt;span class="keywords"&gt;AddHandler&lt;/span&gt; _app.BeginRequest, &lt;span class="operators"&gt;AddressOf&lt;/span&gt; OnEnter&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;    &lt;span class="statements"&gt;End&lt;/span&gt; &lt;span class="statements"&gt;Sub&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;

&lt;i&gt;&lt;i&gt;    &lt;span class="keywords"&gt;Public&lt;/span&gt; &lt;span class="statements"&gt;Sub&lt;/span&gt; Dispose() &lt;span class="statements"&gt;Implements&lt;/span&gt; System.Web.IHttpModule.Dispose&lt;/i&gt;&lt;/i&gt;

&lt;i&gt;&lt;i&gt;    &lt;span class="statements"&gt;End&lt;/span&gt; &lt;span class="statements"&gt;Sub&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;#End Region&lt;/i&gt;&lt;/i&gt;

&lt;i&gt;&lt;i&gt;#Region &lt;span class="codestring"&gt;"Helpers"&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;    &lt;span class="keywords"&gt;Private&lt;/span&gt; &lt;span class="statements"&gt;Sub&lt;/span&gt; OnEnter(&lt;span class="keywords"&gt;ByVal&lt;/span&gt; source &lt;span class="keywords"&gt;As&lt;/span&gt; &lt;span class="datatypes"&gt;Object&lt;/span&gt;, &lt;span class="keywords"&gt;ByVal&lt;/span&gt; e &lt;span class="keywords"&gt;As&lt;/span&gt; EventArgs)&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;        &lt;span class="codecomment"&gt;' Retrieve the query string data structure for the current page&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;        &lt;span class="statements"&gt;Dim&lt;/span&gt; app &lt;span class="keywords"&gt;As&lt;/span&gt; HttpApplication = &lt;span class="functions"&gt;CType&lt;/span&gt;(source, HttpApplication)&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;        _app.Request.ValidateInput()&lt;/i&gt;&lt;/i&gt;

&lt;i&gt;&lt;i&gt;        &lt;span class="statements"&gt;Try&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;            &lt;span class="statements"&gt;Dim&lt;/span&gt; touchForm &lt;span class="keywords"&gt;As&lt;/span&gt; &lt;span class="datatypes"&gt;Object&lt;/span&gt; = _app.Request.Form&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;            &lt;span class="statements"&gt;Dim&lt;/span&gt; touchQueryString &lt;span class="keywords"&gt;As&lt;/span&gt; &lt;span class="datatypes"&gt;Object&lt;/span&gt; = _app.Request.QueryString&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;        &lt;span class="statements"&gt;Catch&lt;/span&gt; ex &lt;span class="keywords"&gt;As&lt;/span&gt; HttpRequestValidationException&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;            app.Response.Redirect(&lt;span class="codestring"&gt;"invalidrequest.asp"&lt;/span&gt;)&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;        &lt;span class="statements"&gt;End&lt;/span&gt; &lt;span class="statements"&gt;Try&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;    &lt;span class="statements"&gt;End&lt;/span&gt; &lt;span class="statements"&gt;Sub&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;#End Region&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;span class="statements"&gt;End&lt;/span&gt; &lt;span class="statements"&gt;Class&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;p&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=0JK068RI6" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/helpbuilder_rotating.gif" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VV0OEZHD";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VV0OEZHD</link>
			<author>Aashish Modi</author>
     </item>
     <item>
			<title>Re: Library File is Missing / Invalid</title>
			<pubDate>Wed, 10 Mar 2010 18:03:16 GMT</pubDate>
			<guid isPermaLink="false">2VV0LJUMF</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: Library File is Missing / Invalid&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    FoxPro Programming
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: Library File is Missing / Invalid
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/10/2010&lt;br /&gt;
           10:03:16 AM&lt;br /&gt;
          2VV0LJUMF
          &lt;a href="default.asp?Thread=20E08PKFY&amp;MsgId=2VV0LJUMF"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ5O('russcampbell','interthink.com','re%3A Re%3A Library File is Missing %2F Invalid');" &gt;Russell Campbell&lt;/a&gt;&lt;script&gt; function _2VV16LZ5O(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;Mike McDonald&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    I resolved this on one client's server (Win2K3 Std. Edition) by putting MSVCR71.DLL and MSVCP71.DLL into the same folder with the application's EXE (and the Cryptor files).  At least that's the way I remember it and looking at their setup now, it seems to reinforce that memory (but shame on me for not making some notes about it).&lt;p&gt;However, with another client's server (Win2K3 64-bit), that solution does not seem to be working.  So I'm wondering if my memory of what solved the issue is incorrect or if this is a 64-bit issue.  Anyway, if anyone has any more info on this, I'd appreciate it.&lt;p&gt;Also, if you need the c40fox90.fll file, I'll be glad to send it to you.&lt;p&gt;Russell Campbell&lt;p&gt;&lt;br&gt;&lt;i&gt;Bruce -&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Did you ever get a resolution to this? We have been using Cryptor for years and just recently are getting this same problem on Windows Server 2003. "c40fox90.fll in invalid"&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;Here are the filenames found in some of my notes from when I was having problems with this..&lt;/i&gt;&lt;p&gt;&lt;i&gt;XICRCORE.DLL must exist in the executable launching folder.&lt;/i&gt;&lt;p&gt;&lt;i&gt;msvcr71.dll (or possibly msvcr70.dll and/or mscvrt.dll?) needs to be in \Windows\System32.&lt;/i&gt;&lt;p&gt;&lt;i&gt;The VFP runtime files must be available, including VFP7T.DLL (or VFP9T.DLL in your case?).  We're using C40fox70.fll, which is specific to VFP 7.  Your filename of C40fox90.fll seems to indicate VFP version 9.  If that is the case, do you know you got that version (and how I could get it)?&lt;/i&gt;&lt;p&gt;&lt;i&gt;- Mike McDonald&lt;/i&gt;&lt;br&gt;&lt;i&gt;Software Design of Kentucky&lt;/i&gt;&lt;p&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Hi Mike,&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Did you ever get a resolution to this? We have been using Cryptor for years and just recently are getting this same problem on Windows Server 2003. "c40fox90.fll in invalid"&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Bruce Anderson&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Hi Mike&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;XICRCORE.DLL is in the application launch folder. c40fox90.fll is in the parent folder though and it is referenced in the code as "SET LIBRARY TO ..\c40fox90.fll". Thanks for pointing that out; I will try putting both files in all places (parent, launch, %system% paths).&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;MSVCR71.DLL and the like are all installed as part of our application because they are required for VFP. We use the .msm files supplied.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;From memory I contacted Xitech directly when vfp9 came out and they supplied an alternative to the c40fox70.fll which we previously used. As far as I know this is just a change in the check to ensure the .fll is being used with a compatible version of VFP. I think we paid about £25.00 for it. Getting hold of someone there seems to be next to impossible now. In my opinion looking at the pricing structure on QBS these days Xitech are taking the p!&amp;s a bit, so good luck.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Steve W&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Steve -&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;I think you are OK with your VFP Project settings - that seems about the same as what I have.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;You might want to make sure that XICRCORE.DLL is in the application's launch folder (instead of \Windows\System32).&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Also, I believe that msvcr71.dll (or possibly mscvrt.dll?) needs to be in \Windows\System32.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Based on the c40fox90.fll filename (and previous versions), that sounds like this would be used with VFP 9.  Is that the case?  I wasn't aware that Cryptor would work with VFP 9 (their site still doesn't indicate this).  That would be really good to know if this was possible.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;- Mike McDonald&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Hi Richard,&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Thanks for replying. The actual message is generated from within VFP and is "Library file c40fox90.fll is invalid" (Based on error 1691, "Library file 'name' is invalid"). I know that c40fox90.fll is another way to call XiCrCore.dll, which as I understand does all the actual work. Both these files are shipped with the application and are present.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;c40fox90.fll is known to the project file but set as excluded. XiCrCore.dll is not known to the project file. I don't think the project has anything to do with the error on the basis that the application works fine on 1000's of other installs (literally).&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Googling this has proved pretty fruitless so any thoughts are welcome.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Steve W&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Hi Stephen,&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;The error getting generated, is it a vfp error?  As your using an FLL you have to make sure you have included it within your project.  When compiling exe's in VFP that reference FLL's you need to make sure the FLL is part of the project.  Even if the file is distributed the exe the code will not be able to load the library if the FLL was not part of the project at compile time.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;If I'm off the mark here; have you got any more details of the error?  Things such as the exact library missing?&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Regards&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Richard&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Hi&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Has anyone experienced any problems with the file C40Fox90.fll supplied from Xitech? And more importantly got a fix?!&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;I currently have two PC's at different sites that produce a "Library File is Missing / Invalid" message upon attempting to SET LIBRARY TO. One PC is Windows 2003 Server (New Dell Server), and the other XP Pro (SP2). The application works fine on other W2K3 Servers and XP Pro installs.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Xitech state on their site that there are no dependancies for the assocaited .dll (which I think is XiCrCore.dll). Running DependancyWalker on the file lists loads of other .DLL's which look pretty standard. &lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;TIA&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Steve W&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;p&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=0P21DSFB3" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/webrad.gif" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VV0LJUMF";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VV0LJUMF</link>
			<author>Russell Campbell</author>
     </item>
     <item>
			<title>Re: COM Class Threading Model</title>
			<pubDate>Wed, 10 Mar 2010 16:02:55 GMT</pubDate>
			<guid isPermaLink="false">2VV0H92ZB</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: COM Class Threading Model&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    .NET  Framework
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: COM Class Threading Model
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/10/2010&lt;br /&gt;
           08:02:55 AM&lt;br /&gt;
          2VV0H92ZB
          &lt;a href="default.asp?Thread=2VV0DY1TX&amp;MsgId=2VV0H92ZB"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ5V('richard','statuscomputers.com','re%3A Re%3A COM Class Threading Model');" &gt;Richard Norris&lt;/a&gt;&lt;script&gt; function _2VV16LZ5V(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ5W('richard','statuscomputers.com');" &gt;Richard Norris&lt;/a&gt;&lt;script&gt; function _2VV16LZ5W(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    Hi all,&lt;p&gt;I think I find I'm OK.&lt;p&gt;It appears that sp_OA calls in SQL Server are created on seperate threads that make there own calls to OleInitialze() (essenitally putting these threads in their own STA).  There is a main STA which keeps a reference count per thread STA created.  So as .NET COM classes are set to Both my class will be put in STA allowing SQL server direct access to the class on one thread per STA. As SQL supports multiple STA's there will not be any real issues with blocking so I do not need to worry too much about this. Am I making the correct assumption here?&lt;p&gt;Also, as .NET classes can be placed in an MTA does that mean from now on I need to ensure thread safety to some degree?  I don't normall check for MTA when I assume an app is not concurrently using my class.  Of course this could be a mistake if the process uses multiple threads in a single MTA to access my object(s). Do I need to cater for this with my own thread synchronisation and is this best practice for C# COM classes anyway?&lt;p&gt;TIA&lt;p&gt;Richard&lt;p&gt;&lt;i&gt;Hi all,&lt;/i&gt;&lt;p&gt;&lt;i&gt;I have built COM classes in C# before either using ClassInterfaceType.AutoDual for automatic late and early bound type exports and ClassInterfaceType.None to explicitly specify an interface for my class.  The later I use for versioning and to implement COM events.&lt;/i&gt;&lt;p&gt;&lt;i&gt;Typically I have used these COM classes in VFP, called via VFP's single threaded model, and have not worried about threads or COM apartments.  I now have a scenareo where I want to expose a .NET COM Class to SQL Server 2000 which I want concurrent use of my class.  I assume that SQL server will use multiple threads to call my class but I am unsure if it sets its threads to be in an STA or MTA?&lt;/i&gt;&lt;p&gt;&lt;i&gt;I assume my .NET COM classes are STA?? Now if SQL Server is MTA, ideally I would want to make my class MTA to avoid marshalling, but would I then have to handle thread synchronization within my COM methods?  Can I even make my C# based COM class MTA?&lt;/i&gt;&lt;p&gt;&lt;i&gt;If my understanding of this is correct. . . If I have an STA I assume that any calls from other threads during a call from another thread will block until the first thread is complete?  Is this correct?  I know that MTA is marshalled to STA in this way which causes blocking.  Basically will an STA block calls from an STA and MTA with multiple threads calling the COM object?&lt;/i&gt;&lt;p&gt;&lt;i&gt;Looking at the COM registration in the registry the class is actually using mscoree as a proxy to my .NET class.  Its threading model is set to BOTH which means the apartment type is determined by the caller.  In which case how does mscoree handle this?  Does I not have to worry about this?&lt;/i&gt;&lt;p&gt;&lt;i&gt;I must sound rather confused, and that is because I am &amp;lt;g&amp;gt;.  I got some grounding on the theory but not a firm enough grasp to take things forward.  I just want to create a COM class that works efficiantly with SQL Server with the possiblility of avoiding:&lt;/i&gt;&lt;p&gt;&lt;i&gt;1) COM Apartment Marshalling causing bad performance.&lt;/i&gt;&lt;br&gt;&lt;i&gt;2) Blocking, effectively causing bad peformance.&lt;/i&gt;&lt;br&gt;&lt;i&gt;3) Race conditions, deadlocks due to lack of thread safety.&lt;/i&gt;&lt;p&gt;&lt;i&gt;Can anyone offer any advice, tips or point me to an example anywhere?&lt;/i&gt;&lt;p&gt;&lt;i&gt;TIA&lt;/i&gt;&lt;p&gt;&lt;i&gt;Richard&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;p&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=0P21DSFB3" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/webrad.gif" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VV0H92ZB";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VV0H92ZB</link>
			<author>Richard Norris</author>
     </item>
     <item>
			<title>Southwest Fox 2010: Call for Speakers Deadline Reminder</title>
			<pubDate>Wed, 10 Mar 2010 15:48:06 GMT</pubDate>
			<guid isPermaLink="false">2VV0GQ0DW</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Southwest Fox 2010: Call for Speakers Deadline Reminder&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    Conferences and Events
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Southwest Fox 2010: Call for Speakers Deadline Reminder
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/10/2010&lt;br /&gt;
           07:48:06 AM&lt;br /&gt;
          2VV0GQ0DW
          &lt;a href="default.asp?Thread=2VV0GQ0DV&amp;MsgId=2VV0GQ0DW"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ61('dhennig','stonefield.com','re%3A Southwest Fox 2010%3A Call for Speakers Deadline Reminder');" &gt;Doug Hennig&lt;/a&gt;&lt;script&gt; function _2VV16LZ61(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;All&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    Southwest Fox 2010 will once again be held in Mesa, AZ in October at the Arizona Golf Resort. Geek Gatherings has issued a call for speakers. Those interested in speaking at Southwest Fox should submit a proposal by March 15. See &lt;a href="http://www.swfox.net"  target="top" &gt;http://www.swfox.net&lt;/a&gt; for details.&lt;br&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;p&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=0P21DSFB3" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/webrad.gif" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VV0GQ0DW";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VV0GQ0DW</link>
			<author>Doug Hennig</author>
     </item>
     <item>
			<title>Re: order not submitted if user does not return from paypa;</title>
			<pubDate>Wed, 10 Mar 2010 14:59:15 GMT</pubDate>
			<guid isPermaLink="false">2VV0EX5SG</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: order not submitted if user does not return from paypa;&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    West Wind Web Store
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: order not submitted if user does not return from paypa;
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/10/2010&lt;br /&gt;
           06:59:15 AM&lt;br /&gt;
          2VV0EX5SG
          &lt;a href="default.asp?Thread=2VS0JCWM5&amp;MsgId=2VV0EX5SG"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ66('pac','cortiel.com','re%3A Re%3A order not submitted if user does not return from paypa%3B');" &gt;Peter Cortiel&lt;/a&gt;&lt;script&gt; function _2VV16LZ66(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ67('rstrahl','west-wind.com');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ67(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    &lt;p&gt;Hi Rick,&lt;p&gt;&lt;br&gt;this is what I did:&lt;br&gt;I moved the save section to just prior of the PP section like this &lt;p&gt;but this now give me an error :cccPaypalurl is not found  [arg]&lt;br&gt;so I moved it back. but the client want's this (inspite of the dangers)&lt;p&gt;what did I do wrong??&lt;p&gt;Thanks&lt;p&gt;&lt;br&gt;Peter&lt;p&gt;&lt;pre&gt;&lt;div class="vfpcode"&gt;&amp;lt; &lt;CODE lang=&lt;span class="codestring"&gt;&amp;gt;"VFP"&lt;/span&gt;&gt;

&lt;span class="programcontrol"&gt;IF&lt;/span&gt; !oInvoice.&lt;span class="commands"&gt;Validate&lt;/span&gt;(llPrintOnly)
   &lt;span class="commands"&gt;THIS&lt;/span&gt;.OrderForm(DisplayMemo(oInvoice.cErrorMsg))
   &lt;span class="commands"&gt;RETURN&lt;/span&gt;
&lt;span class="programcontrol"&gt;ENDIF&lt;/span&gt;   
&lt;b&gt;
&lt;span class="codecomment"&gt;*** Changed: PAC 03/10/2010 07:09:43 now save location
*** Changed: PAC 03/10/2010 07:07:17 move the save before the paypal as per John A Sen
***  he was made aware of the perils but decided the cahnge anyway&lt;/span&gt;
 
&lt;span class="codecomment"&gt;*** Save the invoice and clear the current invoice setting&lt;/span&gt;
&lt;span class="programcontrol"&gt;IF&lt;/span&gt; !oInvoice.&lt;span class="commands"&gt;Save&lt;/span&gt;()
   &lt;span class="codecomment"&gt;*** Save Failed - Redisplay the orderform with error msg&lt;/span&gt;
   pcNotes = oInvoice.oData.Notes
   &lt;span class="commands"&gt;THIS&lt;/span&gt;.OrderForm( DisplayMemo(oInvoice.cErrorMsg) )
   &lt;span class="commands"&gt;RETURN&lt;/span&gt;
&lt;span class="programcontrol"&gt;ENDIF&lt;/span&gt;

&lt;span class="codecomment"&gt;*** Clear out the session Invoice - new invoice from here.&lt;/span&gt;
&lt;span class="classes"&gt;Session&lt;/span&gt;.SetSessionVar(&lt;span class="codestring"&gt;"InvoicePK"&lt;/span&gt;,&lt;span class="codestring"&gt;""&lt;/span&gt;)
&lt;span class="classes"&gt;Session&lt;/span&gt;.SetSessionVar(&lt;span class="codestring"&gt;"ShoppingCartItems"&lt;/span&gt;,&lt;span class="codestring"&gt;""&lt;/span&gt;) &lt;span class="codecomment"&gt;&amp;&amp; Item Count&lt;/span&gt;
&lt;span class="classes"&gt;Session&lt;/span&gt;.SetSessionVar(&lt;span class="codestring"&gt;"ShoppingCartTotal"&lt;/span&gt;,&lt;span class="codestring"&gt;""&lt;/span&gt;) &lt;span class="codecomment"&gt;&amp;&amp; Total $&lt;/span&gt;
&lt;span class="classes"&gt;Session&lt;/span&gt;.SetSessionVar(&lt;span class="codestring"&gt;"PayPalState"&lt;/span&gt;,&lt;span class="codestring"&gt;""&lt;/span&gt;)

&lt;span class="codecomment"&gt;*** and of move Changed: PAC 03/10/2010 07:09:58 
&lt;/span&gt;
&lt;/b&gt;

&lt;span class="codecomment"&gt;*** Changed: PAC 04/10/2009 12:02:38 
*** hardcode to paypal for Valley wines
***oInvoice.oData.CCType = "PP"
*** //Changed: PAC 04/10/2009 12:03:14 &lt;/span&gt;
&lt;span class="programcontrol"&gt;IF&lt;/span&gt; oInvoice.oData.CCType == &lt;span class="codestring"&gt;"PP"&lt;/span&gt;
   &lt;span class="programcontrol"&gt;IF&lt;/span&gt; &lt;span class="functions"&gt;EMPTY&lt;/span&gt;(lcPayPalReturn)  &lt;span class="codecomment"&gt;&amp;&amp; Only process if we're not on the return&lt;/span&gt;
      &lt;span class="commands"&gt;this&lt;/span&gt;.PayPalRedirection(oInvoice)
      &lt;span class="commands"&gt;RETURN&lt;/span&gt;
   &lt;span class="programcontrol"&gt;ELSE&lt;/span&gt;
      &lt;span class="programcontrol"&gt;IF&lt;/span&gt; lcPayPalReturn = &lt;span class="codestring"&gt;"Success"&lt;/span&gt;
         oInvoice.oData.ccResult = &lt;span class="codestring"&gt;"PROCESSED"&lt;/span&gt;
         oInvoice.oData.CC = &lt;span class="codestring"&gt;"paid with Paypal"&lt;/span&gt;
      &lt;span class="programcontrol"&gt;ELSE&lt;/span&gt;
         &lt;span class="commands"&gt;THIS&lt;/span&gt;.OrderForm(&lt;span class="codestring"&gt;"PayPal Processing failed"&lt;/span&gt;)
         &lt;span class="commands"&gt;RETURN&lt;/span&gt;
      &lt;span class="programcontrol"&gt;ENDIF&lt;/span&gt;
   &lt;span class="programcontrol"&gt;ENDIF&lt;/span&gt;
&lt;span class="programcontrol"&gt;ELSE&lt;/span&gt;
	&lt;span class="codec1"&gt;#IF&lt;/span&gt; WWSTORE_PROCESS_CC_ONLINE
		&lt;span class="codecomment"&gt;*** Skip CC Processing if Promo Code is applied&lt;/span&gt;
		&lt;span class="codecomment"&gt;*** Use offline processing explicitly&lt;/span&gt;
		&lt;span class="programcontrol"&gt;IF&lt;/span&gt; &lt;span class="functions"&gt;EMPTY&lt;/span&gt;( oInvoice.oData.OrderCode )

		   &lt;span class="codecomment"&gt;*** Process Credit Cards if we're configured for it&lt;/span&gt;
		   &lt;span class="codecomment"&gt;*** Uses the App.Ini configuration settings for providers&lt;/span&gt;
		   &lt;span class="codecomment"&gt;*** see the docs for wwccProcessing in the Help File&lt;/span&gt;
		   &lt;span class="functions"&gt;SET&lt;/span&gt; &lt;span class="programcontrol"&gt;PROCEDURE&lt;/span&gt; &lt;span class="commands"&gt;TO&lt;/span&gt; ccProcessing additive
		   &lt;span class="programcontrol"&gt;IF&lt;/span&gt; !oInvoice.ValidateCreditCard(Config.cCCProcessor,;
		                                   Config.cCCStore,;
		                                   Config.cCCStorePassword,;
		                                   &lt;span class="codestring"&gt;"https://www.west-wind.com/wwstore/orderform.wws"&lt;/span&gt;)
		      &lt;span class="programcontrol"&gt;DO&lt;/span&gt; &lt;span class="programcontrol"&gt;CASE&lt;/span&gt;
		         &lt;span class="programcontrol"&gt;CASE&lt;/span&gt; oInvoice.oData.ccResult = &lt;span class="codestring"&gt;"FAILED"&lt;/span&gt;
		            &lt;span class="codecomment"&gt;*** Request failed - accept the order anyway because it's on our end&lt;/span&gt;
		            &lt;span class="codecomment"&gt;*** So do nothing &lt;/span&gt;
		         &lt;span class="programcontrol"&gt;CASE&lt;/span&gt; oInvoice.oData.ccResult = &lt;span class="codestring"&gt;"DECLINED"&lt;/span&gt; OR oInvoice.oData.ccResult = &lt;span class="codestring"&gt;"FRAUD"&lt;/span&gt;
		            &lt;span class="codecomment"&gt;*** Return and show the error&lt;/span&gt;
		            &lt;span class="commands"&gt;THIS&lt;/span&gt;.OrderForm(oInvoice.cErrorMsg)
		            &lt;span class="commands"&gt;RETURN&lt;/span&gt;
		      &lt;span class="programcontrol"&gt;ENDCASE&lt;/span&gt;
		   &lt;span class="programcontrol"&gt;ENDIF&lt;/span&gt;

		&lt;span class="programcontrol"&gt;ENDIF&lt;/span&gt;
	&lt;span class="codec1"&gt;#ENDIF&lt;/span&gt;
&lt;span class="programcontrol"&gt;ENDIF&lt;/span&gt;

&lt;span class="codecomment"&gt;*!*	*** Changed: PAC 03/10/2010 07:07:17 move the save before the paypal as per John A Sen
*!*	***  he was made aware of the perils but decided the cahnge anyway
*!*	 
*!*	*** Save the invoice and clear the current invoice setting
*!*	IF !oInvoice.Save()
*!*	   *** Save Failed - Redisplay the orderform with error msg
*!*	   pcNotes = oInvoice.oData.Notes
*!*	   THIS.OrderForm( DisplayMemo(oInvoice.cErrorMsg) )
*!*	   RETURN
*!*	ENDIF

*!*	*** Clear out the session Invoice - new invoice from here.
*!*	Session.SetSessionVar("InvoicePK","")
*!*	Session.SetSessionVar("ShoppingCartItems","") &amp;&amp; Item Count
*!*	Session.SetSessionVar("ShoppingCartTotal","") &amp;&amp; Total $
*!*	Session.SetSessionVar("PayPalState","")
*** end of original location: Changed: PAC 03/10/2010 07:10:38 

*** Check for XML Mode output&lt;/span&gt;
&lt;span class="programcontrol"&gt;IF&lt;/span&gt; &lt;span class="commands"&gt;THIS&lt;/span&gt;.nResultMode = 2
  &lt;span class="commands"&gt;THIS&lt;/span&gt;.ReturnObjectXML(oInvoice)
  &lt;span class="commands"&gt;RETURN&lt;/span&gt;
&lt;span class="programcontrol"&gt;ENDIF&lt;/span&gt;   

&lt;span class="codecomment"&gt;*** Display the order confirmation page &lt;/span&gt;
&lt;span class="commands"&gt;THIS&lt;/span&gt;.OrderConfirmation(oInvoice,llPrintOnly)
&lt;span class="programcontrol"&gt;ENDFUNC&lt;/span&gt;
&lt;span class="codecomment"&gt;* wwStore :: SubmitOrder.wws&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;p&gt;&lt;p&gt;&lt;p&gt;&lt;p&gt;&lt;p&gt;&lt;p&gt;&lt;p&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;p&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=2O20NKDR9" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/WestwindWebToolkit.jpg" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VV0EX5SG";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VV0EX5SG</link>
			<author>Peter Cortiel</author>
     </item>
     <item>
			<title>COM Class Threading Model</title>
			<pubDate>Wed, 10 Mar 2010 14:32:45 GMT</pubDate>
			<guid isPermaLink="false">2VV0DY1TY</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;COM Class Threading Model&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    .NET  Framework
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  COM Class Threading Model
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/10/2010&lt;br /&gt;
           06:32:45 AM&lt;br /&gt;
          2VV0DY1TY
          &lt;a href="default.asp?Thread=2VV0DY1TX&amp;MsgId=2VV0DY1TY"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ6E('richard','statuscomputers.com','re%3A COM Class Threading Model');" &gt;Richard Norris&lt;/a&gt;&lt;script&gt; function _2VV16LZ6E(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;All&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    Hi all,&lt;p&gt;I have built COM classes in C# before either using ClassInterfaceType.AutoDual for automatic late and early bound type exports and ClassInterfaceType.None to explicitly specify an interface for my class.  The later I use for versioning and to implement COM events.&lt;p&gt;Typically I have used these COM classes in VFP, called via VFP's single threaded model, and have not worried about threads or COM apartments.  I now have a scenareo where I want to expose a .NET COM Class to SQL Server 2000 which I want concurrent use of my class.  I assume that SQL server will use multiple threads to call my class but I am unsure if it sets its threads to be in an STA or MTA?&lt;p&gt;I assume my .NET COM classes are STA?? Now if SQL Server is MTA, ideally I would want to make my class MTA to avoid marshalling, but would I then have to handle thread synchronization within my COM methods?  Can I even make my C# based COM class MTA?&lt;p&gt;If my understanding of this is correct. . . If I have an STA I assume that any calls from other threads during a call from another thread will block until the first thread is complete?  Is this correct?  I know that MTA is marshalled to STA in this way which causes blocking.  Basically will an STA block calls from an STA and MTA with multiple threads calling the COM object?&lt;p&gt;Looking at the COM registration in the registry the class is actually using mscoree as a proxy to my .NET class.  Its threading model is set to BOTH which means the apartment type is determined by the caller.  In which case how does mscoree handle this?  Does I not have to worry about this?&lt;p&gt;I must sound rather confused, and that is because I am &amp;lt;g&amp;gt;.  I got some grounding on the theory but not a firm enough grasp to take things forward.  I just want to create a COM class that works efficiantly with SQL Server with the possiblility of avoiding:&lt;p&gt;1) COM Apartment Marshalling causing bad performance.&lt;br&gt;2) Blocking, effectively causing bad peformance.&lt;br&gt;3) Race conditions, deadlocks due to lack of thread safety.&lt;p&gt;Can anyone offer any advice, tips or point me to an example anywhere?&lt;p&gt;TIA&lt;p&gt;Richard&lt;br&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;p&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=2O20NKDR9" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/WestwindWebToolkit.jpg" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VV0DY1TY";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VV0DY1TY</link>
			<author>Richard Norris</author>
     </item>
     <item>
			<title>webdropdownlist</title>
			<pubDate>Wed, 10 Mar 2010 14:12:26 GMT</pubDate>
			<guid isPermaLink="false">2VV0DAZ4A</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;webdropdownlist&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    Web Connection 5.0
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  webdropdownlist
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/10/2010&lt;br /&gt;
           06:12:26 AM&lt;br /&gt;
          2VV0DAZ4A
          &lt;a href="default.asp?Thread=2VV0DAZ49&amp;MsgId=2VV0DAZ4A"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ6J('charless','metzcorp.com','re%3A webdropdownlist');" &gt;Charles Steinhauer&lt;/a&gt;&lt;script&gt; function _2VV16LZ6J(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;All&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    I have a drop down that lists valid gl account numbers.&lt;br&gt;the display text is the account name (Accounts receivable) while the selected value is the account number (12345-0000)&lt;p&gt;I can assign a value from a drop down list with&lt;br&gt;this.sa4.text=this.sl1_list.SelectedValue (12345-0000)&lt;p&gt;I need to assign the accoumnt name to another text object. &lt;br&gt;this.sl4.text=this.sl1_list.?  (Accounts Receivable)&lt;p&gt;Cannot seem to find the correct tag&lt;p&gt;Thanks,&lt;br&gt;   Charles&lt;br&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;p&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=2O20NKDR9" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/WestwindWebToolkit.jpg" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VV0DAZ4A";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VV0DAZ4A</link>
			<author>Charles Steinhauer</author>
     </item>
     <item>
			<title>Re: Suggestions</title>
			<pubDate>Wed, 10 Mar 2010 12:36:50 GMT</pubDate>
			<guid isPermaLink="false">2VV09W1L3</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: Suggestions&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    West Wind Web Toolkit for ASP.NET
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: Suggestions
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/10/2010&lt;br /&gt;
           04:36:50 AM&lt;br /&gt;
          2VV09W1L3
          &lt;a href="default.asp?Thread=2VQ0CWR1R&amp;MsgId=2VV09W1L3"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ6O('paulm','rcs-solutions.com','re%3A Re%3A Suggestions');" &gt;Paul Mrozowski&lt;/a&gt;&lt;script&gt; function _2VV16LZ6O(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ6P('rstrahl','west-wind.com');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ6P(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    &lt;i&gt;BTW, you can also use a Callback handler completely generically if you pass in your parameters as POST or QueryString values by specifying:&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;pre&gt;&lt;div class="vfpcode"&gt;MyHandler.ashx?Method=MyCallbackMethod&lt;/div&gt;&lt;/pre&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;which is a great way to build a generic POX service. Simply add methods to the handler, add the ReturnAsRawString parameter to CallbackMethod() and you have a very easy way to have a single class that handles many operations and can return either raw data or JSON.&lt;/i&gt;&lt;p&gt;&lt;i&gt;Just used this for a customer implementation and it's a huge time saver!&lt;/i&gt;&lt;p&gt;I'm actually using it for jqGrid right now. Well, I'm using both the JSON and (now that I found out how to) raw data. No XML yet but it's nice to be able to handle it all without having to have multiple handlers.&lt;p&gt;-Paul &lt;br&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;p&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=2O20NKDR9" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/WestwindWebToolkit.jpg" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VV09W1L3";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VV09W1L3</link>
			<author>Paul Mrozowski</author>
     </item>
     <item>
			<title>Re: Suggestions</title>
			<pubDate>Wed, 10 Mar 2010 12:33:21 GMT</pubDate>
			<guid isPermaLink="false">2VV09RJZ5</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: Suggestions&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    West Wind Web Monitor
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: Suggestions
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/10/2010&lt;br /&gt;
           04:33:21 AM&lt;br /&gt;
          2VV09RJZ5
          &lt;a href="default.asp?Thread=2VQ0CWR1R&amp;MsgId=2VV09RJZ5"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ6S('paulm','rcs-solutions.com','re%3A Re%3A Suggestions');" &gt;Paul Mrozowski&lt;/a&gt;&lt;script&gt; function _2VV16LZ6S(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ6T('rstrahl','west-wind.com');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ6T(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    &lt;i&gt;You can already do that. You can either return a stream of data that will be used as a response (no attributes required) or you can use:&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;pre&gt;&lt;div class="csharpcode"&gt;[CallbackMethod(ReturnAsRawString = &lt;span class="literals"&gt;true&lt;/span&gt;)]&lt;/i&gt;
&lt;i&gt;        &lt;span class="programcontrol"&gt;public&lt;/span&gt; &lt;span class="datatypes"&gt;string&lt;/span&gt; PostReport()&lt;/i&gt;
&lt;i&gt;        {&lt;/i&gt;
&lt;i&gt;           &lt;span class="programcontrol"&gt;return&lt;/span&gt; &lt;span class="codestring"&gt;"anything here as a raw string"&lt;/span&gt;;&lt;/i&gt;
&lt;i&gt;        }&lt;/div&gt;&lt;/pre&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;+++ Rick ---&lt;/i&gt;&lt;p&gt;Cool.&lt;p&gt;-Paul&lt;br&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;p&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=2O20NKDR9" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/WestwindWebToolkit.jpg" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VV09RJZ5";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VV09RJZ5</link>
			<author>Paul Mrozowski</author>
     </item>
     <item>
			<title>using localization from code behind</title>
			<pubDate>Wed, 10 Mar 2010 11:33:24 GMT</pubDate>
			<guid isPermaLink="false">2VV07MGFV</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;using localization from code behind&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    West Wind Web Tools for .NET
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  using localization from code behind
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/10/2010&lt;br /&gt;
           03:33:24 AM&lt;br /&gt;
          2VV07MGFV
          &lt;a href="default.asp?Thread=2VV07MGFU&amp;MsgId=2VV07MGFV"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ6W('manojg','contata.co.in','re%3A using localization from code behind');" &gt;Manu&lt;/a&gt;&lt;script&gt; function _2VV16LZ6W(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;All&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    Hi Rick,&lt;br&gt;I stuck in middle of my implementation as my requirement is to get value of certain dynamic control to be bind from code behind or just for any control if i don't use meta key and would like to bind the value from code behind,how this could be done.&lt;br&gt;I tried to use in this way but this don't work.&lt;br&gt;System.Resources.ResourceManager resource = new System.Resources.ResourceManager(typeof(MeasureControl));&lt;br&gt;btnPri.Text= resource.GetString("btnPri.Text");&lt;br&gt;I also tried to call getobject("btnPri.Text") but this approach dont work as this expect resource file to be available,Please help me how can i get resource-id value using resource-id,culture from code behind.&lt;br&gt;Thanks&lt;br&gt;Mano&lt;br&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;p&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=2O20NKDR9" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/WestwindWebToolkit.jpg" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VV07MGFV";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VV07MGFV</link>
			<author>Manu</author>
     </item>
     <item>
			<title>Shareware-Notice on the real thing ???</title>
			<pubDate>Wed, 10 Mar 2010 11:18:48 GMT</pubDate>
			<guid isPermaLink="false">2VV071UWM</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Shareware-Notice on the real thing ???&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    Web Connection 5.0
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Shareware-Notice on the real thing ???
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/10/2010&lt;br /&gt;
           03:18:48 AM&lt;br /&gt;
          2VV071UWM
          &lt;a href="default.asp?Thread=2VV071UWL&amp;MsgId=2VV071UWM"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ70('tb','teddy-billewicz.de','re%3A Shareware%2DNotice on the real thing %3F%3F%3F');" &gt;Teddy Billewicz&lt;/a&gt;&lt;script&gt; function _2VV16LZ70(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;All&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    I purchased WWIPSTUFF (some time ago) und Web-Connection just recently.&lt;p&gt;During my testing and learning I have encountered the message&lt;p&gt;&lt;br&gt;"Welcome to West Wind Internet Protocols&lt;br&gt;This is a Shareware Copy of ssIPStuff&lt;p&gt;Please register your copy"&lt;p&gt;&lt;br&gt;I thought I had registered both purchased programms.&lt;p&gt;My PRG that generates the message, both running against wwIPStuff or wwconnect reads:&lt;p&gt;*---------*---------*---------*---------*---------*---------*&lt;br&gt;*SET CLASSLIB TO d:\wwconnection\classes\wwipstuff_deprecated.vcx additive&lt;br&gt;* this is my purchased and registered copy of WestWind-WebConnection&lt;br&gt;*---------*---------*---------*---------*---------*---------*&lt;p&gt;*---------*---------*---------*---------*---------*---------*&lt;br&gt;SET CLASSLIB TO d:\wwipstuff\wwipstuff.vcx additive&lt;br&gt;* this is my purchased and registered copy of WWIPSTUFF&lt;br&gt;*---------*---------*---------*---------*---------*---------*&lt;p&gt;o=create("wwFTP")&lt;br&gt;IF o.FTPGetFile(;		&lt;br&gt;	"ftp.wurzeli.de",;			&amp;&amp; server&lt;br&gt;	"wurzeli.zip",;				&amp;&amp; sourcefile&lt;br&gt;	"d:\temp_wwconnection\wurzeli.zip",;	&amp;&amp; target file&lt;br&gt;	2,;					&amp;&amp; binary = 2, asci = 1&lt;br&gt;	"wurzeli_user",;			&amp;&amp; username&lt;br&gt;	"wu12991299";				&amp;&amp; password&lt;br&gt;	) # 0&lt;br&gt;	&lt;br&gt;   ? o.cErrorMsg&lt;br&gt;ENDIF&lt;p&gt;*---------*---------*---------*---------*---------*---------*&lt;p&gt;&lt;br&gt;Am I doing something wrong? I have already checked all the steps described in the help file for migrating from shareware-version to the real thing (and had not installed over top of a shareware version).&lt;p&gt;&lt;br&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;br&gt;Teddy (Heidelberg - GERMANY)&lt;br&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=2O20NKDR9" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/WestwindWebToolkit.jpg" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VV071UWM";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VV071UWM</link>
			<author>Teddy Billewicz</author>
     </item>
     <item>
			<title>Re: .NET Store and windows7</title>
			<pubDate>Wed, 10 Mar 2010 04:30:09 GMT</pubDate>
			<guid isPermaLink="false">2VU17Y3CW</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: .NET Store and windows7&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    West Wind Web Store .Net
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: .NET Store and windows7
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/09/2010&lt;br /&gt;
           08:30:09 PM&lt;br /&gt;
          2VU17Y3CW
          &lt;a href="default.asp?Thread=2VT17FVHE&amp;MsgId=2VU17Y3CW"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ74('rstrahl','west-wind.com','re%3A Re%3A %2ENET Store and windows7');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ74(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ75('gregdohm','hotmail.com');" &gt;greg dohm&lt;/a&gt;&lt;script&gt; function _2VV16LZ75(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    Yes you need to enable Metabase IIS 6 compatibility in the IIS configuration...&lt;p&gt;Go to Windows Features, find IIS and enable the IIS 6 Metabase Compatibility in the feature list...&lt;p&gt;+++ Rick ---&lt;p&gt;&lt;i&gt;Rick,&lt;/i&gt;&lt;p&gt;&lt;i&gt;IIS is running -- i checked this with a static page.  It looks like the issue according to the error code is something to do with interop services.  Here's the exception text:&lt;/i&gt;&lt;p&gt;&lt;i&gt;************** Exception Text **************&lt;/i&gt;&lt;br&gt;&lt;i&gt;System.Runtime.InteropServices.COMException (0x80005000): Unknown error (0x80005000)&lt;/i&gt;&lt;br&gt;&lt;i&gt;   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)&lt;/i&gt;&lt;br&gt;&lt;i&gt;   at System.DirectoryServices.DirectoryEntry.Bind()&lt;/i&gt;&lt;br&gt;&lt;i&gt;   at System.DirectoryServices.DirectoryEntry.get_IsContainer()&lt;/i&gt;&lt;br&gt;&lt;i&gt;   at System.DirectoryServices.DirectoryEntries.ChildEnumerator..ctor(DirectoryEntry container)&lt;/i&gt;&lt;br&gt;&lt;i&gt;   at System.DirectoryServices.DirectoryEntries.GetEnumerator()&lt;/i&gt;&lt;br&gt;&lt;i&gt;   at Westwind.Tools.Web.Configuration.VirtualDirectory.GetWebSites()&lt;/i&gt;&lt;br&gt;&lt;i&gt;   at WebStoreConfig.WebStoreConfig.LoadSites()&lt;/i&gt;&lt;br&gt;&lt;i&gt;   at WebStoreConfig.WebStoreConfig.WebStoreConfig_Load(Object sender, EventArgs e)&lt;/i&gt;&lt;br&gt;&lt;i&gt;   at System.Windows.Forms.Form.OnLoad(EventArgs e)&lt;/i&gt;&lt;br&gt;&lt;i&gt;   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)&lt;/i&gt;&lt;br&gt;&lt;i&gt;   at System.Windows.Forms.Control.CreateControl()&lt;/i&gt;&lt;br&gt;&lt;i&gt;   at System.Windows.Forms.Control.WmShowWindow(Message&amp; m)&lt;/i&gt;&lt;br&gt;&lt;i&gt;   at System.Windows.Forms.Control.WndProc(Message&amp; m)&lt;/i&gt;&lt;br&gt;&lt;i&gt;   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m)&lt;/i&gt;&lt;br&gt;&lt;i&gt;   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;/i&gt;&lt;p&gt;&lt;i&gt;Greg&lt;/i&gt;&lt;p&gt;&lt;p&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;The store runs .NET 3.5, but this shouldn't bomb the installer.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Make sure IIS is installed and running tho. That's the more likely culprit for crashing.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;VS 2010 should work fine - It'll just try to upgrade the project files which should be fine...&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;+++ Rick ---&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Hi Rick,&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;I am trying to install the .net store code on my windows7 o/s along with VS2010.  I noticed in the documentation and VS2008 is supported...should VS2010 be okay too?&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;I am having trouble getting the website configuration application to run.  It craps out with various errors when first loading.  I loaded up the .net 2.0 framework SDK thinking this might be the problem but it still gives the same error.  It also says the distributable .net 2.0 framework was installed automatically with the o/s.  Any ideas are much appreciated.  Thanks.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Greg&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;br&gt;&lt;table width='100%' class='bt' bgcolor='LightGrey'  style="border: #E0E0E0 2px outset"&gt;&lt;tr&gt;&lt;br&gt;&lt;td&gt;&lt;font face='Arial' size=3 color='#800000'&gt;&lt;b&gt;Rick Strahl&lt;br&gt;West Wind Technologies&lt;/b&gt;&lt;hr&gt;&lt;i&gt;&lt;font size=2 color=black&gt;Where do you want to &lt;b&gt;surf&lt;/b&gt; today?&lt;/i&gt;&lt;/font&gt;&lt;/font&gt;&lt;/td&gt;&lt;br&gt;&lt;td align='right' valign='top'&gt;&lt;a style="font-size: 8pt" href='http://www.west-wind.com/wwReader.asp'&gt;&lt;i&gt;Reader Version: 5.0&lt;/i&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;&lt;small&gt;from Maui, Hawaii&lt;/small&gt;&lt;br&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=2O20NKDR9" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/WestwindWebToolkit.jpg" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VU17Y3CW";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VU17Y3CW</link>
			<author>Rick Strahl</author>
     </item>
     <item>
			<title>Re: .NET Store and windows7</title>
			<pubDate>Wed, 10 Mar 2010 04:16:43 GMT</pubDate>
			<guid isPermaLink="false">2VU17GTP8</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: .NET Store and windows7&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    West Wind Web Store .Net
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: .NET Store and windows7
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/09/2010&lt;br /&gt;
           08:16:43 PM&lt;br /&gt;
          2VU17GTP8
          &lt;a href="default.asp?Thread=2VT17FVHE&amp;MsgId=2VU17GTP8"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ79('gregdohm','hotmail.com','re%3A Re%3A %2ENET Store and windows7');" &gt;greg dohm&lt;/a&gt;&lt;script&gt; function _2VV16LZ79(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ7A('rstrahl','west-wind.com');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ7A(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    Rick,&lt;p&gt;IIS is running -- i checked this with a static page.  It looks like the issue according to the error code is something to do with interop services.  Here's the exception text:&lt;p&gt;************** Exception Text **************&lt;br&gt;System.Runtime.InteropServices.COMException (0x80005000): Unknown error (0x80005000)&lt;br&gt;   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)&lt;br&gt;   at System.DirectoryServices.DirectoryEntry.Bind()&lt;br&gt;   at System.DirectoryServices.DirectoryEntry.get_IsContainer()&lt;br&gt;   at System.DirectoryServices.DirectoryEntries.ChildEnumerator..ctor(DirectoryEntry container)&lt;br&gt;   at System.DirectoryServices.DirectoryEntries.GetEnumerator()&lt;br&gt;   at Westwind.Tools.Web.Configuration.VirtualDirectory.GetWebSites()&lt;br&gt;   at WebStoreConfig.WebStoreConfig.LoadSites()&lt;br&gt;   at WebStoreConfig.WebStoreConfig.WebStoreConfig_Load(Object sender, EventArgs e)&lt;br&gt;   at System.Windows.Forms.Form.OnLoad(EventArgs e)&lt;br&gt;   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)&lt;br&gt;   at System.Windows.Forms.Control.CreateControl()&lt;br&gt;   at System.Windows.Forms.Control.WmShowWindow(Message&amp; m)&lt;br&gt;   at System.Windows.Forms.Control.WndProc(Message&amp; m)&lt;br&gt;   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m)&lt;br&gt;   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;p&gt;Greg&lt;p&gt;&lt;p&gt;&lt;p&gt;&lt;i&gt;The store runs .NET 3.5, but this shouldn't bomb the installer.&lt;/i&gt;&lt;p&gt;&lt;i&gt;Make sure IIS is installed and running tho. That's the more likely culprit for crashing.&lt;/i&gt;&lt;p&gt;&lt;i&gt;VS 2010 should work fine - It'll just try to upgrade the project files which should be fine...&lt;/i&gt;&lt;p&gt;&lt;i&gt;+++ Rick ---&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Hi Rick,&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;I am trying to install the .net store code on my windows7 o/s along with VS2010.  I noticed in the documentation and VS2008 is supported...should VS2010 be okay too?&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;I am having trouble getting the website configuration application to run.  It craps out with various errors when first loading.  I loaded up the .net 2.0 framework SDK thinking this might be the problem but it still gives the same error.  It also says the distributable .net 2.0 framework was installed automatically with the o/s.  Any ideas are much appreciated.  Thanks.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Greg&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;p&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=2O20NKDR9" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/WestwindWebToolkit.jpg" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VU17GTP8";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VU17GTP8</link>
			<author>greg dohm</author>
     </item>
     <item>
			<title>Re: Suggestions</title>
			<pubDate>Wed, 10 Mar 2010 03:58:11 GMT</pubDate>
			<guid isPermaLink="false">2VU16SZD6</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: Suggestions&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    West Wind Web Toolkit for ASP.NET
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: Suggestions
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/09/2010&lt;br /&gt;
           07:58:11 PM&lt;br /&gt;
          2VU16SZD6
          &lt;a href="default.asp?Thread=2VQ0CWR1R&amp;MsgId=2VU16SZD6"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ7D('rstrahl','west-wind.com','re%3A Re%3A Suggestions');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ7D(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ7E('paulm','rcs-solutions.com');" &gt;Paul Mrozowski&lt;/a&gt;&lt;script&gt; function _2VV16LZ7E(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    BTW, you can also use a Callback handler completely generically if you pass in your parameters as POST or QueryString values by specifying:&lt;p&gt;&lt;pre&gt;&lt;div class="vfpcode"&gt;MyHandler.ashx?Method=MyCallbackMethod&lt;/div&gt;&lt;/pre&gt;&lt;p&gt;which is a great way to build a generic POX service. Simply add methods to the handler, add the ReturnAsRawString parameter to CallbackMethod() and you have a very easy way to have a single class that handles many operations and can return either raw data or JSON.&lt;p&gt;Just used this for a customer implementation and it's a huge time saver!&lt;p&gt;+++ Rick ---&lt;p&gt;&lt;i&gt;&lt;i&gt;Paul,&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Thanks for the feedback. I've updated the topic here internally and I'll be updating the online docs in a bit. It's about time for another full release of the toolkit as well :-}&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;One other suggestion/ER: it'd be nice if you could specify (on a per-method basis, maybe via an attribute) the output format returned by the method. I'm running into cases where I'd like to have some methods NOT return JSON, just return exactly what I returned from my method (obviously this only works for strings). &lt;/i&gt;&lt;p&gt;&lt;i&gt;-Paul&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;br&gt;&lt;table width='100%' class='bt' bgcolor='LightGrey'  style="border: #E0E0E0 2px outset"&gt;&lt;tr&gt;&lt;br&gt;&lt;td&gt;&lt;font face='Arial' size=3 color='#800000'&gt;&lt;b&gt;Rick Strahl&lt;br&gt;West Wind Technologies&lt;/b&gt;&lt;hr&gt;&lt;i&gt;&lt;font size=2 color=black&gt;Where do you want to &lt;b&gt;surf&lt;/b&gt; today?&lt;/i&gt;&lt;/font&gt;&lt;/font&gt;&lt;/td&gt;&lt;br&gt;&lt;td align='right' valign='top'&gt;&lt;a style="font-size: 8pt" href='http://www.west-wind.com/wwReader.asp'&gt;&lt;i&gt;Reader Version: 5.0&lt;/i&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;&lt;small&gt;from Maui, Hawaii&lt;/small&gt;&lt;br&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=05Q10Z2XC" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/WestwindWebStore.gif" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VU16SZD6";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VU16SZD6</link>
			<author>Rick Strahl</author>
     </item>
     <item>
			<title>Re: How to verify that ASP.NET is installed in IIS 7</title>
			<pubDate>Wed, 10 Mar 2010 03:55:23 GMT</pubDate>
			<guid isPermaLink="false">2VU16PDP9</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: How to verify that ASP.NET is installed in IIS 7&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    ASP.NET
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: How to verify that ASP.NET is installed in IIS 7
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/09/2010&lt;br /&gt;
           07:55:23 PM&lt;br /&gt;
          2VU16PDP9
          &lt;a href="default.asp?Thread=2VT09GUAZ&amp;MsgId=2VU16PDP9"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ7H('rstrahl','west-wind.com','re%3A Re%3A How to verify that ASP%2ENET is installed in IIS 7');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ7H(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ7I('litvak.d','gmail.com');" &gt;Dmitry Litvak&lt;/a&gt;&lt;script&gt; function _2VV16LZ7I(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    Take a look at the Web Connection install instructions - it shows the dialog that you should be looking at. ASP.NET is one of the 'recommended' components with Web Connection now that the .NET module is supported and you can see that in the setup instructions for Win7/Win2008.&lt;p&gt;&lt;a href="http://www.west-wind.com/webconnection/docs/index.htm?page=_22f0xkbmq.htm" target="top" &gt;wcdocs:_22f0xkbmq.htm&lt;/a&gt;&lt;p&gt;Your roles will determine what gets installed - they can override the settings in the features dialog.&lt;p&gt;Other than that I don't know. Win 2008 ships with .NET 3.5. You'll probably want to install .NET 3.5 SP1 since it includes many new features and framewqork enhancements.&lt;p&gt;+++ Rick ---&lt;p&gt;&lt;p&gt;\&lt;i&gt;Sorry I somehow clicked on Send before finishing the message&lt;/i&gt;&lt;p&gt;&lt;i&gt;Rick,&lt;/i&gt;&lt;br&gt;&lt;i&gt;One more question, please (actually more than one). I connected to the customer Server 2008. Here is what I see:&lt;/i&gt;&lt;br&gt;&lt;i&gt;Program &amp; Features Installed:&lt;/i&gt;&lt;br&gt;&lt;i&gt;1. Microsoft .NET Framework 3.5 Sp1&lt;/i&gt;&lt;br&gt;&lt;i&gt;2. MSXML 4.0 SP2&lt;/i&gt;&lt;br&gt;&lt;i&gt;3. MSXML 4.0 SP2&lt;/i&gt;&lt;br&gt;&lt;i&gt;4. Vmware Tools&lt;/i&gt;&lt;p&gt;&lt;i&gt;Then I looked at the Role Services:&lt;/i&gt;&lt;br&gt;&lt;i&gt;Application Development     Not Installed&lt;/i&gt;&lt;br&gt;&lt;i&gt;ASP.NET                     Not Installed&lt;/i&gt;&lt;br&gt;&lt;i&gt;.NET Extensibility          Not Installed&lt;/i&gt;&lt;br&gt;&lt;i&gt;ASP                         Not Installed&lt;/i&gt;&lt;br&gt;&lt;i&gt;CGI                         Not Installed&lt;/i&gt;&lt;br&gt;&lt;i&gt;ISAPI Extensions            Not Installed&lt;/i&gt;&lt;br&gt;&lt;i&gt;ISAPI Filters               Not Installed.&lt;/i&gt;&lt;p&gt;&lt;i&gt;My quetions is, do I ask the IT manager to install the above Role Services?  What is confusing to me is that the Feature sections shows that .NET 3.5 is installed but the Rose Services is not.   Microsoft tech writers need a vacation (or I do &amp;lt;g&amp;gt;).&lt;/i&gt;&lt;p&gt;&lt;i&gt;Thank you in advance for your help.&lt;/i&gt;&lt;p&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Make sure ASP.NET is installed (Windows Features) first of all. By default it is not.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Next make sure that the ISAPI and CGI restrictions are set to allow ASP.NET. Go to the server machine root and use ISAPI and CGI Restrictions and allow ASP.NET there.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Finally make sure your application is set to run in the appropirate ASP.NET application mode (Integrated is what you typically want).&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Hope this helps,&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;+++ Rick ---&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Hello,&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;I am trying to install an ASP.NET application (ver 2.0) on Server 2008 (IIS 7) for the first time.  &lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;When attempting to browse a very simple (one line) .ASPX page I get the following error:&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;HTTP Error 404.3 - Not Found&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.  &lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;I don't think I need MIME map but one other possible cause of the problem (as shown on the error page) is that ASP.NET is not installed.  I checked the local services on the server but see nothing that resembles ASP.NET service. I checked the folder C:\Windows\Microsoft.net\Framework and the folders for .NET 2,3 are there.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;How do I verify if ASP.NET is or is not installed?  On IIS 6 I remember executing "ASPNET_REGIIS –i" in command prompt.  But I don't know if this can cause adverse effects on the Server 2008 (customer server).&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Any suggestions, please?&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;br&gt;&lt;table width='100%' class='bt' bgcolor='LightGrey'  style="border: #E0E0E0 2px outset"&gt;&lt;tr&gt;&lt;br&gt;&lt;td&gt;&lt;font face='Arial' size=3 color='#800000'&gt;&lt;b&gt;Rick Strahl&lt;br&gt;West Wind Technologies&lt;/b&gt;&lt;hr&gt;&lt;i&gt;&lt;font size=2 color=black&gt;Where do you want to &lt;b&gt;surf&lt;/b&gt; today?&lt;/i&gt;&lt;/font&gt;&lt;/font&gt;&lt;/td&gt;&lt;br&gt;&lt;td align='right' valign='top'&gt;&lt;a style="font-size: 8pt" href='http://www.west-wind.com/wwReader.asp'&gt;&lt;i&gt;Reader Version: 5.0&lt;/i&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;&lt;small&gt;from Maui, Hawaii&lt;/small&gt;&lt;br&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=05Q10Z2XC" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/WestwindWebStore.gif" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VU16PDP9";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VU16PDP9</link>
			<author>Rick Strahl</author>
     </item>
     <item>
			<title>Re: wwFTP and SendFileEx</title>
			<pubDate>Wed, 10 Mar 2010 03:55:23 GMT</pubDate>
			<guid isPermaLink="false">2VU16PDPJ</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: wwFTP and SendFileEx&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    Web Connection
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: wwFTP and SendFileEx
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/09/2010&lt;br /&gt;
           07:55:23 PM&lt;br /&gt;
          2VU16PDPJ
          &lt;a href="default.asp?Thread=2VT0PEWK1&amp;MsgId=2VU16PDPJ"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ7N('rstrahl','west-wind.com','re%3A Re%3A wwFTP and SendFileEx');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ7N(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ7O('apennell','hbug.k12.il.us');" &gt;Amanda Pennell&lt;/a&gt;&lt;script&gt; function _2VV16LZ7O(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    Yeah passive FTP is pretty much required for everything since Windows Firewall locks down the auto-assigned ports usually.&lt;p&gt;+++ Rick ---&lt;p&gt;&lt;i&gt;I have installed FTP services on IIS 7. I have added a single user account, and have edited share permissions so that the single user account has read/write to the c:\uploads folder. &lt;/i&gt;&lt;br&gt;&lt;i&gt;Here is the code I am using:&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;pre&gt;&lt;div class="vfpcode"&gt;oFTP = &lt;span class="commands"&gt;create&lt;/span&gt;(&lt;span class="codestring"&gt;"wwFTP"&lt;/span&gt;)&lt;/i&gt;
&lt;i&gt;&lt;span class="commands"&gt;wait&lt;/span&gt; &lt;span class="commands"&gt;window&lt;/span&gt; &lt;span class="codestring"&gt;'Sending file...please wait.'&lt;/span&gt; nowait&lt;/i&gt;
&lt;i&gt;lnResult = oFTP.FTPConnect(&lt;span class="codestring"&gt;"ftp://10.10.10.9"&lt;/span&gt;,&lt;span class="codestring"&gt;"iepxxx"&lt;/span&gt;,&lt;span class="codestring"&gt;"xxxx"&lt;/span&gt;)&lt;/i&gt;
&lt;i&gt;&lt;span class="programcontrol"&gt;if&lt;/span&gt; lnResult = 0&lt;/i&gt;
&lt;i&gt;	lnMessageBox = &lt;span class="functions"&gt;messagebox&lt;/span&gt;(&lt;span class="codestring"&gt;'Connected to Harrisburg Project successfully.'&lt;/span&gt;,0,&lt;span class="codestring"&gt;'Success!'&lt;/span&gt;)&lt;/i&gt;
&lt;i&gt;lnResult = oFTP.FTPSendFileEx(&lt;span class="codestring"&gt;"C:\SiteFiles\AKP_IEPOINT2010.1.3\DATA2010\autobackup.zip"&lt;/span&gt;,&lt;span class="codestring"&gt;"autobackup.zip"&lt;/span&gt;)&lt;/i&gt;
&lt;i&gt;&lt;span class="commands"&gt;wait&lt;/span&gt; &lt;span class="commands"&gt;clear&lt;/span&gt;&lt;/i&gt;
&lt;i&gt;&lt;span class="programcontrol"&gt;if&lt;/span&gt; lnResult = 0&lt;/i&gt;
&lt;i&gt;	lnMessageBox = &lt;span class="functions"&gt;messagebox&lt;/span&gt;(&lt;span class="codestring"&gt;'File sent to Harrisburg Project successfully.'&lt;/span&gt;,0,&lt;span class="codestring"&gt;'Success!'&lt;/span&gt;)&lt;/i&gt;
&lt;i&gt;&lt;span class="programcontrol"&gt;else&lt;/span&gt;&lt;/i&gt;
&lt;i&gt;	loIp = &lt;span class="commands"&gt;create&lt;/span&gt;(&lt;span class="codestring"&gt;"wwipstuff"&lt;/span&gt;)&lt;/i&gt;
&lt;i&gt;	lcMessage = loIp.getlastinterneterror()&lt;/i&gt;
&lt;i&gt;	lnMessageBox = &lt;span class="functions"&gt;messagebox&lt;/span&gt;(&lt;span class="codestring"&gt;'Something went wrong, the error code returned was '&lt;/span&gt;+ &lt;span class="functions"&gt;alltrim&lt;/span&gt;(&lt;span class="functions"&gt;str&lt;/span&gt;(lnResult)) + &lt;span class="codestring"&gt;','&lt;/span&gt;+ &lt;span class="functions"&gt;alltrim&lt;/span&gt;(lcMessage),0,&lt;span class="codestring"&gt;'An error occurred'&lt;/span&gt;)&lt;/i&gt;
&lt;i&gt;&lt;span class="programcontrol"&gt;endif&lt;/span&gt;&lt;/i&gt;
&lt;i&gt;oFTP.FTPClose()&lt;/div&gt;&lt;/pre&gt; &lt;/i&gt;&lt;br&gt;&lt;i&gt;I do see that I can make the connection successfully. However, when I get to the Send Line, it sits for several minutes before returning a Wininet code 12002, which is a timeout. What am I missing here? I see in the IIS log that my session is connecting, but it says that the last command issued was a STOR.&lt;/i&gt;&lt;p&gt;&lt;i&gt;TIA&lt;/i&gt;&lt;br&gt;&lt;i&gt;Amanda&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;br&gt;&lt;table width='100%' class='bt' bgcolor='LightGrey'  style="border: #E0E0E0 2px outset"&gt;&lt;tr&gt;&lt;br&gt;&lt;td&gt;&lt;font face='Arial' size=3 color='#800000'&gt;&lt;b&gt;Rick Strahl&lt;br&gt;West Wind Technologies&lt;/b&gt;&lt;hr&gt;&lt;i&gt;&lt;font size=2 color=black&gt;Where do you want to &lt;b&gt;surf&lt;/b&gt; today?&lt;/i&gt;&lt;/font&gt;&lt;/font&gt;&lt;/td&gt;&lt;br&gt;&lt;td align='right' valign='top'&gt;&lt;a style="font-size: 8pt" href='http://www.west-wind.com/wwReader.asp'&gt;&lt;i&gt;Reader Version: 5.0&lt;/i&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;&lt;small&gt;from Maui, Hawaii&lt;/small&gt;&lt;br&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=05Q10Z2XC" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/WestwindWebStore.gif" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VU16PDPJ";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VU16PDPJ</link>
			<author>Rick Strahl</author>
     </item>
     <item>
			<title>Re: .NET Store and windows7</title>
			<pubDate>Wed, 10 Mar 2010 03:55:23 GMT</pubDate>
			<guid isPermaLink="false">2VU16PDPS</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: .NET Store and windows7&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    West Wind Web Store .Net
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: .NET Store and windows7
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/09/2010&lt;br /&gt;
           07:55:23 PM&lt;br /&gt;
          2VU16PDPS
          &lt;a href="default.asp?Thread=2VT17FVHE&amp;MsgId=2VU16PDPS"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ7S('rstrahl','west-wind.com','re%3A Re%3A %2ENET Store and windows7');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ7S(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ7T('gregdohm','hotmail.com');" &gt;greg dohm&lt;/a&gt;&lt;script&gt; function _2VV16LZ7T(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    The store runs .NET 3.5, but this shouldn't bomb the installer.&lt;p&gt;Make sure IIS is installed and running tho. That's the more likely culprit for crashing.&lt;p&gt;VS 2010 should work fine - It'll just try to upgrade the project files which should be fine...&lt;p&gt;+++ Rick ---&lt;p&gt;&lt;i&gt;Hi Rick,&lt;/i&gt;&lt;p&gt;&lt;i&gt;I am trying to install the .net store code on my windows7 o/s along with VS2010.  I noticed in the documentation and VS2008 is supported...should VS2010 be okay too?&lt;/i&gt;&lt;p&gt;&lt;i&gt;I am having trouble getting the website configuration application to run.  It craps out with various errors when first loading.  I loaded up the .net 2.0 framework SDK thinking this might be the problem but it still gives the same error.  It also says the distributable .net 2.0 framework was installed automatically with the o/s.  Any ideas are much appreciated.  Thanks.&lt;/i&gt;&lt;p&gt;&lt;i&gt;Greg&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;br&gt;&lt;table width='100%' class='bt' bgcolor='LightGrey'  style="border: #E0E0E0 2px outset"&gt;&lt;tr&gt;&lt;br&gt;&lt;td&gt;&lt;font face='Arial' size=3 color='#800000'&gt;&lt;b&gt;Rick Strahl&lt;br&gt;West Wind Technologies&lt;/b&gt;&lt;hr&gt;&lt;i&gt;&lt;font size=2 color=black&gt;Where do you want to &lt;b&gt;surf&lt;/b&gt; today?&lt;/i&gt;&lt;/font&gt;&lt;/font&gt;&lt;/td&gt;&lt;br&gt;&lt;td align='right' valign='top'&gt;&lt;a style="font-size: 8pt" href='http://www.west-wind.com/wwReader.asp'&gt;&lt;i&gt;Reader Version: 5.0&lt;/i&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;&lt;small&gt;from Maui, Hawaii&lt;/small&gt;&lt;br&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=05Q10Z2XC" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/WestwindWebStore.gif" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VU16PDPS";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VU16PDPS</link>
			<author>Rick Strahl</author>
     </item>
     <item>
			<title>Re: Suggestions</title>
			<pubDate>Wed, 10 Mar 2010 03:55:23 GMT</pubDate>
			<guid isPermaLink="false">2VU16PDPZ</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: Suggestions&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    West Wind Web Monitor
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: Suggestions
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/09/2010&lt;br /&gt;
           07:55:23 PM&lt;br /&gt;
          2VU16PDPZ
          &lt;a href="default.asp?Thread=2VQ0CWR1R&amp;MsgId=2VU16PDPZ"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ7W('rstrahl','west-wind.com','re%3A Re%3A Suggestions');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ7W(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ7X('paulm','rcs-solutions.com');" &gt;Paul Mrozowski&lt;/a&gt;&lt;script&gt; function _2VV16LZ7X(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    You can already do that. You can either return a stream of data that will be used as a response (no attributes required) or you can use:&lt;p&gt;&lt;pre&gt;&lt;div class="csharpcode"&gt;[CallbackMethod(ReturnAsRawString = &lt;span class="literals"&gt;true&lt;/span&gt;)]
        &lt;span class="programcontrol"&gt;public&lt;/span&gt; &lt;span class="datatypes"&gt;string&lt;/span&gt; PostReport()
        {
           &lt;span class="programcontrol"&gt;return&lt;/span&gt; &lt;span class="codestring"&gt;"anything here as a raw string"&lt;/span&gt;;
        }&lt;/div&gt;&lt;/pre&gt;&lt;p&gt;+++ Rick ---&lt;p&gt;&lt;i&gt;&lt;i&gt;Paul,&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Thanks for the feedback. I've updated the topic here internally and I'll be updating the online docs in a bit. It's about time for another full release of the toolkit as well :-}&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;One other suggestion/ER: it'd be nice if you could specify (on a per-method basis, maybe via an attribute) the output format returned by the method. I'm running into cases where I'd like to have some methods NOT return JSON, just return exactly what I returned from my method (obviously this only works for strings). &lt;/i&gt;&lt;p&gt;&lt;i&gt;-Paul&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;br&gt;&lt;table width='100%' class='bt' bgcolor='LightGrey'  style="border: #E0E0E0 2px outset"&gt;&lt;tr&gt;&lt;br&gt;&lt;td&gt;&lt;font face='Arial' size=3 color='#800000'&gt;&lt;b&gt;Rick Strahl&lt;br&gt;West Wind Technologies&lt;/b&gt;&lt;hr&gt;&lt;i&gt;&lt;font size=2 color=black&gt;Where do you want to &lt;b&gt;surf&lt;/b&gt; today?&lt;/i&gt;&lt;/font&gt;&lt;/font&gt;&lt;/td&gt;&lt;br&gt;&lt;td align='right' valign='top'&gt;&lt;a style="font-size: 8pt" href='&lt;a href="http://www.west-wind.com/wwReader.asp"  target="top" &gt;http://www.west-wind.com/wwReader.asp&lt;/a&gt;'&gt;&lt;i&gt;Reader Version: 5.0&lt;/i&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;&lt;small&gt;from Maui, Hawaii&lt;/small&gt;&lt;br&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=05Q10Z2XC" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/WestwindWebStore.gif" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VU16PDPZ";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VU16PDPZ</link>
			<author>Rick Strahl</author>
     </item>
     <item>
			<title>Re: Server 2008 Configuration Issues</title>
			<pubDate>Wed, 10 Mar 2010 03:55:23 GMT</pubDate>
			<guid isPermaLink="false">2VU16PDQ7</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: Server 2008 Configuration Issues&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    Web Connection
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: Server 2008 Configuration Issues
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/09/2010&lt;br /&gt;
           07:55:23 PM&lt;br /&gt;
          2VU16PDQ7
          &lt;a href="default.asp?Thread=2VT1DD5YU&amp;MsgId=2VU16PDQ7"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ80('rstrahl','west-wind.com','re%3A Re%3A Server 2008 Configuration Issues');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ80(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ81('brett','nashvillewraps.com');" &gt;Brett Baggott&lt;/a&gt;&lt;script&gt; function _2VV16LZ81(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    As different as IIS 7 configuration is from IIS 6 I think it's much cleaner and easy to deal with both through the UI and through the web.config interfcae. The really nice thing is that if you use modules (like the .NET module for Web Connection) the web.config becomes completely portable with plain xcopy configuration handling except for the virtual creation.&lt;p&gt;+++ Rick ---&lt;p&gt;&lt;i&gt;Ok, it seems my web.config file in my root did not have proper permissions such that all my fiddling with it had no effect and all my changes via the GUI had no lasting effect.&lt;/i&gt;&lt;p&gt;&lt;i&gt;On the plus side, I am now _thoroughly_ familiar with proper setup on IIS7/2008 with both the ISAPI DLL and the Managed Module to the point I feel almost as comfortable with it as I am the old style.&lt;/i&gt;&lt;p&gt;&lt;i&gt;So that's that.&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Apparently I'm not near as familiar with the differences that exist between Server 2008/IIS7 and older/IIS6 setups. I've got a dev system running Server 2008, Foxpro, WWWC. I've gone through the DevDemo walkthrough and everything works fine... as long as I'm calling my DevProcess functions out of the virtual (like /localhost/devdemo/testpage.dp). See the hits, tested some Web Control Framework pages, basically everything works great.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;So now I want to make the site work from the root. I saw under HTTP Handlers that the ISAPI-Dll wasn't enabled for root but was for virtual /devdemo so I enabled that. Made sure Authentication was the same as the virtual, etc.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;I still get status code 500 when I try to access /localhost/testpage.dp or any of the other scriptmaps I make.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;I finally gave up and copied the entire web.config from /devdemo virtual to my root but still no love.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;So obviously there's more to it that there would be with older/IIS6. Anyone have any idea what?&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;br&gt;&lt;table width='100%' class='bt' bgcolor='LightGrey'  style="border: #E0E0E0 2px outset"&gt;&lt;tr&gt;&lt;br&gt;&lt;td&gt;&lt;font face='Arial' size=3 color='#800000'&gt;&lt;b&gt;Rick Strahl&lt;br&gt;West Wind Technologies&lt;/b&gt;&lt;hr&gt;&lt;i&gt;&lt;font size=2 color=black&gt;Where do you want to &lt;b&gt;surf&lt;/b&gt; today?&lt;/i&gt;&lt;/font&gt;&lt;/font&gt;&lt;/td&gt;&lt;br&gt;&lt;td align='right' valign='top'&gt;&lt;a style="font-size: 8pt" href='http://www.west-wind.com/wwReader.asp'&gt;&lt;i&gt;Reader Version: 5.0&lt;/i&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;&lt;small&gt;from Maui, Hawaii&lt;/small&gt;&lt;br&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=05Q10Z2XC" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/WestwindWebStore.gif" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VU16PDQ7";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VU16PDQ7</link>
			<author>Rick Strahl</author>
     </item>
     <item>
			<title>Re: Form without Action</title>
			<pubDate>Tue, 9 Mar 2010 22:59:25 GMT</pubDate>
			<guid isPermaLink="false">2VU0W4QM0</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: Form without Action&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    HTML, CSS,  JavaScript, Flash
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: Form without Action
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/09/2010&lt;br /&gt;
           02:59:25 PM&lt;br /&gt;
          2VU0W4QM0
          &lt;a href="default.asp?Thread=2VS0TPCRF&amp;MsgId=2VU0W4QM0"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ84('huberto','codetel.net.do','re%3A Re%3A Form without Action');" &gt;Huberto&lt;/a&gt;&lt;script&gt; function _2VV16LZ84(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ85('anathematize_net','yahoo.com');" &gt;Jason&lt;/a&gt;&lt;script&gt; function _2VV16LZ85(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    Jason,&lt;p&gt;Unfortunately is the latter.&lt;p&gt;But thanks anyway,&lt;p&gt;Huberto.&lt;p&gt;&lt;br&gt;&lt;i&gt;Hello Huberto,&lt;/i&gt;&lt;p&gt;&lt;i&gt;Is it possible that your form button is just that, a "&amp;lt;button type="button&amp;gt;Submit&amp;lt;/button&amp;gt;" and not a "&amp;lt;input type="submit" value=Submit" /&amp;gt;" element?&lt;/i&gt;&lt;p&gt;&lt;i&gt;If that is the case, that would explain why your user pressing the button works as planned, but the enter key pressed while the form has focus behaves much differently. The enter key would still actually be submitting the form with the focus whereas the button would not call an inherent submit method.&lt;/i&gt;&lt;p&gt;&lt;i&gt;Hope this helps.&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Thanks Arnold.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Huberto.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Huberto&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;PMFJI...but if you need to prevent ENTER key pressed on a textbox to fire, then javascript like this&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;can do the trick...&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&amp;lt;script language="JavaScript" type="text/javascript"&amp;gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;   function checkCR(evt) {&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;   var evt  = (evt) ? evt : ((event) ? event : null);&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;   var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;   if ((evt.keyCode == 13) &amp;&amp; (node.type=="text")) {return false;}&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;   }&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;   document.onkeypress = checkCR;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&amp;lt;/script&amp;gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;HTH...&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Arnold&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;-------------------------------------------------------------------------&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Thanks Rick,&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Nothing works really. What seems odd, at least to me, is that the exact same scenario&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;turns out very differently depending on what the user chooses to do. If the user after typing something in the text control clicks the button of the form with the mouse everything works as expected. If the user tabs until the button gets the focus before pressing enter, it also works. BUT, if the user presses enter while in the text control then the form posts back onto itself and never executes the click function of the button. This is what I wanted a solution for.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Again, thanks for taking the time to respond.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Huberto.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Rick,&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Actually the form does not have a default submit operation, it has no action&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;property. The submission is actually handled by a jquery function associated&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;with the click event of the submit button of the form.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;I hope this helps and thanks for answering,&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Well not quite. A form with a submit button always has a default submit operation which is the onsubmit() event. What happens in response is up to you to decide. &lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;If you override onsubmit() with script code make sure you stop event bubbling so that the action doesn't fire. Not specifying an action on the ACTION of the form means the form posts back onto itself.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;I'm guessing the latter is what you're running into... the form is still posting back even though you're trying to handle the submit event on your own - which means both your code and the POST occur. Make sure you use e.preventDefault() and e.stopPropagation() in your submit function.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;+++ Rick ---&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Huberto.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;I'm not sure what you're even asking.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Pressing enter in a form field will trigger the default submit operation of that form which is as it should be.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;If you're using jQuery you can take over the keypress or keydown event and do anything you want when a specific key is pressed:&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;pre&gt;&lt;div class="csharpcode"&gt;$(&lt;span class="codestring"&gt;"input,textarea,select"&lt;/span&gt;).keydown( &lt;span class="programcontrol"&gt;function&lt;/span&gt;(e) {&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;  &lt;span class="programcontrol"&gt;if&lt;/span&gt; (e.keycode == 13  // enter)&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;  {&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;     &lt;span class="codecomment"&gt;// do something here&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;  }&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;});&lt;/div&gt;&lt;/pre&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;+++ Rick ---&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Although there are many references in Google to this issue, there are no solutions.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;If you have an actionless form, because there is a jquery click function associated&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;with the submit button of that form, you have to click the button with the mouse or&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;set the focus to it before pressing enter for it (the form) to work properly. Pressing enter, still in one of the text controls, simply reloads the page that hosts the form.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Any work around this?&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;TIA,&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Huberto.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;p&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;id=05Q10Z2XC" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/WestwindWebStore.gif" BORDER=0 &gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VU0W4QM0";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VU0W4QM0</link>
			<author>Huberto</author>
     </item>
     <item>
			<title>Re: Server 2008 Configuration Issues</title>
			<pubDate>Tue, 9 Mar 2010 22:31:14 GMT</pubDate>
			<guid isPermaLink="false">2VU0V4HUU</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: Server 2008 Configuration Issues&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    Web Connection
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: Server 2008 Configuration Issues
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/09/2010&lt;br /&gt;
           02:31:14 PM&lt;br /&gt;
          2VU0V4HUU
          &lt;a href="default.asp?Thread=2VT1DD5YU&amp;MsgId=2VU0V4HUU"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ8B('brett','nashvillewraps.com','re%3A Re%3A Server 2008 Configuration Issues');" &gt;Brett Baggott&lt;/a&gt;&lt;script&gt; function _2VV16LZ8B(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ8C('brett','nashvillewraps.com');" &gt;Brett Baggott&lt;/a&gt;&lt;script&gt; function _2VV16LZ8C(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    Ok, it seems my web.config file in my root did not have proper permissions such that all my fiddling with it had no effect and all my changes via the GUI had no lasting effect.&lt;p&gt;On the plus side, I am now _thoroughly_ familiar with proper setup on IIS7/2008 with both the ISAPI DLL and the Managed Module to the point I feel almost as comfortable with it as I am the old style.&lt;p&gt;So that's that.&lt;p&gt;&lt;i&gt;Apparently I'm not near as familiar with the differences that exist between Server 2008/IIS7 and older/IIS6 setups. I've got a dev system running Server 2008, Foxpro, WWWC. I've gone through the DevDemo walkthrough and everything works fine... as long as I'm calling my DevProcess functions out of the virtual (like /localhost/devdemo/testpage.dp). See the hits, tested some Web Control Framework pages, basically everything works great.&lt;/i&gt;&lt;p&gt;&lt;i&gt;So now I want to make the site work from the root. I saw under HTTP Handlers that the ISAPI-Dll wasn't enabled for root but was for virtual /devdemo so I enabled that. Made sure Authentication was the same as the virtual, etc.&lt;/i&gt;&lt;p&gt;&lt;i&gt;I still get status code 500 when I try to access /localhost/testpage.dp or any of the other scriptmaps I make.&lt;/i&gt;&lt;p&gt;&lt;i&gt;I finally gave up and copied the entire web.config from /devdemo virtual to my root but still no love.&lt;/i&gt;&lt;p&gt;&lt;i&gt;So obviously there's more to it that there would be with older/IIS6. Anyone have any idea what?&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;p&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;ID=S350AX63" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/webmonitorbanner.jpg" BORDER=0 ALT='West Wind Web Monitor'&gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VU0V4HUU";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VU0V4HUU</link>
			<author>Brett Baggott</author>
     </item>
     <item>
			<title>Re: Form without Action</title>
			<pubDate>Tue, 9 Mar 2010 22:21:40 GMT</pubDate>
			<guid isPermaLink="false">2VU0US7K4</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: Form without Action&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    HTML, CSS,  JavaScript, Flash
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: Form without Action
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/09/2010&lt;br /&gt;
           02:21:40 PM&lt;br /&gt;
          2VU0US7K4
          &lt;a href="default.asp?Thread=2VS0TPCRF&amp;MsgId=2VU0US7K4"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ8F('anathematize_net','yahoo.com','re%3A Re%3A Form without Action');" &gt;Jason&lt;/a&gt;&lt;script&gt; function _2VV16LZ8F(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ8G('huberto','codetel.net.do');" &gt;Huberto&lt;/a&gt;&lt;script&gt; function _2VV16LZ8G(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    Hello Huberto,&lt;p&gt;Is it possible that your form button is just that, a "&amp;lt;button type="button&amp;gt;Submit&amp;lt;/button&amp;gt;" and not a "&amp;lt;input type="submit" value=Submit" /&amp;gt;" element?&lt;p&gt;If that is the case, that would explain why your user pressing the button works as planned, but the enter key pressed while the form has focus behaves much differently. The enter key would still actually be submitting the form with the focus whereas the button would not call an inherent submit method.&lt;p&gt;Hope this helps.&lt;p&gt;&lt;i&gt;Thanks Arnold.&lt;/i&gt;&lt;p&gt;&lt;i&gt;Huberto.&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Huberto&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;PMFJI...but if you need to prevent ENTER key pressed on a textbox to fire, then javascript like this&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;can do the trick...&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&amp;lt;script language="JavaScript" type="text/javascript"&amp;gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;   function checkCR(evt) {&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;   var evt  = (evt) ? evt : ((event) ? event : null);&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;   var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;   if ((evt.keyCode == 13) &amp;&amp; (node.type=="text")) {return false;}&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;   }&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;   document.onkeypress = checkCR;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&amp;lt;/script&amp;gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;HTH...&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;Arnold&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;-------------------------------------------------------------------------&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Thanks Rick,&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Nothing works really. What seems odd, at least to me, is that the exact same scenario&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;turns out very differently depending on what the user chooses to do. If the user after typing something in the text control clicks the button of the form with the mouse everything works as expected. If the user tabs until the button gets the focus before pressing enter, it also works. BUT, if the user presses enter while in the text control then the form posts back onto itself and never executes the click function of the button. This is what I wanted a solution for.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Again, thanks for taking the time to respond.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Huberto.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Rick,&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Actually the form does not have a default submit operation, it has no action&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;property. The submission is actually handled by a jquery function associated&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;with the click event of the submit button of the form.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;I hope this helps and thanks for answering,&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Well not quite. A form with a submit button always has a default submit operation which is the onsubmit() event. What happens in response is up to you to decide. &lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;If you override onsubmit() with script code make sure you stop event bubbling so that the action doesn't fire. Not specifying an action on the ACTION of the form means the form posts back onto itself.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;I'm guessing the latter is what you're running into... the form is still posting back even though you're trying to handle the submit event on your own - which means both your code and the POST occur. Make sure you use e.preventDefault() and e.stopPropagation() in your submit function.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;+++ Rick ---&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Huberto.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;I'm not sure what you're even asking.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Pressing enter in a form field will trigger the default submit operation of that form which is as it should be.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;If you're using jQuery you can take over the keypress or keydown event and do anything you want when a specific key is pressed:&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;pre&gt;&lt;div class="csharpcode"&gt;$(&lt;span class="codestring"&gt;"input,textarea,select"&lt;/span&gt;).keydown( &lt;span class="programcontrol"&gt;function&lt;/span&gt;(e) {&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;  &lt;span class="programcontrol"&gt;if&lt;/span&gt; (e.keycode == 13  // enter)&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;  {&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;     &lt;span class="codecomment"&gt;// do something here&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;  }&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;});&lt;/div&gt;&lt;/pre&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;+++ Rick ---&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Although there are many references in Google to this issue, there are no solutions.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;If you have an actionless form, because there is a jquery click function associated&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;with the submit button of that form, you have to click the button with the mouse or&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;set the focus to it before pressing enter for it (the form) to work properly. Pressing enter, still in one of the text controls, simply reloads the page that hosts the form.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Any work around this?&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;TIA,&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Huberto.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;p&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;ID=S350AX63" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/webmonitorbanner.jpg" BORDER=0 ALT='West Wind Web Monitor'&gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VU0US7K4";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VU0US7K4</link>
			<author>Jason</author>
     </item>
     <item>
			<title>Re: Form without Action</title>
			<pubDate>Tue, 9 Mar 2010 15:18:45 GMT</pubDate>
			<guid isPermaLink="false">2VU0FOAG6</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: Form without Action&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    HTML, CSS,  JavaScript, Flash
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: Form without Action
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/09/2010&lt;br /&gt;
           07:18:45 AM&lt;br /&gt;
          2VU0FOAG6
          &lt;a href="default.asp?Thread=2VS0TPCRF&amp;MsgId=2VU0FOAG6"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ8L('huberto','codetel.net.do','re%3A Re%3A Form without Action');" &gt;Huberto&lt;/a&gt;&lt;script&gt; function _2VV16LZ8L(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ8M('ArnoldJinkis','parameds.com');" &gt;Arnold Jinkis&lt;/a&gt;&lt;script&gt; function _2VV16LZ8M(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    Thanks Arnold.&lt;p&gt;Huberto.&lt;p&gt;&lt;i&gt;Huberto&lt;/i&gt;&lt;br&gt;&lt;i&gt;PMFJI...but if you need to prevent ENTER key pressed on a textbox to fire, then javascript like this&lt;/i&gt;&lt;br&gt;&lt;i&gt;can do the trick...&lt;/i&gt;&lt;br&gt;&lt;i&gt;&amp;lt;script language="JavaScript" type="text/javascript"&amp;gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;   function checkCR(evt) {&lt;/i&gt;&lt;br&gt;&lt;i&gt;   var evt  = (evt) ? evt : ((event) ? event : null);&lt;/i&gt;&lt;br&gt;&lt;i&gt;   var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);&lt;/i&gt;&lt;br&gt;&lt;i&gt;   if ((evt.keyCode == 13) &amp;&amp; (node.type=="text")) {return false;}&lt;/i&gt;&lt;br&gt;&lt;i&gt;   }&lt;/i&gt;&lt;br&gt;&lt;i&gt;   document.onkeypress = checkCR;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&amp;lt;/script&amp;gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;HTH...&lt;/i&gt;&lt;br&gt;&lt;i&gt;Arnold&lt;/i&gt;&lt;br&gt;&lt;i&gt;-------------------------------------------------------------------------&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;Thanks Rick,&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Nothing works really. What seems odd, at least to me, is that the exact same scenario&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;turns out very differently depending on what the user chooses to do. If the user after typing something in the text control clicks the button of the form with the mouse everything works as expected. If the user tabs until the button gets the focus before pressing enter, it also works. BUT, if the user presses enter while in the text control then the form posts back onto itself and never executes the click function of the button. This is what I wanted a solution for.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Again, thanks for taking the time to respond.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Huberto.&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Rick,&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Actually the form does not have a default submit operation, it has no action&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;property. The submission is actually handled by a jquery function associated&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;with the click event of the submit button of the form.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;I hope this helps and thanks for answering,&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Well not quite. A form with a submit button always has a default submit operation which is the onsubmit() event. What happens in response is up to you to decide. &lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;If you override onsubmit() with script code make sure you stop event bubbling so that the action doesn't fire. Not specifying an action on the ACTION of the form means the form posts back onto itself.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;I'm guessing the latter is what you're running into... the form is still posting back even though you're trying to handle the submit event on your own - which means both your code and the POST occur. Make sure you use e.preventDefault() and e.stopPropagation() in your submit function.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;+++ Rick ---&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Huberto.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;I'm not sure what you're even asking.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Pressing enter in a form field will trigger the default submit operation of that form which is as it should be.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;If you're using jQuery you can take over the keypress or keydown event and do anything you want when a specific key is pressed:&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;pre&gt;&lt;div class="csharpcode"&gt;$(&lt;span class="codestring"&gt;"input,textarea,select"&lt;/span&gt;).keydown( &lt;span class="programcontrol"&gt;function&lt;/span&gt;(e) {&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;  &lt;span class="programcontrol"&gt;if&lt;/span&gt; (e.keycode == 13  // enter)&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;  {&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;     &lt;span class="codecomment"&gt;// do something here&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;  }&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;});&lt;/div&gt;&lt;/pre&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;+++ Rick ---&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Although there are many references in Google to this issue, there are no solutions.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;If you have an actionless form, because there is a jquery click function associated&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;with the submit button of that form, you have to click the button with the mouse or&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;set the focus to it before pressing enter for it (the form) to work properly. Pressing enter, still in one of the text controls, simply reloads the page that hosts the form.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Any work around this?&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;TIA,&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Huberto.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;p&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;ID=S350AX63" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/webmonitorbanner.jpg" BORDER=0 ALT='West Wind Web Monitor'&gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VU0FOAG6";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VU0FOAG6</link>
			<author>Huberto</author>
     </item>
     <item>
			<title>Re: Form without Action</title>
			<pubDate>Tue, 9 Mar 2010 15:11:34 GMT</pubDate>
			<guid isPermaLink="false">2VU0FF1W0</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: Form without Action&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    HTML, CSS,  JavaScript, Flash
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: Form without Action
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/09/2010&lt;br /&gt;
           07:11:34 AM&lt;br /&gt;
          2VU0FF1W0
          &lt;a href="default.asp?Thread=2VS0TPCRF&amp;MsgId=2VU0FF1W0"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ8R('ArnoldJinkis','parameds.com','re%3A Re%3A Form without Action');" &gt;Arnold Jinkis&lt;/a&gt;&lt;script&gt; function _2VV16LZ8R(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ8S('huberto','codetel.net.do');" &gt;Huberto&lt;/a&gt;&lt;script&gt; function _2VV16LZ8S(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    Huberto&lt;br&gt;PMFJI...but if you need to prevent ENTER key pressed on a textbox to fire, then javascript like this&lt;br&gt;can do the trick...&lt;br&gt;&amp;lt;script language="JavaScript" type="text/javascript"&amp;gt;&lt;br&gt;   function checkCR(evt) {&lt;br&gt;   var evt  = (evt) ? evt : ((event) ? event : null);&lt;br&gt;   var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);&lt;br&gt;   if ((evt.keyCode == 13) &amp;&amp; (node.type=="text")) {return false;}&lt;br&gt;   }&lt;br&gt;   document.onkeypress = checkCR;&lt;br&gt;&amp;lt;/script&amp;gt;&lt;br&gt;HTH...&lt;br&gt;Arnold&lt;br&gt;-------------------------------------------------------------------------&lt;p&gt;&lt;br&gt;&lt;i&gt;Thanks Rick,&lt;/i&gt;&lt;p&gt;&lt;i&gt;Nothing works really. What seems odd, at least to me, is that the exact same scenario&lt;/i&gt;&lt;br&gt;&lt;i&gt;turns out very differently depending on what the user chooses to do. If the user after typing something in the text control clicks the button of the form with the mouse everything works as expected. If the user tabs until the button gets the focus before pressing enter, it also works. BUT, if the user presses enter while in the text control then the form posts back onto itself and never executes the click function of the button. This is what I wanted a solution for.&lt;/i&gt;&lt;p&gt;&lt;i&gt;Again, thanks for taking the time to respond.&lt;/i&gt;&lt;p&gt;&lt;i&gt;Huberto.&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Rick,&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Actually the form does not have a default submit operation, it has no action&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;property. The submission is actually handled by a jquery function associated&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;with the click event of the submit button of the form.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;I hope this helps and thanks for answering,&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Well not quite. A form with a submit button always has a default submit operation which is the onsubmit() event. What happens in response is up to you to decide. &lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;If you override onsubmit() with script code make sure you stop event bubbling so that the action doesn't fire. Not specifying an action on the ACTION of the form means the form posts back onto itself.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;I'm guessing the latter is what you're running into... the form is still posting back even though you're trying to handle the submit event on your own - which means both your code and the POST occur. Make sure you use e.preventDefault() and e.stopPropagation() in your submit function.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;+++ Rick ---&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Huberto.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;I'm not sure what you're even asking.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Pressing enter in a form field will trigger the default submit operation of that form which is as it should be.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;If you're using jQuery you can take over the keypress or keydown event and do anything you want when a specific key is pressed:&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;pre&gt;&lt;div class="csharpcode"&gt;$(&lt;span class="codestring"&gt;"input,textarea,select"&lt;/span&gt;).keydown( &lt;span class="programcontrol"&gt;function&lt;/span&gt;(e) {&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;  &lt;span class="programcontrol"&gt;if&lt;/span&gt; (e.keycode == 13  // enter)&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;  {&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;     &lt;span class="codecomment"&gt;// do something here&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;  }&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;});&lt;/div&gt;&lt;/pre&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;+++ Rick ---&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Although there are many references in Google to this issue, there are no solutions.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;If you have an actionless form, because there is a jquery click function associated&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;with the submit button of that form, you have to click the button with the mouse or&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;set the focus to it before pressing enter for it (the form) to work properly. Pressing enter, still in one of the text controls, simply reloads the page that hosts the form.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Any work around this?&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;TIA,&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Huberto.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;p&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;ID=S350AX63" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/webmonitorbanner.jpg" BORDER=0 ALT='West Wind Web Monitor'&gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VU0FF1W0";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VU0FF1W0</link>
			<author>Arnold Jinkis</author>
     </item>
     <item>
			<title>Re: wwFTP and SendFileEx</title>
			<pubDate>Tue, 9 Mar 2010 14:43:23 GMT</pubDate>
			<guid isPermaLink="false">2VU0EESXP</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: wwFTP and SendFileEx&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    Web Connection
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: wwFTP and SendFileEx
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/09/2010&lt;br /&gt;
           06:43:23 AM&lt;br /&gt;
          2VU0EESXP
          &lt;a href="default.asp?Thread=2VT0PEWK1&amp;MsgId=2VU0EESXP"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ8W('apennell','hbug.k12.il.us','re%3A Re%3A wwFTP and SendFileEx');" &gt;Amanda Pennell&lt;/a&gt;&lt;script&gt; function _2VV16LZ8W(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ8X('rstrahl','west-wind.com');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ8X(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    Thanks, Rick. That was precisely it.&lt;br&gt;Amanda&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;Try using Passive FTP mode...&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;pre&gt;&lt;div class="vfpcode"&gt;oFtp.lPassiveFtp = .T.&lt;/div&gt;&lt;/pre&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;Note you also don't need to create a new wwipstuff instance to GetLastInternetError() - it's a method on the wwFtp object...&lt;/i&gt;&lt;p&gt;&lt;i&gt;+++ Rick ---&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;I have installed FTP services on IIS 7. I have added a single user account, and have edited share permissions so that the single user account has read/write to the c:\uploads folder. &lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;Here is the code I am using:&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;pre&gt;&lt;div class="vfpcode"&gt;oFTP = &lt;span class="commands"&gt;create&lt;/span&gt;(&lt;span class="codestring"&gt;"wwFTP"&lt;/span&gt;)&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;span class="commands"&gt;wait&lt;/span&gt; &lt;span class="commands"&gt;window&lt;/span&gt; &lt;span class="codestring"&gt;'Sending file...please wait.'&lt;/span&gt; nowait&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;lnResult = oFTP.FTPConnect(&lt;span class="codestring"&gt;"ftp://10.10.10.9"&lt;/span&gt;,&lt;span class="codestring"&gt;"iepxxx"&lt;/span&gt;,&lt;span class="codestring"&gt;"xxxx"&lt;/span&gt;)&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;span class="programcontrol"&gt;if&lt;/span&gt; lnResult = 0&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;	lnMessageBox = &lt;span class="functions"&gt;messagebox&lt;/span&gt;(&lt;span class="codestring"&gt;'Connected to Harrisburg Project successfully.'&lt;/span&gt;,0,&lt;span class="codestring"&gt;'Success!'&lt;/span&gt;)&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;lnResult = oFTP.FTPSendFileEx(&lt;span class="codestring"&gt;"C:\SiteFiles\AKP_IEPOINT2010.1.3\DATA2010\autobackup.zip"&lt;/span&gt;,&lt;span class="codestring"&gt;"autobackup.zip"&lt;/span&gt;)&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;span class="commands"&gt;wait&lt;/span&gt; &lt;span class="commands"&gt;clear&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;span class="programcontrol"&gt;if&lt;/span&gt; lnResult = 0&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;	lnMessageBox = &lt;span class="functions"&gt;messagebox&lt;/span&gt;(&lt;span class="codestring"&gt;'File sent to Harrisburg Project successfully.'&lt;/span&gt;,0,&lt;span class="codestring"&gt;'Success!'&lt;/span&gt;)&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;span class="programcontrol"&gt;else&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;	loIp = &lt;span class="commands"&gt;create&lt;/span&gt;(&lt;span class="codestring"&gt;"wwipstuff"&lt;/span&gt;)&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;	lcMessage = loIp.getlastinterneterror()&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;	lnMessageBox = &lt;span class="functions"&gt;messagebox&lt;/span&gt;(&lt;span class="codestring"&gt;'Something went wrong, the error code returned was '&lt;/span&gt;+ &lt;span class="functions"&gt;alltrim&lt;/span&gt;(&lt;span class="functions"&gt;str&lt;/span&gt;(lnResult)) + &lt;span class="codestring"&gt;','&lt;/span&gt;+ &lt;span class="functions"&gt;alltrim&lt;/span&gt;(lcMessage),0,&lt;span class="codestring"&gt;'An error occurred'&lt;/span&gt;)&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;span class="programcontrol"&gt;endif&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;oFTP.FTPClose()&lt;/div&gt;&lt;/pre&gt; &lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;I do see that I can make the connection successfully. However, when I get to the Send Line, it sits for several minutes before returning a Wininet code 12002, which is a timeout. What am I missing here? I see in the IIS log that my session is connecting, but it says that the last command issued was a STOR.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;TIA&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;Amanda&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;p&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;ID=S350AX63" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/webmonitorbanner.jpg" BORDER=0 ALT='West Wind Web Monitor'&gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VU0EESXP";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VU0EESXP</link>
			<author>Amanda Pennell</author>
     </item>
     <item>
			<title>Re: How to verify that ASP.NET is installed in IIS 7</title>
			<pubDate>Tue, 9 Mar 2010 14:37:37 GMT</pubDate>
			<guid isPermaLink="false">2VU0E7E1S</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: How to verify that ASP.NET is installed in IIS 7&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    ASP.NET
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: How to verify that ASP.NET is installed in IIS 7
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/09/2010&lt;br /&gt;
           06:37:37 AM&lt;br /&gt;
          2VU0E7E1S
          &lt;a href="default.asp?Thread=2VT09GUAZ&amp;MsgId=2VU0E7E1S"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ92('litvak.d','gmail.com','re%3A Re%3A How to verify that ASP%2ENET is installed in IIS 7');" &gt;Dmitry Litvak&lt;/a&gt;&lt;script&gt; function _2VV16LZ92(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ93('rstrahl','west-wind.com');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ93(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    Sorry I somehow clicked on Send before finishing the message&lt;p&gt;Rick,&lt;br&gt;One more question, please (actually more than one). I connected to the customer Server 2008. Here is what I see:&lt;br&gt;Program &amp; Features Installed:&lt;br&gt;1. Microsoft .NET Framework 3.5 Sp1&lt;br&gt;2. MSXML 4.0 SP2&lt;br&gt;3. MSXML 4.0 SP2&lt;br&gt;4. Vmware Tools&lt;p&gt;Then I looked at the Role Services:&lt;br&gt;Application Development     Not Installed&lt;br&gt;ASP.NET                     Not Installed&lt;br&gt;.NET Extensibility          Not Installed&lt;br&gt;ASP                         Not Installed&lt;br&gt;CGI                         Not Installed&lt;br&gt;ISAPI Extensions            Not Installed&lt;br&gt;ISAPI Filters               Not Installed.&lt;p&gt;My quetions is, do I ask the IT manager to install the above Role Services?  What is confusing to me is that the Feature sections shows that .NET 3.5 is installed but the Rose Services is not.   Microsoft tech writers need a vacation (or I do &amp;lt;g&amp;gt;).&lt;p&gt;Thank you in advance for your help.&lt;p&gt;&lt;p&gt;&lt;i&gt;Make sure ASP.NET is installed (Windows Features) first of all. By default it is not.&lt;/i&gt;&lt;p&gt;&lt;i&gt;Next make sure that the ISAPI and CGI restrictions are set to allow ASP.NET. Go to the server machine root and use ISAPI and CGI Restrictions and allow ASP.NET there.&lt;/i&gt;&lt;p&gt;&lt;i&gt;Finally make sure your application is set to run in the appropirate ASP.NET application mode (Integrated is what you typically want).&lt;/i&gt;&lt;p&gt;&lt;i&gt;Hope this helps,&lt;/i&gt;&lt;p&gt;&lt;i&gt;+++ Rick ---&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Hello,&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;I am trying to install an ASP.NET application (ver 2.0) on Server 2008 (IIS 7) for the first time.  &lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;When attempting to browse a very simple (one line) .ASPX page I get the following error:&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;HTTP Error 404.3 - Not Found&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.  &lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;I don't think I need MIME map but one other possible cause of the problem (as shown on the error page) is that ASP.NET is not installed.  I checked the local services on the server but see nothing that resembles ASP.NET service. I checked the folder C:\Windows\Microsoft.net\Framework and the folders for .NET 2,3 are there.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;How do I verify if ASP.NET is or is not installed?  On IIS 6 I remember executing "ASPNET_REGIIS –i" in command prompt.  But I don't know if this can cause adverse effects on the Server 2008 (customer server).&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Any suggestions, please?&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;p&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;ID=S350AX63" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/webmonitorbanner.jpg" BORDER=0 ALT='West Wind Web Monitor'&gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VU0E7E1S";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VU0E7E1S</link>
			<author>Dmitry Litvak</author>
     </item>
     <item>
			<title>Re: Form without Action</title>
			<pubDate>Tue, 9 Mar 2010 14:36:57 GMT</pubDate>
			<guid isPermaLink="false">2VU0E6J95</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: Form without Action&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    HTML, CSS,  JavaScript, Flash
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: Form without Action
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/09/2010&lt;br /&gt;
           06:36:57 AM&lt;br /&gt;
          2VU0E6J95
          &lt;a href="default.asp?Thread=2VS0TPCRF&amp;MsgId=2VU0E6J95"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ97('huberto','codetel.net.do','re%3A Re%3A Form without Action');" &gt;Huberto&lt;/a&gt;&lt;script&gt; function _2VV16LZ97(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ98('rstrahl','west-wind.com');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ98(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    Thanks Rick,&lt;p&gt;Nothing works really. What seems odd, at least to me, is that the exact same scenario&lt;br&gt;turns out very differently depending on what the user chooses to do. If the user after typing something in the text control clicks the button of the form with the mouse everything works as expected. If the user tabs until the button gets the focus before pressing enter, it also works. BUT, if the user presses enter while in the text control then the form posts back onto itself and never executes the click function of the button. This is what I wanted a solution for.&lt;p&gt;Again, thanks for taking the time to respond.&lt;p&gt;Huberto.&lt;br&gt;&lt;i&gt;&lt;i&gt;Rick,&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Actually the form does not have a default submit operation, it has no action&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;property. The submission is actually handled by a jquery function associated&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;with the click event of the submit button of the form.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;I hope this helps and thanks for answering,&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;Well not quite. A form with a submit button always has a default submit operation which is the onsubmit() event. What happens in response is up to you to decide. &lt;/i&gt;&lt;p&gt;&lt;i&gt;If you override onsubmit() with script code make sure you stop event bubbling so that the action doesn't fire. Not specifying an action on the ACTION of the form means the form posts back onto itself.&lt;/i&gt;&lt;p&gt;&lt;i&gt;I'm guessing the latter is what you're running into... the form is still posting back even though you're trying to handle the submit event on your own - which means both your code and the POST occur. Make sure you use e.preventDefault() and e.stopPropagation() in your submit function.&lt;/i&gt;&lt;p&gt;&lt;i&gt;+++ Rick ---&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;Huberto.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;I'm not sure what you're even asking.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Pressing enter in a form field will trigger the default submit operation of that form which is as it should be.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;If you're using jQuery you can take over the keypress or keydown event and do anything you want when a specific key is pressed:&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;pre&gt;&lt;div class="csharpcode"&gt;$(&lt;span class="codestring"&gt;"input,textarea,select"&lt;/span&gt;).keydown( &lt;span class="programcontrol"&gt;function&lt;/span&gt;(e) {&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;  &lt;span class="programcontrol"&gt;if&lt;/span&gt; (e.keycode == 13  // enter)&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;  {&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;     &lt;span class="codecomment"&gt;// do something here&lt;/span&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;  }&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;
&lt;i&gt;&lt;i&gt;&lt;i&gt;});&lt;/div&gt;&lt;/pre&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;+++ Rick ---&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Although there are many references in Google to this issue, there are no solutions.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;If you have an actionless form, because there is a jquery click function associated&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;with the submit button of that form, you have to click the button with the mouse or&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;set the focus to it before pressing enter for it (the form) to work properly. Pressing enter, still in one of the text controls, simply reloads the page that hosts the form.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Any work around this?&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;TIA,&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;Huberto.&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;p&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;ID=S350AX63" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/webmonitorbanner.jpg" BORDER=0 ALT='West Wind Web Monitor'&gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VU0E6J95";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VU0E6J95</link>
			<author>Huberto</author>
     </item>
     <item>
			<title>Re: How to verify that ASP.NET is installed in IIS 7</title>
			<pubDate>Tue, 9 Mar 2010 14:33:03 GMT</pubDate>
			<guid isPermaLink="false">2VU0E1IP0</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: How to verify that ASP.NET is installed in IIS 7&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    ASP.NET
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: How to verify that ASP.NET is installed in IIS 7
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/09/2010&lt;br /&gt;
           06:33:03 AM&lt;br /&gt;
          2VU0E1IP0
          &lt;a href="default.asp?Thread=2VT09GUAZ&amp;MsgId=2VU0E1IP0"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ9C('litvak.d','gmail.com','re%3A Re%3A How to verify that ASP%2ENET is installed in IIS 7');" &gt;Dmitry Litvak&lt;/a&gt;&lt;script&gt; function _2VV16LZ9C(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ9D('rstrahl','west-wind.com');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ9D(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    Rick,&lt;p&gt;One more question, please (actually more than one).  I connected to the customer Server 2008.  Here is what I see:&lt;br&gt;Program &amp; Features Installed:&lt;br&gt;1. Microsoft .NET Framework 3.5 Sp1&lt;br&gt;2. MSXML 4.0 SP2&lt;br&gt;3. MSXML 4.0 SP2&lt;br&gt;4. Vmware Tools&lt;p&gt;Then I looked at the Role Services:&lt;br&gt;Application Development&lt;p&gt;&lt;i&gt;Make sure ASP.NET is installed (Windows Features) first of all. By default it is not.&lt;/i&gt;&lt;p&gt;&lt;i&gt;Next make sure that the ISAPI and CGI restrictions are set to allow ASP.NET. Go to the server machine root and use ISAPI and CGI Restrictions and allow ASP.NET there.&lt;/i&gt;&lt;p&gt;&lt;i&gt;Finally make sure your application is set to run in the appropirate ASP.NET application mode (Integrated is what you typically want).&lt;/i&gt;&lt;p&gt;&lt;i&gt;Hope this helps,&lt;/i&gt;&lt;p&gt;&lt;i&gt;+++ Rick ---&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Hello,&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;I am trying to install an ASP.NET application (ver 2.0) on Server 2008 (IIS 7) for the first time.  &lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;When attempting to browse a very simple (one line) .ASPX page I get the following error:&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;HTTP Error 404.3 - Not Found&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.  &lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;I don't think I need MIME map but one other possible cause of the problem (as shown on the error page) is that ASP.NET is not installed.  I checked the local services on the server but see nothing that resembles ASP.NET service. I checked the folder C:\Windows\Microsoft.net\Framework and the folders for .NET 2,3 are there.&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;How do I verify if ASP.NET is or is not installed?  On IIS 6 I remember executing "ASPNET_REGIIS –i" in command prompt.  But I don't know if this can cause adverse effects on the Server 2008 (customer server).&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;i&gt;Any suggestions, please?&lt;/i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;/i&gt;&lt;br&gt;&lt;i&gt;&lt;i&gt;&lt;p&gt;&lt;CENTER&gt;&lt;/CENTER&gt;&lt;/i&gt;&lt;/i&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;p&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;ID=S350AX63" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/webmonitorbanner.jpg" BORDER=0 ALT='West Wind Web Monitor'&gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VU0E1IP0";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VU0E1IP0</link>
			<author>Dmitry Litvak</author>
     </item>
     <item>
			<title>Re: Suggestions</title>
			<pubDate>Tue, 9 Mar 2010 14:06:20 GMT</pubDate>
			<guid isPermaLink="false">2VU0D35MG</guid>
			<description>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Re: Suggestions&lt;/title&gt;
    &lt;base href='http://dotnetcentral.net/wwThreads/' /&gt;
    &lt;link rel="Stylesheet" type="TEXT/CSS" href="wwThreads.css" /&gt;
    &lt;style type="text/css"&gt;
    body { background-color: #ffffdd; }
    .data
    {
    	font-weight: bold;    	
    }
    .label
    {
    	float: left;
    	color: #505050;
    	width: 75px;    	
    }
    #rightheader { color: #505050; }    
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="" style="min-width:600px;"&gt;

&lt;div class="messageheader"&gt;
    West Wind Web Toolkit for ASP.NET
&lt;/div&gt;    

&lt;div class="messagetitle"&gt;
  Re: Suggestions
&lt;/div&gt;

&lt;div class="messagedetailheader"&gt;
    &lt;div id="rightheader" style="float: right;text-align:right;"&gt;
          03/09/2010&lt;br /&gt;
           06:06:20 AM&lt;br /&gt;
          2VU0D35MG
          &lt;a href="default.asp?Thread=2VQ0CWR1R&amp;MsgId=2VU0D35MG"
                  target="_blank"&gt;
             &lt;img src="http://www.west-wind.com/wwThreads/images/folder.gif" border="0" alt="Show this entire thread in new window"
                  width="16" height="16"&gt;
          &lt;/a&gt;
    &lt;/div&gt;
    
    &lt;div id="leftheader" &gt;
        &lt;div class="label"&gt;From:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ9G('paulm','rcs-solutions.com','re%3A Re%3A Suggestions');" &gt;Paul Mrozowski&lt;/a&gt;&lt;script&gt; function _2VV16LZ9G(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;To:&lt;/div&gt;
        &lt;div class="data"&gt;&lt;a href="javascript:_2VV16LZ9H('rstrahl','west-wind.com');" &gt;Rick Strahl&lt;/a&gt;&lt;script&gt; function _2VV16LZ9H(eValue,Text,Subject,Body) { var c1 = 'ma'; var c2 = 'ilto:'; var Link = c1 + c2 + eValue + '@' + Text;if (Subject) { Link = Link + '?Subject=' + Subject; } if (Body) { Link = Link + '&amp;Body=' + Body; } window.open(Link);}&lt;/script&gt;&lt;/div&gt;
        
        &lt;div class="label"&gt;Attachments:&lt;/div&gt; 
        &lt;div class="data" style="color: darkred"&gt;None&lt;/div&gt;        
    &lt;/div&gt;
&lt;/div&gt;    

&lt;div class="msgtextbody"&gt;
    &lt;i&gt;Paul,&lt;/i&gt;&lt;p&gt;&lt;i&gt;Thanks for the feedback. I've updated the topic here internally and I'll be updating the online docs in a bit. It's about time for another full release of the toolkit as well :-}&lt;/i&gt;&lt;p&gt;One other suggestion/ER: it'd be nice if you could specify (on a per-method basis, maybe via an attribute) the output format returned by the method. I'm running into cases where I'd like to have some methods NOT return JSON, just return exactly what I returned from my method (obviously this only works for strings). &lt;p&gt;-Paul&lt;p&gt;&lt;!-- BEGIN SIGNATURE --&gt;&lt;p&gt;&lt;!-- END SIGNATURE --&gt;

    &lt;br /&gt;
    &lt;hr /&gt;
    &lt;center&gt;
    &lt;!-- BEGIN BANNER --&gt;&lt;A HREF="http://www.west-wind.com/wconnect/wc.wc?westwind~bannerclick~&amp;ID=S350AX63" &gt;&lt;IMG SRC="http://www.west-wind.com/banners/webmonitorbanner.jpg" BORDER=0 ALT='West Wind Web Monitor'&gt;&lt;/a&gt;
&lt;!-- END BANNER --&gt;
    &lt;/center&gt;
&lt;/div&gt;

&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    if (parent.Toolbar)
        parent.Toolbar.location = "UpdateToolbar.wwt?MsgId=2VU0D35MG";
&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</description>
			<link>http://www.west-wind.com/wwThreads/default.asp?msgid=2VU0D35MG</link>
			<author>Paul Mrozowski</author>
     </item>
</channel>
</rss>