Deployment error
-
I have an ASP.NET website i have just finished developing. Everything works fine on my local machine. However when i deploy it onto the production server i get the following error. Could not find a part of the path 'c:\windows\system32\inetsrv Any ideas what could be causing this problem and how to solve it?
-
I have an ASP.NET website i have just finished developing. Everything works fine on my local machine. However when i deploy it onto the production server i get the following error. Could not find a part of the path 'c:\windows\system32\inetsrv Any ideas what could be causing this problem and how to solve it?
-
I am writing to error log file in one of the folders in the application
-
I am writing to error log file in one of the folders in the application
-
public static class clsSystemUtilities
{//This method writes errors to a file public static void WriteErrorToLog(string errorDesc) { string logFileName; StreamWriter strWriter; logFileName = ConfigurationManager.AppSettings\["ErrorLogFileName"\]; if (File.Exists(logFileName)) { strWriter = File.AppendText(logFileName); } else { strWriter = File.CreateText(logFileName); } strWriter.WriteLine(); strWriter.Write(errorDesc);