Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Use C# SqlFile to get the Energy Plus result

I use following C# code, but there is always a System.AccessvilationException Path path = new Path("D:\IdealAirSystem.sql"); SqlFile sqlFile = new SqlFile(path);

Is this the correct way to use SqlFile? (The sql file is existed at that path)

Use C# SqlFile to get the Energy Plus result

I use Using the following C# code, but there is always a System.AccessvilationException System.AccessViolationException

Path path = new Path("D:\IdealAirSystem.sql"); SqlFile sqlFile = new SqlFile(path);SqlFile(path);

Is this the correct way to use SqlFile? (The sql file is existed exists at that path)

Use C# SqlFile to get the Energy Plus result

Using the following C# code, there is always a System.AccessViolationException

Path path = new Path("D:\IdealAirSystem.sql"); Path("D:\IdealAirSystem.sql");

SqlFile sqlFile = new SqlFile(path); SqlFile(path);

Is this the correct way to use SqlFile? (The sql file exists at that path)

Use C# SqlFile to get the Energy Plus result

Using the following C# code, there is always a System.AccessViolationException

Path path = new Path("D:\IdealAirSystem.sql");Path("D:\\IdealAirSystem.sql");

SqlFile sqlFile = new SqlFile(path);

Is this the correct way to use SqlFile? (The sql file exists at that path)

Use C# SqlFile to get the Energy Plus result

Using the following C# code, there is always a System.AccessViolationException

Path path = new Path("D:\\IdealAirSystem.sql");

SqlFile sqlFile = new SqlFile(path);

Is this the correct way to use SqlFile? (The sql file exists at that path)