ODBC -Connection Failed
I create a Test database in SQL server, also I add new user in security folder. Also I add this user in Test database, the permission are: Public, and db_owner. But when I let the user try to open the database, it is ODBC – Connection failed. I add another user a few months ago, she works fine. But the new user I added in didn’t work, did you know why. I am sure I add the same permission as the later user. Thanks.
View Complete Forum Thread with Replies
Related Forum Messages:
"ODBC--Call Failed" And "ODBC--connection To 'SQLServerMYSERVER' Failed"
We are using Access as a front end to a DB we house on a SQL 2000 SP2 box. I have 2 users utilizing this front end and they keep recieving these two errors "ODBC--Call Failed" and "ODBC--connection to 'SQLServerMYSERVER' failed" when trying to run a query window. They get the called failed message 99% of the time. I on the other hand, have no problems doing any of this without a File DSN defined. I verified all the file permissions to rule that out. And I also verified how their permissions were setup in Enterprise Manager and they are set the same as mine. The other users get the errors with or without the File DSN defined. After relinking the tables in the front end, it seems to go away for awhile, but then reappears. The only other way I could get the errors to disappear was to make them a domain admin like myself. When I did that, everything seemed to work fine. Now obviously I can't leave them like that, so I was hoping someone would be able to kindly point me in the right direction on how to resolve this. Please help, I am completely out of ideas here. Thanks in advance. Mike
View Replies !
ODBC Connection Failed, But...
Running a database using sql server. User, rights, password set up on the server side and is functioning fine on the users normal desktop. But here is the problem. When the user goes to a different desktop they have never been on before and a new user profile is created on that desktop, they are unable to access the database. When using the front end (access), an odbc connection failure popup occurs when trying to retrieve data. The wierd part is that the odbc connection was set up under admin tools just like it is setup on the working desktop. Also the connection tests successfully. This leads me to believe that it is a desktop side problem and not server side. It is only a problem when a new user profile is setup on a desktop that the user has never been on before. Any help would be appreciated. Barry
View Replies !
ODBC--connection To 'unlocking' Failed
We are using an Access 2002 front-end with SQL Server 2000 as the database. There is a table (dbo_PrivateGroup) that if you try to open it in the table view, in a query, in a report, or through the application, you get the following Error message: ODBC--connection to 'unlocking' failed. Does anyone know what this means and how I am supposed to get around this? I tried it on the actual server itself and I can read the table through Access, through the application when it is running, and through Enterprise Manager. This machine is logged in with "Administrator" as the user id. The table is on a different database than the other tables in the application. It is a user table. And I checked the permissions and all users have select, insert, and delete permissions allowed. However, when I go to look at the columns property, none are checked for any user and when I go to check the boxes for all columns, I hit Apply, then Close. When I go back into that screen for that given user, the columns weren't saved. My database knowledge is creating tables, stored procedures, and triggers. They don't have a DBA here and my knowledge is limited. Is the problem in SQL Server or Access? I don't know if any of this makes sense. But if it does, any help would be greatly appreciated. Thanks.
View Replies !
Odbc Connection Call Failed
I moved a sql 2000 database to a sql 2005 server. I have a front end in access 2003. I manually created an ODBC data source system DSN using the ODBC Data Source Administrator just like it was on the other server. I can connect fine but users are saying their getting an odbc call fail. I created the connection and relinked the tables to the new server with the moved database. I completed the same task with another database and the user can connect fine. What could be the problem?
View Replies !
Failed When Create An ODBC Connection
Dear all, I want to create an ODBC connection using windows authentication but it always failed. The error display that the database server not found. Is the any configuration I should set before create the ODBC ? Thanks in advance. Best regards, Hery
View Replies !
Msde 2000 Odbc Connection Failed
i have msde 2000 running on a server i am able to create an odbc connection to my db on that pc. when i try to create anpther odbc connection on another pc on that network i get the following error: sql state '01000' server error 2 [microsoft][odbc sql server driver][named pipes] connectionopen (connect()). connection failed sql state '08001' server error 17 [microsoft][odbc sql server driver][named pipes]server does not exist or access denied. what do i have to do to get this odbc connection on this pc working? Thank You, Thomas
View Replies !
Connection Failed - ODBC From Remote SQL SERVER
hello, im trying to create an ODBC data source from a SQL SERVER 2005 database located in a remoted pc. Client----------->PC1 : win 2000 sp4, not sql server Remote server--->PC2 : win 2000 sp4, sql server 2005 express From the Command Prompt, im typing "ping PC2" successfully. After, in the ODBC datasource administrator-->System DNS tab, i choose "sql server" as a new data source , and in the server box , i'm typing PC2/SQLEXPRESS. In the next steps, im typing the user-passwords. The error : connection failed ... [microsoft][odbc sql server driver][named pipes]ConnectionOpen(CreateFile()). Connection failed: SQLState: '08001' .. Client unable to establish connection What goes wrong? I follow the same steps locally, and everything is OK. Sorry for my bad english:cool:
View Replies !
NT Account Faced Connection Failed Via ODBC
SQL State: '28000' SQL Server Error: 18452 [Microsoft][ODBC SQL Server Driver][SQL Server] Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server Connection. Another NT Account (Previously created account) has no problem to connect to the database, however a new NT Account assisged to a new DB role cannot login. Any special rights required for the new NT Account (at NT or SQL database)?
View Replies !
ODBC Data Source Failed Connection
I hope this is a fairly simple problem that I'm just missing. I've installed SQL Server 2005 Developer Edition on Windows XP Professional. I'm trying to create an ODBC data source under an ID I created ("InstallOwner") that is part of the administrators group. In the Wizard, I give it a name and default to the "local" server. I selected to authenticate the ID using SQL Server authentication. However when I enter the ID and Password, I get the following error. "Connection Failed - SQL State=28000, SQL Server Error: 18456, [microsoft][SQL Native Client][SQL Server] Login Failed for user "InstallOwner". If I use the "sa" account, it works fine. Can someone point me in the right direction?
View Replies !
Sql Connection Failed Because Of Connection Failure Login Failed For User 'SW8/Guest
Sir i am trying to connect sql from my LAN to my networked computers but whenever i tried to register it through Enterprise manager i get following "SQL Server registration failed because of the conection failure displayed below.Do you wish to Register anyway? Login failed for user 'SW17/Guest' where SW17/ is my another computer name... i have checked tcp and named pipes and confirm username for sql authentication too please help me as i being late submit my project
View Replies !
Can't Find SQL Native Client In ODBC Connection Manager In SQL Server Open Database Connectivity (ODBC)
I apologize if this is not the correct forum for this posting. Looking at the descriptions, it appeared to be the best choice. I am running Windows XP Pro SP2. I have installed the SQL Native Client for XP. However, when I try to add a new data source through ODBC Connection Manager, SQL Native Client is not listed as an option. I have followed this procedure on three other systems with no problems. What would be causing the SQL Native Client to not show up in the list of available ODBC data sources?
View Replies !
Failed OLEDB Connection: Cannot Aquire Connection From Connection Manager
I have a package that uses a for loop to iterate through an unknown amount of excel files and pull their data into a table. However, there will be cases when the file is corrupted or has some sort of problem so that either the transformation will fail or the excel data source will fail with an oledb connection error. Could anyone suggest a clean way to trap these errors? Specifically, the "Cannot Aquire Connection from Connection Manager", which is the excel connection. Thanks, John T
View Replies !
Failed To Acquire Connection / The AcquireConnection Method Failed
I am running the Sept CTP. I have created a SSIS package that pulls data from a text file and inserts into a database. When I run the package on the DB server it runs fine. I have moved the package the the web server (we are attempting to kick off the package from a web site) and we get connections errors. We are running the package using dtexec from the command line.
View Replies !
Lost Connection To MySQL During Query In My ODBC Connection
I am trying to connect Visual Studio 2005 here in the Philippines to a MySQL server in CA, USA using the Connector/ODBC using the following parameters: DSN = mysqlodbc Server = host376.ipowerweb.com userid = myuid password = mypassword when i used the port 3036 i got the can't connect to MySQL on server blabla(10060) when i used the port 8087 i got the "Lost connection to MySQL during query. How do i connect successfully?
View Replies !
SSPI Handshake Failed With Error Code 0x8009030c While Establishing A Connection With Integrated Security; The Connection Has Be
Hello, I have a sql 2005 server, and I am a developer, with the database on my own machine. It alwayws works for me but after some minutes the other developer cant work in the application He got this error Login failed for user ''. The user is not associated with a trusted SQL Server connection. [CLIENT: 192.168.1.140] and When I see the log event after that error, it comes with another error. SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has been closed. [CLIENT: 192.168.1.140] He has IIS5 and me too. I created a user on the domain called ASPSYS with password, then in the IIS on anonymous authentication I put that user with that password, and it works, on both machines. and in the connection string I have. <add key="sqlconn" value="Data Source=ESTACION15;Initial Catalog=GescomDefinitiva;Integrated Security=SSPI; Trusted_Connection=true"/> I go to the profiler, and I see that when he browses a page, the database is accesed with user ASPSYS, but when I browse a page, the database is accesed with user SElevalencia. Thats strange. The only way that the other developer can work again on the project is to restart the whole machine. He has windows xp profession, I have windows 2000. If you want me to send logs please tellme
View Replies !
Login Failed;0xC0202009; Cannot Acquire Connection From Connection Manager
hi all, i got the error, when i run my package after deploy into the server machine; i can able to run that package in my local machine, if i deploy it to the server or some remote machine, its not running, and rises error messages, that says cant accquire connection from the connection manager; the problem might be with the login name and password; i could not see any password in any of my config file, or connection manager while running the package. how to resolve this problem?? please help me!
View Replies !
ODBC: Call Failed
Hello,I have a vb program that connects to odbc to an sqlexpress server. Wheni try to write data to the db, i get this message:Release Error: Script #1 (Ascent Capture Database) [3146 Index Table(dbo.DIGIDOS): ODBC: de oproep is mislukt.]"de oproep is mislukt" is dutch for "Call failed"It is an on/off problem, sometimes it works perfectly, but when i tryfor the second time i get the error message again. Also found asuggestion on the internet to walk through the errors of thedbengine.error but this gave me nothing more then the shown error.I am using windows xp and a local SQLexpress 2005 server. I am usingthe sql server odbc driver 2000.85.1117.00 or should i been using thesql native client version 2005.90.1399.00 ?Can someone explain to me what i must do to correct this problem. ?Thnx,JohanThe Netherlands
View Replies !
ODBC-- Call Failed When Using VPN
Hello all. Please excuse my lack of poper terminology when describing my issue to you, as I am very new to databases. I have set up a SQL Server database which connects via MS Access. The application works fine, except when trying to connect through VPN. Through System DSN, I changed the server name (FSERVER) to the server IP address, and test completed successfully. I am also able to ping the server when connected via VPN. However, when I try to start the application, I receive the following error after several seconds: ODBC-- call failed. That's it. No other information about the error. I read somewhere to make sure the MDAC versions are the same, which they are. As I say, I am quite new to this, but would really appreciate any guidance to help me through. Thanks in advance! Nils
View Replies !
ODBC -- Call Failed
Hello all, I have a problem which I can't seem to understand what is the cause. Please help!!! I have this access which run under oracle 10g. Here is the code (below) that I always get error in. When I got into this error, I go to Control Panel -> Administrative Tools-> Data Sources (ODBC) then I choose on acc (microsoft Access Driver (*.mdb)) and click Configure. I select the access and click repair. It get through and I thought that I solve the error, but every time that I close and open the access when try to run, I receive the same error again. If I goes to the same process, click repair. It work, but I have to do it every time that I close and re-open the access. Does anyone know how to make it default so that I don't have to go the same process every time. Thank you. Run-time error '-2147467259 (80004005)': ODBC -- call failed. Code Snippet Dim White As Object Set White = CreateObject("APToolkit.Object") White.openoutputfile "C:White_" & controlno & ".pdf" White.openinputfile "C:White.pdf" White.setmasterquery "DSN=acc", "", "", "-1", "select e.*, f.* from prod_test e, stc f where e.control_number=" & controlno White.addrelatedquery "DSN=acc", "", "", "-1", "select *, PROD_items.TOT & ' (kgs)' as TOT, CDbl([qty]/300)*CDbl([price]) as PRICE from PROD_ITEMS where control_number=" & controlno & "", "True" White.setdbmultirowseparator "" White.doformformatting = True White.SetDefaultDBMergeFlag -998 White.FlattenRemainingFormFields = True White.dbtoform False White.resetformfields White.closeoutputfile Set White= Nothing
View Replies !
ODBC Connect Failed In SQL Job
I am running SQL Server 2000 sp4 in Win Server 2003. I have a DTS packages which connects to FileMaker 6 files via the ODBC driver installed with FielMaker. The DTS packages work correctly when executed directly. However, when executed from a SQL Server Agent job, the same DTS packages fail. Always with the same message: Error: -2147467259 (80004005); Provider Error: 16394 (400A) Error string: [FileMaker][ODBC FileMaker Pro driver][FileMaker Pro]Connect failed Error source: Microsoft OLE DB Provider for ODBC Drivers Searching for info on the above message seems to indicate a permissions problem. However, I am running the jobs with an full administrator account. All connections and the FielMaker files reside on the one server. Any help on this would be greatly appreciated. Thank you.
View Replies !
Assertion Failed! Error With ODBC 3.7
I am getting an error with ODBC 3.7 (from MDAC 2.1 SP2) when I try to connect to SQL 7.0. When I try to connect, the error goes like this : Assertion failed Program: c:windows undll.exe File: ..src/sqlsspi.c Line: 119 Expression: Count Thank you for any help!
View Replies !
ODBC-Call Failed - Access
We have this fairly simple Access database with a link table to a view in an SQL Server. The Select Query in Access is a simple select from this view with a view criteria set. Nothing fancy. What is driving is moderately crazy is that this Select Query in Access seems to work fine for months and than all of a sudden (same query performed around the same time with about the same workload on the SQL-Server) it responses with the helpful "ODBC-Call Failed" message. Closing the Access database, taking a coffee, coming back againg and try the exact same Select Query normally works, no "ODBC-Call Failed" message. It not happens always, mosty we're fine. When it happens it happens for all subsequent queries tried. We have to close and reopen the Access database and pray to the good Lord that it works. We would be very interested in someone with a solution to this problem.
View Replies !
MS Access ODBC Call Failed
I am having an issue that i can't seem to resolve. By no means am I an expert with odbc connections and what not but any help would be great. here is my issue. I have a 64 Bit terminal server that is running MS Access. I have defined my DSN within the 32 bit admin utility and it connects without a problem As soon as i try to link tables and make a connection to the database from within Access i recieve an "ODBC CALL FAILED" message. I enabled tracing and here is what i got.....this doesn't mean anything to me but hopefully it does to someone..... PaintJobShip_Ma 1388-ecc ENTER SQLAllocEnv HENV * 002DB3C4 PaintJobShip_Ma 1388-ecc EXIT SQLAllocEnv with return code 0 (SQL_SUCCESS) HENV * 0x002DB3C4 ( 0x07f42538) PaintJobShip_Ma 1388-ecc ENTER SQLAllocConnect HENV 07F42538 HDBC * 002DB4D4 PaintJobShip_Ma 1388-ecc EXIT SQLAllocConnect with return code 0 (SQL_SUCCESS) HENV 07F42538 HDBC * 0x002DB4D4 ( 0x07f425e0) PaintJobShip_Ma 1388-ecc ENTER SQLSetConnectOption HDBC 07F425E0 SQLINTEGER 103 <SQL_LOGIN_TIMEOUT> SQLPOINTER 0x00000014 PaintJobShip_Ma 1388-ecc EXIT SQLSetConnectOption with return code 0 (SQL_SUCCESS) HDBC 07F425E0 SQLINTEGER 103 <SQL_LOGIN_TIMEOUT> SQLPOINTER 0x00000014 (BADMEM) PaintJobShip_Ma 1388-ecc ENTER SQLSetConnectAttrW SQLHDBC 07F425E0 SQLINTEGER 30002 <unknown> SQLPOINTER [Unknown attribute 30002] SQLINTEGER -3 PaintJobShip_Ma 1388-ecc EXIT SQLSetConnectAttrW with return code 0 (SQL_SUCCESS) SQLHDBC 07F425E0 SQLINTEGER 30002 <unknown> SQLPOINTER [Unknown attribute 30002] SQLINTEGER -3 PaintJobShip_Ma 1388-ecc ENTER SQLDriverConnectW HDBC 07F425E0 HWND 000800D4 WCHAR * 0x4BF78088 [ -3] "****** 0" SWORD -3 WCHAR * 0x4BF78088 SWORD 2 SWORD * 0x00000000 UWORD 1 <SQL_DRIVER_COMPLETE> PaintJobShip_Ma 1388-ecc EXIT SQLDriverConnectW with return code -1 (SQL_ERROR) HDBC 07F425E0 HWND 000800D4 WCHAR * 0x4BF78088 [ -3] "****** 0" SWORD -3 WCHAR * 0x4BF78088 SWORD 2 SWORD * 0x00000000 UWORD 1 <SQL_DRIVER_COMPLETE> DIAG [S1000] [Oracle][ODBC][Ora]ORA-06413: Connection not open. (6413) DIAG [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed (0) DIAG [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed (0) PaintJobShip_Ma 1388-ecc ENTER SQLErrorW HENV 07F42538 HDBC 07F425E0 HSTMT 00000000 WCHAR * 0x002DB390 (NYI) SDWORD * 0x002DB3DC WCHAR * 0x036A4458 SWORD 4095 SWORD * 0x002DB3C8 PaintJobShip_Ma 1388-ecc EXIT SQLErrorW with return code 0 (SQL_SUCCESS) HENV 07F42538 HDBC 07F425E0 HSTMT 00000000 WCHAR * 0x002DB390 (NYI) SDWORD * 0x002DB3DC (6413) WCHAR * 0x036A4458 [ 102] "[Oracle][ODBC][Ora]ORA-06413: Connection not open. a 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0" SWORD 4095 SWORD * 0x002DB3C8 (102) PaintJobShip_Ma 1388-ecc ENTER SQLErrorW HENV 07F42538 HDBC 07F425E0 HSTMT 00000000 WCHAR * 0x002DB390 (NYI) SDWORD * 0x002DB3DC WCHAR * 0x036A44D6 SWORD 4032 SWORD * 0x002DB3C8 PaintJobShip_Ma 1388-ecc EXIT SQLErrorW with return code 0 (SQL_SUCCESS) HENV 07F42538 HDBC 07F425E0 HSTMT 00000000 WCHAR * 0x002DB390 (NYI) SDWORD * 0x002DB3DC (0) WCHAR * 0x036A44D6 [ 66] "[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed" SWORD 4032 SWORD * 0x002DB3C8 (66) PaintJobShip_Ma 1388-ecc ENTER SQLErrorW HENV 07F42538 HDBC 07F425E0 HSTMT 00000000 WCHAR * 0x002DB390 (NYI) SDWORD * 0x002DB3DC WCHAR * 0x036A456C SWORD 3957 SWORD * 0x002DB3C8 PaintJobShip_Ma 1388-ecc EXIT SQLErrorW with return code 0 (SQL_SUCCESS) HENV 07F42538 HDBC 07F425E0 HSTMT 00000000 WCHAR * 0x002DB390 (NYI) SDWORD * 0x002DB3DC (0) WCHAR * 0x036A456C [ 66] "[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed" SWORD 3957 SWORD * 0x002DB3C8 (66) PaintJobShip_Ma 1388-ecc ENTER SQLErrorW HENV 07F42538 HDBC 07F425E0 HSTMT 00000000 WCHAR * 0x002DB390 (NYI) SDWORD * 0x002DB3DC WCHAR * 0x036A4602 SWORD 3882 SWORD * 0x002DB3C8 PaintJobShip_Ma 1388-ecc EXIT SQLErrorW with return code 100 (SQL_NO_DATA_FOUND) HENV 07F42538 HDBC 07F425E0 HSTMT 00000000 WCHAR * 0x002DB390 (NYI) SDWORD * 0x002DB3DC WCHAR * 0x036A4602 SWORD 3882 SWORD * 0x002DB3C8 PaintJobShip_Ma 1388-ecc ENTER SQLFreeConnect HDBC 07F425E0 PaintJobShip_Ma 1388-ecc EXIT SQLFreeConnect with return code 0 (SQL_SUCCESS) HDBC 07F425E0 any help would be great....thanks.
View Replies !
ODBC--Call Failed - Collation Conflict
Hi Everyone, I am fairly new to MS-SQL so excuse my ignorance if I have any. I am trying to add and link a new table to an existing database. I can add the database and colums and add some data into it, and even run a query on it. However, if I try to run a query using the new table and and existing table (linked) I get the following error: ODBC--call failed. [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot resolve collation conflict for equal to operation. (#446) Any ideas? my Server and SQL specs: SBS2003 & MSSQL ver 8.0
View Replies !
ODBC - Call Failed (Error 3146)
Hi there, I have a MS access linked to MS SQL server 2000 through ODBC. When I make a parameter query in a specific column, I got the following message ODBC - Call failed (Error 3146). I went to MS web site and upgraded sp1, sp2 and sp3. But i did not help. Someone can figure out what the problem is. Thank in advance - Loi -
View Replies !
ODBC - Update On Linked Table Failed
I have upgraded a SQL Server 6.5 database to version 7.0 and trying to access it via MS Access linked table and getting the above error + time out. I have added a non clustered index on the timestamp column and while this worked briefly, it has regressed to failing with the same error again. Has any one encountered this problem/resolved this problem? Cheers ss
View Replies !
ODBC Call Failed, How To Trap Error?
Hi All, I have a database with primary and Unique key contraints on SQL Server 2000. I'm front ending it with Access 2k. I want to trap the error when the Unique key constraint is hit, but i can't capture the error number. All attempts return error 0. The error i get is [Microsoft][ODBC SQL Server Driver][SQL Server]Violation of UNIQUE KEY constraint 'IX_lut_Referral_Source'. Cannot insert duplicate key in object 'lut_Referral_Source'. (#2627)[Microsoft][ODBC SQL Server Driver][SQL Server]The statement has been terminated. (#3621) I've tried the soultion given here http://support.microsoft.com/kb/q185384 but now get a Type mismatch error on errStored SaveRecODBCErr: ' The function failed because of an ODBC error. ' Below are a list of some of the known error numbers. ' If you are not receiving an error in this list, ' add that error to the Select Case statement. For Each errStored In DBEngine.Errors Thanks for your help
View Replies !
ODBC Call Failed Access 2003
The ODBC call failed when using a call to an ODBC database pervasive v9.52. Only one dataset in the whole database set gives this problem? Who has experience with the same problem?
View Replies !
ODBC Called Failed During SQL Insert Into Call
Hi Wrote this snipet of code to use Insert Into. I have an ODBC connection to Oracle with the Tables linked. I can edit, add write querries and do everything I need to do except do an Insert Into. So I am thinking it is my code and seeking guidance. I select add data from a button on the form. It then calls the code below. I know it is making it up to the db.execute statement and failing at that point. Funny thing is I only get the error "ODBC Call Failed" and no other snippets of information. On top of that I can not relink to the tables as they are now unaccessible and I have to completely close down the program and restart. Any help/assistance will be greatly appreciated. Thank you, Here is the code: Code Start: Private Sub btn_add_rca_record_Click() On Error GoTo Err_btn_add_rca_record_Click Dim db As Database Dim rsCust As Recordset Dim strSQL As String Dim nbrRcaTicketId As Long Set db = CurrentDb nbrRcaTicketId = (100 + (DCount("*", "RCA_TABLE"))) strSQL = "Select * from RCA_TABLE " Set rsCust = db.OpenRecordset(strSQL, DB_OPEN_DYNASET) MsgBox "start of sql string" strSQL = "INSERT INTO RCA_TABLE " strSQL = strSQL & "( RCA_TICKET_ID, REPORT_AUTHOR_STAFF_ID, REPORT_START_DATE, REPORT_CLOSE_DATE, REPORTS_PARTICIPANTS_REVIEW, " strSQL = strSQL & " INCIDENT_TICKET_NUMBER,INCIDENT_SEVERITY_LEVEL,INCIDENT_START_DATE_EVENT,INCIDENT_START_TIME_EVENT,INCIDENT_TIME_SERVICE_DOWN,INCIDENT_END_DATE_EVENT,INCIDENT_TIME_SERVICE_UP,INCIDENT_TIME_UP_TO_CUSTOMER,INCIDENT_OUTAGE_DURATION,INCIDENT_DETECTION_METHOD,INCIDENT_DISCOVERED_BY,INCIDENT_RESP_GROUP,INCIDENT_OWNER,INCIDENT_PRODUCTS_AFFECTED,INCIDENT_CUSTOMERS_AFFECTED, " strSQL = strSQL & " CHANGE_EXTENT_AFFECTED, CHANGE_CAUSED_BY_CHANGE, CHANGE_RFC_NUMBER, CHANGE_BACK_OUT_INITIATED, CHANGE_RFC_FOLLOWUP_NUMBER, " strSQL = strSQL & " PROBLEM_OWNER, PROBLEM_CATEGORY, PROBLEM_STATUS, PROBLEM_IMPACT, PROBLEM_URGENCY, " strSQL = strSQL & " INCIDENT_SECONDARY_TICKET_NBR,INCIDENT_EVENT_DESCRIPTION,PROBLEM_DETAILS,DISCUSSION_DONE_RIGHT,DISCUSSION_PROCEDURAL_ISSUE,DISCUSSION_BETTER_NEXT_TIME,DISCUSSION_PREVENT_PROBLEM,PROBLEM_WWORKAROUND )" strSQL = strSQL & " ALT_TICKET1,ALT_SYSTEM1,ALT_STATUS1,ALT_DATE_OPENED1,ALT_DATE_CLOSED1,ALT_SEVERITY_LEVEL1,ALT_PRIMARYOWNER1,ALT_LINK1,ALT_TICKET2, " strSQL = strSQL & " ALT_SYSTEM2,ALT_STATUS2,ALT_DATE_OPENED2,ALT_DATE_CLOSED2,ALT_SEVERITY_LEVEL2,ALT_PRIMARYOWNER2,ALT_LINK2 )" strSQL = strSQL & " values ('" strSQL = strSQL & nbrRcaTicketId & "','" strSQL = strSQL & Me!nbr_REPORT_AUTHOR_STAFF_ID & "','" strSQL = strSQL & Me!dte_Report_Start_Date & "','" strSQL = strSQL & Me!dte_Report_Close_date & "','" strSQL = strSQL & Me!str_Report_Paticipants_In_Review & "','" strSQL = strSQL & Me!nbr_Incident_Ticket_Number & "','" strSQL = strSQL & Me!nbr_Incident_Severity_Level & "','" strSQL = strSQL & Me!dte_Incident_Start_date & "','" strSQL = strSQL & Me!dte_Incident_Start_Time_Event & "','" strSQL = strSQL & Me!dte_Incident_Time_Service_Down & "','" strSQL = strSQL & Me!dte_Incident_End_date & "','" strSQL = strSQL & Me!dte_Incident_Time_Service_Up & "','" strSQL = strSQL & Me!dte_Incident_Time_Up_To_Customer & "','" strSQL = strSQL & Me!nbr_Incident_Outage_Duration & "','" strSQL = strSQL & Me!nbr_Incident_Detection_Method & "','" strSQL = strSQL & Me!nbr_Incident_Discovered_By & "','" strSQL = strSQL & Me!nbr_Incident_Resp_Group & "','" strSQL = strSQL & Me!str_Incident_Owner & "','" strSQL = strSQL & Me!str_Incident_Products_Affected & "','" strSQL = strSQL & Me!str_Incident_Customers_Affected & "','" strSQL = strSQL & Me!str_Change_Extent_Affected & "','" strSQL = strSQL & Me!str_Change_Caused_by_Change & "','" strSQL = strSQL & Me!nbr_Change_RFC_Number & "','" strSQL = strSQL & Me!str_Change_Back_out_Initiated & "','" strSQL = strSQL & Me!nbr_Change_RFC_Followup_Number & "','" strSQL = strSQL & Me!nbr_Problem_Owner & "','" strSQL = strSQL & Me!nbr_Problem_Category & "','" strSQL = strSQL & Me!nbr_Problem_Status & "','" strSQL = strSQL & Me!nbr_Problem_Impact & "','" strSQL = strSQL & Me!nbr_Problem_Urgency & "','" strSQL = strSQL & Me!nbr_Incident_Secondary_Ticket_Numbers & "','" strSQL = strSQL & Me!str_Incident_Event_Description & "','" strSQL = strSQL & Me!str_Problem_Details & "','" strSQL = strSQL & Me!str_Discussion_Done_Right & "','" strSQL = strSQL & Me!str_Discussion_Procedural_Issue & "','" strSQL = strSQL & Me!str_Discussion_Better_Next_Time & "','" strSQL = strSQL & Me!str_Discussion_Prevent_Problem & "','" strSQL = strSQL & Me!str_Problem_WWorkaround & "','" strSQL = strSQL & Me!nbr_ALT_TICKET1 & "','" strSQL = strSQL & Me!nbr_ALT_SYSTEM1 & "','" strSQL = strSQL & Me!nbr_ALT_STATUS1 & "','" strSQL = strSQL & Me!dte_ALT_DATE_OPENED1 & "','" strSQL = strSQL & Me!dte_ALT_DATE_CLOSED1 & "','" strSQL = strSQL & Me!nbr_ALT_SEVERITY_LEVEL1 & "','" strSQL = strSQL & Me!nbr_ALT_PRIMARYOWNER1 & "','" strSQL = strSQL & Me!str_ALT_LINK1 & "','" strSQL = strSQL & Me!nbr_ALT_TICKET2 & "','" strSQL = strSQL & Me!nbr_ALT_SYSTEM2 & "','" strSQL = strSQL & Me!nbr_ALT_STATUS2 & "','" strSQL = strSQL & Me!dte_ALT_DATE_OPENED2 & "','" strSQL = strSQL & Me!dte_ALT_DATE_CLOSED2 & "','" strSQL = strSQL & Me!nbr_ALT_SEVERITY_LEVEL2 & "','" strSQL = strSQL & Me!nbr_ALT_PRIMARYOWNER2 & "','" strSQL = strSQL & Me!str_ALT_LINK2 & "');" db.Execute strSQL MsgBox nbrRcaTicketId & " has been added to the Customer table." Call ClearControls rsCust.Close db.Close Exit_btn_add_rca_record_Click: Exit Sub Err_btn_add_rca_record_Click: MsgBox Error$ rsCust.Close db.Close GoTo Exit_btn_add_rca_record_Click: End Sub Code End:
View Replies !
ODBC Login Failed When Replay A Profiler Trace
HI. I would like to know if anyone has a resolution to offer for this problem: I am tracing the activity of one user on a test server. I have used the sample6 trace definition files, as suggested on BOL, if you are going to replay the trace. I have filtered the SQL User to the SQL login I want to trace on. The trace appears to capture all of the activity presented byt his one user. However, when I go to replay the trace back on the exact same server, same login, same dbid, etc. I get REPLAY ERROR: [Microsoft][ODBC Sql Server Driver][SQL Server]Login failed for user XXXXX. Any advice would be appreciated. Tx. Gail gwade@is.rjf.com
View Replies !
SQL Server ODBC Error 80004005: Login Failed
Hello, Until a few weeks ago I was very satisfied with my frontend/backend application Access 2003/SQL Server Express. Then I tried to build a website with Dreamweaver 8.0 and connect it to the Server DBase and everything went wrong. My problems are the following: In trying out the connection between DW and SQL I tried and changed some things with no result. I suddenly got a problem with the Norton firewall (wurms part) and with the named instance. At this very moment I sometimes have to switch from ".SQLEXPRESS" to "<machinename>SQLEXPRESS under Windows authentication. (provider: TCP provider, error 0 - no connection because of an active refuse of the goalcomputer)(MSQL Server error 10061). How can I solve this problem? The connection between DW (using ASP) and SQL Server always gives the same error: "ODBC drivers error 80004005 cannot open database x requested by login. The login failed". I tried everything I know (that isn't much by the way) but getting no connection between the two programs. When I test the connection and the recordset in DW everything is OK. Anyone any suggestions? The third problem is the most important. By doing things like (1) en (2) my frontend/backend database has become very very slow (it takes minutes to get a simple query done) and in fact doesnot function at all. When I look in de SQL part everything seems OK and I can open the tables quickly, but in Access the menus work but the forms and queries don't. This problem is very essential to me and I hope there is a solution? I hope I'll get some answers to the above questions. Thanks in advance. Rob
View Replies !
Instead Of Insert Trigger Failed To Update Secondary Table Through ODBC
FYI: I'm using SQL2005 on a windows 2003 server. So, I've written an Instead of Trigger to update a foreign key field based on information in another field of the same record. To add some error handling to the process I updated the Trigger to insert any records that don't have legitimate foreign keys into a second table. This process works great when I test it by just adding a record using the table view in the SQL Management Studio or through a query run in the query browser. However, when a record is added via an ODBC connection I get foreign key constraint errors and records are not added to the second table. If the foreign key is legit the record is added and the part of trigger that updates that keyed field executes just fine. Is anyone aware of this issue? Is there a way around it? I found the following MSKB article but I'm not sure if it applies to my situation: http://support.microsoft.com/kb/304096 Here's my current code, if that track the problem in anyway: Code: ALTER TRIGGER UpdateTicketID ON Email Instead of INSERT AS IF ((Select charindex('{', [subject]) FROM Inserted) = 0) BEGIN INSERT INTO BadEmail ([Subject], Sender, Body, EntryID, LastModificationTime, AttachmentLInk, SendTo, Cc, ContactID) Select [Subject], Sender, Body, EntryID, LastModificationTime, AttachmentLink, SendTo, Cc, ContactID From Inserted END ELSE IF ((Select substring([subject], charindex('{', [subject])+1, (charindex('}', [subject]) - charindex('{', [subject]))-1) From Inserted) NOT In (Select TicketID From Ticket)) BEGIN INSERT INTO BadEmail ([Subject], Sender, Body, EntryID, LastModificationTime, AttachmentLInk, SendTo, Cc, ContactID) Select [Subject], Sender, Body, EntryID, LastModificationTime, AttachmentLink, SendTo, Cc, ContactID From Inserted END ELSE BEGIN INSERT INTO Email ([Subject], Sender, Body, ticketID, EntryID, LastModificationTime, AttachmentLink, SendTo, Cc, ContactID) Select [Subject] , Sender , Body , substring([subject], charindex('{', [subject])+1, (charindex('}', [subject]) - charindex('{', [subject]))-1) , EntryID , LastModificationTime , AttachmentLink , SendTo , Cc , ContactID From Inserted END GO Thank very much for any help. -Will
View Replies !
OLE DB Or ODBC Error: Login Failed For User 'NT AUTHORITYLOCAL SERVICE'
Hi, I need help with a problem: When trying to process a analysis services project, I receive the following error message - OLE DB error: OLE DB or ODBC error: Login failed for user 'NT AUTHORITYLOCAL SERVICE'.; 28000; Cannot open database "DocumentDB" requested by the login. The login failed.; 42000. I am using the service account for impersonation for the datasource. One suggestion I received from the data-access forum was to grant privileges to the local service for the database. I am not clear about the procedure to do that. Can someone please guide me through this? I am posting this question in this forum since this is a authentication/privilege issue. - Sanchet
View Replies !
28000: [Microsoft][ODBC SQL Driver][SQL Server] Login Failed
This one may stump the experts.... Feel like a challenge? The application is VB 4.0, running on a SQL 6.5 DB. The company downsized and only one pc was left to access the application/database, which is mission critical (don't get me started ;-) The current administrator rebuilt this pc and in the process application no longer connects to the DB. The error received is 28000: [Microsoft][ODBC SQL Driver][SQL Server] Login failed Here is where is gets strange. The I've tested from the pc and while I can connect with the appropiate ODBC source driver when using MS Access, when attempting the same with MS Query it gets weird. The tables are displayed, but attempting to access the data results in the following error: incorrect syntax near 'sps.dbo'. Attempting the same from another PC resulted in the ability to access the tables and the data. I removed the File and System and User DSNs that referenced the subject database and recreated them. They test fine, but the problem discribed above persists. Has anyone else experienced a similar problem?
View Replies !
The AcquireConnection Method Call To The Connection Manager &&"&&<Connection Name&&>&&" Failed With Error Code 0xC020200
Hi All, I am getting the following error if I am using the package "Transaction Option=Required" while running through Sql Job: The AcquireConnection method call to the connection manager "<connection name>" failed with error code 0xC0202009. while I running the SSIS package on BI environment, I am getting the following error: [Connection manager "<connection name>"] Error: The SSIS Runtime has failed to enlist the OLE DB connection in a distributed transaction with error 0x8004D00A "Unable to enlist in the transaction.". I know the alternative solution is to make the "Transaction Option=Supported", but in my case I have run the whole flow in a single transaction. I came to know that this has been fixed in the service pack1(ref. to http://support.microsoft.com/kb/914375). FYI.. some time it was running successful. I have taken all the necessary step to run the SSIS package in a distributed transaction(like the steps for MSDTC) and also created the package flow in a sequence. I was going through the link - http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=160340&SiteID=1 but all those didn't solve my problem. If anyone can help me it will be great. or it is a bug in SSIS? Thanks. Jena
View Replies !
Maint Plan - Failed To Acquire Connection &&"Local Server Connection&&"
I created a single step plan that does integrity checks. It fails with the error below. I created a new connection using our clusters virtual sql name. Executed as user: ACCTCOMsqlagent. ...n 9.00.3042.00 for 64-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 1:10:06 PM Error: 2008-02-15 13:10:49.02 Code: 0xC00291EC Source: {0CF32F3D-A8D1-492A-9C0F-AD4E0FC67D14} Execute SQL Task Description: Failed to acquire connection "Local server connection". Connection may not be configured correctly or you may not have the right permissions on this connection. End Error Warning: 2008-02-15 13:10:49.02 Code: 0x80019002 Source: OnPreExecute Description: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors. End Warning Error: 2008-02-15 13:11:31.26 Code: 0xC0024104 Source: Check Database Integrity Ta... The package execution fa... The step failed. The agent and db are running under domain accounts and the job is owned by sa. Thanks for your help.
View Replies !
T-SQL ODBC Connection
Would someone provide a code snip example of a T-SQL script using an ODCB connection against a non-SQL2K database. I can hit the outside database using DTS (so I know it is possible) but I'm having trouble with the parameters using a script. Thanks, Fred.
View Replies !
ODBC Connection
I am currently running a application and a database server they are connected via ethernet. Only the application is connected to our network. Is there a way to connect MS Access to the database server without connecting the database server to the network? I've tried several different approaches and it still dosent work. Any help would be greatly appreciated. Dale
View Replies !
ODBC - ASP Connection
We are upgrading from Access to SQL 2000 for our Intranet backend database. This is on a separate server. I have installed Server 2000 ODBC drivers on the IIS machine. I get the following error message which I can't sort out: Microsoft OLE DB Provider for ODBC Drivers error 80040e4d [Microsoft[ODBC SQL Server Driver][SQL Server]Login failed for user 'NT AUTHORITYANONYMOUS LOGON' The ODBC is set up on the IIS server to use NT Authentication. The account logged on has administrative rights for the domain. The only solution I can think of is to publish to the MSDE I have installed on the IIS machine. Anyone out there able to help? Thanks Bob
View Replies !
ODBC DSN Connection
By defining a System DSN I can specify a simple ODBC connection string like DSN=SomeDSNname. With some repeated testing I've found that using a trusted connection (NT) in the DSN, I can set up either named pipes or TCP/IP and the connection works fine. When I try to set up SQl server authentication I can only get named pipes to work and not TCP/IP. Any ideas?
View Replies !
ODBC Connection
Hi everyone I installed the MS SQL server 7.0 on a Windows NT 4.0 SP 4 server. The network runs with TCP/IP. I want to connect the SQL server by a ODBC-connection. Only a connection on the server (local) was successful. The odbcping-utility reports following: COULD NOT CONNECT TO SQL SERVER SQLState: 08001 Native Error: 6 Info. Message: [Microsoft][ODBC SQL Server Driver][DBNMPNTW]Selected SQL server not found. SQLState: 01000 Native Error: 53 Info. Message: [Microsoft][ODBC SQL Server Driver][DBNMPNTW]ConnectionOpen (CreateFile()). Do I forget to install a SQL server component? Or a network service? Thank you for your help. Greetings Steven
View Replies !
ODBC Connection
I have DSN setup on IIS 4.0 server that is configure using TCP/IP connection to talk to SQL Server to retrieve data for one of our web site. The problem I am having is that the DSN cofiguration connection changes automatically to Named Pipe on the IIS 4.0 server, causing web site to generate ODBC connection failure. This happends at least once a week. To resolve the issue I have to reconfigure the DSN to TCP/IP connection. Does any one have any idea how to resolve this issue. Thank You, Piyush Patel
View Replies !
|