Showing posts with label virtual. Show all posts
Showing posts with label virtual. Show all posts

Monday, March 26, 2012

intermittent connectivity issues in virtual server images

Hello,
I have a few virtual server images running for development purposes and
have been experiencing intermittent connectivity issues for quite a
while. First of all my configuration...
VPC image 1:
Windows Server 2003 Enterprise Edition SP1
Being used as domain controller and DNS server for all other images
VPC image 2:
Windows Server 2003 Enterprise Edition SP1
SQL Server Enterprise Edition 2000 SP3 (8.00.760)
VPC image 3:
Windows Server 2003 Enterprise Edition SP1
IIS 6.0
.NET Framework 1.0 (for ASP.NET stuff)
All these images are running on a Pentium M 1.75ghz with 2GB of RAM
(which seems to be enough horsepower to handle everything) and using
Microsoft Virtual PC 5.3.582.27 under Windows XP Pro SP2.
On to my problem...
Intermittently, an ASP.NET application I wrote would error out upon
trying to establish a connection to the SQL Server (using
System.Data.SQLClient). I return the error...
"System.Data.SqlClient.SqlException: SQL Server does not exist or
access denied"
...the stack trace doesn't provide much insight as to why. This error
will generally occur multiple times until an attempt succeeds and then
it appears to keep working as long as I don't leave the system idle too
long (i.e. twenty minutes or so).
This could of course be caused by numorous virtual networking problems
but we can eliminate all of that (I think) by this second issue.
Today I attempted to import some data via the DTS Import/Export Wizard
in Enterprise Manager, as soon as I attempt to click Next on the
"Choose a Data Source" dialog I receive...
Error Source: Microsoft OLE DB Provider for SQL Server
Error Description: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server
does not exist or access denied.
Context: Error during initialization of the provider.
This is occuring while running EM on the Virtual Image containing SQL
Server. Someone with more knowledge of how SQL Server establishes
named pipes connections may be able to determine if this eliminates the
virtual network as a culpret or not (I'm not positive it does).
Anyway, ideas?
Thanks,
Ben.
PS I should add, while the errors are being thrown I am still able to
ping the sql virtual image from my iis virtual image. I also have
another ASP.NET app (MS CRM) that is able to communicate with the
server the whole time and I am able to establish a Query Analyzer
connection without fail (using both integrated and sql server
authentication). I'm about stumped.<ben.usenet.alias@.gmail.com> wrote in message
news:1146078164.773174.237320@.j33g2000cwa.googlegroups.com...
> Hello,
> I have a few virtual server images running for development purposes and
> have been experiencing intermittent connectivity issues for quite a
> while. First of all my configuration...
> VPC image 1:
> Windows Server 2003 Enterprise Edition SP1
> Being used as domain controller and DNS server for all other images
> VPC image 2:
> Windows Server 2003 Enterprise Edition SP1
> SQL Server Enterprise Edition 2000 SP3 (8.00.760)
> VPC image 3:
> Windows Server 2003 Enterprise Edition SP1
> IIS 6.0
> .NET Framework 1.0 (for ASP.NET stuff)
> All these images are running on a Pentium M 1.75ghz with 2GB of RAM
> (which seems to be enough horsepower to handle everything) and using
> Microsoft Virtual PC 5.3.582.27 under Windows XP Pro SP2.
> On to my problem...
> Intermittently, an ASP.NET application I wrote would error out upon
> trying to establish a connection to the SQL Server (using
> System.Data.SQLClient). I return the error...
> "System.Data.SqlClient.SqlException: SQL Server does not exist or
> access denied"
> ...the stack trace doesn't provide much insight as to why. This error
> will generally occur multiple times until an attempt succeeds and then
> it appears to keep working as long as I don't leave the system idle too
> long (i.e. twenty minutes or so).
> This could of course be caused by numorous virtual networking problems
> but we can eliminate all of that (I think) by this second issue.
> Today I attempted to import some data via the DTS Import/Export Wizard
> in Enterprise Manager, as soon as I attempt to click Next on the
> "Choose a Data Source" dialog I receive...
> Error Source: Microsoft OLE DB Provider for SQL Server
> Error Description: [DBNETLIB][ConnectionOpen (Connect()).]SQL Serv
er
> does not exist or access denied.
> Context: Error during initialization of the provider.
> This is occuring while running EM on the Virtual Image containing SQL
> Server. Someone with more knowledge of how SQL Server establishes
> named pipes connections may be able to determine if this eliminates the
> virtual network as a culpret or not (I'm not positive it does).
>
What network are the VM's bound to? Your host OS's wireless network?
Here's what I do
1) Install the Loopback Adapter in the Host OS|||<ben.usenet.alias@.gmail.com> wrote in message
news:1146078164.773174.237320@.j33g2000cwa.googlegroups.com...
> Hello,
> I have a few virtual server images running for development purposes and
> have been experiencing intermittent connectivity issues for quite a
> while. First of all my configuration...
> VPC image 1:
> Windows Server 2003 Enterprise Edition SP1
> Being used as domain controller and DNS server for all other images
> VPC image 2:
> Windows Server 2003 Enterprise Edition SP1
> SQL Server Enterprise Edition 2000 SP3 (8.00.760)
> VPC image 3:
> Windows Server 2003 Enterprise Edition SP1
> IIS 6.0
> .NET Framework 1.0 (for ASP.NET stuff)
> All these images are running on a Pentium M 1.75ghz with 2GB of RAM
> (which seems to be enough horsepower to handle everything) and using
> Microsoft Virtual PC 5.3.582.27 under Windows XP Pro SP2.
> On to my problem...
> Intermittently, an ASP.NET application I wrote would error out upon
> trying to establish a connection to the SQL Server (using
> System.Data.SQLClient). I return the error...
> "System.Data.SqlClient.SqlException: SQL Server does not exist or
> access denied"
> ...the stack trace doesn't provide much insight as to why. This error
> will generally occur multiple times until an attempt succeeds and then
> it appears to keep working as long as I don't leave the system idle too
> long (i.e. twenty minutes or so).
> This could of course be caused by numorous virtual networking problems
> but we can eliminate all of that (I think) by this second issue.
> Today I attempted to import some data via the DTS Import/Export Wizard
> in Enterprise Manager, as soon as I attempt to click Next on the
> "Choose a Data Source" dialog I receive...
> Error Source: Microsoft OLE DB Provider for SQL Server
> Error Description: [DBNETLIB][ConnectionOpen (Connect()).]SQL Serv
er
> does not exist or access denied.
> Context: Error during initialization of the provider.
> This is occuring while running EM on the Virtual Image containing SQL
> Server. Someone with more knowledge of how SQL Server establishes
> named pipes connections may be able to determine if this eliminates the
> virtual network as a culpret or not (I'm not positive it does).
> Anyway, ideas?
Oops.
Here's what I do to connect my VM's to each other and my host OS.
-Install the Looblack Adapter in the host OS
How to install the Microsoft Loopback adapter in Windows XP
http://support.microsoft.com/defaul...kb;en-us;839013
Assign a private IP address to the Loopback adapter. I use 10.240.0.1 mask
255.255.255.0
Then in Virtual Server add a Virtual Network for that adapter and enable the
virtual server DHCP server and let DHCP assign a range of the 10.240.0.X
network, reserving some address for VM's with fixed IP's.
David|||I like that idea. I've been toying around with the idea of isolating
my test environment further (putting it on it's own subnet) but I still
do need to connect my virtual servers to the internet for some items.
I'm considering adding a second virtual NIC on my virtual domain
controller. I'd run the internal against the loopback adapter (as you
described) and the second virtual NIC against my laptop's wired NIC.
Then I'd throw ISA on the virtual domain controller to route outside
traffic. Everything on the inside would exist on 10.x.x.x addys with a
255.255.255.0 netmask. The DNS on my virtual domain controller already
forwards unhandled requests to the corporate DNS here and that would
continue as is. The only downside I see to this is that I wouldn't be
able to hit my virtual server's web service from my laptop (I like to
point my laptop's browser at my virtual server running IIS to test
client functionality).
As to my original problem, I think I'm close to a solution (unrelated
to this conversation). I'll post more when I have something concrete
so that other's can benefit from it.
Ben.

intermittent connectivity issues in virtual server images

Hello,
I have a few virtual server images running for development purposes and
have been experiencing intermittent connectivity issues for quite a
while. First of all my configuration...
VPC image 1:
Windows Server 2003 Enterprise Edition SP1
Being used as domain controller and DNS server for all other images
VPC image 2:
Windows Server 2003 Enterprise Edition SP1
SQL Server Enterprise Edition 2000 SP3 (8.00.760)
VPC image 3:
Windows Server 2003 Enterprise Edition SP1
IIS 6.0
.NET Framework 1.0 (for ASP.NET stuff)
All these images are running on a Pentium M 1.75ghz with 2GB of RAM
(which seems to be enough horsepower to handle everything) and using
Microsoft Virtual PC 5.3.582.27 under Windows XP Pro SP2.
On to my problem...
Intermittently, an ASP.NET application I wrote would error out upon
trying to establish a connection to the SQL Server (using
System.Data.SQLClient). I return the error...
"System.Data.SqlClient.SqlException: SQL Server does not exist or
access denied"
...the stack trace doesn't provide much insight as to why. This error
will generally occur multiple times until an attempt succeeds and then
it appears to keep working as long as I don't leave the system idle too
long (i.e. twenty minutes or so).
This could of course be caused by numorous virtual networking problems
but we can eliminate all of that (I think) by this second issue.
Today I attempted to import some data via the DTS Import/Export Wizard
in Enterprise Manager, as soon as I attempt to click Next on the
"Choose a Data Source" dialog I receive...
Error Source: Microsoft OLE DB Provider for SQL Server
Error Description: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server
does not exist or access denied.
Context: Error during initialization of the provider.
This is occuring while running EM on the Virtual Image containing SQL
Server. Someone with more knowledge of how SQL Server establishes
named pipes connections may be able to determine if this eliminates the
virtual network as a culpret or not (I'm not positive it does).
Anyway, ideas?
Thanks,
Ben.
PS I should add, while the errors are being thrown I am still able to
ping the sql virtual image from my iis virtual image. I also have
another ASP.NET app (MS CRM) that is able to communicate with the
server the whole time and I am able to establish a Query Analyzer
connection without fail (using both integrated and sql server
authentication). I'm about stumped.<ben.usenet.alias@.gmail.com> wrote in message
news:1146078164.773174.237320@.j33g2000cwa.googlegroups.com...
> Hello,
> I have a few virtual server images running for development purposes and
> have been experiencing intermittent connectivity issues for quite a
> while. First of all my configuration...
> VPC image 1:
> Windows Server 2003 Enterprise Edition SP1
> Being used as domain controller and DNS server for all other images
> VPC image 2:
> Windows Server 2003 Enterprise Edition SP1
> SQL Server Enterprise Edition 2000 SP3 (8.00.760)
> VPC image 3:
> Windows Server 2003 Enterprise Edition SP1
> IIS 6.0
> .NET Framework 1.0 (for ASP.NET stuff)
> All these images are running on a Pentium M 1.75ghz with 2GB of RAM
> (which seems to be enough horsepower to handle everything) and using
> Microsoft Virtual PC 5.3.582.27 under Windows XP Pro SP2.
> On to my problem...
> Intermittently, an ASP.NET application I wrote would error out upon
> trying to establish a connection to the SQL Server (using
> System.Data.SQLClient). I return the error...
> "System.Data.SqlClient.SqlException: SQL Server does not exist or
> access denied"
> ...the stack trace doesn't provide much insight as to why. This error
> will generally occur multiple times until an attempt succeeds and then
> it appears to keep working as long as I don't leave the system idle too
> long (i.e. twenty minutes or so).
> This could of course be caused by numorous virtual networking problems
> but we can eliminate all of that (I think) by this second issue.
> Today I attempted to import some data via the DTS Import/Export Wizard
> in Enterprise Manager, as soon as I attempt to click Next on the
> "Choose a Data Source" dialog I receive...
> Error Source: Microsoft OLE DB Provider for SQL Server
> Error Description: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server
> does not exist or access denied.
> Context: Error during initialization of the provider.
> This is occuring while running EM on the Virtual Image containing SQL
> Server. Someone with more knowledge of how SQL Server establishes
> named pipes connections may be able to determine if this eliminates the
> virtual network as a culpret or not (I'm not positive it does).
>
What network are the VM's bound to? Your host OS's wireless network?
Here's what I do
1) Install the Loopback Adapter in the Host OS|||<ben.usenet.alias@.gmail.com> wrote in message
news:1146078164.773174.237320@.j33g2000cwa.googlegroups.com...
> Hello,
> I have a few virtual server images running for development purposes and
> have been experiencing intermittent connectivity issues for quite a
> while. First of all my configuration...
> VPC image 1:
> Windows Server 2003 Enterprise Edition SP1
> Being used as domain controller and DNS server for all other images
> VPC image 2:
> Windows Server 2003 Enterprise Edition SP1
> SQL Server Enterprise Edition 2000 SP3 (8.00.760)
> VPC image 3:
> Windows Server 2003 Enterprise Edition SP1
> IIS 6.0
> .NET Framework 1.0 (for ASP.NET stuff)
> All these images are running on a Pentium M 1.75ghz with 2GB of RAM
> (which seems to be enough horsepower to handle everything) and using
> Microsoft Virtual PC 5.3.582.27 under Windows XP Pro SP2.
> On to my problem...
> Intermittently, an ASP.NET application I wrote would error out upon
> trying to establish a connection to the SQL Server (using
> System.Data.SQLClient). I return the error...
> "System.Data.SqlClient.SqlException: SQL Server does not exist or
> access denied"
> ...the stack trace doesn't provide much insight as to why. This error
> will generally occur multiple times until an attempt succeeds and then
> it appears to keep working as long as I don't leave the system idle too
> long (i.e. twenty minutes or so).
> This could of course be caused by numorous virtual networking problems
> but we can eliminate all of that (I think) by this second issue.
> Today I attempted to import some data via the DTS Import/Export Wizard
> in Enterprise Manager, as soon as I attempt to click Next on the
> "Choose a Data Source" dialog I receive...
> Error Source: Microsoft OLE DB Provider for SQL Server
> Error Description: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server
> does not exist or access denied.
> Context: Error during initialization of the provider.
> This is occuring while running EM on the Virtual Image containing SQL
> Server. Someone with more knowledge of how SQL Server establishes
> named pipes connections may be able to determine if this eliminates the
> virtual network as a culpret or not (I'm not positive it does).
> Anyway, ideas?
Oops.
Here's what I do to connect my VM's to each other and my host OS.
-Install the Looblack Adapter in the host OS
How to install the Microsoft Loopback adapter in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;839013
Assign a private IP address to the Loopback adapter. I use 10.240.0.1 mask
255.255.255.0
Then in Virtual Server add a Virtual Network for that adapter and enable the
virtual server DHCP server and let DHCP assign a range of the 10.240.0.X
network, reserving some address for VM's with fixed IP's.
David|||I like that idea. I've been toying around with the idea of isolating
my test environment further (putting it on it's own subnet) but I still
do need to connect my virtual servers to the internet for some items.
I'm considering adding a second virtual NIC on my virtual domain
controller. I'd run the internal against the loopback adapter (as you
described) and the second virtual NIC against my laptop's wired NIC.
Then I'd throw ISA on the virtual domain controller to route outside
traffic. Everything on the inside would exist on 10.x.x.x addys with a
255.255.255.0 netmask. The DNS on my virtual domain controller already
forwards unhandled requests to the corporate DNS here and that would
continue as is. The only downside I see to this is that I wouldn't be
able to hit my virtual server's web service from my laptop (I like to
point my laptop's browser at my virtual server running IIS to test
client functionality).
As to my original problem, I think I'm close to a solution (unrelated
to this conversation). I'll post more when I have something concrete
so that other's can benefit from it.
Ben.

Intermittent Connection Timeouts

I'm having an issue with what appears to be SQL Server 2005 deciding to randomly ignore new connections.

I currently have two virtual servers - one running just SQL Server 2005, the other running Reporting Services, Windows Sharepoint Services and Team Foundation Server.

For 3 weeks, it was all working perfectly, then on Wednesday night the server (and both Virtual Servers) was rebooted after installing the latest updates for Windows. Since then, I've had this issue.

It will work fine for a while, then it'll start throwing loads of Errors and Warnings into the Event Log, all along the lines of unable to connect to the database. The Reporting Services Configuration utility throws up the same problem. Then randomly, it'll start working again.

If anyone has any ideas, they would be much appreciated as this is driving me crazy!

Thanks!

How are users connecting to the database? If they are connecting through a webfarm, I've had similar troubles and might be able to help.
Tim|||

Hi Tim,

I have an ASP.NET 2.0 website connected to a SQL Server 2005 database hosted by a 3rd party that has been running without problems. In the last week we are experiencing intermittent connection problems with the following error - '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'

Any ideas on what might be causing this?

Regards Andy

sql

Friday, February 24, 2012

Integration Services Configuration on Cluster

I've followed the books online help to configure SSIS (move the
MsDtsSrvr.ini.xml file, edit the file to have the correct path virtual server
name, and change the registry), restart all services...and nothing. I can
connect to SSIS fine through Management Studio, but when I click on Stored
Packages -> MSDB it hangs and eventually times out with this error message:
"The SQL Server specified in SSIS service configuration is not present or is
not available. This might occur when there is no default instance of SQL
Server."
I have a no default instance of SQL 05 on a failover cluster.
Also, I've tried every possible combination on the Server section of the
MsDtsSrvr.ini.xml file: server name\instance name, cluster name-.
Is it a dash or a backslash, I've seen different advice in articles, also.
thanks!Perhaps the configuration file isn't on the shared disk and available to
both nodes?
Please check out this article:
http://msdn2.microsoft.com/en-us/library/ms345193.aspx for complete details
of the required configuration.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com .

Integration Services Configuration on Cluster

I've followed the books online help to configure SSIS (move the
MsDtsSrvr.ini.xml file, edit the file to have the correct path virtual serve
r
name, and change the registry), restart all services...and nothing. I can
connect to SSIS fine through Management Studio, but when I click on Stored
Packages -> MSDB it hangs and eventually times out with this error message:
"The SQL Server specified in SSIS service configuration is not present or is
not available. This might occur when there is no default instance of SQL
Server."
I have a no default instance of SQL 05 on a failover cluster.
Also, I've tried every possible combination on the Server section of the
MsDtsSrvr.ini.xml file: server name\instance name, cluster name-.
Is it a dash or a backslash, I've seen different advice in articles, also.
thanks!Perhaps the configuration file isn't on the shared disk and available to
both nodes?
Please check out this article:
http://msdn2.microsoft.com/en-us/library/ms345193.aspx for complete details
of the required configuration.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com .