'SKY-20160824VTF\yhd' 是无效名称,因为其中包含无效字符

来源:互联网 发布:剑三成男纯阳脸型数据 编辑:程序博客网 时间:2024/05/21 07:14

1、错误描述

执行 Transact-SQL 语句或批处理时发生了异常。 (Microsoft.SqlServer.ConnectionInfo)------------------------------程序位置:   在 Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType)   在 Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(StringCollection sqlCommands, ExecutionTypes executionType)   在 Microsoft.SqlServer.Management.Smo.ExecutionManager.ExecuteNonQuery(StringCollection queries)   在 Microsoft.SqlServer.Management.Smo.SqlSmoObject.ExecuteNonQuery(StringCollection queries, Boolean includeDbContext)   在 Microsoft.SqlServer.Management.Smo.SqlSmoObject.CreateImplFinish(StringCollection createQuery, ScriptingPreferences sp)   在 Microsoft.SqlServer.Management.Smo.SqlSmoObject.CreateImpl()==================================='SKY-20160824VTF\yhd' 是无效名称,因为其中包含无效字符。 (.Net SqlClient Data Provider)------------------------------有关帮助信息,请单击: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=11.00.2100&EvtSrc=MSSQLServer&EvtID=15006&LinkId=20476------------------------------服务器名称: SKY-20160824VTF错误号: 15006严重性: 16状态: 1行号: 1------------------------------程序位置:   在 Microsoft.SqlServer.Management.Common.ConnectionManager.ExecuteTSql(ExecuteTSqlAction action, Object execObject, DataSet fillDataSet, Boolean catchException)   在 Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType)

2、错误原因

   'SKY-20160824VTF\yhd' 是无效名称,因为其中包含无效字符,由错误提示可知,是名称中带有无效字符

3、解决办法

0 1