尝试执行 SQLXMLBulkLoad 时遇到此错误。这是对象的配置:
Public Shared objbl As New SQLXMLBULKLOADLib.SQLXMLBulkLoad4
objbl.ConnectionString = ReadVariables("Data Source=localhost;Initial Catalog=db1;Integrated Security=True")
objbl.ErrorLogFile = workingdirectory & "\error.log"
objbl.TempFilePath = workingdirectory
objbl.CheckConstraints = True
objbl.KeepIdentity = False
objbl.Transaction = True
objbl.FireTriggers = True
objbl.Execute(workingdirectory & "\xsdtempfile.xsd", fname)
源和目标都在 locahost 上。
我看不到我的连接字符串有什么问题。
错误发生在这一行:
objbl.Execute(workingdirectory & "\xsdtempfile.xsd", fname)
谁能帮我一把?