Thursday, March 29, 2012
Error 1911 replication column does not exist
Destination server MSSQL2K
I'm setting up replication for reporting purposes to another SQL-server.
When I start the distribution agent I get the following error:
Column name '<here's the name of a column I didn't publish and don't need to replicate>' does not exist in the target table.
Error number: 1911
I assume this is because of some dependencies between the columns.
Is there any way I can replicate without those columns?
RegardsDependency doesn't get replicated unless you specified. If you think the error was caused by the column dependency, check the unique index and the foreign key constraint to see whether the 'for replication' is checked or not.|||Thanks, you gave me the hint I needed.
I was scripting the creation of the publication because I need to setup replication for over 20 db's.
In the script you have to change the sp_addarticle @.schema_option value.
Regards
Friday, March 9, 2012
Error 0xC0011008 while preparing to load the package
Hello all-
This post is for informational purposes only, as I have solved the issue. However, it was such a sneaky issue that I thought I would share.
I was working from home on a working SSIS package. I deployed via dtutil, and then ran it.
It failed immediatly with the error:
"Error 0xC0011008 while preparing to load the package. Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored."
Nothing on the web helped me.
Well, after about 10 hours of working with it I figured it out.
The first package loaded in SSIS is my parent package, which executes other packages stored in SQL Server.
When I first loaded up the package, my VPN was still connecting. Since I was not on the VPN when this package loaded, it could not validate.
Without any indication, my connection to the SQL Server storing the packages was invalid. All I had to do was open it, and click on OK.
So be aware... If the validation cannot take place, bad things can happen ;-)
Hope this saves someone some time.
BobP
Closing Post.