Welcome, Register for free! or Login below:
EduGeek.net RSS Feeds Register FAQ Members Social Groups User Map Calendar Search Today's Posts Mark Forums Read

Virtual Learning Platforms

Virtual Learning Platforms forum sponsored by
Virtual Learning Platforms Forum Sponsored by DB Education Services

Virtual and educational too!

Go Back   EduGeek.net Forums > Technical > Virtual Learning Platforms
View Poll Results: Is this documentation helpful?
Yes 25 96.15%
No 1 3.85%
Voters: 26. You may not vote on this poll

Reply
 
LinkBack Thread Tools Search Thread
Old 01-05-2009, 11:46 AM   #31
 
kieran8055's Avatar
 
Join Date: Apr 2009
Location: Stoke
Posts: 75
uk uk england
Thanks: 24
Thanked 1 Time in 1 Post
Rep Power: 0 kieran8055 is an unknown quantity at this point
Default

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..
  Reply With Quote
Old 01-05-2009, 11:50 AM   #32
 
IT_Man_Dan's Avatar
 
Join Date: Jul 2007
Location: Surrey
Posts: 45
england
Thanks: 5
Thanked 1 Time in 1 Post
Rep Power: 0 IT_Man_Dan is an unknown quantity at this point
Default

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
  Reply With Quote
Old 01-05-2009, 12:05 PM   #33
 
kieran8055's Avatar
 
Join Date: Apr 2009
Location: Stoke
Posts: 75
uk uk england
Thanks: 24
Thanked 1 Time in 1 Post
Rep Power: 0 kieran8055 is an unknown quantity at this point
Default

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..
  Reply With Quote
Old 01-05-2009, 12:06 PM   #34
 
CyberNerd's Avatar
 
Join Date: Jan 2006
Posts: 4,258
uk
Thanks: 119
Thanked 314 Times in 251 Posts
Rep Power: 78 CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future
Default

Quote:
Originally Posted by kieran8055 View Post
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
you should bea ble to use tsql to test a basic connection

Code:
tsql -S x.x.x.x -U sa
x.x.x.x is the ip of the sims/cmis server
should prompt for a password for the sa account
  Reply With Quote
Thanks to CyberNerd from:
kieran8055 (01-05-2009)
Old 01-05-2009, 12:17 PM   #35
 
kieran8055's Avatar
 
Join Date: Apr 2009
Location: Stoke
Posts: 75
uk uk england
Thanks: 24
Thanked 1 Time in 1 Post
Rep Power: 0 kieran8055 is an unknown quantity at this point
Default

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.
  Reply With Quote
Old 01-05-2009, 12:36 PM   #36
 
CyberNerd's Avatar
 
Join Date: Jan 2006
Posts: 4,258
uk
Thanks: 119
Thanked 314 Times in 251 Posts
Rep Power: 78 CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future
Default

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
maybe change to version 8
  Reply With Quote
Old 01-05-2009, 12:38 PM   #37
 
kieran8055's Avatar
 
Join Date: Apr 2009
Location: Stoke
Posts: 75
uk uk england
Thanks: 24
Thanked 1 Time in 1 Post
Rep Power: 0 kieran8055 is an unknown quantity at this point
Default

its already version = 8.0
  Reply With Quote
Old 01-05-2009, 12:48 PM   #38
 
CyberNerd's Avatar
 
Join Date: Jan 2006
Posts: 4,258
uk
Thanks: 119
Thanked 314 Times in 251 Posts
Rep Power: 78 CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future
Default

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
(8.0 also works here)

then login
Code:
tsql -S x.x.x.x -U sa -P PASSWORD
and run
Code:
1> use sims
2> select * from mdl_enrolment_v1_0
3> go
(where sims is the dbname and mdl_enrolment_v1_0 is the table/view)

this should return a bunch of data.
  Reply With Quote
Old 01-05-2009, 02:18 PM   #39
 
kieran8055's Avatar
 
Join Date: Apr 2009
Location: Stoke
Posts: 75
uk uk england
Thanks: 24
Thanked 1 Time in 1 Post
Rep Power: 0 kieran8055 is an unknown quantity at this point
Default

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.
  Reply With Quote
Old 01-05-2009, 02:27 PM   #40
 
penfold_99's Avatar
 
Join Date: Feb 2008
Location: East Sussex
Posts: 476
uk uk sussex
Thanks: 23
Thanked 80 Times in 50 Posts
Rep Power: 27 penfold_99 is a splendid one to behold penfold_99 is a splendid one to behold penfold_99 is a splendid one to behold penfold_99 is a splendid one to behold penfold_99 is a splendid one to behold penfold_99 is a splendid one to behold
Send a message via Skype™ to penfold_99
Default

@kieran8055

Have you done all the other bits in CyberNerd's post?

What OS are you running on?
  Reply With Quote
Old 01-05-2009, 02:33 PM   #41
 
kieran8055's Avatar
 
Join Date: Apr 2009
Location: Stoke
Posts: 75
uk uk england
Thanks: 24
Thanked 1 Time in 1 Post
Rep Power: 0 kieran8055 is an unknown quantity at this point
Default

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)
  Reply With Quote
Old 01-05-2009, 02:35 PM   #42
 
CyberNerd's Avatar
 
Join Date: Jan 2006
Posts: 4,258
uk
Thanks: 119
Thanked 314 Times in 251 Posts
Rep Power: 78 CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future
Default

does this file exist?
~/.freetds.conf
could it be overriding the global /etc/freetds.conf
maybe try creating it.
  Reply With Quote
Old 01-05-2009, 02:40 PM   #43
 
kieran8055's Avatar
 
Join Date: Apr 2009
Location: Stoke
Posts: 75
uk uk england
Thanks: 24
Thanked 1 Time in 1 Post
Rep Power: 0 kieran8055 is an unknown quantity at this point
Default

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
  Reply With Quote
Old 01-05-2009, 02:41 PM   #44
 
CyberNerd's Avatar
 
Join Date: Jan 2006
Posts: 4,258
uk
Thanks: 119
Thanked 314 Times in 251 Posts
Rep Power: 78 CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future
Default

Quote:
Originally Posted by kieran8055 View Post
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.
ok, I see your connecting. this just says that you database is called something other than 'sims' - you need to fins the name of your sims database.

if you do

Code:
select * from sys.databases
go
it should display all the databases on your mssql
  Reply With Quote
Old 01-05-2009, 02:44 PM   #45
 
CyberNerd's Avatar
 
Join Date: Jan 2006
Posts: 4,258
uk
Thanks: 119
Thanked 314 Times in 251 Posts
Rep Power: 78 CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future
Default

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:
So I use an another environnement variable to fix that :

export TDSVER=7.0

And miracle , everything work with tsql. So I force version of tds in my ~/.freetds.conf in global section as this

[global]
tds version = 7.0

And after that everything is ok in python. Yahoo!!. I hope that ticket will be useful for you.

Last edited by CyberNerd; 01-05-2009 at 02:50 PM..
  Reply With Quote
Reply

EduGeek.net Forums > Technical > Virtual Learning Platforms

Similar Threads
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
Search Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:38 PM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Copyright EduGeek.net




website uptime

© 2005 - 2009 EduGeek.net
SERVER: 4
no new posts