简体   繁体   English

查看DTSX设计器时Visual Studio 2015中的NullReferenceException

[英]NullReferenceException in Visual Studio 2015 when viewing DTSX designer

I have an SSIS package that we were using with BIDS 2008. 我有一个SSIS包,我们正在使用BIDS 2008。

I've just opened in the Visual Studio 2015 and upgraded with the wizard, which passed without incident. 我刚刚在Visual Studio 2015中打开并使用向导升级,该向导没有发生任何事故。

When I open the solution i can see all the file, view the XML of the dtsx file but when I open it in designer mode Visual Studio crashes with a NullReferenceException . 当我打开解决方案时,我可以看到所有文件,查看dtsx文件的XML,但是当我在设计器模式下打开它时,Visual Studio崩溃并出现NullReferenceException Details below: 详情如下:

System.NullReferenceException was unhandled
Message: An unhandled exception of type 'System.NullReferenceException' occurred in Microsoft.SqlServer.Msagl.dll
Additional information: Object reference not set to an instance of an object.

Any advise on debugging\\fixing this? 有关调试\\修复此问题的任何建议吗?

Update 更新

Just tried creating a new solution and adding the file, and I have the same behaviour so I suspect the problem is in the dtsx file rather than the solution. 刚尝试创建一个新的解决方案并添加文件,我有相同的行为,所以我怀疑问题是在dtsx文件而不是解决方案。

我知道这个帖子有点老了,但答案可能对某人有所帮助,尝试取消组合控制流中的所有分组控件,然后从2008迁移到你想要的版本,由于一些奇怪的原因,旧版本中的分组会导致VS崩溃(在VS2013中发生了同样的事情)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM