Problem In Opening Cube File (xyz.cub)

Apr 12, 2006

Hi there,
I've one cube file (xyz.cub) supplied by my customer.
I don't know how to open that cube file.
Can anyone let me know how should i proceed to browse contents of that cube? I tried to link and open using Foodmart datasource(standard example in MS Analysis services) however unable to locate it.
Does it needed to create new data source for browisng stand alone cube file?
My customer has not supplied anything other than xyz.cub cube file.

Thanks in advance.
Avadhoot

View 1 Replies


ADVERTISEMENT

Help Opening .MDF File

Jan 26, 2007

I’m trying to follow the article http://aspnet.4guysfromrolla.com/articles/031506-1.aspx. It gives a sample to download at the bottom which I did. I’m trying to take a look at the Stored Proc that were created in the PagingData.mdf. The only thing included in the App_Data folder is PagingData.mdf file. How can I open the DB or attach it to my SQL2005 server? There is no .ldf file included in the sample so the attaching is failing.
 

View 2 Replies View Related

Opening A MS SQL .bak File

Apr 16, 2008

Hi, I have a client who has a current website based on an MS SQL database. I am building a new website that will be in MySQL.

I have never used MSSQL before and the only information that i have been sent by the old web designer is a .bak file (which is the latest back-up of the MS SQL info) and the user name and password for the current on-line databases.

I dont know how to open this .bak file, ideally i would like to get it into MS excel or MS access. I have downloaded
SQL Server Management Studio Express and SQL Server Configuration Manager but i dont know what to do next (and am really confused!)

Can anyone advise me of the steps that i need to take to get the data out of the .bak file?

I would be VERY greateful of any assistance.

Thanks in advance,
Rebecca.

View 10 Replies View Related

Error Opening File

May 15, 2007

Hi all,

I am having one problem about the processing cube in SQL 2005 AS.
when cube runs i get this error in log file:

File system error: Error opening file; Program Files (x86)Microsoft SQL Server90SharedASConfigmsmdredir.ini is not a disk file or file is not accessible.

View 1 Replies View Related

Opening A DTS File With SQL Server 2005

Sep 16, 2007

Hello everybody,

I need held. I have to do a migration from DTS files to DTSX files.
I have SQL Server 2005 Standard Edition and I would simply like to edit a DTS package in order to remake a SSIS one.
In fact I dont want to use the migration wizad.
That seems very easy but I don't manage to edit a DTS file.
So how to do?

Thanks.

Samuel

PS : When I use the migration wizard, I have the following problem : the task is stopped as so far as all the SQL Server 2000 tasks aren't migrated to SQL Server 2005. For instance, the migration of the SQL Server Analysis Services task and of the data-mining prevision are not supported (Microsoft.SqlServer.DtsMigration).

View 1 Replies View Related

Opening An Excel File Using A Script Task

Oct 26, 2007

Is there a way to access / open an excel file using a script task in SSIS?

The "add references" does not provide access to the Microsoft Office components.

View 4 Replies View Related

SQL Server 2005 Opening Script File Problem

Aug 17, 2006

I just installed SQL Server 2005 on my PC (the developer's edition)yesterday. I have some scripts written by one of my coworkers tocreate some tables and stored procedures in a database that I'vealready created on my computer. Whenever I go to open the script file(whose icon shows that it's a SQL Server Query File and I've got thefile type set to open with SQLWB - SQL Server Management Studio), thefile opens in Notepad instead of appearing in the query window. Mycoworker told me that he just dragged and dropped the file in the querywindow and I tried that and got the same results (opening in Notepad).I can copy and paste the cotents of the file into the query window andrun it but of course this gets cumbersome for long scripts.Is there a setting or something that I need to change? I have SQLServer 2000 installed on my computer too.Thanks.Molly J. Fagan

View 18 Replies View Related

DOS Batch File Running Osql - Opening/closing Connections

Jul 20, 2007

I've written a small dos batch script that runs a simple query throughosql and then calls an exe which sends an email if the returned value


Quote:

View 2 Replies View Related

How Can I Connect OWC PivotTable To A Local Cube File?

Aug 4, 2004

:eek:

I want to use the Office Web Components (v10) PivotTable embedded in a web page. The examples and tutorials I've been able to find on MSDN all use the same architecture: The initial pivottable configuration is created by instantiating the object server-side and programmatically configuring it. The XMLDATA property is then read and sent to the client. At the client, script sets the XMLDATA property. So far so good, all makes sense. Then my problem: The PivotTable is then connected to Analysis Server using an http connection string (through IIS). As my users do not have database accounts, only application accounts, I cannot allow database connection information on the client. Trouble is, the PivotTable generates MDX queries when a user reconfigures the view, and there are no hooks (events or other means) to programmatically obtain the generated MDX query - a fact that is explicitly confirmed in MSDN documentation.

This clearly means that the PT must be connected directly to it's data source. So I thought I could just create a local MOLAP cube file and download it to the client (permissible as it runs as a trusted application). But nowhere can I find any example or documention on how to do this.

This is driving me slightly insane and I have little hair left now; if anyone knows how to do it or where to find proper PivotTable documentation (rather than a collection of examples that do something else from what I need to do!) then help is greatly :p appreciated!

Dag

View 1 Replies View Related

Analysis :: ABF File - Restoring SSAS Cube

Oct 25, 2010

I have a .abf file, which I am attempting to restore. I go to Management Studio and attempt to restore the cube.

However, whenever I attempt to restore the following error message occurs:

"File 'C:/.......' specified in restore command is damaged or is not an AS backup file.

The following error occured:

Access is denied (Microsoft SQL Server 2008  R2 Analysis Services)

View 4 Replies View Related

Analysis :: Writeback To Local Cube File Possible?

Nov 11, 2015

We are using a SSAS Server in order to analyse financial data. To create forecast scenarios, we would like to use the "what-if-analysis"-feature of Excel.  With this feature, data that was changed in Excel can be written back into the cube.

There are several data analyists who should be able to create scenarios on their own, that's why, each of them gets his own offline cube (a .cub file that is stored in the file system) whose data is extracted from the SSAS Server. 

Unfortunately, we found no way to write back data in these offline cubes. Due to the error message,  Excel failed to establish a connection to the external data source. Is there a way to writeback data to a local cube?

View 2 Replies View Related

Is It Possible To Create Cube File Without Microsoft Analysis Services

Aug 11, 2004

Can I create a cube file, .cub ,without the Microsoft Analysis Services

Pls Guide me as I am new in this field.

Thanks
Loyd

View 3 Replies View Related

AS 2000 DTS Data Extraction From Cube To Flat File

Sep 6, 2006

Currently we have a DTS that extracts data from a cube to a SQL Server table and then from SQL Server to a flat file.

This is taking a considerable time is there a faster way of doing this?

Thanks.
Mark.

View 1 Replies View Related

Power Pivot :: Aggregating Time Periods In Cube-member / Cube-value Formulas?

Aug 23, 2015

I am just starting out using CUBEMEMBER/CUBEVALUE formulas in excel linked into a sql olap db - using this method for some custom reports where pivot tables are not suitable.
The time dimension values include Months, Quarters and Years and the CUBEMEMBER formulas like

=CUBEMEMBER("OLAPCUBE","[Time].[Time].[Year].&[2015].&[1].&[1]") work fine - 1st quarter 1st month etc.

Is there a straightforward notation to aggregate months or do I need to use a plus sign to add a number of CUBEMEMBER formulas together.In other words - Is there an easier way of for say jan to july 2015 totals than

=CUBEMEMBER("OLAPCUBE","[Time].[Time].[Year].&[2015].&[1]") + (CUBEMEMBER("OLAPCUBE","[Time].[Time].[Year].&[2015].&[2]")) + (CUBEMEMBER("OLAPCUBE","[Time].[Time].[Year].&[2015].&[3].&[7]"))

I haven't tested this but have assumed it works but a bit long and clumsy.

View 5 Replies View Related

Analysis :: Creating Cube With AMO - Cube Has No Measure Groups?

May 19, 2015

I have problems creating a cube with AMO.

I can add the cube to the database object and fill it with dimensions and a measuregroup (see code below).

If I call cube.Update() it says something like "Error in meta data manager. Cube has no measuregroups." (getting the message in german language)

The error in Microsoft.AnalysisServices.OperationException.Results.Messages is -1055653629

I can't find any documentation about this (or any other) error code in Microsoft documentation.

Here's my Code:

Cube newCube = database.Cubes.Add("MyCube","MyCube");
newCube.Language = 1031;
newCube.Collation = "Latin1_General_CI_AS";
CubeDimension dim = newCube.Dimensions.Add("dim1","dim1","dim1");
CubeAttribute attrib = dim.Attributes.Find("dim1Attr1");

[code]....

View 2 Replies View Related

Microsoft SQL Server 2005 Management Studio - Opening SQL-File From Explorer Does Not Connect Automaticly To Server/database

Apr 25, 2008

hello,

I have a question about opening files in the Microsoft SQL Server 2005 Management Studio.

In the old Query Analyzer from SQL 2000 I can open SQL Files via drag & drop (from explorer to QA) or open it with a double click in the explorer. Then the Files opened, if I had actual a connection to a server / database (QA is stared with one file and has a connection to Server/Datebase), with this connection.

Now in Microsoft SQL Server 2005 Management Studio I'll be asked everytime for Server and have to get the database from the database list - it does not connect automaticly to server/database, that is actual connected (I have opened a file with the connection and a connected database in the object explorer).

Someone do not have this problem - but we found no option to set it up.

Any ideas?

thanks &
best regards,
Christian Kiedels

View 9 Replies View Related

GetSchemaDataset For Cube Restriction With Space In The Cube Name

May 27, 2008

When I make a call to GetSchemaDataset with a restriction of a cube name with a space in the name of the cube the call fails. Following is a sample of the code: adoRestriction = new AdomdRestriction("CATALOG_NAME", "Contoso Telecom_Contoso"); adoRestrictions.Add(adoRestriction); dataSet = conn.GetSchemaDataSet("MDSCHEMA_CUBES", adoRestrictions); I am running SQL Server 2005 Analysis Services SP2. Is there some way to qualify the cube name in the restriction or is this just a bug? Thanks.

View 1 Replies View Related

Opening SqlConnection - VB.NET

Sep 8, 2005

I used to use rdo in VB6 and now I'm trying to figure out how to use the SqlDataReader class in VB.NET.  I want to use an ODBC data source to specify the connection info.  I used to give the rdoConnection object a connect string that looked something like this:"DSN=[data source name];UID=[sql server user];PWD=[pwd]"I don't understand the connect string given in all the examples I've found (nor does it seem to work on my system...)
mySqlConnection = New SqlConnection("server=(local)VSdotNET;Trusted_Connection=yes;database=northwind")Does anyone have any ideas?  I'm open to explanations as well as solutions :)Thanks,jdm

View 3 Replies View Related

10 Gb Database Not Opening

Nov 12, 2001

i have a 10 gb database which iam not able to poen through enterprise manager or sql query analyser in sql server 7.0, any solutions?

View 1 Replies View Related

Opening .DTS Package

Aug 20, 2004

Hi,

I got a .dts package via email. But I am not able to open it in my sql server.
Could some one pls help me know, how to open .dts packeges in the designer.

Thanks
Cheriyan.

View 1 Replies View Related

Opening .mdf Files

Apr 2, 2008

All I want to do is open an .mdf file. So I have downloaded and installed SQL Server 2005 Express Edition. I have searched HELP but I see nothing simple. How do I add a file to this server so that I can read the file in Access?
Thank you very much for any help you can give.
David Thomas

View 8 Replies View Related

Opening A URL In A New Window

May 14, 2008

Hello Guys,
One of the fields in my report is a web address (i.e. http://www.yahoo.com). Navigation property for this field is "Jump to URL". Users will access the report with a browser, using a "sharepoint-like" application. Default behavior of "Jump to URL" seems to be to open the link in the same window (or tab in IE7). Is there a way to force the link to be open in the new window?? Please let me know if you have any suggestions. Thanks!!

View 5 Replies View Related

Opening Cursors

May 18, 2008

Hi,

Im using Sql server 2000. I wanted to know if its possible to open a cursor using an sp instead of an sqlstatement?

Also I know that cursors cant be opened for more than one result sets. This question is based on the assumption that the SP will return only one result set.

If possible please let me know the syntax/reference link.

View 4 Replies View Related

Which Is The Correct Way Of Opening A Connection?&>

Jul 14, 2006

Hi
I access a DB by as abvious creating a DB Connection and then sending  a querry to it. Finally creating an SQL Command and then exuting it.
 
But the thng is I am using a static function:
which opens a new connection and returns a data reader based on the querry. i.e
 
 
pubblic static SqlConnection OpenConnection()
{
try
{
string connectionString = "Data Source=mm\SQLEXPRESS;Initial Catalog=monsoonDB;Integrated Security=True";
SqlConnection conn = new SqlConnection(connectionString);
conn.Open();
return conn;
}
catch (Exception ex)
{
throw;
}
}
   
Now I have the execute selectquerry function.....
public static SqlDataReader ExecuteSelectQuerry(string querry)
{
try
{
SqlConnection conn = OpenConnection();
SqlCommand scomm = new SqlCommand(querry, conn);
SqlDataReader sdr = scomm.ExecuteReader();
return sdr;

}
catch (Exception e)
{
return null;
}
}}
 
 
 
now my question is....the instance of conn is limited only to that function only, and not returned outside. Whereas only the SqlDataReader is returned outside. Does that have any abnormal affect on the application. Since my ASP Application is getting locked (not doing anything, nt even post back!) sometimes after a few DB operation.
 
Arent these connections and instances Managed (auto garabage collection)?? Can  memory leaks under such a situation occur.
Please help
 
Thanks

View 3 Replies View Related

Error With Opening The Connection

Jun 26, 2007

I have created my query to do what it needs to do but i'm getting error when i click the button, it says there is an error opening my connectiong....
 I.E.
Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.Source Error:



Line 28:
Line 29: //open the connection
Line 30: myConnection.Open();
Line 31:
Line 32: //create a commandSource File: c:Documents and SettingsplanPlanDatabaseBZAvuAdd.aspx.cs    Line: 30 Stack Trace:



[SqlException (0x80131904): Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.]
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +171
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +199
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2305
System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK) +34
System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +606
System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +193
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +502
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +28
System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +429
System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +70
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +512
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +85
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +89
System.Data.SqlClient.SqlConnection.Open() +160
_Default.insertIntoVU() in c:Documents and SettingsplanPlanDatabaseBZAvuAdd.aspx.cs:30
_Default.addAppButton_Click(Object sender, EventArgs e) in c:Documents and SettingsplanPlanDatabaseBZAvuAdd.aspx.cs:127
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +75
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +98
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4919

 
 therefor is this saying that I have to login before even testing this thing or what??

View 27 Replies View Related

Error In Opening My SP Class

Jan 17, 2008

Hello,
I put my stored procedure in my class and try to execute it but get this error
1st here is my class
 1 public signup_data_entry()
2 {
3 SqlConnection con = new SqlConnection("cellulant_ConnectionString");
4
5
6 SqlCommand command = new SqlCommand("Cellulant_Users_registration", con);
7 command.CommandType = CommandType.StoredProcedure;
8
9 con.open();
10
11 command.Parameters.Add(new SqlParameter("@RegionID", SqlDbType.Int, 0, "RegionID"));
12 command.Parameters.Add(new SqlParameter("@RegionDescription", SqlDbType.NChar, 50, "RegionDescription"));
13
14 command.Parameters[0].Value = 4;
15 command.Parameters[1].Value = "SouthEast";
16
17 int i = command.ExecuteNonQuery();
18
19
20 }
 
 
 
 
and here is the error message on the testing server. Error line is line 27 below
 
 Source Error:



Line 25: command.CommandType = CommandType.StoredProcedure;
Line 26:
Error >>> Line 27: con.open();
Line 28:
Line 29: command.Parameters.Add(new SqlParameter("@RegionID", SqlDbType.Int, 0, "RegionID"));


Source File: c:inetpubwwwrootcellulant1App_Codesignup_data-entry.cs Line: 27

 

View 1 Replies View Related

Opening And Closing The DB Connection

Mar 16, 2008

Hi most of my code follows the following format in a lot of my pages, my question is; Am i approaching it the right way in terms of performance, sql injection attacks and anything someone more knowledgeable than myself can think off, please feel free to criticise the code. Thank youprotected void Page_Load(object sender, EventArgs e)
{string strID = Request.QueryString["id"];
SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["streamConnectionString"].ConnectionString);SqlCommand command = new SqlCommand("stream_EventsByID", conn);
command.CommandType = CommandType.StoredProcedure;command.Parameters.Add("@eventID", SqlDbType.Int).Value = Request.QueryString["id"];
conn.Open();
SqlDataReader reader = command.ExecuteReader(CommandBehavior.CloseConnection);
eventList.DataSource = reader;
eventList.DataBind();
conn.Close();
}
}

View 7 Replies View Related

Problem Opening Databases In ASP.NET

Jun 26, 2004

I Have A Problem With Opening A Database With "SQLOLEDB" Provider In Web Application Projects!
The Same Database Opens In Windows Application Projects But When I Try TO Open It (Manually Or During A DataAdapter.Fill Method) In Web APPS I Get An Error Message : "Login failed for user 'NT AUTHORITYNETWORK SERVICE'."
I Use Windows NT Authentication In Connections,
I Have SQL Server 2000 Enterprise Edition (With Default Installation) , Windows .Net Server 2003 Enterprise Edition (IIS 6) , And VS.NET 2003 Enterprise Edition (.Net Framework 1.1)
Can Anyone Tell Me What's Wrong?

View 3 Replies View Related

Getting This Error When I Am Opening SQL Database

Jul 11, 2005

Hi,I am getting this error when i am connecting sql database.Error = "SQL Server does not exist or access denied."Can you please suggest me where i am going wrong.RegardsNaveen

View 2 Replies View Related

Opening And Closing DB In Different Sub Routiens

Apr 20, 2006

If Someone could please show me some example VB code where i can open the my Sqlconnection in the Page_Load subroutien... and then close that SqlConnection in the Page_Unload routine. I want to be able to execute Sql command without having to re-open and re-close the connection.

Thanks,
Greg

View 4 Replies View Related

Error Opening Tables In EM

Apr 30, 2001

When using Enterprise Manager, Right Clicking on any table in the db, selecting OPEN TABLE, and choosing either Return all rows or Return Top... I recieve this error "The query cannot be executed because some files are missing or not registered. Run setup again to make sure the required files are registered."

I am running: SQL Server 7.0 Client with Windows 2000.

I have run setup again and the same thing still happenes. I even uninstalled and reinstalled SQL Server, still the same thing occures.

I first installed SQL Server7.0 on my machine about a month and a half ago and all was fine until two weeks ago, then this started happening. SQL Server was the last thing I have installed on this machine so it cannot be a new install conflict. I can't think of any reason for this to be happening out of the blue like it did.

Does anyone have any insight???

View 2 Replies View Related

Opening Ports On The Server

Dec 31, 2002

How would i open up ports on the server? Are they all open or do i have to specify which ones i want open? thanks

View 7 Replies View Related

Opening My Client's DB Locally

Mar 11, 2006

My client has given me a DB file (.MDF) and I need to open it in order to export it to the remote DB.
In Enterprise Manager I go to 'New Database' - create a new DB and click on the 'Data' tab to browse to my clients file. Enterprise Manager recognises the file and everything seems hunky dory. but the resulting DB seems to have no tables.
The DB file is 1600K and has some stored procedures but if I try to export the tables there is nothing. His ASP files refer to tables in the SQL as you would expect.
Am I missing something? it's the weekend so he is not available and I don't want to look tooo stupid!

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved