Showing posts with label couple. Show all posts
Showing posts with label couple. Show all posts

Thursday, March 29, 2012

Error from AS2005 - Binding for column 'xxxxx' is not a ColumnBinding type

I've seen this question come up a couple times on the public .olap newsgroup, but I've never seen an answer, so I'm going to give it another try:

I'm getting an error when I try to incrementally process my SSAS 2005 cube:

Errors in the high-level relational engine. The binding for the 'column-name' column is not a ColumnBinding type.

In this case, the column name that's given is a name that occurs in only 1 table in the underlying schema, so I know unambiguously which column it's talking about. The relevant part of the schema is roughly this:

create table Date(
DateID int not null primary key,
/* ... */
);

create table File(
FileID int not null primary key,
FileDateID int not null foreign key references Date(DateID),
/* ... */
);

create table Fact(
/* ... */
DateID int not null foreign key references Date(DateID),
FileID int not null foreign key references File(FileID)
);

The column that's named in the error message is File.FileDateID. Note that this is not a pure snowflake schema - there's a "loop" that associates files with dates in addition to other date relationships within the main fact table. I'm just guessing that the root of the problem has something to do with non-snowflake-ness of the schema. Full processing of the database/cube works fine - it's only when I try to process incrementally or create aggregations that I get this error.

Can anyone explain what this error really means and what to do about it?Anyone?|||

Carl,

When you do the incremental processing, are you using a table as the source or a query?

Dave Fackler

|||

It was a query of the form select * from MyFactTable where SomeIncrementalCondition.

Of course, the error has gone away since I first started asking about this error a month ago. Something I changed since then "fixed" the problem (this is a product in development, so I'm constantly fiddling with the cube and dimension definitions - I have no idea which change fixed this problem, unfortunately).

Error from AS2005 - Binding for column 'xxxxx' is not a ColumnBinding type

I've seen this question come up a couple times on the public .olap newsgroup, but I've never seen an answer, so I'm going to give it another try:

I'm getting an error when I try to incrementally process my SSAS 2005 cube:

Errors in the high-level relational engine. The binding for the 'column-name' column is not a ColumnBinding type.

In this case, the column name that's given is a name that occurs in only 1 table in the underlying schema, so I know unambiguously which column it's talking about. The relevant part of the schema is roughly this:

create table Date(
DateID int not null primary key,
/* ... */
);

create table File(
FileID int not null primary key,
FileDateID int not null foreign key references Date(DateID),
/* ... */
);

create table Fact(
/* ... */
DateID int not null foreign key references Date(DateID),
FileID int not null foreign key references File(FileID)
);

The column that's named in the error message is File.FileDateID. Note that this is not a pure snowflake schema - there's a "loop" that associates files with dates in addition to other date relationships within the main fact table. I'm just guessing that the root of the problem has something to do with non-snowflake-ness of the schema. Full processing of the database/cube works fine - it's only when I try to process incrementally or create aggregations that I get this error.

Can anyone explain what this error really means and what to do about it?Anyone?|||

Carl,

When you do the incremental processing, are you using a table as the source or a query?

Dave Fackler

|||

It was a query of the form select * from MyFactTable where SomeIncrementalCondition.

Of course, the error has gone away since I first started asking about this error a month ago. Something I changed since then "fixed" the problem (this is a product in development, so I'm constantly fiddling with the cube and dimension definitions - I have no idea which change fixed this problem, unfortunately).

Wednesday, March 7, 2012

Error Connecting to Database Engine

I have been successfully using SQL Server 2005 developer edition for a couple of months now.However, when I started Microsoft SQL Server Management Studio this morning I could not connect to the “Database Engine” (I’m using Windows Authentication). I can still connect with the “Integration Services” and “Analysis Services” on the same server. The server running on my local machine, so there shouldn’t be any problems with the network.I am also able to connect with it through ODBC, it just seems to be the Server Management Studio which can’t connect, and it only has problems with the “Database Engine.” Any help would be appreciated.

David

The detailed error message says:

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: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.) (.Net SqlClient Data Provider)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=10061&LinkId=20476

Error Number: 10061

Severity: 20

State: 0

Program Location:

at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)

at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)

at System.Data.SqlClient.TdsParser.Connect(Boolean& useFailoverPartner, Boolean& failoverDemandDone, String host, String failoverPartner, String protocol, SqlInternalConnectionTds connHandler, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject, Boolean aliasLookup)

at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)

at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)

at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)

at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)

at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)

at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)

at System.Data.SqlClient.SqlConnection.Open()

at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ObjectExplorer.ValidateConnection(UIConnectionInfo ci, IServerType server)

at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()

I'm not sure exactly which setting fixed it, however after reinstalling and adjusting some settings it now is working again.|||I had the same problem. What I did is open the SQL Server Management Studio and view registered servers. Then I right clicked on my server and went to SQL Server Configuration Manager. I then checked the protocols on my server and they were all disabled!! I reenabled them then restarted the SQL Server service. Now I am all good.|||I, too, have this problem. Unfortunately, after enabling the protocols I am still not able to connect! Does anyone have any other ideas?
|||

I am having the same problem. I installed SQL Server last week and used it fine until yesterday. Yesterday, I changed the properties on my ASPNET user and tried to restart SQL. The restart failed and I was unable to ever make a connection again. I rebooted my machine a couple of times, I changed the Protocols to "Enabled", etc. yet nothing worked.

I had to uninstall SQL and then re-install it to get it working. That is until this morning. I tried to login this morning and I received the error again. Is this a daily routine now, uninstall and re-install SQL to start my day off?

Does anyone know what is causing this and even better what it takes to fix it?

Thanks,

DP

|||

This happened to me after updating common language runtime and/or installing SQL Server 2005 SP1 and/or configuring some ODBC connections. Here's how I corrected:

Navigate to Start-->Admin Tools-->Computer Mgt-->Sevices&Apps-->SQL Server Config Mgr-->SQL Server 2005 Network Config

Expand & select Protocols for MSSQL Server and verify the following settings:

Shared Memory Enabled (found Enabled)

Named Pipes Enabled (found Disabled)

TCP/IP Enabled (found Disabled)

VIA Disabled (doesn't seem to matter)

To change settings, double-click or right-click each of the above. Then use SQL Server Manager (the server PC icon in your system tray with either the green arrow or red dot) to Stop (if Started) and/or to then Start (if Stopped) the SQL Sever for the changed settings to take effect.

Error Connecting to Database Engine

I have been successfully using SQL Server 2005 developer edition for a couple of months now.However, when I started Microsoft SQL Server Management Studio this morning I could not connect to the “Database Engine” (I’m using Windows Authentication). I can still connect with the “Integration Services” and “Analysis Services” on the same server. The server running on my local machine, so there shouldn’t be any problems with the network.I am also able to connect with it through ODBC, it just seems to be the Server Management Studio which can’t connect, and it only has problems with the “Database Engine.” Any help would be appreciated.

David

The detailed error message says:

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: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.) (.Net SqlClient Data Provider)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=10061&LinkId=20476

Error Number: 10061

Severity: 20

State: 0

Program Location:

at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)

at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)

at System.Data.SqlClient.TdsParser.Connect(Boolean& useFailoverPartner, Boolean& failoverDemandDone, String host, String failoverPartner, String protocol, SqlInternalConnectionTds connHandler, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject, Boolean aliasLookup)

at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)

at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)

at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)

at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)

at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)

at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)

at System.Data.SqlClient.SqlConnection.Open()

at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ObjectExplorer.ValidateConnection(UIConnectionInfo ci, IServerType server)

at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()

I'm not sure exactly which setting fixed it, however after reinstalling and adjusting some settings it now is working again.|||I had the same problem. What I did is open the SQL Server Management Studio and view registered servers. Then I right clicked on my server and went to SQL Server Configuration Manager. I then checked the protocols on my server and they were all disabled!! I reenabled them then restarted the SQL Server service. Now I am all good.|||I, too, have this problem. Unfortunately, after enabling the protocols I am still not able to connect! Does anyone have any other ideas?
|||

I am having the same problem. I installed SQL Server last week and used it fine until yesterday. Yesterday, I changed the properties on my ASPNET user and tried to restart SQL. The restart failed and I was unable to ever make a connection again. I rebooted my machine a couple of times, I changed the Protocols to "Enabled", etc. yet nothing worked.

I had to uninstall SQL and then re-install it to get it working. That is until this morning. I tried to login this morning and I received the error again. Is this a daily routine now, uninstall and re-install SQL to start my day off?

Does anyone know what is causing this and even better what it takes to fix it?

Thanks,

DP

|||

This happened to me after updating common language runtime and/or installing SQL Server 2005 SP1 and/or configuring some ODBC connections. Here's how I corrected:

Navigate to Start-->Admin Tools-->Computer Mgt-->Sevices&Apps-->SQL Server Config Mgr-->SQL Server 2005 Network Config

Expand & select Protocols for MSSQL Server and verify the following settings:

Shared Memory Enabled (found Enabled)

Named Pipes Enabled (found Disabled)

TCP/IP Enabled (found Disabled)

VIA Disabled (doesn't seem to matter)

To change settings, double-click or right-click each of the above. Then use SQL Server Manager (the server PC icon in your system tray with either the green arrow or red dot) to Stop (if Started) and/or to then Start (if Stopped) the SQL Sever for the changed settings to take effect.

Error Connecting to Database Engine

I have been successfully using SQL Server 2005 developer

edition for a couple of months now.However,

when I started Microsoft SQL Server Management Studio this morning I could not

connect to the “Database Engine” (I’m using Windows Authentication). I can still connect with the “Integration

Services” and “Analysis Services” on the same server. The server running on my local machine, so

there shouldn’t be any problems with the network.I am also able to connect with it through

ODBC, it just seems to be the Server Management Studio which can’t connect, and it only has

problems with the “Database Engine.” Any

help would be appreciated.

David

The detailed error message says:

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: TCP Provider, error: 0 -

No connection could be made because the target machine actively refused it.)

(.Net SqlClient Data Provider)

For help, click:

http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=10061&LinkId=20476

Error Number: 10061

Severity: 20

State: 0

Program Location:

at

System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception,

Boolean breakConnection)

at

System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject

stateObj)

at

System.Data.SqlClient.TdsParser.Connect(Boolean& useFailoverPartner,

Boolean& failoverDemandDone, String host, String failoverPartner, String

protocol, SqlInternalConnectionTds connHandler, Int64 timerExpire, Boolean

encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection

owningObject, Boolean aliasLookup)

at

System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection

owningObject, SqlConnectionString connectionOptions, String newPassword,

Boolean redirectedUserInstance)

at

System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity

identity, SqlConnectionString connectionOptions, Object providerInfo, String

newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)

at

System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions

options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection

owningConnection)

at

System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection

owningConnection, DbConnectionPoolGroup poolGroup)

at

System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection

owningConnection)

at

System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection

outerConnection, DbConnectionFactory connectionFactory)

at

System.Data.SqlClient.SqlConnection.Open()

at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ObjectExplorer.ValidateConnection(UIConnectionInfo

ci, IServerType server)

at

Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()

I'm not sure exactly which setting fixed it, however after reinstalling and adjusting some settings it now is working again.|||I had the same problem. What I did is open the SQL Server Management Studio and view registered servers. Then I right clicked on my server and went to SQL Server Configuration Manager. I then checked the protocols on my server and they were all disabled!! I reenabled them then restarted the SQL Server service. Now I am all good.|||I, too, have this problem. Unfortunately, after enabling the protocols I am still not able to connect! Does anyone have any other ideas?|||

I am having the same problem. I installed SQL Server last week and used it fine until yesterday. Yesterday, I changed the properties on my ASPNET user and tried to restart SQL. The restart failed and I was unable to ever make a connection again. I rebooted my machine a couple of times, I changed the Protocols to "Enabled", etc. yet nothing worked.

I had to uninstall SQL and then re-install it to get it working. That is until this morning. I tried to login this morning and I received the error again. Is this a daily routine now, uninstall and re-install SQL to start my day off?

Does anyone know what is causing this and even better what it takes to fix it?

Thanks,

DP

|||

This happened to me after updating common language runtime and/or installing SQL Server 2005 SP1 and/or configuring some ODBC connections. Here's how I corrected:

Navigate to Start-->Admin Tools-->Computer Mgt-->Sevices&Apps-->SQL Server Config Mgr-->SQL Server 2005 Network Config

Expand & select Protocols for MSSQL Server and verify the following settings:

Shared Memory Enabled (found Enabled)

Named Pipes Enabled (found Disabled)

TCP/IP Enabled (found Disabled)

VIA Disabled (doesn't seem to matter)

To change settings, double-click or right-click each of the above. Then use SQL Server Manager (the server PC icon in your system tray with either the green arrow or red dot) to Stop (if Started) and/or to then Start (if Stopped) the SQL Sever for the changed settings to take effect.