sql server - Intermittent database connection issue but only with certain sites -
i have freaky issue i'm struggling find solution to.
i have windows 2012 web server , separate windows 2012 server running sql server 2012. installed.
the servers have 2 network cards - 1 public other direct connection between two.
i have number of database driven websites on web server. connecting same database , in many case using identical connection string.
my code asp , in cases using connection string:
mydbconn_string = "provider=sqloledb; network library=dbmssocn; data source=169.254.210.158; initial catalog=mydatabase; user id=database_user; password=mypassword"
this works fine. indeed had been running , working fine few days.
when start seeing these errors in logs:
[dbnetlib][connectionopen (connect()).]specified sql server not found.. .
re-starting server fixes problem involves downtime , hardly viable solution.
what odd although websites using same connection string - 1 website suffered issue - others continued connect fine.
and website have issues has no problems server pages - public connection appears fine - unable connect database server via tcp ip.
all sites set similar configurations - largely default.
each has own application pool.
so far not happening server has been live 2 days - once in 2 days far.
i've searched internet solutions not common issue!
can help?
Comments
Post a Comment