Wise SQL Error
Updated: 06 Nov 2010 | 12 comments
This issue has been solved. See solution.
Hi
I am creating a Microsoft SQL sever database its giving Wise SQL error [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets] Specified sql server not found.
In log file its giving error 2826. The log file is attached. any solutions?
Thanks
Discussion Filed Under:
Comments
The error message is self
The error message is self explanatory - the specified SQL server was not found.
Try using the server IP address instead of the server name in case your WINS/DNS services are not working properly.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Hi EdTWINS/DNS services are
Hi EdT
WINS/DNS services are working fine. now its giving wise sql error [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open Database "GMS" requested by the login. The Login failed.
The .wsi file is attached. Is there anything wrong in the script/
Thanks
I am away at a conference at
I am away at a conference at the moment, but if the message states that the login failed, then the most likely reason is that the login failed. I don't have a ZIP viewer here, so did you include a domain\username string or just a username string for the login?
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
HI EdT I have used the
HI EdT
I have used the domain\username string the while configuring ODBC it will give the error login failed.
Can you login manually? Also,
Can you login manually?
Also, if your test machine already has a connection to the SQL server, perhaps your profile already has a connection to the server, then you will not be able to login as a different user until you logout your existing connection.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
HI EdT I can able to login
HI EdT
I can able to login manually. Using MSI script i can create ODBC data source in system DSN using command
Execute a program from destination C:\WINDOWS\system32\odbcconf.exe /a {CONFIGSYSDSN "SQL Server" "DSN=GMS|Description=System DSN to connect to GMS System|SERVER=BNG1XXRPLGMS\SQLEXPRESS|Network=DBMSSOCN|Trusted_Connection=No|Database=GMS"}
but it will not create SQL server database.
In above post attached .WSI file is there anything wrong in the script?
Thanks
CA Context
Are you running the "Execute Program from Destination" custom action in SYSTEM or USER mode? You need to run it in USER mode for it to work, as the local SYSTEM account has no network privileges.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Why bother with ODBCCONF?
It only ends up writing to the registry so your package would do betther to use the Registry table. Wise does have ODBC handling as a separate "view" but I've never bothered with it after having struggled to get it to work consistently at a client site. As I say, since this junk ends up in the registry anyway, just put it straight there.
You should also consider using public properties for the server and database names to cater for changes. Or perhaps your site is one where such things never change? Oink, flap!
Don't know why 'x' happened? Want to know why 'y' happened? Use ProcMon and it will tell you.
Think about using http://www.google.com before posting.
Hi EdTI was trying custom
Hi EdT
Thanks for information.
I was trying custom action in SYSTEM mode. I tried with USER mode its working fine.
If i run .MSI script to another machine its giving error [Microsoft][ODBC SQL Server driver][TCP/IP Sockets]Specified sql server not found.
Why this error occured?
Thanks.
>Why this error occured?
Seriously? You're asking EXACTLY the same question that you started out with? And which has already been answered?!?!?!?
Don't know why 'x' happened? Want to know why 'y' happened? Use ProcMon and it will tell you.
Think about using http://www.google.com before posting.
The error occurred because
The error occurred because the SQL Server could not be found. See previous discussion of the same question earlier in this thread.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
HI EdT Thanks its working
HI EdT
Thanks its working fine.
Would you like to reply?
Login or Register to post your comment.