Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase ««12

The OLE DB provider "SQLNCLI" for linked server "X" reported a change in schema version between compile time Expand / Collapse
Author
Message
Posted Monday, February 25, 2013 11:04 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Wednesday, July 16, 2014 4:35 PM
Points: 32, Visits: 58
Glen Sidelnikov (9/25/2008)
There is one more scenario. It is using synonyms in SQL 2005.
In this case this is "granted by design". You need to recreate synonym if the table on which synonym was based changed.


Ah hah, this was my issue. Thank you, Glen!

I had a synonym on a table; used Red Gate's data compare to synchronize data between test & production tables which dropped indexes and recreated them... which broke the synonym. Recreating the synonym fixed this error for me.
Post #1423712
Posted Wednesday, October 16, 2013 1:04 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Thursday, March 6, 2014 1:35 AM
Points: 175, Visits: 547
I also encounter this now and then, but with not any specific regularity.

EXEC sp_RefreshView '<View that reverences a linkedserver table>' will also allow the view to be used.

Has anyone encountered this with a view that uses SchemaBinding?
None of my views that generate this message use schemabinding.

Cheers






For better, quicker answers on T-SQL questions, read Jeff Moden's suggestions.

"Million-to-one chances crop up nine times out of ten." ― Terry Pratchett, Mort
Post #1505081
Posted Wednesday, October 22, 2014 9:32 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, December 10, 2014 3:48 AM
Points: 2, Visits: 8
Hi,

If you alter the view or procedure from which you are calling remote view then it will also resolve your issue of this error.

Alter the view and you will have solution.

Also you can use "DBCC FREEPROCCACHE" at your local server to remove the cache.

Thanks,
Anuj Soni
Post #1627939
Posted Thursday, October 23, 2014 10:24 AM
Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: Thursday, October 23, 2014 10:20 AM
Points: 787, Visits: 360
Can anyone explan why an index rebuild causes this error? An index rebuild is not a "schema change".
Post #1628157
« Prev Topic | Next Topic »

Add to briefcase ««12

Permissions Expand / Collapse