Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 23.08.2006, 20:01   #1
czar
Архивный участник
 
Join Date: Oct 2005
Posts: 41
Default file dsn and mssql = headache

ok i had like almost the exact same problem in c1 when i put up a server, but i cant remember how i fixed it T_T.

i get everything set up, im using mssql express 2005 edition. i install with mixed mode and set up all the db's by logging onto the mssql server using COMPUTERNAME\INSTANCENAME path. for some reason i can't use (local) at all it wont recognize it :/. both windows login and sl login work to connect and see db so i don't think mssql is the problem.

after i setup allt he db's with the proper scripts i go to setup my file dsn's. i add them like normal substituting in COMPUTERNAME\INSTANCENAME for when i setup the host. it connects i choose windows auth. i change the default db. test the connection. test ok, everything seems right.

i go off to the cached, already set up the serial, worked just fine, i go to put in my info on lets say cached: lin2world, sa, mypass and all i get s this fun error which is followed by a reprompt of the information.

08/23/2006 14:46:xx.xx4, HY000
08/23/2006 14:46:xx.xx4, General error: Invalid file dsn ''

if anyone can help, it would be much appreciated, my head is really starting to hurt :/
czar is offline  
Old 23.08.2006, 21:18   #2
aralyon
Архивный участник
 
Join Date: Sep 2005
Posts: 72
Default

Do you have database and cached at the same machine? File dns must be at machine with cached.

Btw express edition use SQLEXPRESS instance name as default, I wasnt able to change it. So server name to local mssql is .\SQLEXPRESS
aralyon is offline  
Old 23.08.2006, 21:34   #3
vieruemil
Архивный участник
 
Join Date: Jun 2005
Posts: 31
Default

You need to open again ODBC administrator > File DSN
There you have to define DSN's if you haven't yet. If you did then try to
"Set Directory" for every DSN.
vieruemil is offline  
Old 23.08.2006, 22:30   #4
czar
Архивный участник
 
Join Date: Oct 2005
Posts: 41
Default

Quote:
Originally Posted by vieruemil View Post
You need to open again ODBC administrator > File DSN
There you have to define DSN's if you haven't yet. If you did then try to
"Set Directory" for every DSN.
tytyty soooo much

all it was is i had to set directory... so weird why, thought it would default right...
czar is offline  
 


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

Forum Jump


All times are GMT. The time now is 16:27.