I have a TFDConnection on a TDSServerModule. In designtime it connects just fine. I start the server, and then a client, and via the client I ask the server to connect to the database, and then I get an this message:
Project QDAS.exe raised exception class $C0000005 with message 'access violation at 0x00000000: read of address 0x00000000'.
A hint, someone?
/Anders
Here is the call stack:
System.Classes.TStringStream.Create(???)
FireDAC.Stan.Def.TFDConnectionDef.ReadOptions($6C51878,$3E09D90,$6C379B0,$6C572B0)
FireDAC.Phys.TFDPhysConnection.Create(???,???)
FireDAC.Phys.ODBCBase.TFDPhysODBCConnectionBase.Create(???,$3DF5CB0)
FireDAC.Phys.MSSQL.TFDPhysMSSQLDriver.InternalCreateConnection(???)
FireDAC.Phys.TFDPhysDriver.CreateConnection(???,nil)
FireDAC.Phys.TFDPhysManager.CreateConnection(TFDConnectionDef($6C515AC) as IFDStanConnectionDef,nil,True)
FireDAC.Comp.Client.TFDCustomConnection.AcquireConnectionIntf(nil)
FireDAC.Comp.Client.TFDCustomConnection.DoConnect
Data.DB.TCustomConnection.SetConnected(???)
FireDAC.Comp.Client.TFDCustomConnection.SetConnected(???)
Data.DB.TCustomConnection.Open