Hallo guys,
I try out to use system.transactions, in which I use the msdn code .
but I constantly get error 40: server does not allow remote connection.
but I enabled the remote connection. I dont know whats the problem happening
I hereby attach my project.
pls help me in this regard.
Last edited by kingslee; July 31st, 2006 at 02:47 PM.
Which line of code that raised the exception ?
did you try to connect using the SqlConnection without using a transcation ?
this problem sohuld not happen if you connect to localhost !!
anyway..try to use SQL Server Surface Area Configuration to allow remote connections.
he cant, there is no code that will run - your sql server is refusing to allow remote connections. have you configured your sql server to allow remote connections?
I configured my sql server .. according to the steps given in the link .
and also I test the sql connection through the Data connection test connection.
If I am doing something wrong, Please guide me ..
-I configured the TCP/IP setting for remote connections , firewall disabled.
why I asked the sample code is because It might be my "connection string" for the sqlconnection.
Hi
Connection! connection string does not have the username and password and also does not specify a trusted connection (windows authentication)
try to change it to:
I wish this solves the problem ,, but I'm still confused about it becasue if this was the problem the error message should be (login failed for user XXX......)
Anyway..try it and tell us...
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.