Tuesday, August 14, 2012

c# + System.Diagnostics.Process.Star + Access denied

I am getting the "Access denied" error while executing my exe which is internally executing one batch file.

Its working fine in my dev server, but receiving the above error in Prod server.

After searching a while found this atricle @ http://blogsandip.wordpress.com/2011/08/06/resolved-access-denied-error-on-system-diagnostics-process-start/


thanks to author


The trick is 


p.StartInfo.UseShellExecute = false;
p.Start();
p.WaitForExit();

Monday, August 6, 2012

File not found + site settings + sharepoint

Hi,

I am facing "File Not found" error when I click on Site settings.

After searching in internet I found out that,

this problem may occur when we play with AAM (alternate access mapping)

so try to keep the actual URL and change the settings and again change the URL as you desired.