![]() | Register | FAQ | Members | Social Groups | User Map | Calendar | Search | Today's Posts | Mark Forums Read |
Virtual Learning Platforms
Virtual Learning Platforms forum sponsored by |
| ||
| View Poll Results: Is this documentation helpful? | |||
| Yes | | 25 | 96.15% |
| No | | 1 | 3.85% |
| Voters: 26. You may not vote on this poll | |||
| | | LinkBack | Thread Tools | Search Thread |
| | #31 |
![]() Join Date: Apr 2009 Location: Stoke
Posts: 75
Thanks: 24
Thanked 1 Time in 1 Post
Rep Power: 0 | Blank page of School timetable, when we click on my timetable noting comes up just a blank page. I have tested 1. telnet XX.XX.XX.XX 1433 connected. 2. isql Error could not SQL connect Any help or suggestions Please. Cheers Last edited by kieran8055; 01-05-2009 at 11:49 AM.. |
| |
| | #32 |
![]() Join Date: Jul 2007 Location: Surrey
Posts: 45
Thanks: 5
Thanked 1 Time in 1 Post
Rep Power: 0 | Hi Kieran, wow you're ahead of me. I'm still getting the scripting error with employee field. Did you not get the scripting error? Regards Dan |
| |
| | #33 |
![]() Join Date: Apr 2009 Location: Stoke
Posts: 75
Thanks: 24
Thanked 1 Time in 1 Post
Rep Power: 0 | Well Dan, I have added user employeeID manually from adsiedit for 5 users. Though employeeID field is not visible but still field value is searchable. And simultaneously we are testing script on virtual machine. Cheers Last edited by kieran8055; 01-05-2009 at 12:10 PM.. |
| |
| | #34 | |
![]() Join Date: Jan 2006
Posts: 4,258
Thanks: 119
Thanked 314 Times in 251 Posts
Rep Power: 78 | Quote:
Code: tsql -S x.x.x.x -U sa should prompt for a password for the sa account | |
| |
| Thanks to CyberNerd from: | kieran8055 (01-05-2009)
|
| | #35 |
![]() Join Date: Apr 2009 Location: Stoke
Posts: 75
Thanks: 24
Thanked 1 Time in 1 Post
Rep Power: 0 | Well CyberN.. I can connect using TDSVER=8.0 tsql -S XX.XX.XX.XX (or server name) -U sa But not through tsql -S XX.XX.XX.XX (or server name) -U sa error: Msg 20017, Level 9, State -1, Server OpenClient, Line -1 Unexpected EOF from the server Msg 20002, Level 9, State -1, Server OpenClient, Line -1 Adaptive Server connection failed There was a problem connecting to the server. |
| |
| | #36 |
![]() Join Date: Jan 2006
Posts: 4,258
Thanks: 119
Thanked 314 Times in 251 Posts
Rep Power: 78 | our /etc/freetds.conf file looks like this: Code: [global] host = x.x.x.x port = 1427 client charset = UTF-8 tds version = 7.0 text size = 20971520 |
| |
| | #37 |
![]() Join Date: Apr 2009 Location: Stoke
Posts: 75
Thanks: 24
Thanked 1 Time in 1 Post
Rep Power: 0 | its already version = 8.0 |
| |
| | #38 |
![]() Join Date: Jan 2006
Posts: 4,258
Thanks: 119
Thanked 314 Times in 251 Posts
Rep Power: 78 | all I did was install freetds-0.64-1.el5.rf.x86_64.rpm php-mssql-5.1.6-4.el5.x86_64.rpm (on centos/RHEL 5.3 64bit) changed the config file /etc/freetds.conf to Code: [global] host = x.x.x.x port = 1427 client charset = UTF-8 tds version = 8.0 text size = 20971520 then login Code: tsql -S x.x.x.x -U sa -P PASSWORD Code: 1> use sims 2> select * from mdl_enrolment_v1_0 3> go this should return a bunch of data. |
| |
| | #39 |
![]() Join Date: Apr 2009 Location: Stoke
Posts: 75
Thanks: 24
Thanked 1 Time in 1 Post
Rep Power: 0 | when i tried :- select * from mdl_enrolment_v1_0 Msg 911, Level 16, State 1, Server ABCServer, Line 1 Could not locate entry in sysdatabases for database 'sims'. No entry found with that name. Make sure that the name is entered correctly. |
| |
| | #40 |
![]() | @kieran8055 Have you done all the other bits in CyberNerd's post? What OS are you running on? |
| |
| | #41 |
![]() Join Date: Apr 2009 Location: Stoke
Posts: 75
Thanks: 24
Thanked 1 Time in 1 Post
Rep Power: 0 | Hi Penfold Yes i 've done all bits , I am running on " ubuntu 8.04lts server ". 1. I have installed FreeTDS0.82 2 php5-sybase (for php-mssql) |
| |
| | #42 |
![]() Join Date: Jan 2006
Posts: 4,258
Thanks: 119
Thanked 314 Times in 251 Posts
Rep Power: 78 | does this file exist? ~/.freetds.conf could it be overriding the global /etc/freetds.conf maybe try creating it. |
| |
| | #43 |
![]() Join Date: Apr 2009 Location: Stoke
Posts: 75
Thanks: 24
Thanked 1 Time in 1 Post
Rep Power: 0 | ya there is a file (freeetds.conf) in /usr/local/etc The following are the file settings: [global] host = XX.XX.XX (ip of the MSSQL server) port = 1433 client charset = UTF-8 tds version = 8.0 (or 8.0 if using FreeTDS 0.82 or later) text size = 20971520 |
| |
| | #44 | |
![]() Join Date: Jan 2006
Posts: 4,258
Thanks: 119
Thanked 314 Times in 251 Posts
Rep Power: 78 | Quote:
if you do Code: select * from sys.databases go | |
| |
| | #45 | |
![]() Join Date: Jan 2006
Posts: 4,258
Thanks: 119
Thanked 314 Times in 251 Posts
Rep Power: 78 | i'm wondering if it gets overriden by a file in you userpath? /home/username/.freetds.conf a google of that errormessage install pymssql and how to deal with DB-Lib error message 20009, severity 9 « PyYou Weblog Quote:
Last edited by CyberNerd; 01-05-2009 at 02:50 PM.. | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SIMS.Net Active Directory Integration | robknowles | MIS Systems | 27 | 16-12-2009 02:19 PM |
| Moodle Error log for LDAP integration | apearce | Virtual Learning Platforms | 4 | 19-11-2008 01:36 PM |
| Cancelled Intro Guide To Sims.net Thursday 20th Dec 10:30 | russdev | General EduGeek News/Announcements | 8 | 13-03-2008 10:31 PM |
| Moodle LDAP integration | ittech | Virtual Learning Platforms | 4 | 13-03-2008 04:03 PM |
| Moodle/SIMS integration | localzuk | Virtual Learning Platforms | 23 | 07-12-2007 10:18 AM |
| Tags |
| ldap , moodle , sims.net |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search Thread |
| |








