none
Service cannot be started. Cannot determine the amount of available disk space. at Microsoft.VisualBasic.Logging.FileLogTraceListener.GetFreeDiskSpace() RRS feed

  • Question

  • I am using the function Microsoft.VisualBasic.Logging.FileLogTraceListener.WriteLine for logging warnings/errors in my windows service (VS 2012 / VB.NET, Compile option Target CPU -  x86)

    While trying to install it in windows2008 server, I am getting the below error

    #

    Date

    Time

    Source

    Category

    EventID

    Type

    User

    Description

    52697

    7/07/15

    17:53:39

    Service1

    None

    0

    Error

    (none)

    Service cannot be started. System.ComponentModel.Win32Exception (0x80004005): Cannot determine the amount of available disk space. at Microsoft.VisualBasic.Logging.FileLogTraceListener.GetFreeDiskSpace() at Microsoft.VisualBasic.Logging.FileLogTraceListener.ResourcesAvailable(Int64 newEntrySize) at Microsoft.VisualBasic.Logging.FileLogTraceListener.WriteLine(String message) at LookupListImportService.Utility.LogToFile(String message, EventLogEntryType logType) at LookupListImportService.ImportService.OnStart(String[] args) at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)


    All suggestions will be appreciated.

    Wednesday, July 8, 2015 12:23 AM