The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
| |
| |
| |
| |
| |
|
Re: hwo to fix the double quote probelm in connection string - Extended Properties="PORT=1706;LOG=ON;CASEINSENSITIVEFIND=ON;AUTOINCBATCHSIZE=1;" 
Posted: 14 May 07 1:21 PM
|
fiogf49gjkf0d I did install the SLX provider 7.0.1 on the web server. I used udl file to try the connection to the SLX Server and got it successfully. But when I tried to connect to the SLX server from an ASP page (third party application), It failed.
In our former SLX 6.2.3, on the web server, as long as I could connect to SLX Server successfully by using udl file, I must could get the connection from an asp page.
Because there is the double quote issue about port = 1706 in the connection string, I didn't add the part -- Extended Properties="PORT=1706;LOG=ON;...-- into the connection string in 6.2.3 environment. The default value was indeed 1706. In 7.0.1, do I have to add the port number in the connection string? If so, how do we handle the double quote problem? I tried the 2 ways Jason provided but the error message was the same as before:
|
|
|
| |
| |
| |
|
Re: hwo to fix the double quote probelm in connection string - Extended Properties="PORT=1706;LOG=ON;CASEINSENSITIVEFIND=ON;AUTOINCBATCHSIZE=1;" 
Posted: 22 May 07 10:47 AM
|
Thanks Ryan, using Chr(34), I can get the same string as the one I get from a testing UDL file.
I have further problem: My saleslogix server (lan version) was upgraded from 6.2.3 to 7.0.1. In the Connection Manager, I changed the provider from "Microsoft OLE DB Provider for SQL Server" into "SQL Native Client" (The SQL Server 2005 with SLX database is on the other server). The testing connection succeeded. In a testing UDL file on a web server, I inputted the saleslogix provider, saleslogix server name, saleslogix database name, saleslogix username and password. The testing connection to the saleslogix server succeeded too. Furthermore, for the SLX system itself, it works well. I have a third party asp application on the web server. A testing asp page has the following testing code:
<% Dim testConn Set testConn = Server.CreateObject("ADODB.Connection") testConn.Open ("Provider=SLXOLEDB.1;password=testpwd;User ID=testacc ersist Security Info=True;Initial Catalog=saleslogix; Data Source=SLXTESTSERVER;Extended Properties=" & Chr(34) & "Port=1706;Log=On;CASEINSENSITIVEFIND=ON;AUTOINCBATCHSIZE=1;" & Chr(34)) testConn.Close Set testConn = Nothing %>
When requesting the testing page, it crashed and the error message was Provider error '8000ffff' Catastrophic failure /t.asp, line 4 (note: the line of "testConn.Open ......)
But, before the 7.x upgrade (in 6.2.x), the page worked well. Any thought about it? Thanks for everyone in advance. |
|
|
| |
| |
| |
| |
|