Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   file dsn and mssql = headache (https://postpacific.loc-online.com/showthread.php?t=5528)

czar 23.08.2006 20:01

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 :/

aralyon 23.08.2006 21:18

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

vieruemil 23.08.2006 21:34

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.

czar 23.08.2006 22:30

Quote:

Originally Posted by vieruemil (Post 65642)
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...


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