Click here to Skip to main content
15,888,521 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hi all...

I have created one .dll file that is used to run the process
the code is
C#
ProcessStartInfo info = new ProcessStartInfo();
            Process p = new Process();
            string s = AppDomain.CurrentDomain.BaseDirectory;
            info.FileName = s + @"makecert.exe";
            info.UseShellExecute = true;
            //info.Verb = "runas";
            info.Arguments = @" -n " + @"""CN=AWSONE""" + @" -b "+startDate+" -e "+endDate+" -r -sky exchange -pe -sr localMachine -ss my -sp " + @"""Microsoft RSA SChannel Cryptographic Provider""" + @" -sy 12 ";
            p.StartInfo = info;
            p.Start();

when I am consuming in windows it works fine.the certificate is created.
same code running asp.net(web app) it is not throwing any exception at the same time the certificate also not created.

any external steps I have to fallow before consuming the dll file into web please help me
Posted
Updated 16-Dec-13 23:26pm
v2
Comments
Pheonyx 17-Dec-13 6:14am    
What exception is it throwing and where?
Purna.N 17-Dec-13 19:12pm    
it is not throwing any exception... in my friend system I used the same dll there I got the certificate but files(.cer,.pvk) not created. if they are created where we can find that files...
bowlturner 17-Dec-13 13:25pm    
Does the web server have permission to run that dll?
Purna.N 17-Dec-13 19:14pm    
How can check the permissions.... please review my comment if you know the solution please provide the answer me...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900