Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


The Unpopular SELECT Statement


The Unpopular SELECT Statement

Author
Message
VincentRainardi
VincentRainardi
SSC Journeyman
SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)

Group: General Forum Members
Points: 83 Visits: 191
Comments posted to this topic are about the item The Unpopular SELECT Statement
David Christal
David Christal
Forum Newbie
Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: General Forum Members
Points: 6 Visits: 156
I'm unable to download the cube backup file. The link doesn't seem to work.

http://www.sqlservercentral.com/Files/sales.abf/409.abf
abba-602531
abba-602531
SSC-Enthusiastic
SSC-Enthusiastic (107 reputation)SSC-Enthusiastic (107 reputation)SSC-Enthusiastic (107 reputation)SSC-Enthusiastic (107 reputation)SSC-Enthusiastic (107 reputation)SSC-Enthusiastic (107 reputation)SSC-Enthusiastic (107 reputation)SSC-Enthusiastic (107 reputation)

Group: General Forum Members
Points: 107 Visits: 457
I was able to download the sales.abf file but every time I tried to restore it in SSAS, I would get an error:

An existing condition was forcibly closed by the remote host

Despite the error, the database would appear under the databases dropdown. But I couldn't do anything with the database, not even delete it. If I tried to drill down I would get another error (whose message I can't recall and I don't to install it once again).

The only way I could drop the DB was to stop SSAS from Services and delete 2 files and 1 folder: Sales.0, Sales.0.db and master.vmp from
C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data.

Debbie
fuller.artful
fuller.artful
SSC Rookie
SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)

Group: General Forum Members
Points: 47 Visits: 165
Hi Vincent,

I liked reading through your article, and then decided to follow you step by step. I was able to grab and restore the backup file, etc., and to run the SQL statements to create the Sales database. So far, so good. I got the Product Dimension set up, by using the dropdowns not by dragging it. But I have another problem, which I suspect concerns SSAS more than your project. But having nowhere else to turn, I'm turning to you.

Unlike in your image, on my monitor in the large pane (Details) it says, "The query could not be processed. The data provider didn't supply any further error information."

The moment I try to move anything to where you suggested, I immediately get the error message: "Error H_Result E_Fail has been returned from a call to a COM component."

Any suggestions?

Thanks in advance,
Arthur

P.S.
A good read, and I'm eager to go through all the steps and make it work with my own stuff.

Arthur Fuller
cell: 647-710-1314

Only two businesses refer to their clients as users: drug-dealing and software development.
-- Arthur Fuller
JJ B
JJ B
Old Hand
Old Hand (327 reputation)Old Hand (327 reputation)Old Hand (327 reputation)Old Hand (327 reputation)Old Hand (327 reputation)Old Hand (327 reputation)Old Hand (327 reputation)Old Hand (327 reputation)

Group: General Forum Members
Points: 327 Visits: 2846
Awesome intro! Not having any need for data warehousing at my agency, I haven't had a chance to learn much about the topic. However, I have a feeling that I will be getting into it some day. I have been curious. This was a great intro. You explained the basic concepts in a quick and easy to grasp manner. Thanks.
Steven Harris-463201
Steven Harris-463201
Grasshopper
Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)

Group: General Forum Members
Points: 14 Visits: 73
I have the same issues. I cannot even restore the database. Additionally, the scripts provided don't seem to work or I am not running them in the correct place.

Have you gotten any further in getting this to run? I would like to see it working.

Thanks,
Steve
fuller.artful
fuller.artful
SSC Rookie
SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)

Group: General Forum Members
Points: 47 Visits: 165
I had no trouble getting the scripts themselves to work. To do so, I opened Management Studio, then opened the scripts (DDL and Populate) in turn, then executed them. Then I switched to Business Intelligence Studio, began the Restore and then realized that I would have to switch a flag indicating whether to permit browsing to a new directory. Rather than do that, I simply moved the backup file to the directory indicated. Then I proceeded and the database restored fine.

It was after that that my problems began. I have proceeded further and am now convinced that my setup of BI is toast. I tried creating a new project and got as far as defining a new data source, when I got an error message.

Unfortunately, my master copy is off-site, so all this will have to wait until tomorrow (for me at least).

As for you, try my steps above. Make sure that you create the database in Management Studio not Intelligence Studio. Just do File | Open then browse to where you stored the DDL and Populate scripts, then run the DDL first and then the Populate. Then switch to Business Intelligence and restore the backup file.

Arthur

Arthur Fuller
cell: 647-710-1314

Only two businesses refer to their clients as users: drug-dealing and software development.
-- Arthur Fuller
Steven Harris-463201
Steven Harris-463201
Grasshopper
Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)

Group: General Forum Members
Points: 14 Visits: 73
Arthur,

Thanks ... that helped. I was able to run the scripts and they created the database and populated the tables on the database engine side. However, I still cannot restore sales.abf file on the analysis side. I get an error "unable to read data from the transport connection: an existing connection was forcibly closed by the remote host." when I try to restore the file. This requires me stop the analysis services, delete the physical directory, start the services and then delete the sales database that was partially created.

I not sure what to try. Any thoughts?

Thanks,
Steve
VincentRainardi
VincentRainardi
SSC Journeyman
SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)SSC Journeyman (83 reputation)

Group: General Forum Members
Points: 83 Visits: 191
Hi all, thanks for all your responses.

Debbie, I attached sales.abf in zip format. I hope you would be able to restore the multidimensional database from this file into your SSAS server.

David, did you mean "An existing connection was forcibly closed by the remote host", rather than "existing condition"? Probably this was caused by the database was not restored/created properly. Would it be possible to try to restore it from the attached zip file. If this doesn't work, try creating a new SSAS project in BI Development Visual Studio than deploy it to your SSAS server. This is to validate if your SSAS server can create and host a database. I found that the SSAS on the November edition of SQL Server 2008 is not stable; is this is the version that you are using? Or are you using 2005?

Arthur, did you get the error that you mentioned in the SQL Server Management Studio (SSMS) when you try to do step 4.3, which is "Let’s drag to Drop Totals or Detail Fields Here, drag Month to Drop Row Fields Here, drag Product Category to the Select dimension area and set it to Book"? Or did it happen in BI Development Studio (BIDS) when you load the SSAS project? If this error happens in BIDS, try using SSMS. Like the error that David had, it seems that the error that you had, "Error HRESULT E_FAIL has been returned from a call to a COM component" is not related to SSAS. Perhaps we can try verifying your environment first, by creating a new SSAS project on BIDS and deploy to the SSAs server? Then we can try dragging the attribute to the right hand side area on figure 6.

Arther, I just read your 2nd post, which was your response to Steve. So you restored the SSAS project into your BIDS. Step 4.3 of my article (figure 6) is done using SSMS, not using BIDS. Perhaps you want to try browsing the cube (and issuing MDX statements) using SSMS?

Kind regards,
Vincent

Kind regards,
Vincent
Steven Harris-463201
Steven Harris-463201
Grasshopper
Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)

Group: General Forum Members
Points: 14 Visits: 73
Vincent,

Hopefully you can help me. When I try and restore the sales.abf file I get the following error:

The connection either timed out or was lost. (Microsoft.AnalysisServices)

Additional Information:
>Unable to read from the transport connection: An existing connection was forcible closed by the remote host. (System)
>>An existing connection was forcile closed by the remote host (System)

This require me to delete the physical files and then the database from the system.

Thanks,
Steve
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search