Differences

This shows you the differences between two versions of the page.

Link to this comparison view

integration:foxycart:datafeed_with_csharp [2011/11/17 10:36]
127.0.0.1 external edit
integration:foxycart:datafeed_with_csharp [2012/08/15 03:05] (current)
95.144.180.128 [Requirements]
Line 25: Line 25:
  
 ===== Requirements ===== ===== Requirements =====
-Add the following code to the code file of a C# ASP.Net page called "ProcessTransaction.aspx".  You may need to set ValidateRequest="false" in the Page directives of the .aspx page.+Add the following code to the code file of a C# ASP.Net page called "ProcessTransaction.aspx". You may need to set ValidateRequest="false" in the Page directives of the .aspx page.
  
 +If you are using .net 4.0 or newer then you may also need to add this to the web.config for your ASPX (inside the System.Web tags) 
 +
 +//<httpRuntime requestValidationMode="2.0" />//
 +
 +Failure to do so may give you "Internal server error" responses and you may also see "A validation error has occured" errors in the application log of the server running your ASPX page.
 ===== Code ===== ===== Code =====
 <code html> <code html>
integration/foxycart/datafeed_with_csharp.txt · Last modified: 2012/08/15 03:05 by 95.144.180.128
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki