- Remove From My Forums
-
Question
-
Hello all. I am a student attempting to run the ‘Creating a Mobile Application with SQL Server Compact Edition‘ walkthrough on the MSDN site. Unfortunately I am running into a problem I can’t seem to get through…
I am executing the following steps in the walk-through:
Create the publication snapshot
- In SQL Server Management Studio, in Object Explorer, expand the (local) computer node.
- Expand the Local Publications folder, select the publication name, right-click SQLMobile, and then click View Snapshot Agent Status.
- In the View Snapshot Agent Status dialog box, click Start.
Make sure that the snapshot job has succeeded before you continue.
I have checked all the services and permissions, IDs, etc. on my box. They all look good.
I am running WinXP with SP2. The version of SQL Server 2005 is Developer Edition. I have installed SQL Server SP2 to see if that would fix my problems but it didn’t…
The ‘Snapshot Agent Status‘ gets as far as 18% and then I get the following error:
An unspecified error had occurred in the native SQL Server connection component.
This is the full text of the error message:
Error messages:
Message: An unspecified error had occurred in the native SQL Server connection component.
Stack: at Microsoft.SqlServer.Replication.Snapshot.SqlServer.NativeBcpOutProvider.ThrowNativeBcpOutException(CConnection* pNativeConnectionWrapper)
at Microsoft.SqlServer.Replication.Snapshot.SqlServer.NativeBcpOutProvider.ThrowConnectionFailureException(CConnection* pNativeConnectionWrapper)
at Microsoft.SqlServer.Replication.Snapshot.SqlServer.NativeBcpOutProvider.InitializeNativeBcpOutProvider(LogMessageCallback logMessageCallback, String strName, String strApplication, String strHost, String strServer, String strNetwork, Int32 encryptionLevel, String strDatabase, SecurityMode securityMode, String strLogin, SecureString strPassword, Int32 bcpBatchSize, Int32 loginTimeout, Int32 queryTimeout, Int32 packetSize, DeadlockPriority deadlockPriority, String strRowDelimiter, String strFieldDelimiter, Byte syncMethod, Boolean forceOdbcBcp, Boolean forceOleDbBcp, Boolean enableMultipleActiveResultSets, Boolean useReadPastHint)
at Microsoft.SqlServer.Replication.Snapshot.SqlServer.NativeBcpOutProvider..ctor(LogMessageCallback logMessageCallback, String strName, String strApplication, String strHost, String strServer, String strNetwork, Int32 encryptionLevel, String strDatabase, SecurityMode securityMode, String strLogin, SecureString strPassword, Int32 bcpBatchSize, Int32 loginTimeout, Int32 queryTimeout, Int32 packetSize, DeadlockPriority deadlockPriority, String strRowDelimiter, String strFieldDelimiter, Byte syncMethod, Boolean forceOdbcBcp, Boolean forceOleDbBcp, Boolean enableMultipleActiveResultSets)
at Microsoft.SqlServer.Replication.Snapshot.MergeSnapshotProvider.InstantiateBcpOutProviderWorker(String strBcpConnectionName)
at Microsoft.SqlServer.Replication.Snapshot.SqlServerSnapshotProvider.InstantiateBcpOutProvider(String strBcpConnectionName)
at Microsoft.SqlServer.Replication.Snapshot.SqlServer.BcpOutThreadProvider.Initialize()
at Microsoft.SqlServer.Replication.WorkerThread.NonExceptionBasedAgentThreadProc()
at Microsoft.SqlServer.Replication.WorkerThread.AgentThreadProc()
at Microsoft.SqlServer.Replication.MainWorkerThread.AgentThreadProc()
at Microsoft.SqlServer.Replication.AgentCore.BaseAgentThread.AgentThreadProcWrapper() (Source: MSSQL_REPL, Error number: MSSQL_REPL55012)
Get help: http://help/MSSQL_REPL55012Clicking the link from within the Replication Monitor takes you here:
http://www.microsoft.com/products/ee/transform.aspx?ProdName=Microsoft+SQL+Server&ProdVer=09.00.0758.00&EvtSrc=MSSQL_REPL&EvtID=MSSQL_REPL55012
and it is not helpful at all. In addition, a Google search for ‘MSSQL_REPL55’ returned no hits either.
Any help is greatly appreciated. Thanks all.
Answers
-
Hi Jason, you can get the command line for running the snapshot agent by doing a «select * from msdb..sysjobsteps», the row that you are looking for is the one with Subsystem = «Snapshot». If there is only one publication on your system, you should only have one row for that. Once you have the snapshot agent command line, you can start adding the other options that I mentioned. You may also want to use SQL Profiler to find out whether the snapshot agent actually manages to make a BCP connection to the local server. You may also want to see if you can use %ProgramFiles%Microsoft SQL Server90ToolsBinnsqlcmd.exe to connect to your server. Don’t worry about the SynAttackProtect stuff, it is probably not the problem.
-Raymond
It took me almost 2 days to resolve, but the following solved my issue
Even with the latest drivers installed the snapshot agent will still use the older version drivers that come with SQL Server 2019.
This has to do with the Path variable in your environment. Have a look at System Properties, Advanced System Settings, Environment Variables, System variables, Path.
Unless you have changed your defaults you will find %SystemRoot%system32, %SystemRoot% at the top and C:Program FilesMicrosoft SQL ServerClient SDKODBC170ToolsBinn further down.
What you will not find is a path reference to %SystemRoot%SysWOW64 and %SystemRoot%SysWOW641033 which is where the latest OLE drivers get installed on 64 bit systems. The driver files are msoledbsql.dll and msoledbsqlr.rll
So, when the snapshot agent starts it will use the OLE driver files installed relative to its binary somewhere under the C:Program FilesMicrosoft SQL Server branch as it cannot find any others in the Path.
When you insert %SystemRoot%SysWOW64 and %SystemRoot%SysWOW641033 into your system Path variable (make sure this is above any references to C:Program FilesMicrosoft SQL Server…) and the restart your SQL Server instance you should find that your problem goes away.
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/e2c23cda-9e78-4514-bae6-27c6d34767a4/sql-server-2019-snapshot-agent-error?forum=sqldatabaseengine
I finally got it resolved. The issue was missing OLE DB driver.
I just downloaded latest driver. Then I got msoledbsqlr.rll driver in directory C:WindowsSysWOW641033. Then I copied to C:Program FilesMicrosoft SQL Server150COM directory, so it can be found by snapshot.exe, which is executable run by Snapshot Agent.
Alternatvely, one can define environmental variable to point to C:WindowsSysWOW641033 direcotry, so it will be found there.
Another issue might be that 64-bit SQL tries to use 32-bit drivers (msoledbsql.dll, msoledbsqlr.rll), but it wasn’t issue in my case.
answered Mar 14, 2020 at 12:28
Michał TurczynMichał Turczyn
31.6k14 gold badges44 silver badges67 bronze badges
2
I know this question was answered but for future reference ,updating SQL server 2019 to latest CU solved for me.
answered Sep 7, 2020 at 9:23
1
Содержание
- 1033 sql server error
- Answered by:
- Question
- Answers
- 1033 sql server error
- Спрашивающий
- Вопрос
- Все ответы
- 1033 sql server error
- Asked by:
- Question
- mysqldump: Got error: 1033: Incorrect information in file – Quick fix for you
- Reasons and exact fix for mysqldump related errors
- 1. MySQL engine not running
- 2. Innodb corruption
- 3. Out of memory
- Conclusion
- PREVENT YOUR SERVER FROM CRASHING!
1033 sql server error
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Answered by:
Question
I have Windows 7 Ultimate on my system.I installed Visual Studio 2010 ultimate successfully.
After that I am continue to install sql server 2008 R2.
But i am getting error message that
How to solve this issue?
Can any help me on this issue?
Answers
Since the error is unable to open Windows Installer File, you could locate the Windows Installer File and run it manually.
If you couldn’t find Windows Installer File, you could download from http://support.microsoft.com/kb/942288 and install it. Then you could install SQL Server 2008 R2.
Hope this helps.
Maggie
Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.
Источник
1033 sql server error
Спрашивающий
Вопрос
I was trying to configure an SQL Server 2019 transactional replication, but the snapshot agent returns the following error:
Error messages:
Message: An unspecified error had occurred in the native SQL Server connection component.
Stack: at Microsoft.SqlServer.Replication.Snapshot.SqlServer.NativeBcpOutProvider.ThrowNativeBcpOutException(CConnection* pNativeConnectionWrapper)
at Microsoft.SqlServer.Replication.Snapshot.SqlServer.NativeBcpOutProvider.ThrowConnectionFailureException(CConnection* pNativeConnectionWrapper)
at Microsoft.SqlServer.Replication.Snapshot.SqlServer.NativeBcpOutProvider.InitializeNativeBcpOutProvider(LogMessageCallback logMessageCallback, String strName, String strApplication, String strHost, String strServer, String strNetwork, Int32 encryptionLevel, String strDatabase, SecurityMode securityMode, String strLogin, SecureString strPassword, Int32 bcpBatchSize, Int32 loginTimeout, Int32 queryTimeout, Int32 packetSize, DeadlockPriority deadlockPriority, String strRowDelimiter, String strFieldDelimiter, Byte syncMethod, Boolean forceOdbcBcp, Boolean forceOleDbBcp, Boolean enableMultipleActiveResultSets, Boolean useReadPastHint, Boolean usePageLockHint, Boolean securePassword)
at Microsoft.SqlServer.Replication.Snapshot.TransSnapshotProvider.InstantiateBcpOutProviderWorker(String strBcpConnectionName)
at Microsoft.SqlServer.Replication.Snapshot.SqlServerSnapshotProvider.InstantiateBcpOutProvider(String strBcpConnectionName)
at Microsoft.SqlServer.Replication.Snapshot.SqlServer.BcpOutThreadProvider.Initialize()
at Microsoft.SqlServer.Replication.WorkerThread.NonExceptionBasedAgentThreadProc()
at Microsoft.SqlServer.Replication.AgentCore.BaseAgentThread.AgentThreadProcWrapper() (Source: MSSQL_REPL, Error number: MSSQL_REPL55012)
Get help: http://help/MSSQL_REPL55012
Все ответы
Could you please share us more detailed error message about you issue? Please refer to Find errors with the Snapshot Agent.
>> An unspecified error had occurred in the native SQL Server connection component.
If SQL Server is 64-bit, your OLE DB driver also needs 64-bit. If it is 32-bit, SQL Server also needs 32-bit. You can download it from here.
In addition, you could try to repair it by Control Panel-> Programs-> Programs and Features -> right-click Microsoft OLE DB Driver for SQL Server -> Repair.
Here is a similar thread might helpful to you.
MSDN Community Support
Please remember to click «Mark as Answer» the responses that resolved your issue, and to click «Unmark as Answer» if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
I’ve alreaddy read that thread.
On the event viewer there’s an error:
Microsoft OLE DB Driver for SQL Server: Unable to load msoledbsqlr.rll due to either missing file or version mismatch. The application cannot continue.
The file exists both on System32/1033 and SysWOW641033 (not sure if this is the place they should be).
I’ve repaired the OLE DB instalation but the error remains.
Could you please try to uninstall OLE DB Driver for SQL Server and reinstall it both x86 and x64 MSIs?
If that doesn’t work, I recommend you to submit it to the Microsoft feedback at this link https://feedback.azure.com/forums/908035-sql-server .
This site will serve as a connecting point between you and Microsoft, and ultimately the large community for you and Microsoft to interact with.
MSDN Community Support
Please remember to click «Mark as Answer» the responses that resolved your issue, and to click «Unmark as Answer» if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
I can confirm that I have the same problem. Tried re-installing both SQL Server and OLE DB Driver but with no success. I’m still getting the same error.
The SQL installation is a clean one, only database engine and replication installed. I restored AdventureWorks2017 DB directly from its backup and set owner to it. Replication is configured then, with publisher and distributor on the same machine, which is my laptop. When I create a new Transactional Replication Publication, it fails at the Snapshot creation.
I also gave permission to proper accounts for snapshot folder, with no end. Why an out-of-the-box installation and simple replication creation would cause this issue?
I’ve the latest OLE DB driver installed. I’ve installed the x64 version. The x86 version does not install.
Running the snapshot from the command line i get some more detail on the error, but didn’t get me closer to the solution 🙂
Источник
1033 sql server error
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Asked by:
Question
Trying to install SQL Server 2008 Dev Edition ( en_sql_server_2008_developer_x86_x64_ia64_dvd_x14-88839 ) in a Virtual PC session (xp mode) running on Windows 7 Prof 64-bit. (6.1)
— Virtual PC — xp mode running SP3 (latest patches applied) — Clean no previous SQL Server installs.
— Windows 7 professional 64-bit (host) 6.1 — patched with latest updates
1). Initially had problems with .NET Framework installation (as part of SQL install). Resolved this by manually downloading & installing «3.5 en_.net_framework_3.5_service_pack_1_x86_x64_ia64.exe». This was then patched by subsequent update from Windows Update site.
2). SQL Setup now fails with message «SQL Server 2008 Setup has encountered an error» — details below.
Version=131072
UI LCID=1033
General_AppName=SQL Server 2008 Setup
Main_Intro_Bold=SQL Server 2008 Setup has encountered an error.
Main_Intro_Reg=Click ‘Send Error Report’ to send error report information to Microsoft. Click ‘Don’t Send’ to close this dialog without sending the report.
Main_Plea_Bold=
Main_Plea_Reg=Thank you for participating in our product improvement process. Microsoft treats all customer data as confidential and anonymous unless otherwise stated.
Queued_EventDescription=Install Error
UIFlags=0
ReportingFlags=0
EventType=SQL100MSI
P1=10.0.1600.22
P2=Unknown
P3=SqlSupport.msi
P4=0x2D2816FE
P5=0xD2922995
P6=Install_SqlSupport_Cpu32_Action
FilesToKeep=C:Program FilesMicrosoft SQL Server100Setup BootstrapLog20100425_065656Watson_1LogFiles.cab
Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -2068643839
Exit facility code: 1203
Exit error code: 1
Exit message: Failed: see details below
Start time: 2010-04-25 06:57:12
End time: 2010-04-25 06:57:33
Requested action: ComponentUpdate
Log with failure: C:Program FilesMicrosoft SQL Server100Setup BootstrapLog20100425_065656SqlSupport_Cpu32_1_ComponentUpdate.log
Exception help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=10.0.1600.22
Log file: Summary_VirtualXP-59457_20100425_065656_ComponentUpdate.txt
Machine Properties:
Machine name: VIRTUALXP-59457
Machine processor count: 1
OS version: Windows XP
OS service pack: Service Pack 3
OS region: United States
OS language: English (United States)
OS architecture: x86
Process architecture: 32 Bit
OS clustered: No
Package properties:
Description: SQL Server Database Services 2008
SQLProductFamilyCode: <628f8f38-600e-493d-9946-f4178f20a8a9>
ProductName: SQL2008
Type: RTM
Version: 10
SPLevel: 0
Installation location: \tsclientCINSTALLSQL2008en_sql_server_2008_developer_x86_x64_ia64_dvd_x14-88839x86setup
Installation edition: DEVELOPER
User Input Settings:
ACTION: ComponentUpdate
CONFIGURATIONFILE:
HELP: False
INDICATEPROGRESS: False
MEDIASOURCE: \tsclientCINSTALLSQL2008en_sql_server_2008_developer_x86_x64_ia64_dvd_x14-88839
PID: *****
QUIET: False
QUIETSIMPLE: False
X86: False
Источник
mysqldump: Got error: 1033: Incorrect information in file – Quick fix for you
by Jilu Joseph | May 28, 2019
Customers may often lose their website due to the hacking of websites or failure of hard drives
This is where mysqldump is used for any MySQL database backup.
However, it may cause errors such as “mysqldump: Got error: 1033: Incorrect information in file” while taking the database backup.
This error happens due to reasons like corrupted in InnoDB engine, broken MySQL database and much more.
At Bobcares, we often get requests from our customers to fix mysqldump error: 1033 as part of our Server Management Services.
Today, we’ll see how our Support Engineers fix “mysqldump: Got error: 1033: Incorrect information in file” error.
One of the best option to save important files from data loss is back up. In fact, there is a utility like mysqldump is available to take database backup. Also, a major advantage of the mysqldump is that the created files have a very simple and readable internal format .
Let’s see the top 3 reasons for mysqldump error: 1033 and how our Support Engineers fixed it.
1. MySQL engine not running
Many customers face mysqldump error: 1033 as a result of the MySQL engine did not load up when MySQL restarted.
For example, In InnoDB MySQL engine, our Support Engineers run the command mysql> SHOW ENGINES; and got the following result.
Here, the InnoDB engine was disabled. That’s why MySQL engine didn’t load when MySQL rebooted. By using the “lsof” command, our Support Engineers checked which processes were currently running and which files were opened on the server. Then, we found a mysqld process holding the file lock. So, we killed it by using the command kill -9 and then restarted MySQL.
2. Innodb corruption
From our experience in managing server, we’ve seen that customers facing error “mysqldump: Got error: 1033:” while backing up the database. one of the reason to occurs this error is corrupted Innodb.
Let’s take a closer look at an example of this type of errors how our Support Engineers fixed it.
1. Initially, we logged into the server as a root user.
2. Then, we checked the status of Mysql service and fount that Mysql service was currently not running on the server. And, During further investigation, we got below error.
3. InnoDB has an option called “innodb_force_recovery”. This will help to recover MySQL to a stable state and fix corruption. However, doing force recovery can often cause data loss. Luckily, in this case, our Support Engineers could recover the database after setting innodb_force_recovery value as “1”. And, this fixed the issue.
3. Out of memory
Sometimes, the insufficient memory may cause error “mysqldump: Got error: 1033:”.
Then our Support Engineers opened /etc/my.cnf and changed the following parameters.
Then, we restarted the mysql service
Conclusion
In short, the error “mysqldump: Got error: 1033: Incorrect information in file” may happen due to reasons like corrupted in InnoDB engine and broken MySQL database. Today, we saw how our Support Engineers fixed this error.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
Источник
I am trying to set up replication between databases. I followed these tutorials:
- Tutorial: Prepare SQL Server for replication (publisher, distributor, subscriber)
and after:
- Tutorial: Configure replication between two fully connected servers (transactional)
I went through first without any problems. Almost completed the second, but I got stuck on step View the status of snapshot generation
When I try to start the Snapshot Agent, I get an error:
Exception Message: An unspecified error had occurred in the native SQL Server connection component.
I tried to search on the internet MSSQL_REPL55012 (that’s error code I get), but didn’t succeed.
I tried to look in SQL Profiler, Jobs history, Replication Monitor, even ran failing job step from PowerShell, but couldn’t get any more info on that.
What might be the issue? Anybody else stumbled upon that?
I am using:
- SSMS version 15.0.18206.0
- SQL Server engine 15.0.2000.5
Also, I run two instances of SQL Server and have two Management Studios installed, if that’s relevant.
-
January 21, 2009 at 2:19 am
#198874
Hi All,
I have job in sql server which restores database backup and permissions thereafter.
Sometime one step in this job fails with below message. This step restores users permissions on the restored database.
Message
Unspecified error occurred on SQL Server. Connection may have been terminated by the server. [SQLSTATE HY000] (Error 0). The step failed.
Please help…I don’t find any specific error message in log file also.
-
Seggerman-675349
Hall of Fame
Points: 3563
January 22, 2009 at 6:55 am
#931127
I have known unhelpful messages but this has gotta be the worst
no advice from me, but a certain amount of moral support
-
Gail Shaw
SSC Guru
Points: 1004494
January 22, 2009 at 7:12 am
#931141
Nothing in the SQL error log at all?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverabilityWe walk in the dark places no others will enter
We stand on the bridge and no one may pass -
isaid.zx
SSC Journeyman
Points: 75
The same situation, and really, nothing at all on this errorlog instance msg.
Except one thing: when the process of restoring started, the sqlagent log contains the following msg till the end of restoring:
2009-11-01 12:30:02 — ! [298] SQLServer Error: 18456, Login failed for user ‘DIAMONDsqladmin64’. [SQLSTATE 28000]
2009-11-01 12:30:02 — ! [298] SQLServer Error: 4060, Cannot open database «bankDoc» requested by the login. The login failed. [SQLSTATE 42000]
-
pravin-431687
Old Hand
Points: 309
Guys, I found the culprit.
One script in a job was kiiling connections. That was useless script :).
Thanks.
Viewing 5 posts — 1 through 4 (of 4 total)

