Can you tell me what this error means?
Line 40: LogManager.InsertLog(LogTypeEnum.Unknown, ex.Message, ex);
I think you need to provide us more information i.e. what caused the exception to occur / when do you get this error?
I presume you have successfully created your database and added a valid connection string?