Okay, so I figured out that it works if the Application Pool is in Classic mode, but not in integrated mode. I want to make it work in integrated mode.
Which version of IIS and ASP.NET are you using? We're running all of our test environemnts in integrated mode by default, so it should be covered, but it might be related to the specific versions of the underlying platforms used.
I am using IIS8 and ASP.NET v4.0.30319 (4.5)
Pipeline mode integrated
C:\Windows\System32>wmic product get description | findstr /C:.NET
Microsoft .NET Framework 4.5.1 Multi-Targeting Pack
Microsoft .NET Framework 4.5 Multi-Targeting Pack
Microsoft .NET Framework 4.5.1 Multi-Targeting Pack (ENU)
Microsoft .NET Framework 4.5 SDK
Microsoft ASP.NET Web Pages 2 - Visual Studio Express 2013 for Web - ENU
Microsoft ASP.NET MVC 4 Runtime
Microsoft .NET Framework 4 Multi-Targeting Pack
Microsoft ASP.NET Web Frameworks and Tools - Visual Studio Express 2013 for Web
- ENU
Microsoft ASP.NET and Web Tools 2013.4 - Visual Studio Express 2013 for Web
Microsoft ASP.NET MVC 4 - Visual Studio Express 2013 for Web - ENU
Bug in uCommerce web.config settings
Hey
I am implementing payment in uCommerce (PayPal Express). When the payment is done, PayPal returns to my site on this URL:
http://mysite.dev/9/29/PaymentProcessor.axd?token=EC-1P773746K1312264B&PayerID=BZ5DW7MT63WB8
But IIS answers with 404... WHY!??
Update:
Okay, so I figured out that it works if the Application Pool is in Classic mode, but not in integrated mode. I want to make it work in integrated mode.
Update - found a bug in uCommerce:
uCommerce adds handling PaymentProcessor.asx here:
<system.web>
<httpHandlers>
<add verb="*" path="PaymentProcessor.axd" type="UCommerce.Transactions.Payments.PaymentProcessor, UCommerce"/>
<system.webServer>
<handlers>
<add name="PaymentProcessor" path="PaymentProcessor.axd" verb="*" type="UCommerce.Transactions.Payments.PaymentProcessor, UCommerce" preCondition="integratedMode" resourceType="Unspecified" />
This explains it: https://msdn.microsoft.com/en-us/library/46c5ddfy.aspx
.. as a .Net, IIS & uCommerce newbie this gotcha took me 1,5 day to figure out. Plz fix uCommerce.
Hi Henrik,
Which version of uCommerce are you using? And which version of Umbraco?
best regards Martin
version uCommerce 6.6.2.15058
Hi Henrik,
Which version of IIS and ASP.NET are you using? We're running all of our test environemnts in integrated mode by default, so it should be covered, but it might be related to the specific versions of the underlying platforms used.
I am using IIS8 and ASP.NET v4.0.30319 (4.5) Pipeline mode integrated
C:\Windows\System32>wmic product get description | findstr /C:.NET Microsoft .NET Framework 4.5.1 Multi-Targeting Pack
Microsoft .NET Framework 4.5 Multi-Targeting Pack
Microsoft .NET Framework 4.5.1 Multi-Targeting Pack (ENU)
Microsoft .NET Framework 4.5 SDK
Microsoft ASP.NET Web Pages 2 - Visual Studio Express 2013 for Web - ENU
Microsoft ASP.NET MVC 4 Runtime
Microsoft .NET Framework 4 Multi-Targeting Pack
Microsoft ASP.NET Web Frameworks and Tools - Visual Studio Express 2013 for Web - ENU Microsoft ASP.NET and Web Tools 2013.4 - Visual Studio Express 2013 for Web
Microsoft ASP.NET MVC 4 - Visual Studio Express 2013 for Web - ENU
Microsoft ASP.NET Web Pages 2 Runtime
Microsoft .NET Framework 4.5.1 SDK
is working on a reply...