.net - C# Not enough storage is available to process this command on Console.ReadLine() -


this code

static void main()         {             /*             servicebase[] servicestorun;             servicestorun = new servicebase[]              {                  new opentableimporter()              };             servicebase.run(servicestorun);*/             xmlreader x = new xmlreader(new logcustome());             console.readline();         } 

i got:

not enough storage available process command. on console.readline()

could please?

update 1

the class logcustome empty see:

class logcustome     {         public void logstartservice() { }          public void logstopservice() { }     } 

update2

even when code simple this:

static void main()         {             /*             servicebase[] servicestorun;             servicestorun = new servicebase[]              {                  new opentableimporter()              };             servicebase.run(servicestorun);*/             //xmlreader x = new xmlreader(new logcustome());             console.readline();         } 

i still have exception

likely on project properties (since created service), output type windows application, change console application , it'll work expect.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -