Exception in windows service that was bulid in c# with SSCE
hello,
i bulid packet sniffer windows service , has ssce and
it in c# , use vc2008.
when run service following exception:
"format of initialization string not conform specification starting @ index 0."
in line:
sqlceengine en = new sqlceengine(connectionstring);
the connectionstring :
connectionstring = string.format("datasource=\"{0}", filename);
i used code normal application , worked, when made service throws exception...
please help!!!
a friend me
i changed the line this:
connectionstring =
string.format("datasource=\"{0}\";", filename);there /" missing..lol
SQL Server > SQL Server Compact
Comments
Post a Comment