Asim
10-06-2003, 04:11 AM
Hi
I am using ASP.net for first time and while Iam connecting to my sql server(using sql connection).
upto here code is ok
conn =New SqlConnection("server=asim-b300;database=pubs;Trusted_connection=Yes")
but after this line I have an error
Mycommand.fill(Ds,"Authors")
MyDatagrid.Datasource=ds.tables("Authors").defaultview
mydatagrid.Databind()
i.e
Login failed for user 'asim-b300\IUSR_asim-b300
So then I search the web it says its is an impersonate thing so I enabled it but the error is still there
pls help me
thanks
I am using ASP.net for first time and while Iam connecting to my sql server(using sql connection).
upto here code is ok
conn =New SqlConnection("server=asim-b300;database=pubs;Trusted_connection=Yes")
but after this line I have an error
Mycommand.fill(Ds,"Authors")
MyDatagrid.Datasource=ds.tables("Authors").defaultview
mydatagrid.Databind()
i.e
Login failed for user 'asim-b300\IUSR_asim-b300
So then I search the web it says its is an impersonate thing so I enabled it but the error is still there
pls help me
thanks