137 reputation
5
bio website zajmedia.com
location
age
visits member for 3 years, 3 months
seen Aug 18 at 12:40

Jan
5
revised Connection string not workin in Data Source mode
I've added the actual solution to the message body so it is clearly visible...
Jan
5
comment Connection string not workin in Data Source mode
Yeah, was just doing that :). I've added the solution to the message body so it's not just hidden in the comments...
Jan
5
accepted Connection string not workin in Data Source mode
Jan
5
suggested suggested edit on Connection string not workin in Data Source mode
Jan
4
awarded  Commentator
Jan
4
comment Connection string not workin in Data Source mode
It seems running the SQL Browser service solved it! Thanks!
Jan
4
comment Connection string not workin in Data Source mode
Just to clarify, the virtual server is running on Azure, but the SQL instance is actually a local SQL Server 2012 instance running on the server itself, not Azure SQL.
Jan
4
revised Connection string not workin in Data Source mode
added 221 characters in body; edited title
Jan
4
comment Connection string not workin in Data Source mode
Sorry if the question is dumb, I have never needed to use Data Source so it may very well be something obvious. But typical google searches revealed the options above, and those I have exhausted...
Jan
4
comment Connection string not workin in Data Source mode
It is actually the default setup provided by Azure Virtual Machine. I did not change it as I see no need to. Assuming I connect to the default instance, then (local) or some variation of that should work, no? But it does not. Only if I connect via Server=.
Jan
4
asked Connection string not workin in Data Source mode
Nov
22
comment File exists but is unreadable by PHP
I know there can be issues with error reporting but that is not the case here, since errors are reported in the case that there are errors. There are none here, since an empty file is valid according to PHP.
Nov
22
comment File exists but is unreadable by PHP
I don't read the file line by line. I use include().
Nov
22
revised File exists but is unreadable by PHP
More clarification
Nov
22
comment File exists but is unreadable by PHP
Since it works after I save the file with the same content (no change) the code has to be correct. As for reading - since it is generated PHP code - I simply include() the file. If there are code errors in the file, warnings/errors are reported properly, so this is not the issue in this case.
Nov
22
awarded  Editor
Nov
22
revised File exists but is unreadable by PHP
Adding clarification.
Nov
22
asked File exists but is unreadable by PHP
Jul
3
comment after enabling mod ssl apache stops listening on port 80
Wow thanks for posting back your answer! Exactly what I was looking for...
May
6
awarded  Supporter