set default application pool to local system<br /> <br /> set defualtpool, NETWORK_SERVICE, Everyone access to exe
Enabled 32 bit application to application pool
p.StartInfo = new ProcessStartInfo(); p.StartInfo.UseShellExecute = false; p.StartInfo.RedirectStandardOutput = true; p.StartInfo.FileName = System.AppDomain.CurrentDomain.BaseDirectory.ToString() + "wkhtmltopdf\wkhtmltopdf.exe"; string arg1 = ""; arg1 = "www.google.com" + " test.pdf"; p.StartInfo.Arguments = arg1; p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; p.StartInfo.CreateNoWindow = true; p.Start(); p.WaitForExit(60000); p.Close(); p.Dispose();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)