Hi,
I cannot edit sql tasks or script tasks in VS data tools. This is the error I get:
Cannot show the editor for this task. (Microsoft Visual Studio)
Value does not fall within the expected range. (mscorlib)
------------------------------
Program Location:
Server stack trace:
at Microsoft.SqlServer.Dts.Runtime.PersistImpl.SaveToXML(XmlDocument& doc, XmlNode node, IDTSEvents events)
at Microsoft.SqlServer.Dts.Runtime.DtsContainer.SaveToXML(XmlDocument& doc, XmlNode node, IDTSEvents events)
at Microsoft.SqlServer.IntegrationServices.Designer.Undo.DtsPersistSnapshot.GetSnapshotHelper(IDTSPersist dtsPersist)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
at System.Func`2.EndInvoke(IAsyncResult result)
at Microsoft.DataTransformationServices.Design.DesignUtils.RunOnMtaThreadFunc[TArg1,TResult](Func`2 function, TArg1 arg1)
at Microsoft.SqlServer.IntegrationServices.Designer.Undo.DtsPersistSnapshot.GetSnapshot(IDTSPersist dtsPersist)
at Microsoft.DataTransformationServices.Design.Undo.UndoController.GetFullSnapshot(Object obj)
at Microsoft.DataTransformationServices.Design.Undo.UndoController.GetSnapshot(Object component, MemberDescriptor memberDescriptor)
at Microsoft.DataTransformationServices.Design.Undo.UndoController.ObjectSnapshotManager.TrySaveSnapshot(MemberDescriptor memberDescriptor)
at Microsoft.DataTransformationServices.Design.Undo.UndoController.SnapshotManager.TrySaveSnapshot(Object obj, MemberDescriptor memberDescriptor)
at Microsoft.DataTransformationServices.Design.Undo.UndoController.OnComponentChanging(Object sender, ComponentChangingEventArgs e)
at System.ComponentModel.Design.ComponentChangingEventHandler.Invoke(Object sender, ComponentChangingEventArgs e)
at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IComponentChangeService.OnComponentChanging(Object component, MemberDescriptor member)
at Microsoft.DataTransformationServices.Design.DtrPackageDesigner.DoDefaultActionForTask(TaskHost task)
I've tried repairing/uninstalling/re-installing/applying latest service packs etc. Nothing works.
I've also tried with VS 2012 and 2014. Same error.
Note that the I've installed the same product on other machines using the same dvd and everything works fine so I doubt it's a case of corrupt media file.
I'm running Sql Server 2012 Standard SP1 on Windows 7 Pro and have full admin rights on the machine.
Here's the VS Studio info:
Microsoft Visual Studio 2010
Version 10.0.40219.1 SP1Rel
Microsoft .NET Framework
Version 4.5.50938 SP1Rel
Installed Version: IDE Standard
Microsoft Visual Basic 2010 01011-532-2002361-70528
Microsoft Visual Basic 2010
Microsoft Visual C# 2010 01011-532-2002361-70528
Microsoft Visual C# 2010
Microsoft Visual Studio Tools for Applications 3.0 01011-532-2002361-70528
Microsoft Visual Studio Tools for Applications 3.0
Microsoft Visual Web Developer 2010 01011-532-2002361-70528
Microsoft Visual Web Developer 2010
MySQL for Visual Studio 1.1.4
Data design and management tools for MySQL. Copyright © 2007-2014 Oracle, Inc.
SQL Server Analysis Services
Microsoft SQL Server Analysis Services Designer
Version 11.0.5058.0
SQL Server Integration Services
Microsoft SQL Server Integration Services Designer
Version 11.0.5058.0
SQL Server Reporting Services
Microsoft SQL Server Reporting Services Designers
Version 11.0.5058.0
Visual Studio 2010 Shell (Isolated) - ENU Service Pack 1 (KB983509) KB983509
This service pack is for Visual Studio 2010 Shell (Isolated) - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/983509.
SQL Prompt 6
For more information about SQL Prompt, see the Red Gate website at
http://www.red-gate.com
For customer support, call 1-866-733-4283.
Copyright © 2006–2009 Red Gate Software Ltd
Any help would be much appreciated.
Thanks
Nico