last day (14 days later) » 

3:18 PM
Could anyone help me with SQL and VBA?
im getting this error: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
how to fix it?
im sorry
i will leave
i have no idea, i just run a program, and it opens microsoft visual badic for applications
and it gives me this error :S
 
you might want to get some client tools of your own so you can debug it. that error can happen for a number of different reasons, network, firewall, etc
 
its @ this line: conn.Open sConnString
 
exactly, but without knowing your network layout it's hard to debug this
 
letss me the last part of the string is nothing?
 
or is the sql server on the same computer?
 
3:22 PM
the sql is on the same computer i guess
 
check to make sure the service is running and accepts connections (another reason to get client tools)
 
sConnString = "Provider=SQLOLEDB;Data Source=xxxx;"
 
shrug
 
is xxxx a server?
 
(it was a computer name, was edited)
 
3:24 PM
euhm yes
but its false
 
if your server is running on your own box you could try Data Source=localhost
 
so to be clear, I need an SQL server?
and give the name of that computer/SQL server in the source?
right?
because im searching in my netwerk but cannot find the xxxx
 
Yes, but sqlserver express should work as well
 
thank you for helping i will look to it
 
Good luck
 
3:32 PM
okay
im directing to xxxx
but do I need to put Data Source=\\xxxx;"
extras slashes before it?
because the server is on my netwerk tho
but returns still false
 
If you telnet xxxx 1433 does it give an error or does it connect?
 
could i maybe net have all the rights to go to that server?
because another computer could not even connect the server to \\xxxx\
while I can
 
That is for sure an option and not something we could not help with
 
okay maybe i should make that server public
to try
this could be a solution to that problem right?
1) Check authentication mode,in sql server properties' security tab.
2) If it is windows try to change it to sql and windows mode.
3) Try with user sa and set password for sa user
 
I move the conversation to this room because it give to much noise in SOCVR
 
3:42 PM
thanks for helping me anyway :D
 
5 messages moved from SO Close Vote Reviewers
 
okay im sorry for making the noice
this will be better i guess yes
 
19 messages moved from SO Close Vote Reviewers
18 messages moved from SO Close Vote Reviewers
1 message moved from SO Close Vote Reviewers
@wouter sure, that might work ando SO you might try and there is also dba.stackexchange.com for dba specific stuff.
 
4:11 PM
thanks foir helpingg
gonna look to it tomorrow
 

last day (14 days later) »