.net - Why is System.Data.OleDb code contacting Microsoft? -
i noticed on pc week oledbconnection local access database taking 2-4 seconds close (depending on whether or not first call .close() or subsequent one). last week faster.
kb2952664 installed on machine on weekend.
the following code triggers https tunnel odc.officeapps.live.com:
private sub button1_click(sender object, e eventargs) handles button1.click dim conn oledb.oledbconnection dim str string str = "provider=microsoft.ace.oledb.12.0;data source=c:\temp\northwind.accdb;" system.diagnostics.debug.print(datetime.now.tostring("hh:mm:ss.fff tt")) conn = new oledb.oledbconnection(str) conn.open() system.diagnostics.debug.print(datetime.now.tostring("hh:mm:ss.fff tt")) conn.close() system.diagnostics.debug.print(datetime.now.tostring("hh:mm:ss.fff tt")) end sub
how prevent .net contacting ms while running???
here fiddler screenshot showing url accessing. (left out our domain name) didn't see data sending url.
unchecking "allow office connect internet" in access options stops happening.
this isn't ideal, because if want office connect internet other reasons? have granular control on this.
Comments
Post a Comment