![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I know that this problem has already been fixed in SQL Server 2005 SP 1 for AS 2005 cubes, however it still exists for AS 2000 cubes. When connecting to such cubes using different internet internet browsers (or a different default language in IE) the connection errors occur sometimes. The exception message is "A connection cannot be made. Ensure that the server is running." The stack trace looks like this: Microsoft.AnalysisServices.AdomdClient.XmlaClient. GetTcpClient(ConnectionInfo connectionInfo) Microsoft.AnalysisServices.AdomdClient.XmlaClient. OpenTcpConnection(ConnectionInfo connectionInfo) Microsoft.AnalysisServices.AdomdClient.XmlaClient. Connect(ConnectionInfo connectionInfo, Boolean beginSession) Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.XmlaClientProvider .Microsoft.AnalysisServices.AdomdClient.AdomdConne ction.IXmlaClientProviderEx.ConnectXmla() Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.ConnectToXMLA(Boolean createSession, Boolean isHTTP) Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.Open() Is there any work-around for this? Does Microsoft have any intention to fix this any time soon? This is a show stopper for applications that need to support both AS 2000 and AS 2005 cubes. Stan |
#3
| |||
| |||
|
|
Can you please describe your scenario in more depth? This must be limited to something specific about your scenario or environment -- otherwise there would have been other users running into this... Are you saying it happens sometimes but not always for the same users/environment? Thanks, Akshai -- Try out the MSDN Forums for Analysis Services at: http://forums.microsoft.com/MSDN/Sho...ID=83&SiteID=1 This posting is provided "AS IS" with no warranties, and confers no rights Please do not send email directly to this alias. This alias is for newsgroup purposes only. "Stan Kondrat" <StanKondrat (AT) discussions (DOT) microsoft.com> wrote in message news:88A42CF8-945D-4987-96D3-249D109CA65E (AT) microsoft (DOT) com... I know that this problem has already been fixed in SQL Server 2005 SP 1 for AS 2005 cubes, however it still exists for AS 2000 cubes. When connecting to such cubes using different internet internet browsers (or a different default language in IE) the connection errors occur sometimes. The exception message is "A connection cannot be made. Ensure that the server is running." The stack trace looks like this: Microsoft.AnalysisServices.AdomdClient.XmlaClient. GetTcpClient(ConnectionInfo connectionInfo) Microsoft.AnalysisServices.AdomdClient.XmlaClient. OpenTcpConnection(ConnectionInfo connectionInfo) Microsoft.AnalysisServices.AdomdClient.XmlaClient. Connect(ConnectionInfo connectionInfo, Boolean beginSession) Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.XmlaClientProvider .Microsoft.AnalysisServices.AdomdClient.AdomdConne ction.IXmlaClientProviderEx.ConnectXmla() Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.ConnectToXMLA(Boolean createSession, Boolean isHTTP) Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.Open() Is there any work-around for this? Does Microsoft have any intention to fix this any time soon? This is a show stopper for applications that need to support both AS 2000 and AS 2005 cubes. Stan |
#4
| |||
| |||
|
|
I'm using XP PRO machine for development. I have both SQL Server 2000 and SQL Server 2005 installed. SQL Server 2000 is installed as the default instance, SQL Server 2005 is installed as the named instance. I have no problem accessing AS 2005 cubes (server=localhost\sql2005). Initially I can also access AS 2000 cubes (server=localhost), but if I change the default language in IE (e.g. from English to French) all AS 2000 connections fail. This happens consistently. Trying different browsers (Netscape, Firefox) causes occasional failures. "Akshai Mirchandani [MS]" wrote: Can you please describe your scenario in more depth? This must be limited to something specific about your scenario or environment -- otherwise there would have been other users running into this... Are you saying it happens sometimes but not always for the same users/environment? Thanks, Akshai -- Try out the MSDN Forums for Analysis Services at: http://forums.microsoft.com/MSDN/Sho...ID=83&SiteID=1 This posting is provided "AS IS" with no warranties, and confers no rights Please do not send email directly to this alias. This alias is for newsgroup purposes only. "Stan Kondrat" <StanKondrat (AT) discussions (DOT) microsoft.com> wrote in message news:88A42CF8-945D-4987-96D3-249D109CA65E (AT) microsoft (DOT) com... I know that this problem has already been fixed in SQL Server 2005 SP 1 for AS 2005 cubes, however it still exists for AS 2000 cubes. When connecting to such cubes using different internet internet browsers (or a different default language in IE) the connection errors occur sometimes. The exception message is "A connection cannot be made. Ensure that the server is running." The stack trace looks like this: Microsoft.AnalysisServices.AdomdClient.XmlaClient. GetTcpClient(ConnectionInfo connectionInfo) Microsoft.AnalysisServices.AdomdClient.XmlaClient. OpenTcpConnection(ConnectionInfo connectionInfo) Microsoft.AnalysisServices.AdomdClient.XmlaClient. Connect(ConnectionInfo connectionInfo, Boolean beginSession) Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.XmlaClientProvider .Microsoft.AnalysisServices.AdomdClient.AdomdConne ction.IXmlaClientProviderEx.ConnectXmla() Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.ConnectToXMLA(Boolean createSession, Boolean isHTTP) Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.Open() Is there any work-around for this? Does Microsoft have any intention to fix this any time soon? This is a show stopper for applications that need to support both AS 2000 and AS 2005 cubes. Stan |
#5
| |||
| |||
|
|
hello Stan, to help better understand the issue, could you please do the following: in problematic scenario [i.e. connecting to AS2000 with changed default language in IE] - add ConnectTo=8.0 to the connection string; - wrap up the connection.Open() call into something like the following and post the output: try { // code here } catch (Exception e) { Exception ex = e; while (ex != null) { Debug.WriteLine("========Exception================ "); Debug.WriteLine("Type: " + ex.GetType().FullName); Debug.WriteLine("Message: " + ex.Message); Debug.WriteLine("Stack :" + ex.StackTrace); AdomdErrorResponseException errResponse = ex as AdomdErrorResponseException; AdomdConnectionException conException = ex as AdomdConnectionException; if (errResponse != null) { foreach (AdomdError r in errResponse.Errors) { Debug.WriteLine("::::ERROR::::"); Debug.WriteLine("code: " + r.ErrorCode.ToString()); Debug.WriteLine("msg: " + r.Message); } } else if (conException != null) { Debug.WriteLine("ExceptionCause:" + conException.ExceptionCause.ToString()); } ex = ex.InnerException; } } // catch thanks a lot, -- mary -- This posting is provided "AS IS" with no warranties, and confers no rights. -- "Stan Kondrat" <StanKondrat (AT) discussions (DOT) microsoft.com> wrote in message news:33705D89-BCEC-4D41-996F-80FDADF9008D (AT) microsoft (DOT) com... I'm using XP PRO machine for development. I have both SQL Server 2000 and SQL Server 2005 installed. SQL Server 2000 is installed as the default instance, SQL Server 2005 is installed as the named instance. I have no problem accessing AS 2005 cubes (server=localhost\sql2005). Initially I can also access AS 2000 cubes (server=localhost), but if I change the default language in IE (e.g. from English to French) all AS 2000 connections fail. This happens consistently. Trying different browsers (Netscape, Firefox) causes occasional failures. "Akshai Mirchandani [MS]" wrote: Can you please describe your scenario in more depth? This must be limited to something specific about your scenario or environment -- otherwise there would have been other users running into this... Are you saying it happens sometimes but not always for the same users/environment? Thanks, Akshai -- Try out the MSDN Forums for Analysis Services at: http://forums.microsoft.com/MSDN/Sho...ID=83&SiteID=1 This posting is provided "AS IS" with no warranties, and confers no rights Please do not send email directly to this alias. This alias is for newsgroup purposes only. "Stan Kondrat" <StanKondrat (AT) discussions (DOT) microsoft.com> wrote in message news:88A42CF8-945D-4987-96D3-249D109CA65E (AT) microsoft (DOT) com... I know that this problem has already been fixed in SQL Server 2005 SP 1 for AS 2005 cubes, however it still exists for AS 2000 cubes. When connecting to such cubes using different internet internet browsers (or a different default language in IE) the connection errors occur sometimes. The exception message is "A connection cannot be made. Ensure that the server is running." The stack trace looks like this: Microsoft.AnalysisServices.AdomdClient.XmlaClient. GetTcpClient(ConnectionInfo connectionInfo) Microsoft.AnalysisServices.AdomdClient.XmlaClient. OpenTcpConnection(ConnectionInfo connectionInfo) Microsoft.AnalysisServices.AdomdClient.XmlaClient. Connect(ConnectionInfo connectionInfo, Boolean beginSession) Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.XmlaClientProvider .Microsoft.AnalysisServices.AdomdClient.AdomdConne ction.IXmlaClientProviderEx.ConnectXmla() Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.ConnectToXMLA(Boolean createSession, Boolean isHTTP) Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.Open() Is there any work-around for this? Does Microsoft have any intention to fix this any time soon? This is a show stopper for applications that need to support both AS 2000 and AS 2005 cubes. Stan |
#6
| |||
| |||
|
|
Hello Mary, Here is the output you requested. I should also mention that our web application matches the Culture and UI Culture to the browsers default language. After switching the default IE language from English to French: ========Exception================ Type: Microsoft.AnalysisServices.AdomdClient.AdomdConnec tionException Message: Impossible d'établir une connexion. Vérifiez que le serveur fonctionne. Stack : at Microsoft.AnalysisServices.AdomdClient.XmlaClient. GetTcpClient(ConnectionInfo connectionInfo) at Microsoft.AnalysisServices.AdomdClient.XmlaClient. OpenTcpConnection(ConnectionInfo connectionInfo) at Microsoft.AnalysisServices.AdomdClient.XmlaClient. Connect(ConnectionInfo connectionInfo, Boolean beginSession) at Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.XmlaClientProvider.Microsoft.AnalysisServices .AdomdClient.AdomdConne ction.IXmlaClientProviderEx.ConnectXmla() at Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.ConnectToXMLA(Boolean createSession, Boolean isHTTP) at Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.Open() ... (our part) After restarting IIS Admin service (or Visual Studio 2005 in case of the debugger) the French browser connects to the cube. After switching the default IE language back from French to English: ========Exception================ Type: Microsoft.AnalysisServices.AdomdClient.AdomdConnec tionException Message: A connection cannot be made. Ensure that the server is running. Stack : at Microsoft.AnalysisServices.AdomdClient.XmlaClient. GetTcpClient(ConnectionInfo connectionInfo) at Microsoft.AnalysisServices.AdomdClient.XmlaClient. OpenTcpConnection(ConnectionInfo connectionInfo) at Microsoft.AnalysisServices.AdomdClient.XmlaClient. Connect(ConnectionInfo connectionInfo, Boolean beginSession) at Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.XmlaClientProvider.Microsoft.AnalysisServices .AdomdClient.AdomdConnection.IXmlaClientProviderEx .ConnectXmla() at Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.ConnectToXMLA(Boolean createSession, Boolean isHTTP) at Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.Open() ... (our part) Let me know if more information is required. Thanks, Stan "Mary Potapova [MS]" wrote: hello Stan, to help better understand the issue, could you please do the following: in problematic scenario [i.e. connecting to AS2000 with changed default language in IE] - add ConnectTo=8.0 to the connection string; - wrap up the connection.Open() call into something like the following and post the output: try { // code here } catch (Exception e) { Exception ex = e; while (ex != null) { Debug.WriteLine("========Exception================ "); Debug.WriteLine("Type: " + ex.GetType().FullName); Debug.WriteLine("Message: " + ex.Message); Debug.WriteLine("Stack :" + ex.StackTrace); AdomdErrorResponseException errResponse = ex as AdomdErrorResponseException; AdomdConnectionException conException = ex as AdomdConnectionException; if (errResponse != null) { foreach (AdomdError r in errResponse.Errors) { Debug.WriteLine("::::ERROR::::"); Debug.WriteLine("code: " + r.ErrorCode.ToString()); Debug.WriteLine("msg: " + r.Message); } } else if (conException != null) { Debug.WriteLine("ExceptionCause:" + conException.ExceptionCause.ToString()); } ex = ex.InnerException; } } // catch thanks a lot, -- mary -- This posting is provided "AS IS" with no warranties, and confers no rights. -- "Stan Kondrat" <StanKondrat (AT) discussions (DOT) microsoft.com> wrote in message news:33705D89-BCEC-4D41-996F-80FDADF9008D (AT) microsoft (DOT) com... I'm using XP PRO machine for development. I have both SQL Server 2000 and SQL Server 2005 installed. SQL Server 2000 is installed as the default instance, SQL Server 2005 is installed as the named instance. I have no problem accessing AS 2005 cubes (server=localhost\sql2005). Initially I can also access AS 2000 cubes (server=localhost), but if I change the default language in IE (e.g. from English to French) all AS 2000 connections fail. This happens consistently. Trying different browsers (Netscape, Firefox) causes occasional failures. "Akshai Mirchandani [MS]" wrote: Can you please describe your scenario in more depth? This must be limited to something specific about your scenario or environment -- otherwise there would have been other users running into this... Are you saying it happens sometimes but not always for the same users/environment? Thanks, Akshai -- Try out the MSDN Forums for Analysis Services at: http://forums.microsoft.com/MSDN/Sho...ID=83&SiteID=1 This posting is provided "AS IS" with no warranties, and confers no rights Please do not send email directly to this alias. This alias is for newsgroup purposes only. "Stan Kondrat" <StanKondrat (AT) discussions (DOT) microsoft.com> wrote in message news:88A42CF8-945D-4987-96D3-249D109CA65E (AT) microsoft (DOT) com... I know that this problem has already been fixed in SQL Server 2005 SP 1 for AS 2005 cubes, however it still exists for AS 2000 cubes. When connecting to such cubes using different internet internet browsers (or a different default language in IE) the connection errors occur sometimes. The exception message is "A connection cannot be made. Ensure that the server is running." The stack trace looks like this: Microsoft.AnalysisServices.AdomdClient.XmlaClient. GetTcpClient(ConnectionInfo connectionInfo) Microsoft.AnalysisServices.AdomdClient.XmlaClient. OpenTcpConnection(ConnectionInfo connectionInfo) Microsoft.AnalysisServices.AdomdClient.XmlaClient. Connect(ConnectionInfo connectionInfo, Boolean beginSession) Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.XmlaClientProvider .Microsoft.AnalysisServices.AdomdClient.AdomdConne ction.IXmlaClientProviderEx.ConnectXmla() Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.ConnectToXMLA(Boolean createSession, Boolean isHTTP) Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.Open() Is there any work-around for this? Does Microsoft have any intention to fix this any time soon? This is a show stopper for applications that need to support both AS 2000 and AS 2005 cubes. Stan |
#7
| |||
| |||
|
|
Hello Mary, Here is the output you requested. I should also mention that our web application matches the Culture and UI Culture to the browsers default language. After switching the default IE language from English to French: ========Exception================ Type: Microsoft.AnalysisServices.AdomdClient.AdomdConnec tionException Message: Impossible d'établir une connexion. Vérifiez que le serveur fonctionne. Stack : at Microsoft.AnalysisServices.AdomdClient.XmlaClient. GetTcpClient(ConnectionInfo connectionInfo) at Microsoft.AnalysisServices.AdomdClient.XmlaClient. OpenTcpConnection(ConnectionInfo connectionInfo) at Microsoft.AnalysisServices.AdomdClient.XmlaClient. Connect(ConnectionInfo connectionInfo, Boolean beginSession) at Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.XmlaClientProvider.Microsoft.AnalysisServices .AdomdClient.AdomdConne ction.IXmlaClientProviderEx.ConnectXmla() at Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.ConnectToXMLA(Boolean createSession, Boolean isHTTP) at Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.Open() ... (our part) After restarting IIS Admin service (or Visual Studio 2005 in case of the debugger) the French browser connects to the cube. After switching the default IE language back from French to English: ========Exception================ Type: Microsoft.AnalysisServices.AdomdClient.AdomdConnec tionException Message: A connection cannot be made. Ensure that the server is running. Stack : at Microsoft.AnalysisServices.AdomdClient.XmlaClient. GetTcpClient(ConnectionInfo connectionInfo) at Microsoft.AnalysisServices.AdomdClient.XmlaClient. OpenTcpConnection(ConnectionInfo connectionInfo) at Microsoft.AnalysisServices.AdomdClient.XmlaClient. Connect(ConnectionInfo connectionInfo, Boolean beginSession) at Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.XmlaClientProvider.Microsoft.AnalysisServices .AdomdClient.AdomdConnection.IXmlaClientProviderEx .ConnectXmla() at Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.ConnectToXMLA(Boolean createSession, Boolean isHTTP) at Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.Open() ... (our part) Let me know if more information is required. Thanks, Stan "Mary Potapova [MS]" wrote: hello Stan, to help better understand the issue, could you please do the following: in problematic scenario [i.e. connecting to AS2000 with changed default language in IE] - add ConnectTo=8.0 to the connection string; - wrap up the connection.Open() call into something like the following and post the output: try { // code here } catch (Exception e) { Exception ex = e; while (ex != null) { Debug.WriteLine("========Exception================ "); Debug.WriteLine("Type: " + ex.GetType().FullName); Debug.WriteLine("Message: " + ex.Message); Debug.WriteLine("Stack :" + ex.StackTrace); AdomdErrorResponseException errResponse = ex as AdomdErrorResponseException; AdomdConnectionException conException = ex as AdomdConnectionException; if (errResponse != null) { foreach (AdomdError r in errResponse.Errors) { Debug.WriteLine("::::ERROR::::"); Debug.WriteLine("code: " + r.ErrorCode.ToString()); Debug.WriteLine("msg: " + r.Message); } } else if (conException != null) { Debug.WriteLine("ExceptionCause:" + conException.ExceptionCause.ToString()); } ex = ex.InnerException; } } // catch thanks a lot, -- mary -- This posting is provided "AS IS" with no warranties, and confers no rights. -- "Stan Kondrat" <StanKondrat (AT) discussions (DOT) microsoft.com> wrote in message news:33705D89-BCEC-4D41-996F-80FDADF9008D (AT) microsoft (DOT) com... I'm using XP PRO machine for development. I have both SQL Server 2000 and SQL Server 2005 installed. SQL Server 2000 is installed as the default instance, SQL Server 2005 is installed as the named instance. I have no problem accessing AS 2005 cubes (server=localhost\sql2005). Initially I can also access AS 2000 cubes (server=localhost), but if I change the default language in IE (e.g. from English to French) all AS 2000 connections fail. This happens consistently. Trying different browsers (Netscape, Firefox) causes occasional failures. "Akshai Mirchandani [MS]" wrote: Can you please describe your scenario in more depth? This must be limited to something specific about your scenario or environment -- otherwise there would have been other users running into this... Are you saying it happens sometimes but not always for the same users/environment? Thanks, Akshai -- Try out the MSDN Forums for Analysis Services at: http://forums.microsoft.com/MSDN/Sho...ID=83&SiteID=1 This posting is provided "AS IS" with no warranties, and confers no rights Please do not send email directly to this alias. This alias is for newsgroup purposes only. "Stan Kondrat" <StanKondrat (AT) discussions (DOT) microsoft.com> wrote in message news:88A42CF8-945D-4987-96D3-249D109CA65E (AT) microsoft (DOT) com... I know that this problem has already been fixed in SQL Server 2005 SP 1 for AS 2005 cubes, however it still exists for AS 2000 cubes. When connecting to such cubes using different internet internet browsers (or a different default language in IE) the connection errors occur sometimes. The exception message is "A connection cannot be made. Ensure that the server is running." The stack trace looks like this: Microsoft.AnalysisServices.AdomdClient.XmlaClient. GetTcpClient(ConnectionInfo connectionInfo) Microsoft.AnalysisServices.AdomdClient.XmlaClient. OpenTcpConnection(ConnectionInfo connectionInfo) Microsoft.AnalysisServices.AdomdClient.XmlaClient. Connect(ConnectionInfo connectionInfo, Boolean beginSession) Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.XmlaClientProvider .Microsoft.AnalysisServices.AdomdClient.AdomdConne ction.IXmlaClientProviderEx.ConnectXmla() Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.ConnectToXMLA(Boolean createSession, Boolean isHTTP) Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.Open() Is there any work-around for this? Does Microsoft have any intention to fix this any time soon? This is a show stopper for applications that need to support both AS 2000 and AS 2005 cubes. Stan |
#8
| |||
| |||
|
|
Hello Mary, In the output generated in my previous message I forgot to add "ConnectTo=8.0" to the connection string. After doing that the debug output looks a bit different and is identical in both cases of language switch (the exception message is always in English). ========Exception================ Type: Microsoft.AnalysisServices.AdomdClient.AdomdErrorR esponseException Message: The LCID or Compare String flags have already been set by an existing connection. They cannot be changed. Stack : at Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.XmlaClientProvider.Microsoft.AnalysisServices .AdomdClient.AdomdConne ction.IXmlaClientProviderEx.ConnectIXmla() at Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.ConnectToIXMLA(Boolean createSession) at Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.Open() ... (our part) Is there any relationship between this problem and this one (http://support.microsoft.com/kb/912017/) fixed in SQL Server 2005 SP 1? Stan "Stan Kondrat" wrote: Hello Mary, Here is the output you requested. I should also mention that our web application matches the Culture and UI Culture to the browsers default language. After switching the default IE language from English to French: ========Exception================ Type: Microsoft.AnalysisServices.AdomdClient.AdomdConnec tionException Message: Impossible d'établir une connexion. Vérifiez que le serveur fonctionne. Stack : at Microsoft.AnalysisServices.AdomdClient.XmlaClient. GetTcpClient(ConnectionInfo connectionInfo) at Microsoft.AnalysisServices.AdomdClient.XmlaClient. OpenTcpConnection(ConnectionInfo connectionInfo) at Microsoft.AnalysisServices.AdomdClient.XmlaClient. Connect(ConnectionInfo connectionInfo, Boolean beginSession) at Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.XmlaClientProvider.Microsoft.AnalysisServices .AdomdClient.AdomdConne ction.IXmlaClientProviderEx.ConnectXmla() at Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.ConnectToXMLA(Boolean createSession, Boolean isHTTP) at Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.Open() ... (our part) After restarting IIS Admin service (or Visual Studio 2005 in case of the debugger) the French browser connects to the cube. After switching the default IE language back from French to English: ========Exception================ Type: Microsoft.AnalysisServices.AdomdClient.AdomdConnec tionException Message: A connection cannot be made. Ensure that the server is running. Stack : at Microsoft.AnalysisServices.AdomdClient.XmlaClient. GetTcpClient(ConnectionInfo connectionInfo) at Microsoft.AnalysisServices.AdomdClient.XmlaClient. OpenTcpConnection(ConnectionInfo connectionInfo) at Microsoft.AnalysisServices.AdomdClient.XmlaClient. Connect(ConnectionInfo connectionInfo, Boolean beginSession) at Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.XmlaClientProvider.Microsoft.AnalysisServices .AdomdClient.AdomdConnection.IXmlaClientProviderEx .ConnectXmla() at Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.ConnectToXMLA(Boolean createSession, Boolean isHTTP) at Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.Open() ... (our part) Let me know if more information is required. Thanks, Stan "Mary Potapova [MS]" wrote: hello Stan, to help better understand the issue, could you please do the following: in problematic scenario [i.e. connecting to AS2000 with changed default language in IE] - add ConnectTo=8.0 to the connection string; - wrap up the connection.Open() call into something like the following and post the output: try { // code here } catch (Exception e) { Exception ex = e; while (ex != null) { Debug.WriteLine("========Exception================ "); Debug.WriteLine("Type: " + ex.GetType().FullName); Debug.WriteLine("Message: " + ex.Message); Debug.WriteLine("Stack :" + ex.StackTrace); AdomdErrorResponseException errResponse = ex as AdomdErrorResponseException; AdomdConnectionException conException = ex as AdomdConnectionException; if (errResponse != null) { foreach (AdomdError r in errResponse.Errors) { Debug.WriteLine("::::ERROR::::"); Debug.WriteLine("code: " + r.ErrorCode.ToString()); Debug.WriteLine("msg: " + r.Message); } } else if (conException != null) { Debug.WriteLine("ExceptionCause:" + conException.ExceptionCause.ToString()); } ex = ex.InnerException; } } // catch thanks a lot, -- mary -- This posting is provided "AS IS" with no warranties, and confers no rights. -- "Stan Kondrat" <StanKondrat (AT) discussions (DOT) microsoft.com> wrote in message news:33705D89-BCEC-4D41-996F-80FDADF9008D (AT) microsoft (DOT) com... I'm using XP PRO machine for development. I have both SQL Server 2000 and SQL Server 2005 installed. SQL Server 2000 is installed as the default instance, SQL Server 2005 is installed as the named instance. I have no problem accessing AS 2005 cubes (server=localhost\sql2005). Initially I can also access AS 2000 cubes (server=localhost), but if I change the default language in IE (e.g. from English to French) all AS 2000 connections fail. This happens consistently. Trying different browsers (Netscape, Firefox) causes occasional failures. "Akshai Mirchandani [MS]" wrote: Can you please describe your scenario in more depth? This must be limited to something specific about your scenario or environment -- otherwise there would have been other users running into this... Are you saying it happens sometimes but not always for the same users/environment? Thanks, Akshai -- Try out the MSDN Forums for Analysis Services at: http://forums.microsoft.com/MSDN/Sho...ID=83&SiteID=1 This posting is provided "AS IS" with no warranties, and confers no rights Please do not send email directly to this alias. This alias is for newsgroup purposes only. "Stan Kondrat" <StanKondrat (AT) discussions (DOT) microsoft.com> wrote in message news:88A42CF8-945D-4987-96D3-249D109CA65E (AT) microsoft (DOT) com... I know that this problem has already been fixed in SQL Server 2005 SP 1 for AS 2005 cubes, however it still exists for AS 2000 cubes. When connecting to such cubes using different internet internet browsers (or a different default language in IE) the connection errors occur sometimes. The exception message is "A connection cannot be made. Ensure that the server is running." The stack trace looks like this: Microsoft.AnalysisServices.AdomdClient.XmlaClient. GetTcpClient(ConnectionInfo connectionInfo) Microsoft.AnalysisServices.AdomdClient.XmlaClient. OpenTcpConnection(ConnectionInfo connectionInfo) Microsoft.AnalysisServices.AdomdClient.XmlaClient. Connect(ConnectionInfo connectionInfo, Boolean beginSession) Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.XmlaClientProvider .Microsoft.AnalysisServices.AdomdClient.AdomdConne ction.IXmlaClientProviderEx.ConnectXmla() Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.ConnectToXMLA(Boolean createSession, Boolean isHTTP) Microsoft.AnalysisServices.AdomdClient.AdomdConnec tion.Open() Is there any work-around for this? Does Microsoft have any intention to fix this any time soon? This is a show stopper for applications that need to support both AS 2000 and AS 2005 cubes. Stan |
![]() |
| Thread Tools | |
| Display Modes | |
| |