Click here to Skip to main content
15,913,610 members
Home / Discussions / Database
   

Database

 
GeneralRe: how do i acess ms sql database using pocket pc Pin
AlexeiXX316-May-09 9:40
AlexeiXX316-May-09 9:40 
AnswerRe: how do i acess ms sql database using pocket pc Pin
AlexeiXX316-May-09 9:44
AlexeiXX316-May-09 9:44 
GeneralRe: how do i acess ms sql database using pocket pc Pin
ChiSmile16-May-09 15:48
ChiSmile16-May-09 15:48 
RantRe: how do i acess ms sql database using pocket pc Pin
AlexeiXX316-May-09 16:39
AlexeiXX316-May-09 16:39 
GeneralRe: how do i acess ms sql database using pocket pc Pin
ChiSmile16-May-09 20:53
ChiSmile16-May-09 20:53 
GeneralRe: how do i acess ms sql database using pocket pc Pin
AlexeiXX316-May-09 21:14
AlexeiXX316-May-09 21:14 
GeneralRe: how do i acess ms sql database using pocket pc Pin
ChiSmile17-May-09 7:23
ChiSmile17-May-09 7:23 
GeneralRe: how do i acess ms sql database using pocket pc Pin
ChiSmile18-May-09 3:01
ChiSmile18-May-09 3:01 
Hi Alexei, when i tried the following string on my desktop with windows application, it connected to the database. However, it failed when I inserted my ip address and also failed on the mobile application.


Dim cn As System.Data.SqlClient.SqlConnection
       Dim cmd As System.Data.SqlClient.SqlCommand
       Dim da As System.Data.SqlClient.SqlDataAdapter
       'Dim conStr As String
       cn = New SqlClient.SqlConnection()
       Try

           ' Establish a connection to the SQL Server database.

           cn = New System.Data.SqlClient.SqlConnection("server=CHINEDUM\SQLEXPRESS;Initial Catalog=C:\DOCUMENTS AND SETTINGS\CHINEDU\MY DOCUMENTS\MEDIHEALTH.MDF;Integrated Security=SSPI;User ID=CHINEDU;Password=handsome ;")
           'cn = New 'System.Data.SqlClient.SqlConnection("server=192.168.2.101,1212;'database=C:\DOCUMENTS AND SETTINGS\CHINEDU\MY DOCUMENTS\MEDIHEALTH.MDF;User 'ID=CHINEDU;Password= handsome;")


on the desktop when i used the my Ip, the error says i cant because under the default setings SQL server 2005 does not allow remote connection and that no connection could be made because the target machine has actively refused it. But am sure i have made the necessary config on the server and on my system to allow remote connection.
On the mobile app, the error message is still same.
Do you think there is any other thing i can do or am i just a dummy! cos u've tried to assist me but i cant still figure out. I felt the sol could be simple, but that has not been the case.I dont know if the case is unique to me.

Would gladly welcome any more suggestions!!
GeneralRe: how do i acess ms sql database using pocket pc Pin
AlexeiXX318-May-09 5:56
AlexeiXX318-May-09 5:56 
GeneralRe: how do i acess ms sql database using pocket pc Pin
ChiSmile18-May-09 13:45
ChiSmile18-May-09 13:45 
GeneralRe: how do i acess ms sql database using pocket pc Pin
AlexeiXX318-May-09 16:41
AlexeiXX318-May-09 16:41 
GeneralRe: how do i acess ms sql database using pocket pc Pin
ChiSmile22-May-09 16:23
ChiSmile22-May-09 16:23 
GeneralRe: how do i acess ms sql database using pocket pc Pin
AlexeiXX322-May-09 17:40
AlexeiXX322-May-09 17:40 
GeneralRe: how do i acess ms sql database using pocket pc Pin
ChiSmile24-May-09 12:23
ChiSmile24-May-09 12:23 
AnswerRe: how do i acess ms sql database using pocket pc Pin
Luc Pattyn16-May-09 10:02
sitebuilderLuc Pattyn16-May-09 10:02 
GeneralRe: how do i acess ms sql database using pocket pc Pin
ChiSmile16-May-09 16:02
ChiSmile16-May-09 16:02 
QuestionNew_Id() in SQL Server 2005 Pin
Isaac Gordon15-May-09 19:30
Isaac Gordon15-May-09 19:30 
AnswerRe: New_Id() in SQL Server 2005 [modified] Pin
Niladri_Biswas4-Jul-09 21:08
Niladri_Biswas4-Jul-09 21:08 
QuestionRecursive call to stored procedure Pin
ksarchana15-May-09 16:25
ksarchana15-May-09 16:25 
AnswerRe: Recursive call to stored procedure Pin
Mycroft Holmes15-May-09 18:28
professionalMycroft Holmes15-May-09 18:28 
GeneralRe: Recursive call to stored procedure Pin
Niladri_Biswas7-Jun-09 0:28
Niladri_Biswas7-Jun-09 0:28 
GeneralRe: Recursive call to stored procedure Pin
Mycroft Holmes7-Jun-09 2:57
professionalMycroft Holmes7-Jun-09 2:57 
Questionlocked transaction Pin
Morad SAJID15-May-09 10:32
Morad SAJID15-May-09 10:32 
AnswerRe: locked transaction Pin
Henry Minute15-May-09 12:02
Henry Minute15-May-09 12:02 
AnswerRe: locked transaction Pin
David Mujica16-May-09 13:47
David Mujica16-May-09 13:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.