Subject | Re: permissions problem? |
---|---|
Author | Ed Dressel |
Post date | 2005-11-05T22:36:49Z |
user name and password were misconfigured. I don't get why I was
getting the EInOutException--I thought my code was pretty
try
ldmRegSvc := TdmRegSvc.Create(nil);
except
on e: Exception do
begin
aErrorMsg := Format('Exception creating data module: %s [%s].',
[E.Message, E.ClassName]);
exit;
end;
end;
The connection happens in the creation of the datamodule--I need to
fix that. But I still don't understand why aErrorMsg returned a
EInOutException. Any one explain what I should do better?
Thanks
Ed Dressel
getting the EInOutException--I thought my code was pretty
try
ldmRegSvc := TdmRegSvc.Create(nil);
except
on e: Exception do
begin
aErrorMsg := Format('Exception creating data module: %s [%s].',
[E.Message, E.ClassName]);
exit;
end;
end;
The connection happens in the creation of the datamodule--I need to
fix that. But I still don't understand why aErrorMsg returned a
EInOutException. Any one explain what I should do better?
Thanks
Ed Dressel