Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Saturday, November 23, 2024
slxdeveloper.com
Home
Search
Contact us
About slxdeveloper
Syndication
Community
Forums
(NEW!)
Newsletter Archive
Members
Your Profile
Submit Article
General
Administration
(6)
OLE DB Provider
Miscellaneous
(2)
Architect
VBScript
(9)
ActiveX Controls
(6)
How To's
(14)
.NET Extensions
(3)
External
OLE DB Provider
(12)
SLAPI (SlgxApi.dll)
SalesLogix COM
(1)
Web
ASP/ASP.NET
(2)
Web Services
Web Client
Downloads
Samples
(17)
Documentation
(7)
Utilities
(18)
Resources
SalesLogix
(3)
Programming
(1)
11/23/2024 12:52:05 AM
slxdeveloper.com Community Forums
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!
External Development Forums - SalesLogix OLEDB Provider
Forum to discuss using the SalesLogix OLE DB Provider from external applications (including usage of built-in provider procedures). View the
code of conduct
for posting guidelines.
Forums RSS Feed
Back to Forum List
|
Back to SalesLogix OLEDB Provider
|
New Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: slx_RWPass() returns single hex digit
movzx
Posts: 2
slx_RWPass() returns single hex digit
Posted: 20 Feb 08 11:32 AM
I'm trying to fetch the RWPass for our SLX database using javascript and ActiveX inside of a HTML application (.hta). I'm able to successfully connect to the database, but when I try to get the RWPass I get a (seemingly) random hex digit.
Here's my code:
http://pastey.net/82683-vo9k
Here's the output (Username, pass, db stripped):
Trying to connect with string : Provider=SLXOLEDB.1
ersist Security Info=False;User ID=
assword="";Initial Catalog=;Data Source=SLX01;Extended Properties="PORT=1706;LOG=ON;CASEINSENSITIVEFIND=ON;AUTOINCBATCHSIZE=1;"
SLX Database opened!
Record opened!
I think the (encrypted) RWPass is : 24
Record opened!
I think the (encrypted) RWPass is : 4F
Record opened!
I think the (encrypted) RWPass is : 0B
Record opened!
I think the (encrypted) RWPass is : 88
Record opened!
I think the (encrypted) RWPass is : 50
edit:
Forgot to mention.. I've seen a few other posts on the internet with the same issue, but no resolution. The user I am using is not "Admin" as I see in the examples (I do not have access to that account). Is that what is causing the problem? Are these error codes of some sort?
Thanks for the help.
[
Reply
][
Quote
]
Ryan Farley
Posts: 2265
Re: slx_RWPass() returns single hex digit
Posted: 20 Feb 08 2:03 PM
It *is* encrypted. You have to use a COM library that is installed with SLX called SLXRWEL.
Take a look at this article for an example:
http://www.slxdeveloper.com/page.aspx?action=viewarticle&articleid=34
And another here:
http://saleslogixblog.com/rfarley/archive/2004/02/10/328.aspx
-Ryan
[
Reply
][
Quote
]
movzx
Posts: 2
Re: slx_RWPass() returns single hex digit
Posted: 20 Feb 08 3:18 PM
Hey, thanks. I knew the pass would be returned encrypted. I was just expecting it to be a consistent encrypted value. It was puzzling to me that it was a "random" hex digit. I whipped up the decrypt routine pretty quick thanks to that second link, and it returns nothing. I'm gonna go with the notion that there is no RWPass set/required in order to work with the db.
Do I still need to specify RWPass in the connection string (RWPass="") ?
Thanks for your help.
[
Reply
][
Quote
]
Page 1 of 1
You can subscribe to receive a daily forum digest in your
user profile
. View the site
code of conduct
for posting guidelines.
Forum RSS Feed
-
Subscribe to the forum RSS feed to keep on top of the latest forum activity!
slxdeveloper.com is brought to you courtesy of
Ryan Farley
&
Customer FX Corporation
.
This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.
code of conduct
|
page cache (param): 11/23/2024 1:07:08 AM