I'm new to DB Mirroring, and I am trying to get it going in a test enviroment between two SQL 2005 Dev Servers. I have followed documentation that I have found but cannot get past a 1418 error when establishing a connection between the servers initially. Does anyone know of any good step by step guides that I could look at, in case I have missed something stupid.
Hey forum...i'm a newbie to SQL, but not IT. However I'm or a network admin than a database admin...so this is completely new.
All i'm trying to do is setup one single database for my mail server to use for grey listing entries. it is using Access right now, and i want to setup a SQL Express database and DSN for it to use.
Does anyone have a good pointer for beginning SQL people?
Hello room, I am newbie to Database mirroring. I have 3 window server 2003 running in window virtual server 2005. Server1 of sql 2005 instance: -- SQLDev01 Server2 of sql 2005 instance: -- SQLDev02 Serve3 of sql 2005 instance: -- SQLDev03 The servers are running on DC and the sql servers was setup with Window authentication mode only. Also, All the sql instances'services are running under single domain user name. e.g: sqladmin.
I have tried to setup manually and t-sql and both running into some issues. Can anyone help and share t-sript to setup database mirroring.? Thanks for the help. TJ
I have master tables that I will be updating from our ERP system. Some examples I have seen take an approach of dropping a table in SQL server then creating it again before importing; some, and probably my choice, append and update; I have not seen an example where records are all deleted then the data appended afterwards. Of the three approaches which is generally regarded as best practise / most efficient?
This is further to my previous post, which has had over thirty viewing but as yet no replies. Is there really no solution to this problem?
I have now given up trying to use the wizard to get mirroring running, as although I'm not entirely sure, some stuff I've read implies that the wizard only works using Windows authentication. Maybe someone can confirm this. Either way, the wizard doesn't work for me (see my previous post).
So instead of using the wizard I've now tried to set up mirroring manually using SQL statements. Following are the steps I've taken. I've tried to replicated exactly what it says in the online documentation. At the end of the post are the SQL statements issued.
1. Enable encrypted outbound connections on the primary server 2. Enable encrypted outbound connections on the mirror server 3. Enable encrypted outbound connections on the witness server 4. Enable encrypted inbound connections on the primary server 5. Enable encrypted inbound connections on the mirror server 6. Enable encrypted inbound connections on the witness server 7. Set mirror's partner to the primary 8. Set primary's partner the mirror (EXPLOSION)
There might be more stuff to do after this, but here is where it breaks down. Again, the error is the same as before when using the wizard:
Msg 1418, Level 16, State 1, Line 1 The server network address "TCP://10.152.58.243:7024" can not be reached or does not exist. Check the network address name and reissue the command.
Which is **INCORRECT** or at least highly unhelpful because: i) netstat -abn shows the sql server process listening on port 7024; no other processes are listening on this port ii) I can telnet to port 7024 on this machine and issue the 16 keystrokes
Please, someone help, I am crying tears of despair. SQL below.
Cheers,
Mike
/* The following is a complete list of the SQL statements issued. Please assume they are issued on the relevant master databases. */
/* -------- 1. ENABLE OUTBOUND CONNECTIONS ON THE PRIMARY -------- */
DROP ENDPOINT Mirroring GO DROP CERTIFICATE BILL_PRIMARY_CERT GO DROP MASTER KEY GO
CREATE MASTER KEY ENCRYPTION BY PASSWORD = '**************' -- real password used GO
CREATE CERTIFICATE BILL_PRIMARY_CERT WITH SUBJECT = 'BILL_PRIMARY_CERT for database mirroring', START_DATE = '01/01/2006', EXPIRY_DATE = '01/01/2099' GO
CREATE ENDPOINT Mirroring STATE = STARTED AS TCP ( LISTENER_PORT=7024 , LISTENER_IP = ALL ) FOR DATABASE_MIRRORING ( AUTHENTICATION = CERTIFICATE BILL_PRIMARY_CERT , ENCRYPTION = REQUIRED ALGORITHM AES , ROLE = ALL ) GO
BACKUP CERTIFICATE BILL_PRIMARY_CERT TO FILE = 'C:certificatesBILL_PRIMARY_CERT.cer' GO
-- then copy certificate to other two machines
/* -------- 2. ENABLE OUTBOUND CONNECTIONS ON THE MIRROR -------- */
DROP ENDPOINT Mirroring GO DROP CERTIFICATE BILL_SECONDARY_CERT GO DROP MASTER KEY GO
CREATE MASTER KEY ENCRYPTION BY PASSWORD = '**************' -- real password used GO
CREATE CERTIFICATE BILL_SECONDARY_CERT WITH SUBJECT = 'BILL_SECONDARY_CERT for database mirroring', START_DATE = '01/01/2006', EXPIRY_DATE = '01/01/2099' GO
CREATE ENDPOINT Mirroring STATE = STARTED AS TCP ( LISTENER_PORT=7024 , LISTENER_IP = ALL ) FOR DATABASE_MIRRORING ( AUTHENTICATION = CERTIFICATE BILL_SECONDARY_CERT , ENCRYPTION = REQUIRED ALGORITHM AES , ROLE = ALL ) GO
BACKUP CERTIFICATE BILL_SECONDARY_CERT TO FILE = 'C:certificatesBILL_SECONDARY_CERT.cer' GO
-- then copy certificate to other two machines
/* -------- 3. ENABLE OUTBOUND CONNECTIONS ON THE WINTESS -------- */
DROP ENDPOINT Mirroring GO DROP CERTIFICATE BILL_WITNESS_CERT GO DROP MASTER KEY GO
CREATE MASTER KEY ENCRYPTION BY PASSWORD = '**************' -- real password used GO
CREATE CERTIFICATE BILL_WITNESS_CERT WITH SUBJECT = 'BILL_WITNESS_CERT for database mirroring', START_DATE = '01/01/2006', EXPIRY_DATE = '01/01/2099' GO
CREATE ENDPOINT Mirroring STATE = STARTED AS TCP ( LISTENER_PORT=7024 , LISTENER_IP = ALL ) FOR DATABASE_MIRRORING ( AUTHENTICATION = CERTIFICATE BILL_WITNESS_CERT , ENCRYPTION = REQUIRED ALGORITHM AES , ROLE = ALL ) GO
BACKUP CERTIFICATE BILL_WITNESS_CERT TO FILE = 'C:certificatesBILL_WITNESS_CERT.cer' GO
-- then copy certificate to other two machines
/* -------- 4. ENABLE INBOUND CONNECTIONS ON THE PRIMARY -------- */
/* enable inbound from the mirror */
DROP CERTIFICATE BILL_SECONDARY_CERT GO DROP USER MIRROR_SECONDARY_USER GO DROP LOGIN MIRROR_SECONDARY_LOGIN GO
CREATE LOGIN MIRROR_SECONDARY_LOGIN WITH PASSWORD = '****************' -- real password used GO
CREATE USER MIRROR_SECONDARY_USER FOR LOGIN MIRROR_SECONDARY_LOGIN GO
CREATE CERTIFICATE BILL_SECONDARY_CERT AUTHORIZATION MIRROR_SECONDARY_USER FROM FILE = 'c:certificatesBILL_SECONDARY_CERT.cer' GO
GRANT CONNECT ON ENDPOINT::Mirroring TO MIRROR_SECONDARY_LOGIN GO
/* enable inbound from the witness */
DROP CERTIFICATE BILL_WITNESS_CERT GO DROP USER MIRROR_WITNESS_USER GO DROP LOGIN MIRROR_WITNESS_LOGIN GO
CREATE LOGIN MIRROR_WITNESS_LOGIN WITH PASSWORD = '****************' -- real password used GO
CREATE USER MIRROR_WITNESS_USER FOR LOGIN MIRROR_WITNESS_LOGIN GO
CREATE CERTIFICATE BILL_WITNESS_CERT AUTHORIZATION MIRROR_WITNESS_USER FROM FILE = 'c:certificatesBILL_WITNESS_CERT.cer' GO
GRANT CONNECT ON ENDPOINT::Mirroring TO MIRROR_WITNESS_LOGIN GO
/* -------- 5. ENABLE INBOUND CONNECTIONS ON THE MIRROR -------- */
/* enable inbound from the primary */
DROP CERTIFICATE BILL_PRIMARY_CERT GO DROP USER MIRROR_PRIMARY_USER GO DROP LOGIN MIRROR_PRIMARY_LOGIN GO
CREATE LOGIN MIRROR_PRIMARY_LOGIN WITH PASSWORD = '****************' -- real password used GO
CREATE USER MIRROR_PRIMARY_USER FOR LOGIN MIRROR_PRIMARY_LOGIN GO
CREATE CERTIFICATE BILL_PRIMARY_CERT AUTHORIZATION MIRROR_PRIMARY_USER FROM FILE = 'c:certificatesBILL_PRIMARY_CERT.cer' GO
GRANT CONNECT ON ENDPOINT::Mirroring TO MIRROR_PRIMARY_LOGIN GO
/* enable inbound from the witness */
DROP CERTIFICATE BILL_WITNESS_CERT GO DROP USER MIRROR_WITNESS_USER GO DROP LOGIN MIRROR_WITNESS_LOGIN GO
CREATE LOGIN MIRROR_WITNESS_LOGIN WITH PASSWORD = '****************' -- real password used GO
CREATE USER MIRROR_WITNESS_USER FOR LOGIN MIRROR_WITNESS_LOGIN GO
CREATE CERTIFICATE BILL_WITNESS_CERT AUTHORIZATION MIRROR_WITNESS_USER FROM FILE = 'c:certificatesBILL_WITNESS_CERT.cer' GO
GRANT CONNECT ON ENDPOINT::Mirroring TO MIRROR_WITNESS_LOGIN GO
/* -------- 6. ENABLE INBOUND CONNECTIONS ON THE WITNESS -------- */
/* enable inbound from the mirror */
DROP CERTIFICATE BILL_SECONDARY_CERT GO DROP USER MIRROR_SECONDARY_USER GO DROP LOGIN MIRROR_SECONDARY_LOGIN GO
CREATE LOGIN MIRROR_SECONDARY_LOGIN WITH PASSWORD = '****************' -- real password used GO
CREATE USER MIRROR_SECONDARY_USER FOR LOGIN MIRROR_SECONDARY_LOGIN GO
CREATE CERTIFICATE BILL_SECONDARY_CERT AUTHORIZATION MIRROR_SECONDARY_USER FROM FILE = 'c:certificatesBILL_SECONDARY_CERT.cer' GO
GRANT CONNECT ON ENDPOINT::Mirroring TO MIRROR_SECONDARY_LOGIN GO
/* enable inbound from the primary */
DROP CERTIFICATE BILL_PRIMARY_CERT GO DROP USER MIRROR_PRIMARY_USER GO DROP LOGIN MIRROR_PRIMARY_LOGIN GO
CREATE LOGIN MIRROR_PRIMARY_LOGIN WITH PASSWORD = '****************' -- real password used GO
CREATE USER MIRROR_PRIMARY_USER FOR LOGIN MIRROR_PRIMARY_LOGIN GO
CREATE CERTIFICATE BILL_PRIMARY_CERT AUTHORIZATION MIRROR_PRIMARY_USER FROM FILE = 'c:certificatesBILL_PRIMARY_CERT.cer' GO
GRANT CONNECT ON ENDPOINT::Mirroring TO MIRROR_PRIMARY_LOGIN GO
/* -------- 7. SET MIRROR'S PARTNER TO THE PRIMARY SERVER -------- */
ALTER DATABASE failover_test SET PARTNER OFF GO
ALTER DATABASE failover_test SET PARTNER = 'TCP://10.152.58.242:7024'; GO
/* -------- 8. SET PRIMARY'S PARTNER TO THE MIRROR SERVER -------- */
ALTER DATABASE failover_test SET PARTNER OFF GO
ALTER DATABASE failover_test SET PARTNER = 'TCP://10.152.58.243:7024'; GO
/* Response: Msg 1418, Level 16, State 1, Line 1 The server network address "TCP://10.152.58.243:7024" can not be reached or does not exist. Check the network address name and reissue the command. */
I am trying to do mirroring using SQL Server Ent. 2005 SP1 on two machines. I was able to create end points on both the machines at the port no.s 5091 and 5092 respectively. I have all the security setting settings for both the users. I am getting error no. 1418 while starting mirroring sessions. Can anybody tell me how to troubleshoot this error?
I am trying to mirror the databse with a witness server.
I have sql server 2005 with SP1 or both my mirror and principle and sql express on my witness.
The problem is when I click start mirroring, I get the following error
The server network address"TCP://serveraddress:7026" can not be reached or does not exist. Check the network address name and that the ports for the local and remote epoints are operational.
(Microsoft SQL server, error:1418)
I have pinged the address it works fine . The telnet comes up with a blank screen.
When I look at the the server log file viewer, I get the following message
An error occured while receiving data: 10054 (An existing connection was forcibly closed by the remote host)
Can I know is it possible that if the database servers' collation in both principal and mirror server might unable to get the mirroring? Because one of database collation is Latin1_General_CI_AS while another server (mirror) is SQL_Latin1_General_CP1_CI_AS. I did several type of troubleshooting but still unable to solve the Error 1418. All the ports are stated as started, able to use telnet to connect to the server's port but still unable to get a connection for the database mirroring. I do really need help on it. Thx for the assistance and kindness.
I want to mirror some database to another server (without witness server)
I have 2 machines, where Microsoft SqL '05 Developer Edition SP1 installed.
Two machines working in domain network, one of them is a server, secondmachine enters into domain with username and password.
I can ping each machine by the ip adress and by the networks name, like a.machine.com, b.machine.com
TCP/IP is enabled in Server Configuration.
What I DO:
1. Create full backup of my database on server A
2. Create full backup of transaction logs on server A
3. Restore my database and transaction logs from backup WITH NO RESTORE on server B
4. On machine A: I open tasks -> mirroring properties dialog (configuring mirroring) and go to configure security dialog.
5. I use standart properties (port, endpoint name, ecryption)
6. On page "Mirror Server Instanse" i click "Browse for more" and type there server B adrress (b.machine.com). Click connect.
7. Server configuring was sucsessful
8. Server network addresses were:
Principal : TCP://a.machine.com:5022
Mirror : TCP://b.machine.com:5022
9. I click Start Mirroring but system gives me error: Error 1418, The Server network address can not be reached or does not exists.
I open logs on machine b (mirror server): Message
Database Mirroring login attempt by user 'NT AUTHORITYAnonymous login.' failed with error: 'Connection handshake failed. The login 'NT AUTHORITYAnonymous login' does not have CONNECT permission on the endpoint. State 84.'. [CLIENT: 172.168.0.130]
and this message before: The database 'mybase' is marked RESTORING and is in a state that does not allow recovery to be run.
When I configured database mirroring, i choose "Windows Authentication", Why 'NT AUTHORITYAnonymous login.' ...??
Hi everyone, I am a newbie on setting up database mirroring and right now I am facing the connection problem during mirroring which is Error 1418 which kinda common problem. I just view through all the threads regarding this problems and BOL also. However, I just based on all the guide to setting it up and the result are still the same.
I did tried on both instance names in my server for mirroring and displayed the same results as well. When I type this t-sql on mirror server :
ALTER DATABASE AdventureWorks SET PARTNER = 'TCP://TSUYOSHI:5022' -- which is the principal server
It shows connection ok to me. However, when I type this t-sql on the principal server :
ALTER DATABASE AdventureWorks SET PARTNER = 'TCP://HAN:5023' -- which is the Mirror server
It shows connection ok to me. However, when I type this t-sql on the principal server :
Msg 1418, Level 16, State 1, Line 1
The server network address "TCP://HAN:5023" can not be reached or does not exist. Check the network address name and that the ports for the local and remote endpoints are operational.
I just wondering that why mirror can get a connection to principal but principal can't? Is that any extra configuration especially security settings that needed to be set within the database (MS sql server 2005) ?
I hope I am able to get any assistance from anyone at here and will appreciate on it. Thanx. Anyway, sorry for the inconvenience
II use the mirroring wizard to config all these three servers(windows authorization is used), the error logs in primary server and mirror server are showed as below a) On primary server: Error: 1474, Severity: 16, State: 1 Database mirroring connection error 4 'An error occurred while receiving data: '10054(An existing connection was forcibly closed by the remote host.)'.' for 'TCP://mymirror.mydomain:5022' b) On mirror server: Database Mirroring login attempt by user 'NT AUTHORITYANONYMOUS LOGON.' failed with error: 'Connection handshake failed. The login 'NT AUTHORITYANONYMOUS LOGON' does not have CONNECT permission on the endpoint. State 84.'.
It states I do NOT have permission on this endpoint, but actually, I grant the permission to the endpoint on both primary and mirror server using command GRANT CONNECT ON ENDPOINT::Mirroring TO [mydomainmyuser]; Also, I followed the article http://msdn2.microsoft.com/en-us/library/ms189127.aspx ,no firewall issue, the endpoint is created and started by checking sys.database_mirroring_endpoints Hope someone can help me resolve this issue... Thank you very much..
Hello all expert databse administrator, i truly new to MS SQL server.
I have installed MS SQL Server 2005 and SQL Server Management Studio express edition.
An error occurred mentioned i cannot connect the sql server. I wonder can i install Full edition of sql server and express edition of management studio.
TITLE: Connect to Server ------------------------------
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. (provider: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.) (Microsoft SQL Server, Error: 10061)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=10061&LinkId=20476
------------------------------ BUTTONS:
OK ------------------------------
Server Name = HOME-C5CCA7A162SQLEXPRESS
This is my error when i try connecting to the server.
Hello all expert databse administrator, i truly new to MS SQL server.
I have installed MS SQL Server 2005 and SQL Server Management Studio express edition.
An error occurred mentioned i cannot connect the sql server. I wonder can i install Full edition of sql server and express edition of management studio.
TITLE: Connect to Server ------------------------------
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. (provider: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.) (Microsoft SQL Server, Error: 10061)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=10061&LinkId=20476
------------------------------ BUTTONS:
OK ------------------------------
Server Name = HOME-C5CCA7A162SQLEXPRESS
This is my error when i try connecting to the server.
After going through the Enterprise Manage mirroring setup, I get the error message ...
The server network address "TCP://MYMACH.mynet.net:5022" can not be reached or does not exist. Check the network address name and reissue the command. (Microsoft SQL Server, Error: 1418)
I have three instances of SQL Server 2005 Enterprise Edtion MSSQLSERVER (primary) endpoint 5022 MSSQLSERVER (partner) endpoint 5023 MSSQLSERVER (witness) endpoint 5024
I have enabled TCPIP and named pipes on all three protocols. In surface configuration I have enabled everything. Each instance has the -T1400 flag set. Each instance is running under mixed security. Each sql Server and sql agent instance runs exactly in the same domain account. The machine has been rebooted. The following tests all pass
I'm new to using SQL server and have a few setup questions. I'm setting up a database for the company I work for. Should I setup a different database for each division in our company (e.g. accounting, project management, estimating, etc.), or should I use just one database? It seems like it would be easier to use one database so I only have to use one connection, but is this ideal? I want all the info from the different divisions to be used together, but at this point I'm confused as to how to connect different databases together, if I were to go this way.
We have a small Ethernet LAN running SBS 2003 R2. I have installed SQL Server 2005 that came with that release on the server. I did not specify a named instance.
1) What is the name of the default instance?
2) When I go to a client computer I cannot see the SQL server instance.
For example on my PC I have VS2005. If I go to Server Explorer, all I see is the local copy of SQL Server 2005 Express I have installed on my PC. I see nothing for the server. Does the server need configuring within SQL Server to allow this. Do I need to change permisions on the folders where the SQL Server 2005 files are stored.
In short, what basic steps do I need to follow to get acces to SQL Server on my server from a client.
3) If I want to create a new named instance, do I have to do Run the whole setup again? There appears to be no managemnt tool for instances of SQL server.
I just installed SQL Server 2005 on Windows Vista Basic platform with just windows authentication, installation went pretty well, but when I tried to logon to the server, it gave me error "Logon failed with error code 18456".
I logged on as administrator, service for SQL server is started, but I can't logon. Can you please help.
I have XP Pro SP2 with MDAC 2.8.1022. It had a problem so I tried to reinstall MDAC and got a Fatal Setup Error. This setup does not support installing on this operating system. I downloaded MDAC 2.8 1177 and get the same error.
I thought of uninstalling/reinstalling SP2, but this is a 2 month old Dell Latitude 610 with factory installed XP. There is no Windows Service Pack 2 option listed in the Control Panel > Add/Remove Programs.
There's some other strange things, so I wonder if they are related.
1) I have Paul set up as an administrator account. Some folders like MSSQL show that account with no permissions. I grant all the permissions to Paul for that folder. I come back later and the permissions are gone.
2) I deleted 20 files in Explorer, but 7 of them did not go away. I deleted those 7 again and they instatnly reappeared. I deleted those 7 again and then they finally went away.
3) I get a slow reaction time for things like Windows Explorer and opening and closing programs. This is suprising since it has 2 gig of RAM and 2.3 Gig processor. Could it be a memory handling problem that's causing OS problems. Probably, the memory didn't handle the OS installation well and the whole system is compromised now.
I'm trying to install SQL Server Management studio 2012 on my Windows 7 (x64) standalone laptop. When I click "New SQL stand-alone installation..." it runs a Setup Support Rules check and always fails "Setup Account Privileges". I've looked into the error and I keep getting that I need to change security rules but I don't have that option in window 7. How do I get around this without having to resort to a computer running Windows Server?
I have Visual Studio 2013 premium installed along with Localdb v11. I just want to connect and manage my database engine through SSMS when developing any application.
I have a problem at pulling data on PDA using Sql Mobile 5 from Sql Server 2000.
It work s for most tables, except for two . Every table of those two has about 1000 records and every record about 150 bytes, so all data is about 150 kbytes.
When I connect to the Sql Server 2000 through LAN, no problem. But when I connect through GPRS - VPN, the error occurs. But, the PDA- phone connection is via Bluetooth and at ping no TimeOut appears, the replies are about 600-700 ms. When connecting with a desktop computer through GPRS no such problem occurs.
So , I don't know what could be the cause: the connection or the Sql Mobile which doesn't retry enough in case of error to transfer all data .
A specialist from the GPRS provider told me to use 3G phone , but , because the GPRS phones have already been bought, this would be a too big investment. So, I don't think this is a good idea in this moment .
I found similar problem on the net and a solution was to use Pooling = False. But , in Sql Mobile there is no pulling parameter available when making the connection string .
Hi All, I need to send out email when error occurs in the package. Is it a good practice to put the send email task in the event handler? Then MaximumErrorCount is set to 1. But for some reason, some time I saw more than one email are sent out. Please advise. Thanks
I'm writing a very basic SSIS job using VS2005, SQL2005 SP2
The job consists of 2 control flow items an XML Transfer which works fine, and an Execute SQL Task which performs the following: Update DVD.Library Set Title = CASE When Title like 'The %' THEN (SUBSTRING(Title, 5, 255) + ', The') When Title like 'An %' THEN (SUBSTRING(Title, 4, 255) + ', An') When Title like 'A %' THEN (SUBSTRING(Title, 3, 255) + ', A') Else Title END;
The error is: [Execute SQL Task] Error: Executing the query "" failed with the following error: "Retrieving the COM class factory for component with CLSID {7816B7A3-CD60-4539-BD38-C35AFC61F200} failed due to the following error: 80040154.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
Mike
The book from which I've taken the sample says nothing about setting the Resultset, connection or parameters properties. Any guidance would be appreciated.
I'm getting the following error message on a basic copy from a datareader (using an ODBC datasource) to a sqlnativeclient. There are no transformations or anything. Don't know what is going on. Any insights are appreciated.
[SQL Server Destination [361]] Error: An OLE DB error has occurred. Error code: 0x80040E14. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E14 Description: "Could not bulk load because SSIS file mapping object 'GlobalDTSQLIMPORT ' could not be opened. Operating system error code 2(The system cannot find the file specified.). Make sure you are accessing a local server via Windows security.".
Trying to update my local developer version of SQL Server 2005 SP1 to SP2. The setup program terminates with the following information dumped from the logs. Not sure if it is related, but I recently installed the SQL Server 2005 Compact Edition (tools, runtime, etc) on the same development machine. It is a little too deep for me to figure out
Darryl
Here are the last few lines of the HotFix.Log
04/24/2007 14:46:48.374 MSP Error: 29527 The setup has encountered an unexpected error in datastore. The action is RestoreSetupParams. The error is : Source File Name: datastorecachedpropertycollection.cpp
Compiler Timestamp: Wed Jun 14 16:27:59 2006
Function Name: CachedPropertyCollection::findProperty
04/24/2007 14:46:48.822 The following exception occurred: Unable to install Windows Installer MSP file Date: 04/24/2007 14:46:48.822 File: depotsqlvaultstablesetupmainl1setupsqlsesqlsedllcopyengine.cpp Line: 800
Now the SQL9_Hotfix_KB921896_sqlrun_sql.msp.log shows this as the last few lines
MSI (s) (A4:38) [14:46:48:630]: Product: Microsoft SQL Server 2005 - Update 'Service Pack 2 for SQL Server Database Services 2005 ENU (KB921896)' could not be installed. Error code 1603. Additional information is available in the log file C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGHotfixSQL9_Hotfix_KB921896_sqlrun_sql.msp.log.
MSI (s) (A4:38) [14:46:48:630]: Note: 1: 1729 MSI (s) (A4:38) [14:46:48:630]: Transforming table Error.
MSI (s) (A4:38) [14:46:48:630]: Note: 1: 2262 2: Error 3: -2147287038 MSI (s) (A4:38) [14:46:48:646]: Transforming table Error.
MSI (s) (A4:38) [14:46:48:646]: Transforming table Error.
MSI (s) (A4:38) [14:46:48:646]: Note: 1: 2262 2: Error 3: -2147287038 MSI (s) (A4:38) [14:46:48:646]: Transforming table Error.
MSI (s) (A4:38) [14:46:48:646]: Note: 1: 2262 2: Error 3: -2147287038 MSI (s) (A4:38) [14:46:48:646]: Transforming table Error.
MSI (s) (A4:38) [14:46:48:646]: Note: 1: 2262 2: Error 3: -2147287038 MSI (s) (A4:38) [14:46:48:646]: Transforming table Error.
MSI (s) (A4:38) [14:46:48:646]: Note: 1: 2262 2: Error 3: -2147287038 MSI (s) (A4:38) [14:46:48:662]: Transforming table Error.
MSI (s) (A4:38) [14:46:48:678]: Transforming table Error.
MSI (s) (A4:38) [14:46:48:678]: Note: 1: 2262 2: Error 3: -2147287038 MSI (s) (A4:38) [14:46:48:678]: Transforming table Error.
MSI (s) (A4:38) [14:46:48:678]: Note: 1: 2262 2: Error 3: -2147287038 MSI (s) (A4:38) [14:46:48:678]: Transforming table Error.
MSI (s) (A4:38) [14:46:48:678]: Note: 1: 2262 2: Error 3: -2147287038 MSI (s) (A4:38) [14:46:48:678]: Product: Microsoft SQL Server 2005 -- Configuration failed.
MSI (s) (A4:38) [14:46:48:678]: Attempting to delete file c:WINDOWSInstaller6749ee3.msp MSI (s) (A4:38) [14:46:48:678]: Unable to delete the file. LastError = 32 MSI (s) (A4:38) [14:46:48:694]: Cleaning up uninstalled install packages, if any exist MSI (s) (A4:38) [14:46:48:694]: MainEngineThread is returning 1603 MSI (s) (A4:2C) [14:46:48:694]: Destroying RemoteAPI object. MSI (s) (A4:04) [14:46:48:694]: Custom Action Manager thread ending. === Logging stopped: 4/24/2007 14:46:48 === MSI (c) (58:E4) [14:46:48:694]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1 MSI (c) (58:E4) [14:46:48:694]: MainEngineThread is returning 1603 === Verbose logging stopped: 4/24/2007 14:46:48 ===
Time: 04/24/2007 14:46:48.854 KB Number: KB921896 Machine: DUTTONDARRYL1 OS Version: Microsoft Windows XP Professional Service Pack 2 (Build 2600) Package Language: 1033 (ENU) Package Platform: x86 Package SP Level: 2 Package Version: 3042 Command-line parameters specified: Cluster Installation: No
********************************************************************************** Prerequisites Check & Status SQLSupport: Failed
********************************************************************************** Products Detected Language Level Patch Level Platform Edition Database Services (MSSQLSERVER) ENU SP1 2005.090.2047.00 x86 DEVELOPER Analysis Services (MSSQLSERVER) ENU SP1 2005.090.2047.00 x86 DEVELOPER Reporting Services (MSSQLSERVER) ENU SP1 9.00.2047.00 x86 DEVELOPER Notification Services ENU SP1 9.00.2047.00 x86 DEVELOPER Integration Services ENU SP1 9.00.2047.00 x86 DEVELOPER SQL Server Native Client ENU 9.00.2047.00 x86 Client Components ENU SP1 9.1.2047 x86 DEVELOPER MSXML 6.0 Parser ENU 6.00.3890.0 x86 SQLXML4 ENU 9.00.2047.00 x86 Backward Compatibility ENU 8.05.1704 x86 Microsoft SQL Server VSS Writer ENU 9.00.2047.00 x86
I am working in an access data project. I have a stored procedure that runs fine when I open and run it directly in sql. When I use the DoCmd.OpenStoredProcedure method in VB code, the stored procedure also runs fine (and successfully adds records as it should) but then I get an error: #7874 "...can't find the object...'[Name of sp'". This halts the vb code and is a problem. Here's example code from a sp that causes this problem:
Insert into Table (Field1, Field2, Field3, Field4) Select Field1, 'Test', Field5, GetDate() from View1
I understand there may be another syntax to run a stored procedure from access visual basic other than DoCmd. I would very much appreciate guidance as to how to do this.
Maybe someone can help me. I am running the reporting service add in for Sharepoint and we have only Basic Authentication running on our site (it is on SSL). When i try and open a report in sharepoint it errors out on me. When i go back into IIS and set Windows and Basic authentication it works, but it requires me to enter our domain and username. We need to only use Basic so it will not need the domain. Anyone have any suggestions on what i can do to make this work?
Hi! I am a beginner doing ETL processes, searching for a step by step detailed guide. Actually I could not map the columns, getting errormessages, and moreover I need to add sql.
dear friends, I installed Sql ServerExpres SP2 spanish vertion in Vista home basic, I Cant Attach a data base, it reports me the error cant access to Model data base, error 916, and when I try to Create a new data Base it Reports me, Permition denied to create a data base in master, error 262
I am trying to download English Vertion, but When I download it olways try to download me the sqlexpres32_ESN.EXE which have these problems.