Hossis
یک شنبه 20 دی 1388, 22:55 عصر
من در این خط از فرمان که مربوط به گشودن پایگاه داده است به مشکل برخوردم
If Con.State = ConnectionState.Closed Then Con.Open()
متن خطا به این قرار است
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
در صورت امکان راهنمائی کنید
If Con.State = ConnectionState.Closed Then Con.Open()
متن خطا به این قرار است
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
در صورت امکان راهنمائی کنید