Connection Failed SQL State: 'HYT00' SQL Server Error: 0 [Microsoft] [ODBC SQL Server Driver] Login Timeout expired

I backed up  my database   on old Notebook    SQLSTRINGCONNECT worked all day  for any database in SQL SERVR I created
have brand new computer  Notebook
installed SQL SERVER 2008 THE EXACT SAME WAY
I RESTORED THE DATABASE
However, I cannot connect to it via Visual  FoxPro 9.0  with   SQLSTRINGCONNECT
or even Windows 7    ODBC Data Source ADministrator

Hi,
We need more information as Olaf asked, but my first guess is that you have permissions problem since the users are not the same users in different machines (local users, or SQL Server users),
even if they have the same name :-)
[Personal Site] [Blog] [Facebook]

Similar Messages

  • Reg:-10901: Database error: [Microsoft][ODBC SQL Server Driver][DBNETLIB]General network error. Check your network documentation.. Contact your Business Objects administrator or database supplier for more information. (Error: WIS 10901)

    Hi Friends,
    When i schedule the report in infoview ,i am getting this error, could you please let me know how to solve this error.
    10901: Database error: [Microsoft][ODBC SQL Server Driver][DBNETLIB]General network error. Check your network documentation.. Contact your Business Objects administrator or database supplier for more information. (Error: WIS 10901)
    Thanks
    sreedhar

    Hi,
    I am able to refresh the report in Infoview and data is dispalying , but when i schedule the report in infoview i am getting that error.
    I am not clear on below one could you please elaborate on this
    You need to create ODBC for SQL server.Check your BO server is able to connect SQL Server.
    Thanks
    sreedhar

  • Error: [Microsoft][ODBC SQL Server Driver]Protocol error in TDS stream

    hello,
    our application vendors are receving the below errors while running their data load job.I spoke to our networking team member and he said everything looks good on the networking side .Can someone please help me with the below errors.we are using
    Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64) Enterprise
    Edition: Core-based Licensing (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1).
    Windows OS:windows server 2008 R2 sp1
    7280
    6920
     DBS-070401
    6/5/2014 1:17:24 PM
    |Data flow DIM_CONTRACT_SWAM_INIT_LOAD_DF|Loader Key_Generation_DIM_CONTRACT
    7280
    6920
     DBS-070401
    6/5/2014 1:17:24 PM
    ODBC data source <HPWDBOE001> error message for operation <SQLExecute>: <[Microsoft][ODBC SQL Server
    7280
    6920
     DBS-070401
    6/5/2014 1:17:24 PM
    Driver][DBNETLIB]ConnectionWrite (send()).
    7280
    6920
     DBS-070401
    6/5/2014 1:17:24 PM
    [Microsoft][ODBC SQL Server Driver][DBNETLIB]General network error. Check your network documentation.>.
    6760
    6164
     DBS-070401
    6/5/2014 1:17:24 PM
    |Data flow DIM_EMPLOYER_GROUP_SWAM_INIT_LOAD_DF|Reader TCRdr_9
    6760
    6164
     DBS-070401
    6/5/2014 1:17:24 PM
    ODBC data source <serverName> error message for operation <SQLExecute>: <[Microsoft][ODBC SQL Server Driver]Protocol error in
    6760
    6164
     DBS-070401
    6/5/2014 1:17:24 PM
    TDS stream
    6760
    6164
     DBS-070401
    6/5/2014 1:17:24 PM
    [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionRead (recv()).
    6760
    6164
     DBS-070401
    6/5/2014 1:17:24 PM
    [Microsoft][ODBC SQL Server Driver][DBNETLIB]General network error. Check your network documentation.>.
    I googled and found the below link the below link which asked me to enable named pipes.I enabled
    namped pipes in the sql server Network configuration.I havent yet restarted the sql services as this is a prod box.I will do it later in the evening today.
     http://social.msdn.microsoft.com/Forums/sqlserver/en-US/69149a71-3c15-4c95-9f95-a30db458abeb/sql-server-2005-communcations-errors-through-odbc?forum=sqldataaccess 
    Can someone help me with these errors.
    Thanks
    lucky

    Thank you Erland.
    I dont see any crash dumps in sql server.I checked the tcp chimney and its set to automatic.I am not knowing what to look at to resolve this issue.
    if its the issue with the client API can i ask our vendor to check the client? 
    Our networking member gave the following report:
    No problems on vlan 14 or your port   the top is from the switch to your server then bottom is from my pc to your server
    SP_DC_CORE_VSS# ping 10.10.12.228
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 10.10.12.228, timeout is 2 seconds:
    Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
    SP_DC_CORE_VSS#
    lucky

  • Failed to provision site PWA with error: Microsoft.Office.Project.Server.Administration.ProvisionException: To create databases we need dbcreator and securityadmin server roles on servers.

    I'm getting the following errors while trying to provision a PS 2010 PWA on our SharePoint 2010 farm. Our PS instance has been working for a while now, and houses two other PWAs. But today,
    when trying to create this one, I get "Failed - see the Application event Log" and the following in the Event Viewer:
    Log Name: Application
    Source: Microsoft-SharePoint Products-Project Server
    Date: 4/2/2014 2:09:08 PM
    Event ID: 6980
    Task Category: Provisioning
    Level: Error
    Keywords:
    User: DOMAIN\DB_Access
    Computer: server
    Description:
    Provisioning 'PWA/SDN': To create databases we need dbcreator and securityadmin server roles on servers 'DB1' and 'DB1'.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="Microsoft-SharePoint Products-Project Server" Guid="{b2178104-1b5b-4c20-8c8f-960678ced9e5}" />
    <EventID>6980</EventID>
    <Version>14</Version>
    <Level>2</Level>
    <Task>20</Task>
    <Opcode>0</Opcode>
    <Keywords>0x4000000000000000</Keywords>
    <TimeCreated SystemTime="2014-04-02T19:09:08.225Z" />
    <EventRecordID>1676727</EventRecordID>
    <Correlation ActivityID="{90131653-B0A4-4FAF-A43C-7DF07CBC3332}" />
    <Execution ProcessID="11040" ThreadID="12384" />
    <Channel>Application</Channel>
    <Computer>sharepoint</Computer>
    <Security UserID="S-1-5-21-2280669542-4145173436-3058324265-4222" />
    </System>
    <EventData>
    <Data Name="string0">PWA/SDN</Data>
    <Data Name="string1">DB1</Data>
    <Data Name="string2">DB1</Data>
    </EventData>
    </Event>
    Log Name: Application
    Source: Microsoft-SharePoint Products-Project Server
    Date: 4/2/2014 2:09:08 PM
    Event ID: 6993
    Task Category: Provisioning
    Level: Error
    Keywords:
    User: DOMAIN\DB_Access
    Computer: sharepoint
    Description:
    Provisioning 'PWA/SDN': Failed to provision databases. An exception occurred: To create databases we need dbcreator and securityadmin server roles on servers..
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="Microsoft-SharePoint Products-Project Server" Guid="{b2178104-1b5b-4c20-8c8f-960678ced9e5}" />
    <EventID>6993</EventID>
    <Version>14</Version>
    <Level>2</Level>
    <Task>20</Task>
    <Opcode>0</Opcode>
    <Keywords>0x4000000000000000</Keywords>
    <TimeCreated SystemTime="2014-04-02T19:09:08.225Z" />
    <EventRecordID>1676728</EventRecordID>
    <Correlation ActivityID="{90131653-B0A4-4FAF-A43C-7DF07CBC3332}" />
    <Execution ProcessID="11040" ThreadID="12384" />
    <Channel>Application</Channel>
    <Computer>sharepoint</Computer>
    <Security UserID="S-1-5-21-2280669542-4145173436-3058324265-4222" />
    </System>
    <EventData>
    <Data Name="string0">PWA/SDN</Data>
    <Data Name="string1">To create databases we need dbcreator and securityadmin server roles on servers.</Data>
    </EventData>
    </Event>
    Log Name: Application
    Source: Microsoft-SharePoint Products-Project Server
    Date: 4/2/2014 2:09:08 PM
    Event ID: 6958
    Task Category: Provisioning
    Level: Error
    Keywords:
    User: DOMAIN\DB_Access
    Computer: sharepoint
    Description:
    Provisioning 'PWA/SDN': Database provisioning failed.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="Microsoft-SharePoint Products-Project Server" Guid="{b2178104-1b5b-4c20-8c8f-960678ced9e5}" />
    <EventID>6958</EventID>
    <Version>14</Version>
    <Level>2</Level>
    <Task>20</Task>
    <Opcode>0</Opcode>
    <Keywords>0x4000000000000000</Keywords>
    <TimeCreated SystemTime="2014-04-02T19:09:08.225Z" />
    <EventRecordID>1676729</EventRecordID>
    <Correlation ActivityID="{90131653-B0A4-4FAF-A43C-7DF07CBC3332}" />
    <Execution ProcessID="11040" ThreadID="12384" />
    <Channel>Application</Channel>
    <Computer>sharepoint</Computer>
    <Security UserID="S-1-5-21-2280669542-4145173436-3058324265-4222" />
    </System>
    <EventData>
    <Data Name="string0">PWA/SDN</Data>
    </EventData>
    </Event>
    Log Name: Application
    Source: Microsoft-SharePoint Products-Project Server
    Date: 4/2/2014 2:09:08 PM
    Event ID: 6971
    Task Category: Provisioning
    Level: Error
    Keywords:
    User: DOMAIN\DB_Access
    Computer: sharepoint
    Description:
    Failed to provision site PWA/SDN with error: Microsoft.Office.Project.Server.Administration.ProvisionException: Failed to provision databases. ---> Microsoft.Office.Project.Server.Administration.ProvisionException: To create databases we need dbcreator and
    securityadmin server roles on servers.
    at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.EnsureDatabases(ProjectProvisionSettings provset, SPSite pwaSite, String adminName, String adminEmail, ProjectDatabaseStateType& originalDatabaseState, Guid& adminGuid)
    --- End of inner exception stack trace ---
    at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.EnsureDatabases(ProjectProvisionSettings provset, SPSite pwaSite, String adminName, String adminEmail, ProjectDatabaseStateType& originalDatabaseState, Guid& adminGuid)
    at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.CreateSite(ProjectProvisionSettings provset)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="Microsoft-SharePoint Products-Project Server" Guid="{b2178104-1b5b-4c20-8c8f-960678ced9e5}" />
    <EventID>6971</EventID>
    <Version>14</Version>
    <Level>2</Level>
    <Task>20</Task>
    <Opcode>0</Opcode>
    <Keywords>0x4000000000000000</Keywords>
    <TimeCreated SystemTime="2014-04-02T19:09:08.226Z" />
    <EventRecordID>1676730</EventRecordID>
    <Correlation ActivityID="{90131653-B0A4-4FAF-A43C-7DF07CBC3332}" />
    <Execution ProcessID="11040" ThreadID="12384" />
    <Channel>Application</Channel>
    <Computer>sharepoint</Computer>
    <Security UserID="S-1-5-21-2280669542-4145173436-3058324265-4222" />
    </System>
    <EventData>
    <Data Name="string0">PWA/SDN</Data>
    <Data Name="string1">Microsoft.Office.Project.Server.Administration.ProvisionException: Failed to provision databases. ---&gt; Microsoft.Office.Project.Server.Administration.ProvisionException: To create databases we need dbcreator and securityadmin
    server roles on servers.
    at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.EnsureDatabases(ProjectProvisionSettings provset, SPSite pwaSite, String adminName, String adminEmail, ProjectDatabaseStateType&amp; originalDatabaseState, Guid&amp; adminGuid)
    --- End of inner exception stack trace ---
    at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.EnsureDatabases(ProjectProvisionSettings provset, SPSite pwaSite, String adminName, String adminEmail, ProjectDatabaseStateType&amp; originalDatabaseState, Guid&amp; adminGuid)
    at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.CreateSite(ProjectProvisionSettings provset)</Data>
    </EventData>
    </Event>
    Anybody ever get any events like this before? I'm not finding much or nothing on Google or on other forums, so I thought I would run it past and see if anyone has experienced anything of a similar
    nature. And yes, the farm account obviously has creator/secadmin permissions, at this point of our deployment....
    I look forward to any and all feedback. Thanks and good afternoon!

    I figured out the answer to this myself. For those few who might run into something akin to my error...
    During the off-hours of where I work, I re-applied the farm account credentials to all dB server VM SQL services that had the account for a log-on (i.e., MSSQLSERVER, SQLSERVERAGENT, etc.) as well as all SharePoint services on our WFE/App Server VM (a two
    server farm is what we host), in that order. Then I rebooted the dB server first, followed by the SharePoint server. Upon coming back, everything was working fine again. I was able to provision a site, no probelm, and it seemed to even be a little snappier
    when doing so.
    One note: doing this procedure gave me a "One or more services have started or stopped unexpectedly" error in the Health Analyzer, for the SPTimerV4 service. When you get this, simply enter into the item and click on "Reanalyze Now;" this will quickly clear
    the error out of the Analyzer, and all should be right with the world! :)

  • SQCRS_Exec: State:42000 Error:[Microsoft][ODBC SQL Server Driver][SQL Server]Could not allocate a new page for database 'MEDICAL' because of insufficient disk space in filegroup 'PRIMARY'.

    I keep getting this error even though I have done all the suggestions. This was a restored database everything worked well for 2 days and now i am getting this error. I have autogrowth on and have shrunk the TransLog to 60mb the 2 table spaces that getr
    this error have been checked by several DBA's and they all say it is correct and to check with Microsoft. DBCC CHECKDB has also been run along with a native check for our Medical program. The DB is not abnormally large as I have others much larger. this is
    Server 2008r2 with SSMS 2008r2

    Add another file to the PRIMARY FILE GROUP on another drive.
    Above is a quick & dirty fix.
    You should makeup a disk space allocation plan keeping in mind the requirements 3 years from now.
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Error:[Microsoft][ODBC Micrsoft Access Driver] Not a valid password

    Can anyone help me with this problem:
    I have a Microsoft Access database with database password assign to it.
    the following JAVA statement works for some users but not others:
    connection.openConnection(databaseurl,"","");
    all users are using same java application and points to same MS Access
    database.
    If I remove the database password, the statement works for all users.
    Can anyone explain it why the above statement checking for password for some
    users but not others?
    thanks
    David Ling

    I'm not sure which JDBC driver you are using.
    An access database, by default, has a username and
    password as "admin" and "" (ie, empty password).
    Actually MS Access has two methods for security. You
    are referring to one of them.
    If the password of admin is changed, you have to
    provide the name of the workgroup information file
    also( where it is stored) for making a connection.
    I am not sure about the ODBC bridge driver. What iam
    using is Atinav's aveConnet JDBC driver. It has
    provision for giving username and passwords through
    Workgroup information file. In addition to it youcan
    give the database password also.
    Interesting to note. The bridge for MS Access does
    not use that security method. And it will fail if you
    set up security using the groups/users adminstration.
    The only method it allows is via the "database
    password" method.Thank you for your response, but what User ID should I use when I use database password?
    openConnection(URL,"xxxx","database password")
    thanks again
    David Ling

  • SAPINST 4.7  with  MS SQL SERVER Error "Unable to stop server"

    I'm trying to install SAP 4.7 on
    - Windows 2003 Server _ host "tpt"
    - SQL Server 2000 SP3 _ new Instance "MYSAP". Collation is already set to "SQL_Latin1_General_CP850_BIN2".
    Sapinst ran well on all input data steps.
    Next it applied from steps
    "Create SAP System Opertion System Groups and Users"
    "Check/Adapt File System"
    until step "MS SQL SERVER tempdb Parameters" with Processing message "Changing location of
    tempdb files", then stopped the installation.
    I've got Error_Log file:
    Transaction begin ********************************************************
    INFO 2004-09-19 10:21:24
    Successfully connected to "tpt\MYSAP"
    ERROR 2004-09-19 10:21:25
    MDB-05039  Unable to stop server "tpt\MYSAP"; error: "[Microsoft][ODBC SQL Server Driver][SQL Server]Herunterfahren des Servers auf Anforderung. (german text means "Server shuts down on request")
    [Microsoft][ODBC SQL Server Driver][SQL Server]SQL Server beendet diesen Prozess." (german text means "SQL Server stops this process")
    ERROR 2004-09-19 10:21:25
    MDB-05034  Call to a threaded function returned "1".
    Transaction end **********************************************************
    WARNING 2004-09-19 10:30:21
    The step doChangeTempDBParameters1 with step key SAPSYSTEM|ind|ind|ind|ind|ind|0|SAPComponent|ind|ind|ind|ind|ind|0|DatabaseServer|windows|ind|mss|ind|ind|0|TempDB|windows|ind|mss|ind|ind|0|doChangeTempDBParameters1 executed with status ERROR.
    WARNING 2004-09-19 10:30:21
    An error occurred during the installation. 
    Can you help me?
    Thanks very much
    thanh

    Hello,
    you should not use a german version of MS SQL Server.
    Regards
    Gregor

  • [Microsoft][ODBC SQL Server Driver][SQL Server]Could not find stored procedure 'dbo.sp_SPNAMEHERE'.

    OK, something seemed to have changed with my system because this error is NEW. It might be related to my system upgrade from Vista to Win7, but just guessing here.
    I run a database on a corporate MS Sql Server (2005) and an ASP application that connects via ODBC. The real world application works fine, however when I attempt to access Stored Procedures from Dreamweaver (on my development machine)  I am getting the following error:
    [Microsoft][ODBC SQL Server Driver][SQL Server]Could not find stored procedure 'dbo.sp_SPNAMEHERE'.
    This only seems to happen on Stored procedures that RETURN a recordset.
    system:
    Win7
    Dreamweaver CS4
    Code: VBScript/Classic ASP
    SQL Server 2005
    Connecting via ODBC: MM_MY_STRING = "Driver={SQL Server};Server=wscxxxxxxxxx;Database=dbsystem;Uid=username;Pwd=XXXXXXXXXXXX"
    Stored procedures that do not return a recordset are not an issue.... this has put my development work at a standstill!!
    Thanks in advance!

    Well, I hate bumps, but I am really running out of solutions. I have now tried to use a system DSN on my development machine and that didnt solve the problem. I just un-installed DW and re-installed it and that didnt solve my problem either.
    This is very frustrating, because I cannot use any stored procs that return recordsets... I am stuck... can anybody think of a relatively easy work-around to working in DW w/ recordsets that come from SPs when you cant actually access them?
    The really weird thing is, when I build the command, and choose the stored proc, and give it valid input variables, and TEST it from the TEST button, everything works and data is returned as expected. Once I click "OK" and actually add it to the ASP page the recordset that should be visible isnt... and when I click the plus sign in the bindings window I get the error...
    Help!!

  • Login timeout expired-2EETW169 no connect possible:"DBMS = MSSQL" DBNAME=""

    Hi, SDN fellows.
    I finished applying SPs for Solman Manager 7.0 (updated to Solman 7.1 EHP1 - just the Java Stack with JSPM). Then, I decided to start install SAP ECC 6.0 IDES in D drive (solman currently installed in C drive). When I ran the SAP ECC installer till the screen where it require Solution Key, I stopped the process due to invalid solution key provided. 
    After that, my Solman system became not able to connect to MS SQL server anymore. Here is the trans messages I got from "R3Trans -d".
    Not sure what isthe root cause, but I found couple messages maybe the leads to root cause.
    I wonder why the DBNAME become empty on this line: 2EETW169 no connect possible: "DBMS = MSSQL                            ---  SERVER = 'MYSERVER101' DBNAME = ''".
    These message also shown that this maybe login related issue:
    4 ETW000  [     dev trc,00000]  CopyLocalParameters: dbuser is 'dbo'                                      19  0.004714
    4 ETW000  [     dev trc,00000]  OpenOledbConnection: line 24466. hr: 0x8000ffff Login timeout expired
    4 ETW000                                                                               
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
    4 ETW000
    LOG BY0=>Login timeout expired [dblink#4 @ 433]  
    Thanks for advices,
    KC

    4 ETW000                                                                                45  30.272192
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  30.272209
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
    4 ETW000                                                                                63  30.272272
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 20  30.272292
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
    4 ETW000                                                                                42  30.272334
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  30.272351
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    4 ETW000                                                                                38  30.272389
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  30.272406
    4 ETW000  [     dev trc,00000]  Using Provider SQLNCLI                                                 10214  30.282620
    4 ETW000  [     dev trc,00000]  OpenOledbConnection: MARS property was set successfully.                  75  30.282695
    4 ETW000  [     dev trc,00000]  Sun Jul 24 07:23:58 2011                                             15172939  45.455634
    4 ETW000  [     dev trc,00000]  OpenOledbConnection: line 24466. hr: 0x8000ffff Login timeout expired
    4 ETW000                                                                                41  45.455675
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 0, sev 0), Login timeout expired
    4 ETW000                                                                                43  45.455718
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  45.455735
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
    4 ETW000                                                                                75  45.455810
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 27  45.455837
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
    4 ETW000                                                                                43  45.455880
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 16  45.455896
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    4 ETW000                                                                                38  45.455934
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  45.455951
    4 ETW000  [     dev trc,00000]  failed to establish conn to np:(local).                                 6519  45.462470
    4 ETW000  [     dev trc,00000]  Retrying without protocol specifier: (local)                              30  45.462500
    4 ETW000  [     dev trc,00000]  Using Provider SQLNCLI                                                    60  45.462560
    4 ETW000  [     dev trc,00000]  OpenOledbConnection: MARS property was set successfully.                  57  45.462617
    4 ETW000  [     dev trc,00000]  Sun Jul 24 07:24:14 2011                                             15636603  61.099220
    4 ETW000  [     dev trc,00000]  OpenOledbConnection: line 24466. hr: 0x8000ffff Login timeout expired
    4 ETW000                                                                                51  61.099271
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 0, sev 0), Login timeout expired
    4 ETW000                                                                                45  61.099316
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  61.099333
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
    4 ETW000                                                                                60  61.099393
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  61.099410
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
    4 ETW000                                                                                41  61.099451
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  61.099468
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    4 ETW000                                                                                37  61.099505
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  61.099522
    4 ETW000  [     dev trc,00000]  Using Provider SQLNCLI                                                  5453  61.104975
    4 ETW000  [     dev trc,00000]  OpenOledbConnection: MARS property was set successfully.                  59  61.105034
    4 ETW000  [     dev trc,00000]  Sun Jul 24 07:24:29 2011                                             15620154  76.725188
    4 ETW000  [     dev trc,00000]  OpenOledbConnection: line 24466. hr: 0x8000ffff Login timeout expired
    4 ETW000                                                                                43  76.725231
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 0, sev 0), Login timeout expired
    4 ETW000                                                                                45  76.725276
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 18  76.725294
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
    4 ETW000                                                                                79  76.725373
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  76.725390
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
    4 ETW000                                                                                42  76.725432
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  76.725449
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    4 ETW000                                                                                103  76.725552
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 25  76.725577
    4 ETW000  [     dev trc,00000]  Using Provider SQLNCLI                                                  5413  76.730990
    4 ETW000  [     dev trc,00000]  OpenOledbConnection: MARS property was set successfully.                  78  76.731068
    4 ETW000  [     dev trc,00000]  Sun Jul 24 07:24:45 2011                                             15600542  92.331610
    4 ETW000  [     dev trc,00000]  OpenOledbConnection: line 24466. hr: 0x8000ffff Login timeout expired
    4 ETW000                                                                                42  92.331652
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 0, sev 0), Login timeout expired
    4 ETW000                                                                                45  92.331697
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  92.331714
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
    4 ETW000                                                                                60  92.331774
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 16  92.331790
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
    4 ETW000                                                                                42  92.331832
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 16  92.331848
    4 ETW000  [     dev trc,00000]  sloledb.cpp [OpenOledbConnection,line 24466]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    4 ETW000                                                                                38  92.331886
    4 ETW000  [     dev trc,00000]  Procname: [OpenOledbConnection - no proc]                                 17  92.331903
    4 ETW000  [     dev trc,00000]  failed to establish conn. 0                                             5491  92.337394
    4 ETW000  [    dblink  ,00433]  ***LOG BY2=>sql error -1     performing CON [dblink#4 @ 433]             119  92.337513
    4 ETW000  [    dblink  ,00433]  ***LOG BY0=>Login timeout expired [dblink#4 @ 433]                        27  92.337540
    2EETW169 no connect possible: "DBMS = MSSQL                            ---  SERVER = 'MYSERVER101' DBNAME = ''"

  • Connection failed: SQLState:'01000' SQL Server Error:67 [Microsoft]ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connect()). Connection failed: SQLState:'08001' SQL Server Error:17 [Microsoft]ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist o

    Help,
    setup a new sql server 2012 on a windows 2012r2 server to replace old sql server 2005 on an old windows server 2003 machine.  When i test the ODBC connection locally on the server it works fine, however when i try to connect via windows 7 client machine
    i get the following error:
    Connection failed:
    SQLState:'01000'
    SQL Server Error:67
    [Microsoft]ODBC SQL Server Driver][DBNETLIB]ConnectionOpen
    (Connect()).
    Connection failed:
    SQLState:'08001'
    SQL Server Error:17
    [Microsoft]ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied
    I think it must be a permissions thing, I've turned off the firewall for now and still no difference, 've also made sure remote connection is enabled.  I can connect to the other sql server in studio manager on the new machine however, i can't go do
    the same in the old server, says:
    cannot connect to hbfsqlpro1\hbfsqlpro1
    Additonal information a network related or instance specifc error occured while establising a connection to SQL server.  The server was not found or was not accessible.  Verify that the instance name is correct and that SQL server is configured to
    allow remote connections. (provider:SQL Network Interfaces, error 26 - error locationg server/instance specified) (Microsoft SQL server)
    the instance is def correct, as that is what i use to connect locally on the new machine and what it comes up on the studio manager on the new machine.  STarting to pull my hair out somewhat, i'm sure it's something really simple! 

    Hello,
    You are trying to connect to a named instance. Make sure the SQL Server Browser service is started on the SQL Server computer.
    Make sure TCP/IP is enabled.
    http://msdn.microsoft.com/en-us/library/ms191294(v=sql.110).aspx
    Try to disable Windows Firewall or security software on both, SQL Server instance and client computer.
    Test basic connectivity too. Try to ping from the client computer to the SQL Server computer.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Error [hyt00] [microsoft][odbc sql server driver] query timeout expired

    I have the below network setup:-
    1. Its a simple network at my father's office at a small town called Ichalkaranji (District - Kolhapur, Maharashtra).
    2. We are using private network range 192.168.1.xxx with two Windows Server 2003 Enterprise Edition with SP2 licensed copies and 15 local Windows 7 clients who are only using Server A.
    3. The network is having a TP-Link Braodband Router Connected to internet with the IP 192.168.1.1.
    4. Both there Windows Server 2003 Enterprise Edition with SP2 are running separate SQL Server 2005 Express with Advanced Services, you can treat them as Server A (Problematic Server with IP of 192.168.1.2) 
    and Server B (this is not having any issue with IP of 192.168.1.3).
    5. Server A is also being used by 6 Remote users from our Kolkata office using DDNS facility through the NO IP client software which installed separately on both the servers. Kolkata remote users
    do not use OR access the Server B.
    6. Server B is being used by only 2 Remote users from our Erode office (Under Salem District, Tamilnadu) using DDNS facility through the NO IP client software which installed separately on both
    the servers. Erode remote users do not use OR access the Server A.
    7. The front end application which running separately on both the servers have been developed in VB by a local vendor at Ichalkaranji (District - Kolhapur, Maharashtra).
    8. Both Servers are having the same database structure in terms of design and tables format. Only difference is that both the servers are being used separately.
    9. This error OR problem is only related to Server A, where on the clients we get the message "error [hyt00] [microsoft][odbc sql server driver] query timeout expired" every now and then.
    10. We have to frequently reboot the server whenever we get this message on the client machines. May be after rebooting every thing works perfectly for 2 hours / 5 Hours / may be one full day but
    the the error will come back for sure.
    11. Current Database back up size on Server A is around 35 GB and take around 1 hour 15 minutes daily to take the back up.
    12. Current Database back up size on Server B is around 3 GB and take around 5 to 10 minutes daily to take the back up.
    13. One thing I have noticed is that when ever we reboot Server A, for some time sqlsrvr.exe file will show memory usage of 200 to 300 MBs but it will start using slowly, what i understand is that
    this is the way SQL Server works.
    14. Both the Servers are also running Quick heal Antivirus Server Edition separate licensed copies also.
    15. Server B is also running Tally ERP 9 Licenses copy which is being used locally by 15 users of Ichalkaranji (District - Kolhapur, Maharashtra) same users
    Can any one help to resolve this issue. Any help will be highly appreciated.

    The error message "query timeout expired" occurs, because by default many APIs, including ODBC only waits for 30 seconds for SQL Server to send any output. If no data has been seen for this period of time, they tell SQL Server to cancel execution
    and return this error to the caller.
    This timeout could be seen as a token that the query is taking too long time to execute and this needs to be fixed. But it can also be a pain in the rear parts, if you are content with a report taking five minutes, because you only run it once a day.
    The simplest way to get rid of the error is to set the timeout to zero, which means "wait forever". This is something your vendor would have to do. This may, however, not resolve the problem, as the users may just find that the application is hanging.
    To wit, there are two reasons why the query takes more than 30 seconds to complete. One is that there is simply that much work to do. This can be reduced by adding indexes or by doing other tuning, if the execution time is not acceptable. The other possibility
    is blocking. That is, there is a process blocking this query from completing. This is much more likely to require attention.
    It is not clear to me, whether the vendor has developed the database part as well. In this case, you should probably call the vendor's support desk to have them to sort this out.
    Finally, I am little puzzled. You say that you are using Express Edition, but one of the databases is 35 GB in size. 35 GB is far above the limit for Express Edition.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Error:java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Connection

    Hi,
    while running jsp page i m getting error as follows:
    java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Connection is busy with results for another hstmt..
    what is this error...
    what should i do to solve this problem...
    plz let me know what is this error & how to solve this...
    Thanx in advance....

    Why don't you do a search in google with the excpetion?
    If you cannot then try this link
    [http://www.idssoftware.com/faq-e.html]

  • [Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) Could not prepa

    BO XI 3.1 in Webi Rich Client, i get this when I use the default Audit Universe to run the Sample Auditing Report.
    A database error occured. The database error text is: [Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) Could not prepared..(WIS 10901)
    In infoview webi i get this,
    A Database error occured. The database error text is: [Microsoft][ODBC driver Manager] Data source name not found and no default driver specified. (WIS 10901)
    We tried checking all the rights and we are trying this using the Administrator user. Also tried logon to Desinger, Import Auditing Universe and Verify the Parameters and then re exported. Still not working

    Hi Prasanth,
       Thanks for your suggestions and I tried all that what I can do along with your suggestion, and still getting the same error, all the connection are working fine, but when I checked for Integrity, Parse Object and Cardinality I was getting some Object error and cardinality error, which am trying to resolve, so I think am having a wrong version of the Activity Universe.
    Thanks for your suggestion.
    Thanks and Regards
    Senthil

  • [Microsoft][ODBC SQL Server Driver]COUNT field incorrect or syntax error

    Hi , i am trying to execute siple SP using JDBC-ODBC Bridge Driver
    Here my code :
    String dsn="Tritek1";
    String user="sa";
    String password="imcindia";
    Connection con1 = null;
    CallableStatement cstmt = null;
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
    con1=DriverManager.getConnection("jdbc:odbc:"+dsn,user,password);
    Statement st=con1.createStatement();
    st.execute("use dm0102d");
    st.execute("setuser 'dm01012'");
    cstmt = conObject.connection(" ?=Call dms_ex_get_folder_info(?,?,?)");
    cstmt.setString(1,folderType);
    cstmt.registerOutParameter(2,java.sql.Types.VARCHAR);
    cstmt.registerOutParameter(3,java.sql.Types.VARCHAR);     bFlag=cstmt.execute();
    Here my SP :
         Procedure Name          :     dms_ex_get_folder_info
         Input Parameter(s)          :     a. folder_type char(20)
         Return Parameter(s)     :     a. Recordset consist edit_mask and folder_type_code from folder_reference table / error
         Procedure Type          :     select
         Programmer          :     Prashanth Kumar M.
         Creation Date          :     12/20/2005 (20th Dec, 2005)
         Tables Accessed          :     folder_reference
         Revised               :
              Programmer:     Date:     Description:
              Prashanth Kumar M.      12/21/2005 Modified the script as per the approved program specifications.
         Test Query:
              Declare @edit_mask char(15)
              Declare @folder_type_code char(2)
              execute dms_ex_get_folder_info 'Policy Folder',@edit_mask output,@folder_type_code output
              Print 'Edit Mask : ' + @edit_mask
              Print 'Folder Type Code : ' + @folder_type_code
    CREATE PROCEDURE dms_ex_get_folder_info
         @folder_type char(20),
         @edit_mask char(15) output,
         @folder_type_code char(2) output
    AS
         BEGIN
              -- Check if the record for @folder_type exists or not.
              BEGIN
                   -- return the record from folder_reference
                   SELECT
                        @edit_mask= IsNull(edit_mask,''),
                        @folder_type_code = IsNull(folder_type_code,'')
                   FROM      folder_reference
                   WHERE
                        folder_decode = ltrim(rtrim(@folder_type))
                   -- return the error message
                   IF @@error <> 0
                        BEGIN
                             RAISERROR 100016 'Error in gettting the record from folder_reference table'
                             RETURN (@@error)
                        END
                   IF @edit_mask = '' AND @folder_type_code = ''
                        BEGIN
                             RAISERROR 100017 'No matching details in the folder_reference table'
                        RETURN (@@error)
                        END
              END
         END
    GO
    Here My Exception:
    java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]COUNT field incorrect or syntax error
         at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
         at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
         at sun.jdbc.odbc.JdbcOdbc.SQLExecute(Unknown Source)
         at sun.jdbc.odbc.JdbcOdbcPreparedStatement.execute(Unknown Source)
         at com.nyl.dms.bl.Folder.createFolder(Folder.java:121)
         at com.nyl.dms.bl.Folder.main(Folder.java:223)
    Any one can help me to overcome this problem . Thanks in advance.
    venkat

    Here's from one of those 10s of books.
    Quoted from JDBC 3.0 by Bernard Van Haecke:
    Stored procedures can return multiple result types because they can be composed of SQL statements that return diverse result types: resultsets and update counts (this includes special error codes).
    Now this doesn't sound very satisfactory. So I use Sybase since I don't have any other database at the moment, and write a simple stored procedure.
    CREATE proc testproc AS
    BEGIN
    -- My return code
    return 7
    END
    goThen a sample patchy buggy code to play around:
    import java.sql.*;
    public class ProcTesting {
        public static void main(String[] args) {
            String connUrl          = "jdbc:sybase:Tds:myserver:5150/dbinst";
            String userName         = "username";
            String password         = "password";
            Connection con          = null;
            CallableStatement stmt  = null;
            ResultSet rs            = null;
            String sql = "{? = call testproc}";
            try {
                Class.forName("com.sybase.jdbc2.jdbc.SybDriver").newInstance();
                con     = DriverManager.getConnection(connUrl, userName, password);
                stmt    = con.prepareCall(sql);
                stmt.registerOutParameter(1, Types.INTEGER);
                stmt.execute();
                System.out.println(stmt.getInt(1));
            } catch(Exception e) {
                e.printStackTrace();
            } finally {
                closeAll(con, stmt);
        public static void closeAll(Connection con, Statement stmt) {
            try {
                con.close();
            } catch(Exception e) {  }
            try {
                stmt.close();
            } catch(Exception e) {  }
    }Followed by:
    javac ProcTesting.java
    java -cp "%CLASSPATH%;C:\jarutils\jconn2.jar" ProcTesting
    Output:
    7
    Didn't you know this could be done?
    Happy new year, grandpa!

  • Parse failed: Exception: DBD, [Microsoft][ODBC SQL Server Driver] Syntax Er

    I received the following error when I gave the following  statement in select:
    case when {fn_year(FINANCE_PERIOD.FP_START)} @prompt('Enter Year','N',,mono,free)
    then 1 else 0
    end
    Parse failed: Exception: DBD, [Microsoft][ODBC SQL Server Driver] Syntax Error or access violationState: 42000
    I looked at differnt forums but could not fnd the error.

    Sams Latin
    then try this:
    CASE
    WHEN YEAR(FINANCE_PERIOD.FP_START) = @Prompt('Enter Year','N',here give class/object or LOV's,mono,free) THEN 1 ELSE 0
    END
    Note: In case of Date , you can make it blank (3rd parameter), which gives you calendar at runtime.
    I suggest you try it in step by step like:
    >>  @Prompt('Enter Year','N',here give class/object or LOV's,mono,free)
    Parse it, succeed. Then
    >> YEAR(FINANCE_PERIOD.FP_START)
    Parse it, then
    for each case see LOV's.
    >> at last,  try above CASE WHEN
    Hope it solves you.
    I'm Back
    Merry Christmas

Maybe you are looking for

  • Partition in win 8.1

    i've brough new laptop..hp 15-r014tx... it comes with c: (approx 900 gb) & D:  (approx 19 gb). i want to partition c: drive and add memory to D: .......how can i do that?

  • Help with removing virus? SOCA

    A website called SOCA (Serious organised crime agency) has come up in one of my tabs and i am unable to close it. It is asking for money and I have noticed that I am not the only apple user to have this problem ( I have a macbook pro). Help me close

  • Apple Remote and iTunes

    Some time ago, I changed the setting for my Apple remote such that once iTunes is open and I press the menu button, iTunes becomes hidden. Now, it has become a nuisance as once iTunes is open, the remote will do nothing else but hide iTunes when I pr

  • Error in forms

    Hi, This is the code in when-button-pressed of my form DECLARE jo ora_java.jobject; applicationlist ORA_JAVA.JARRAY; ex ora_java.jobject; listLength NUMBER; loanString VARCHAR2(30000); delimiterPos NUMBER; BEGIN jo:=TasksModuleServiceStub.new; applic

  • Update record failed with "SPOC 003: Error in spool C call: Error from TemS

    Guys I have 4.7 production system with 4 dialog instance The logon groups are configured . For 1 of the application server ,when user does any PO or GR ,update fails with above message The spool is configured to stored on file . SM21 says read /write