Hi Paul,
I resolved named parameters issue by altering the sqltext (removing '?') and setting command type as stored procedure.
Session start issue:
Sybase.AdoNet4.AseClient.dll is the only sybase dll in working directory. I cant myself find more about it except the stack trace posted above.
Sybase.AdoNet4.AseClient: The type initializer for 'Sybase.Data.AseClient1.AseConnection' threw an exception.: at Sybase.Data.AseClient1.AseConnection..ctor(AseConnection realConnection, String connectionString) at Sybase.Data.AseClient.AseConnection..ctor(String connectionString)
This issue is only happening in Windows 2012 Server IIS 8.0. (not happening when run in visual studio )
please help#
Regards,
Ram