ERROR: Sequence contains no matching element

Compares and synchronizes the schemas of Oracle databases

ERROR: Sequence contains no matching element

Postby ddelmoli » Mon Sep 23, 2013 11:39 pm

Currently running Program version

I've successfully generated the DS2 schema into a scripts folder, with the only non-default option being to ignore schema names.

However, when I now attempt to synchronize the scripts folder with a new, empty schema in the database I'm getting an error when Schema Compare attempts to register the scripts folder as a source. It errors on the CUSTOMERS.sql file saying "Sequence contains no matching element"

23:35:06.142|Error |Engine Service |1 |:Exception in progress dialog
System.InvalidOperationException: Sequence contains no matching element
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
at #QzSc.#1HTc.#ovTc(Table #fvPb)
at #QzSc.#1HTc.#wqg(IFolderSchemaMapper #g33c, SchemaCompareDatabase #RHc, String #iGk)
at Parser.ScriptsFolderPopulator.Populate[#NrPb](Func`3 #50Uc, SchemaObjectCollection`1 #sYrc, String #63Vc, String #vDZb)
at Parser.ScriptsFolderPopulator.#Klh(String #63Vc)
at Parser.ScriptsFolderPopulator.Populate()
at RedGate.Oracle.SchemaCompare.ObjectModel.DatabasePopulator.#oZB(IPopulator #CEE, ICollection`1 #Yysc)
at RedGate.Shared.Controls.ProgressDialogEx.<>c__DisplayClass8.<DoTasks>b__3(Object q)
Posts: 12
Joined: Thu Mar 07, 2013 6:58 pm

Postby neil.anderson » Wed Sep 25, 2013 2:13 pm

Hi Dominic,

Thanks for this. Here is the latest build with this fixed: ... .0.767.exe

Posts: 64
Joined: Tue Sep 28, 2010 1:17 pm

Postby ddelmoli » Thu Sep 26, 2013 2:57 am

Thank you, Neil -- this fixed the issue.
Posts: 12
Joined: Thu Mar 07, 2013 6:58 pm

Return to Schema Compare for Oracle

Who is online

Users browsing this forum: No registered users and 0 guests