Showing posts with label analysis. Show all posts
Showing posts with label analysis. Show all posts

Thursday, March 29, 2012

Error renaming analysis services project

After renaming an analysis services project in bi development studio I receive the following error when deploying the project to SQL2005 AS (SP1):

Error 1 The 'Database' with 'ID' = 'AS UPC Chain Sales ' doesn't exist in the collection. 0 0

However the database is available on the server and can be processed and used. Any ideas how to fix this error?

Try to rename your live database on the Analysis Server using SQL Management Studio.

Then create a new project in BI Dev Studio. Select a project type as "Import Analysis Services 9.0 Database...". Follow the steps and get your project re-created based on the live version of the database.

Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

|||Thanks, Edward. Worked like a charm!

Tuesday, March 27, 2012

Error processing Cube - The syntax for ',' is incorrect.

Hi guys! Could you help me with the next problem:

Failed to build the OLAP cubes. Error: Analysis Services session failed with the following error: Query (1, 10) Parser: The syntax for ',' is incorrect.

I have installed sql2005 sp2, but didn't get much

Pls. help

If you have a new issue, please create a new thread rather than just replying to an old one. You are more likely to get an answer.

It sounds like there might possibly be an extra comma in your MDX script. It looks like it is at character 10 on the first line (that's what the 1,10 means)

Friday, March 23, 2012

Error on Report based on Analysis Services

I've got most of my first stab at using Reporting Services. I am using the
Report Viewer control in VS 2005. When I point it at a report based on
standard TSQL it runs. My next query is based on Analysis Services. It runs
via the URL when I login as an Administrator but I get the following error
when I do it via the Report Viewer. The problem is the web server can't
"see" itself (i.e. typing the URL of the ASP.net page doesn't seem to work)-
something which I will get the network people to look at tomorrow so I can't
see a more detailed error. I am just starting trying to get an understanding
of roles etc but some pointers would be great. Regards, Chris.
a..
An error has occurred during report processing. a.. Query execution failed
for data set 'Analysis_Services_Project1'. a.. For more information about
this error navigate to the report server on the local server machine, or
enable remote errors a..I figured it out - I needed to add the IUSR as a role to the Analysis
Services DB.
"Fresno Bob" <nospam@.nospam.com> wrote in message
news:%23QvrOp98HHA.3940@.TK2MSFTNGP05.phx.gbl...
> I've got most of my first stab at using Reporting Services. I am using the
> Report Viewer control in VS 2005. When I point it at a report based on
> standard TSQL it runs. My next query is based on Analysis Services. It
> runs via the URL when I login as an Administrator but I get the following
> error when I do it via the Report Viewer. The problem is the web server
> can't "see" itself (i.e. typing the URL of the ASP.net page doesn't seem
> to work)- something which I will get the network people to look at
> tomorrow so I can't see a more detailed error. I am just starting trying
> to get an understanding of roles etc but some pointers would be great.
> Regards, Chris.
> a..
> An error has occurred during report processing. a.. Query execution failed
> for data set 'Analysis_Services_Project1'. a.. For more information about
> this error navigate to the report server on the local server machine, or
> enable remote errors a..
>

Wednesday, March 21, 2012

Error on installing SP3a - Analysis Services components

I did some more looking around and found the Knowledge
Base had an article - 814462 - that addresses this issue.
It recommends fixing a registry key value under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OL
AP
Server\Uninstall Info.
I do not have this entry in my registry.
What's up?
quote:

>--Original Message--
>While trying to complete the installation of
>sql2kasp3.exe, my system gives me the follwoing error -
>An error occurred during the move data process - 145
>Window header is Severe.
>Any ideas?
>TIA
>.
>
Well, like it says to create the registry key value if it doesn't exist, you
can also create the Uninstall Info key itself...
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"Rich Bergstedt" <split_hare@.sbcglobal.net> wrote in message
news:3d4d01c3e300$9ec8f0e0$a501280a@.phx.gbl...[QUOTE]
> I did some more looking around and found the Knowledge
> Base had an article - 814462 - that addresses this issue.
> It recommends fixing a registry key value under
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OL
AP
> Server\Uninstall Info.
> I do not have this entry in my registry.
> What's up?
>|||Stupid me.
I never installed Analysis Services when I installed the
eval package.
Now, I am working fine thanks.
quote:

>--Original Message--
>Well, like it says to create the registry key value if

it doesn't exist, you
quote:

>can also create the Uninstall Info key itself...
>--
>Aaron Bertrand
>SQL Server MVP
>http://www.aspfaq.com/
>
>
>"Rich Bergstedt" <split_hare@.sbcglobal.net> wrote in

message
quote:

>news:3d4d01c3e300$9ec8f0e0$a501280a@.phx.gbl...
issue.[QUOTE]
error -[QUOTE]
>
>.
>

Error on installing SP3a - Analysis Services components

While trying to complete the installation of
sql2kasp3.exe, my system gives me the follwoing error -
An error occurred during the move data process - 145
Window header is Severe.
Any ideas?
TIAI did some more looking around and found the Knowledge
Base had an article - 814462 - that addresses this issue.
It recommends fixing a registry key value under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OLAP
Server\Uninstall Info.
I do not have this entry in my registry.
What's up?
>--Original Message--
>While trying to complete the installation of
>sql2kasp3.exe, my system gives me the follwoing error -
>An error occurred during the move data process - 145
>Window header is Severe.
>Any ideas?
>TIA
>.
>|||Well, like it says to create the registry key value if it doesn't exist, you
can also create the Uninstall Info key itself...
--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"Rich Bergstedt" <split_hare@.sbcglobal.net> wrote in message
news:3d4d01c3e300$9ec8f0e0$a501280a@.phx.gbl...
> I did some more looking around and found the Knowledge
> Base had an article - 814462 - that addresses this issue.
> It recommends fixing a registry key value under
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OLAP
> Server\Uninstall Info.
> I do not have this entry in my registry.
> What's up?
> >--Original Message--
> >While trying to complete the installation of
> >sql2kasp3.exe, my system gives me the follwoing error -
> >An error occurred during the move data process - 145
> >Window header is Severe.
> >
> >Any ideas?
> >
> >TIA
> >.
> >|||Stupid me.
I never installed Analysis Services when I installed the
eval package.
Now, I am working fine thanks.
>--Original Message--
>Well, like it says to create the registry key value if
it doesn't exist, you
>can also create the Uninstall Info key itself...
>--
>Aaron Bertrand
>SQL Server MVP
>http://www.aspfaq.com/
>
>
>"Rich Bergstedt" <split_hare@.sbcglobal.net> wrote in
message
>news:3d4d01c3e300$9ec8f0e0$a501280a@.phx.gbl...
>> I did some more looking around and found the Knowledge
>> Base had an article - 814462 - that addresses this
issue.
>> It recommends fixing a registry key value under
>> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OLAP
>> Server\Uninstall Info.
>> I do not have this entry in my registry.
>> What's up?
>> >--Original Message--
>> >While trying to complete the installation of
>> >sql2kasp3.exe, my system gives me the follwoing
error -
>> >An error occurred during the move data process - 145
>> >Window header is Severe.
>> >
>> >Any ideas?
>> >
>> >TIA
>> >.
>> >
>
>.
>

Monday, March 19, 2012

Error On deploy (F5) - Cannot connect to Server

I am learning SQL Server 2005 Analysis Services. I am following the following webcast

http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?culture=en-US&EventID=1032263433&CountryCode=US

When I try to deploy the project (F5) in Business Intelligence studio, I get the error message 'cannot connect to the server, check project properties under deployment'. I have checked those properties and made sure that the server name is correct and I have created a database on the server too.

I have tried installing SP2. But I still get the error message.

Any ideas what I need to do to fix this?

Thank you,

jsmith

Is the server installed on the same machine that you are using Visual Studio on? If not, how are you accessing the server?|||

Yes it is installed on the same machine. I am using windows authentication to access it.

Thanks,

jsmith

|||

Some additional info: I cannot connect to the Analysis Services through Management Studio, too. Following is the detail of the error message:

===================================

Cannot connect to TESTSERVER.

===================================

A connection cannot be made. Ensure that the server is running. (Microsoft.AnalysisServices.AdomdClient)


Program Location:

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.AdomdConnection.XmlaClientProvider.Microsoft.AnalysisServices.AdomdClient.AdomdConnection.IXmlaClientProviderEx.ConnectXmla()
at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.ConnectToXMLA(Boolean createSession, Boolean isHTTP)
at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.Open()
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ObjectExplorer.ValidateConnection(UIConnectionInfo ci, IServerType server)
at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()

===================================

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond (System)


Program Location:

at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at System.Net.Sockets.TcpClient.Connect(IPEndPoint remoteEP)
at System.Net.Sockets.TcpClient.Connect(IPAddress address, Int32 port)
at Microsoft.AnalysisServices.AdomdClient.XmlaClient.GetTcpClientByAddress(String hostName, Int32 port)
at Microsoft.AnalysisServices.AdomdClient.XmlaClient.GetTcpClient(ConnectionInfo connectionInfo)

Any ideas?

Thanks

jsmtih

|||Have you verified that the Analysis Server is up and running? Go to Services under Administrative tools and look for SQL Server Analysis Services (<name of your server>). It should be started.|||

Yes Analysis services are running under services. I also cannot connect to reporting services.

I am able to connect to Database services and Integration services.

Thanks,

|||Are you running under the account that installed SSAS or as a local administrator. If not you might need to get a local machine admin to logon, start up SSMS and add you to the server's security group.|||

Ok. There was a firewall on the computer which was blocking some ports and not allowing the connections to be made.

When a previous image was restored (before the firewall), everything started working fine.

Thank you so much everyone for trying to help

Regards,

jsmith.

Monday, March 12, 2012

Error on Analysis services Database loading

Hi, all experts here,

Thanks a lot for your kind attention.

Please could any of you here help me to have a look at the following error when I deployed the analysis services databases to the analysis services server. It always got the problem as below, why is that? And what could I try to fix it?

Error 1 File system error: The following file is corrupted: Physical file: \\?\C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\Adventure Works DW.0.db\Dim Geography.0.dim\5.Postal Code.Postal Code.dstore. Logical file . Errors in the metadata manager. An error occurred when loading the Geography dimension, from the file, '\\?\C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\Adventure Works DW.0.db\Dim Geography.5.dim.xml'. Errors in the metadata manager. An error occurred when loading the Adventure Works cube, from the file, '\\?\C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\Adventure Works DW.0.db\Adventure Works DW.28.cub.xml'. Errors in the metadata manager. An error occurred when loading the Customer Clusters ~MC cube, from the file, '\\?\C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\Adventure Works DW.0.db\Customer Clusters ~MC.7.cub.xml'.

Thanks a lot in advance for your advices and help and I am looking forward to hearing from you shortly.

With best regards,

Yours sincerely,

Can you try stop the service (net stop mssqlserverolapservice) and then delete the Adventure Works DW.0.db folder and Adventure*.xml file then restart your service.. Then redeploy adventure works dw database.

|||

Hi, Chu Xu,

Thanks a lot for your advices. It worked.

With best regards,

Yours sincerely,

Error on Analysis services Database loading

Hi, all experts here,

Thanks a lot for your kind attention.

Please could any of you here help me to have a look at the following error when I deployed the analysis services databases to the analysis services server. It always got the problem as below, why is that? And what could I try to fix it?

Error 1 File system error: The following file is corrupted: Physical file: \\?\C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\Adventure Works DW.0.db\Dim Geography.0.dim\5.Postal Code.Postal Code.dstore. Logical file . Errors in the metadata manager. An error occurred when loading the Geography dimension, from the file, '\\?\C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\Adventure Works DW.0.db\Dim Geography.5.dim.xml'. Errors in the metadata manager. An error occurred when loading the Adventure Works cube, from the file, '\\?\C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\Adventure Works DW.0.db\Adventure Works DW.28.cub.xml'. Errors in the metadata manager. An error occurred when loading the Customer Clusters ~MC cube, from the file, '\\?\C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\Adventure Works DW.0.db\Customer Clusters ~MC.7.cub.xml'.

Thanks a lot in advance for your advices and help and I am looking forward to hearing from you shortly.

With best regards,

Yours sincerely,

Can you try stop the service (net stop mssqlserverolapservice) and then delete the Adventure Works DW.0.db folder and Adventure*.xml file then restart your service.. Then redeploy adventure works dw database.

|||

Hi, Chu Xu,

Thanks a lot for your advices. It worked.

With best regards,

Yours sincerely,

Friday, March 9, 2012

error migrating olap db from analysis server (SQL Server 2000)

Hi there, I try to migrate olap db to Analysis Services 2005, and error shows :
Error Messages 6164
Errors in the OLAP storage engine: The attribute key cannot be found:
Table: dbo_Dim_Proper, Column: Kode_x0020_Proper, Value: 1632001. Errors in
the OLAP storage engine: The record was skipped because the attribute key was
not found. Attribute: Kode Proper attribute of Dimension: Dim_Proper from
Database: BTN, Cube: PLM191, Measure Group: PLM191, Partition: PLM191,
Record: 4.
Errors in the OLAP storage engine: The attribute key cannot be found:
Table: dbo_Dim_Proper, Column: Kode_x0020_Proper, Value: 1632001. Errors in
the OLAP storage engine: The record was skipped because the attribute key was
not found. Attribute: Kode Proper attribute of Dimension: Dim_Proper from
Database: BTN, Cube: PLM191, Measure Group: PLM191, Partition: PLM191,
Record: 7.
Any idea ? Thanks!
R'gards
Octoni
By default, AS2005 read the fact table without doing any join between this
table and related dimensions.
So by default AS2005 is "optimized", a step that you must manually do in
AS2000.
in AS2000 by default a query like select ... from table a inner join dimA
... is executed.
So what's appends in your case, there is some keys in your fact table but
these keys doesn't exists in your dimension table. with AS2000, the inner
join will automatically exclude these rows in errors during the process.
Because AS2005 don't do this inner join, these missing keys raise an error.
there is many solutions:
first, validate your dimension to insure that these keys exists, if not
create these keys in your database. (most beautyfull solution)
you can also ignore any key error.
or you can tell AS2005 to automatically create an "unknown" member for your
missing keys. (new AS2005 feature)
"octoni" <octoni@.discussions.microsoft.com> wrote in message
news:60D2BF3C-C34A-4BA6-A2CE-A3B705A99181@.microsoft.com...
> Hi there, I try to migrate olap db to Analysis Services 2005, and error
> shows :
> Error Messages 6164
> Errors in the OLAP storage engine: The attribute key cannot be found:
> Table: dbo_Dim_Proper, Column: Kode_x0020_Proper, Value: 1632001. Errors
> in
> the OLAP storage engine: The record was skipped because the attribute key
> was
> not found. Attribute: Kode Proper attribute of Dimension: Dim_Proper from
> Database: BTN, Cube: PLM191, Measure Group: PLM191, Partition: PLM191,
> Record: 4.
> Errors in the OLAP storage engine: The attribute key cannot be found:
> Table: dbo_Dim_Proper, Column: Kode_x0020_Proper, Value: 1632001. Errors
> in
> the OLAP storage engine: The record was skipped because the attribute key
> was
> not found. Attribute: Kode Proper attribute of Dimension: Dim_Proper from
> Database: BTN, Cube: PLM191, Measure Group: PLM191, Partition: PLM191,
> Record: 7.
>
> Any idea ? Thanks!
> R'gards
> Octoni

error migrating olap db from analysis server (SQL Server 2000)

Hi there, I try to migrate olap db to Analysis Services 2005, and error show
s :
Error Messages 6164
Errors in the OLAP storage engine: The attribute key cannot be found:
Table: dbo_Dim_Proper, Column: Kode_x0020_Proper, Value: 1632001. Errors in
the OLAP storage engine: The record was skipped because the attribute key wa
s
not found. Attribute: Kode Proper attribute of Dimension: Dim_Proper from
Database: BTN, Cube: PLM191, Measure Group: PLM191, Partition: PLM191,
Record: 4.
Errors in the OLAP storage engine: The attribute key cannot be found:
Table: dbo_Dim_Proper, Column: Kode_x0020_Proper, Value: 1632001. Errors in
the OLAP storage engine: The record was skipped because the attribute key wa
s
not found. Attribute: Kode Proper attribute of Dimension: Dim_Proper from
Database: BTN, Cube: PLM191, Measure Group: PLM191, Partition: PLM191,
Record: 7.
Any idea ? Thanks!
R'gards
OctoniBy default, AS2005 read the fact table without doing any join between this
table and related dimensions.
So by default AS2005 is "optimized", a step that you must manually do in
AS2000.
in AS2000 by default a query like select ... from table a inner join dimA
... is executed.
So what's appends in your case, there is some keys in your fact table but
these keys doesn't exists in your dimension table. with AS2000, the inner
join will automatically exclude these rows in errors during the process.
Because AS2005 don't do this inner join, these missing keys raise an error.
there is many solutions:
first, validate your dimension to insure that these keys exists, if not
create these keys in your database. (most beautyfull solution)
you can also ignore any key error.
or you can tell AS2005 to automatically create an "unknown" member for your
missing keys. (new AS2005 feature)
"octoni" <octoni@.discussions.microsoft.com> wrote in message
news:60D2BF3C-C34A-4BA6-A2CE-A3B705A99181@.microsoft.com...
> Hi there, I try to migrate olap db to Analysis Services 2005, and error
> shows :
> Error Messages 6164
> Errors in the OLAP storage engine: The attribute key cannot be found:
> Table: dbo_Dim_Proper, Column: Kode_x0020_Proper, Value: 1632001. Errors
> in
> the OLAP storage engine: The record was skipped because the attribute key
> was
> not found. Attribute: Kode Proper attribute of Dimension: Dim_Proper from
> Database: BTN, Cube: PLM191, Measure Group: PLM191, Partition: PLM191,
> Record: 4.
> Errors in the OLAP storage engine: The attribute key cannot be found:
> Table: dbo_Dim_Proper, Column: Kode_x0020_Proper, Value: 1632001. Errors
> in
> the OLAP storage engine: The record was skipped because the attribute key
> was
> not found. Attribute: Kode Proper attribute of Dimension: Dim_Proper from
> Database: BTN, Cube: PLM191, Measure Group: PLM191, Partition: PLM191,
> Record: 7.
>
> Any idea ? Thanks!
> R'gards
> Octoni

Friday, February 24, 2012

Error message received oopenning Analysis Manager

I receive the following error message when I open the Analysis Manager
|(SQL Server 2000):
"Cannot create the temop directory C:\Program Files\ Microsoft Analysis
Services\Bin\...\help80\metadata\metatemp100\. Please verify that you
have enough disk space, and try again"
This directory actually doesnt exist, but I didnt find where Analysis
Manger set this directory.
Does anyone have a clue?
Thanks,
Paulo
*** Sent via Developersdex http://www.codecomments.com ***
> This directory actually doesnt exist, but I didnt find where Analysis
> Manger set this directory.
Right-click on the server, and select Properties from the pop-up menu. On
the bottom of the 1st page you will see this setting.
Dejan Sarka, SQL Server MVP
Associate Mentor
www.SolidQualityLearning.com

Error message received oopenning Analysis Manager

I receive the following error message when I open the Analysis Manager
|(SQL Server 2000):
"Cannot create the temop directory C:\Program Files\ Microsoft Analysis
Services\Bin\...\help80\metadata\metatemp100\. Please verify that you
have enough disk space, and try again"
This directory actually doesnt exist, but I didnt find where Analysis
Manger set this directory.
Does anyone have a clue?
Thanks,
Paulo
*** Sent via Developersdex http://www.codecomments.com ***> This directory actually doesnt exist, but I didnt find where Analysis
> Manger set this directory.
Right-click on the server, and select Properties from the pop-up menu. On
the bottom of the 1st page you will see this setting.
Dejan Sarka, SQL Server MVP
Associate Mentor
www.SolidQualityLearning.com

Sunday, February 19, 2012

Error Message from Analysis Services Manager

My user sent me this error when trying to create a new
dimension:
"Failed to load control 'POMDimensionBrowser' from . Your
version of may be outdated. Make sure you are using the
version of the control that was provided with your
application.
This menu item is unavailable at this time."
This is on a new install of AS with SP3 applied and a SQL
Server 2000 Server with SP3.
Thanks for your help,
Linda
DBA II
Try reinstaling SP3 fro AS
ALEJANDRO LEGUIZAMO
Colombia - SQL Server MVP
"Linda Leslie" <anonymous@.discussions.microsoft.com> wrote in message
news:0ded01c43464$14413c10$3501280a@.phx.gbl...
> My user sent me this error when trying to create a new
> dimension:
> "Failed to load control 'POMDimensionBrowser' from . Your
> version of may be outdated. Make sure you are using the
> version of the control that was provided with your
> application.
> This menu item is unavailable at this time."
> This is on a new install of AS with SP3 applied and a SQL
> Server 2000 Server with SP3.
> Thanks for your help,
> Linda
> DBA II
>

Error Message from Analysis Services Manager

My user sent me this error when trying to create a new
dimension:
"Failed to load control 'POMDimensionBrowser' from . Your
version of may be outdated. Make sure you are using the
version of the control that was provided with your
application.
This menu item is unavailable at this time."
This is on a new install of AS with SP3 applied and a SQL
Server 2000 Server with SP3.
Thanks for your help,
Linda
DBA IITry reinstaling SP3 fro AS
ALEJANDRO LEGUIZAMO
Colombia - SQL Server MVP
"Linda Leslie" <anonymous@.discussions.microsoft.com> wrote in message
news:0ded01c43464$14413c10$3501280a@.phx.gbl...
> My user sent me this error when trying to create a new
> dimension:
> "Failed to load control 'POMDimensionBrowser' from . Your
> version of may be outdated. Make sure you are using the
> version of the control that was provided with your
> application.
> This menu item is unavailable at this time."
> This is on a new install of AS with SP3 applied and a SQL
> Server 2000 Server with SP3.
> Thanks for your help,
> Linda
> DBA II
>