Rather simple thing, but took me a fair bit to solve this one. Maybe cause I am blind.
Had .NET project create with target framework 4. Changed them to 3.5.
In installer/setup project changed .NET framwork to 3.5 also changed link.
If I clicked on setup.exe it still would dl .NET Framework 4.
Go to Installer/Setup project properties. Click on prerequisites and select what you need.
Simple ehhhh 🙂
Had to change one of my c# programs that uses consumed webservices to use SSL and not just server side certificat, but also client side.
1. Certificate files
Add your server certificate to “Local machine” -> “Trusted Root “certificate store.
Add your client host certificate to “Local machine” -> “Personal” certificate store.
2. Change csharp code to use ssl
BasicHttpBinding primaryBinding = new BasicHttpBinding();
primaryBinding.Security.Mode = BasicHttpSecurityMode.Transport;
primaryBinding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Certificate;
EndpointAddress remoteAddressPrimary = new EndpointAddress(new Uri(conn.PrimaryCapturePointURL));
wsPrimary = new iWebServiceClient(primaryBinding, remoteAddressPrimary);
set webservice to use client certificate
This next line will override stanadart mode, I had to use this line since I have IE8, if you try to access webservice via IE you will have to accept client certificate as well
So actual line is
wsPrimary.ClientCredentials.ServiceCertificate.Authentication.CertificateValidationMode = System.ServiceModel.Security.X509CertificateValidationMode.PeerOrChainTrust;
That should be it.
If you do not import server certificate in root please use following code
I have this line in class cunstructor.
System.Net.ServicePointManager.ServerCertificateValidationCallback += new RemoteCertificateValidationCallback(OnValidationCallback);
Then add follolwing method to class
public static bool OnValidationCallback(object sender, X509Certificate cert, X509Chain chain, SslPolicyErrors errors)
Hope this helps.
Installed ubuntu 11.10 on my works laptop. Could not change touchpad/track pad sensitivity. Installing all kind of packages did not work.
No driver installed
When in category page customer clicks on product. Product is not displayed.
Call to undefined method Mage_PageCache_Helper_Data::getNoCacheCookieLifetime()
Can See error in log file or with fire bug
var lifetime = <br />
<b>Fatal error</b>: Call to undefined method Mage_PageCache_Helper_Data::getNoCacheCookieLifetime() in <b>/home/aaaaaaa/www/app/design/frontend/base/default/template/pagecache/cookie.phtml</b> on line <b>29</b><br />
Add follwoing code to file app/code/core/Mage/PageCache/Helper/Data.php
public function getNoCacheCookieLifetime()
If your magento uses compiler mode also change file
Please leave feedback if this was helpful, thnx.