For some reason I am not able to connect from my TD6.1 application to a database running on MS SQL server (express). Connecting from SQLtalk however, works fine.
I Created a database 'Test' and configured a user DSN named 'odbcTEST' to the database. As stated in ccod.pdf page 1-7, I have no entry 'remodbname' in sql.ini, making the sqlrouter look into odbc.ini (or the registry I think). From SQLTalk, I'm able to connect, read and modify the database. Everything works fine here.
In TD6.1 I try to connect with the following lines of code:
Set SqlDatabase = 'odbcTest'
Set SqlUser = 'SysAdm'
Set SqlPassword = SqlUser
Set bOk = SqlConnect( hSqlTest )
From my TD6 application I Always get the error 401, cannot open database.
I think I'm missing something very stupid, but haven't got a clue. Any suggestions?
TIA Jos
Connecting to SQLserver from TD6.1
General discussion forum about all databases other than SqlBase.
1 post
• Page 1 of 1
1 post
• Page 1 of 1
Return to “General Discussion”
Jump to
- General
- ↳ OpenText Gupta Announcements & News
- ↳ General Discussion
- ↳ Forum Discussion
- ↳ Tools & Samples
- ↳ Enhancement suggestions
- ↳ Jobs / Promotions / Marketing
- Team Developer 7.x
- ↳ General Discussion
- ↳ Bug Reports
- Team Developer 5.x and 6.x
- ↳ General Discussion
- ↳ Bug Reports
- Version independent Q & A (and older ANSI versions up to v4.2)
- ↳ General Discussion (TD version independent, non specific)
- ↳ Bug Reports (TD 4.2 and older)
- TD Mobile
- ↳ General Discussion
- ↳ Tools & Samples
- ↳ Bug Reports
- SqlBase & Connectivity
- ↳ SqlBase General Discussion
- ↳ SqlBase Bug Reports
- ↳ Other databases (Oracle, Sybase, SQL Server, MySql, PostgreSQL etc)
- ↳ General Discussion
- ↳ Bug Reports
- Report Builder
- ↳ General Discussion
- ↳ Bug Reports
- Newsgroups ( newsgroup.guptaworldwide.com & talkto.guptaworldwide.com )
- ↳ Gupta newsgroups/usenet (years 1995-2010)
- ↳ comp.databases.gupta
- ↳ advanced.programming
- ↳ gupta.bugreport
- ↳ gupta.faq
- ↳ gupta.jobnet
- ↳ gupta.marketing
- ↳ gupta.wishlist
- ↳ forum.sqlbase
- ↳ forum.sqlhost
- ↳ forum.sqlwindows
- ↳ td.cdk
- ↳ td.connectivity
- ↳ td.development
- ↳ td.reportbuilder
- ↳ td.sourcecode
- ↳ td.tom
- ↳ td.web
- ↳ 3rdparty.tools
- Community Links
- ↳ Team Developer WIKI
- ↳ Team Developer Sample Vault
- ↳ OpenText Forum
- ↳ Other web resources
- ↳ LinkedIn Networking Group
- ↳ Thomas Uttendorfers blog
- ↳ MICSTO
- ↳ Narod
- ↳ Christian Schubert
- ↳ Ivano Osti
- ↳ CMH.Tools
- ↳ YouTube channel: TD Wiki
- ↳ YouTube channel: OpenText Gupta
- ↳ Facebook: OpenText Gupta
- ↳ Tek-Tips - SqlBase
- ↳ Tek-Tips - Centura solutions
Who is online
Users browsing this forum: [Ccbot] and 0 guests