Hi,

I am developing a Custom Data Grid for displaying the stock information for
my company.
The stock information is stored in back end database and my program is
getting data and displaying it in data grid.

Everything is fine except for a login error that I am getting when I try to
view that data grid from any client machine.

Following login error is displayed in place of datagrid:

*Login failed for user '(null)'. Reason: Not associated with a trusted SQL
Server connection.*
**
This is my connection String:

*SqlConnection sqlcon = new SqlConnection("Data Source=DATABASE SERVER NAME;
Initial Catalog=Database Name; Integrated Security=SSPI");*
**
Back end SQL Server (2005) is configured to permit both SQL Server and NT
(Windows Authentication) i.e. Mixed Mode.

Please let me know what am I missing.

Thanks,
Pratik

Reply via email to