Network problem

  • Thread starter Thread starter pnp
  • Start date Start date
P

pnp

Hi all,

I am developing an app in C# that uses a database in SQL Server 2000.
When I try to run the app from another terminal (I double click on the
program in the shared folder of the remote
computer that has the both the program and the SQL Server installed) I get
an error about security settings, when trying to
execute the SqlDataReader...
(The terminal from which I try to run the program has both the .NET
Framework and the SQL connectivity installed)

How can I overcome this, so that the program can be executed from another
terminal?

Thanks in advance,
Peter
 
Hi,

How are you authenticating in the DB?
I would do a test before, copy the program from the network share to a
local folder and see what happen, if it's still giving error it's due to DB
auth. see if the logged user has enough permission in the DB
Pd:
you could consider use SQL auth. instead of Win. auth to access the DB

Cheers,
 
Back
Top