D
dave m
A couple questions about accessing a sqlce database via Remote Data Access.
When using the SQL Server CE Virtual Directory Creation Wizard, when I
choose to use basic authentication, it tells me the domain is the name of my
desktop PC ('MyPCName' in this case). So in my code, I reference this
name, like this -
rda = New SqlCeRemoteDataAccess
' connection string to the sql server
Dim remoteConnectString As String = "provider=SQLOLEDB;" & _
"Data Source=MyPCName;Initial Catalog=MyDatabaseName;" & _
"User Id=sa;Password=dbpassword"
rda.InternetLogin = "davem"
rda.InternetPassword = "mypw"
rda.InternetUrl = "http://mypcname/fieldagentrda/ssces20.dll"
However, this fails. Using PIE, using the 'domain' name to see ssces20.dll
also fails, but succeeds when using the IP address of my desktop PC.
Can someone tell me why I'm having this problem? Should the connection on
the PPC be set to connect to 'Work' or the 'Internet'?
Also, I know I'm using IIS in this process, but can RDA or Merge Replication
also be used via the sync. cable?
Thanks in advance for any advice!
Dave M.
When using the SQL Server CE Virtual Directory Creation Wizard, when I
choose to use basic authentication, it tells me the domain is the name of my
desktop PC ('MyPCName' in this case). So in my code, I reference this
name, like this -
rda = New SqlCeRemoteDataAccess
' connection string to the sql server
Dim remoteConnectString As String = "provider=SQLOLEDB;" & _
"Data Source=MyPCName;Initial Catalog=MyDatabaseName;" & _
"User Id=sa;Password=dbpassword"
rda.InternetLogin = "davem"
rda.InternetPassword = "mypw"
rda.InternetUrl = "http://mypcname/fieldagentrda/ssces20.dll"
However, this fails. Using PIE, using the 'domain' name to see ssces20.dll
also fails, but succeeds when using the IP address of my desktop PC.
Can someone tell me why I'm having this problem? Should the connection on
the PPC be set to connect to 'Work' or the 'Internet'?
Also, I know I'm using IIS in this process, but can RDA or Merge Replication
also be used via the sync. cable?
Thanks in advance for any advice!
Dave M.