Quantcast
Channel: SQL Server Master Data Services forum
Viewing all articles
Browse latest Browse all 1311

MDS 2017 Excel Add-on - Object reference not set to an instance of an object when connecting

$
0
0

Hi,

I have followed all documentation and online guides to set up MDS in SQL 2017 RTM. It all works and connects fine, including browse to the hompage from my machine fine.

EXCEPT using the MDS Excel add-in for SQL 2017 (onExcel 2016 64 bit). When adding a connection and clicking the 'Test' or 'Connect' buttons, nothing happens. Then I switched on the VSTO_SUPPRESSDISPLAYALERTS environment variables, and sure enough it's generating an exception:

Object reference not set to an instance of an object.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.MasterDataServices.ExcelAddInCore.AddInAdapter.Connect(ServiceAddress address)
   at Microsoft.MasterDataServices.ExcelAddInCore.Connections.ConnectButton_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Any idea what could be going on?

Many thanks,

Signal_runner


Viewing all articles
Browse latest Browse all 1311

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>