How To Get The Training Error From The Model?

May 9, 2007

Hi, everyone here.

I am trying to get the training error of the model processed which can reveal how much the model fits the cases. The training error can reveal how many cases (from training set) are classified correctly. The lower traing error is, the more the model fits the training set. (Maybe overfitted) But I found it hard to get. I saw the life chart in AS 2005 which I am not quite understand and don't know how to code it in my program.



Is there some way to getting traing error or predicting error?



I am now using this awful way to get the training error:



select t.*,CollegeTree.CollegePlans as pred

from collegetree
prediction join
openquery(DSource,'select * from CollegePlans') as t
on CollegeTree.StudentID = t.StudentID and
...
where t.CollegePlans = CollegeTree.CollegePlans;



and then use datareader.ItemCount to get the count of cases which classified correctly.



Keyword: train error,predict error, data mining, analysis service

View 5 Replies


ADVERTISEMENT

Error When Training Mining Model. Column Name Seems Can't Be Recognized

Jul 11, 2007



Dear All, I have a simple mining structure created by the DMX statement below. Then I tried to insert some data with MDX language by extracting data in OLAP. But I got the following error when I execute the insert statement.



Errors in the high-level relational engine. The 'Customer ID' column in the RELATES clause was not found in the results of the OPENROWSET query.


It seems that the append statement can't really recognize the name of the column which should be Customer ID.



How can I fix this problem?



Thanks

Tony Chun Tung Siu



The source code for create and insert is as below.



create mining model customerMiner
(
customerID long key ,
age long continuous,
orders table
(
orderID long key,
goodsID long discrete predict_only
)
)using [Microsoft_decision_trees] with drillthrough;

insert into mining model customerMiner
(
customerID,
age,
orders
(
skip,
orderID,
goodsID
)
)
shape
{
openQuery([Simple SSAS],
'
select {[Measures].[Customer ID], [Measures].[Age]} on columns,
{[Customer].[Customer].[Customer].members} on rows
from fi
')
}
append
(
{
openQuery([Simple SSAS],
'
select {[Measures].[Customer ID],[Measures].[Order ID2],[Measures].[Goods ID]} on columns,
[Goods].[Order ID2].[Order ID2].members on rows
from fi
')
}
relate [Customer ID] to [Customer ID]
)as orders

View 1 Replies View Related

SSIS Data Mining Model Training Transform (Nested Tables)

Oct 26, 2006

I can't figure out how to put nested tables into the Data Mining Model Training Transform (SSIS). I can do a simple case table, but how do you get those nested tables with DM Training Transformation? Any ideas? Samples?

Thanks in advance,

-Young K

View 3 Replies View Related

How To Partition The Split The Dataset Into Training And Validation When Running Descision Tree Model?

Jun 15, 2007



Can I ask how to split the dataset into training and validation when running descision tree model?

View 3 Replies View Related

Error Message Web Service Account Not Setup How Do I Set One Up On Local Computer, Just For Training

Jan 31, 2008

Help, Had configuration error trying to set up reporting services. Uninstalled SQL Server and Reinstalled, but not all files were removed. How many files and directories do I have to remove to get Reporting Services to work?

Thanks!
Terry<Header>
<Product>Microsoft SQL Server Reporting Services Version 9.00.1399.00</Product>
<Locale>en-US</Locale>
<TimeZone>Central Standard Time</TimeZone>
<Path>C:Program FilesMicrosoft SQL ServerMSSQL.3Reporting ServicesLogFilesReportServerService__main_01_31_2008_16_16_12.log</Path>
<SystemName>JPADESKTOP1</SystemName>
<OSName>Microsoft Windows NT 5.1.2600 Service Pack 2</OSName>
<OSVersion>5.1.2600.131072</OSVersion>
</Header>
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing ConnectionType to '0' as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing IsSchedulingService to 'True' as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing IsNotificationService to 'True' as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing IsEventService to 'True' as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing PollingInterval to '10' second(s) as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing WindowsServiceUseFileShareStorage to 'False' as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing MemoryLimit to '60' percent as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing RecycleTime to '720' minute(s) as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing MaximumMemoryLimit to '80' percent as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing MaxAppDomainUnloadTime to '30' minute(s) as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing MaxQueueThreads to '0' thread(s) as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing IsWebServiceEnabled to 'True' as specified in Configuration file.
ReportingServicesService!configmanager!4!1/31/2008-16:16:12:: w WARN: WebServiceAccount is not specified in the config file. Using default: JPADESKTOP1ASPNET
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing MaxActiveReqForOneUser to '20' requests(s) as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing MaxScheduleWait to '5' second(s) as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing DatabaseQueryTimeout to '120' second(s) as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing ProcessRecycleOptions to '0' as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing RunningRequestsScavengerCycle to '60' second(s) as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing RunningRequestsDbCycle to '60' second(s) as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing RunningRequestsAge to '30' second(s) as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing CleanupCycleMinutes to '10' minute(s) as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing DailyCleanupMinuteOfDay to default value of '120' minutes since midnight because it was not specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing WatsonFlags to '1064' as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing WatsonDumpOnExceptions to 'Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException' as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing WatsonDumpExcludeIfContainsExceptions to 'System.Data.SqlClient.SqlException,System.Threading.ThreadAbortException' as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing SecureConnectionLevel to '0' as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing DisplayErrorLink to 'True' as specified in Configuration file.
ReportingServicesService!library!4!1/31/2008-16:16:12:: i INFO: Initializing WebServiceUseFileShareStorage to 'False' as specified in Configuration file.
ReportingServicesService!servicecontroller!9!1/31/2008-16:16:13:: Total Physical memory: 1055309824

View 1 Replies View Related

Report Model Deployment : The Model ID Of The Submitted Model Must Match That Of The

Dec 5, 2005

Running 2005 Beta 3 Refresh.  When I first deploy, it works fine. Subsequent deployments yield the following error:

View 9 Replies View Related

Error While Trying To Load The Mining Model In The Mining Model Viewer

Nov 15, 2006

I get the following error when I try to load the mining model in the mining model viewer

Query (1, 6) The '[System].[Microsoft].[AnalysisServices].[System].[DataMining].[NeuralNet].[GetAttributeValues]' function does not exist.

I get a similar error when I try to load the Load Mining Accuracy Chart

Failed to execute the query due to the following error:

Query (1, 6) The '[System].[Microsoft].[AnalysisServices].[System].[DataMining].[AllOther].[GenerateLiftTableUsingDatasource]' function does not exist.

I have OWC 11 installed. What am I missing here?

Thanks

View 7 Replies View Related

Error Attaching Adventureworks Database And SSIS Training Database

Oct 4, 2006

Hi there,

I got this error when i tried to attach the adventureworks database and SSIS training database.

an exception occurred while executing a transact-sql statement or batch
(microsoft.sqlserver.connectioninfo)

could not find row in sysindexes for database ID 17, object ID 1, index ID 1. Run DBCC
checktable on sysindexes.



I join join a network domain for my computer. Previously it doesnt have this problem.

View 1 Replies View Related

Get Error When Create Model

Mar 13, 2008

Hi all,

I am using SQL Server BI development studio to create a model. I get the error message when I run the report model wizard:

"Arithmetic overflow error converting expression to data type smalldatetime."

Please help.

Best regards,

View 1 Replies View Related

Generate Model Error

May 22, 2007

New to Reporting Services. Installation seemed to go well. All green checks on the Reporting Services Configuration page.



In Reporting Services when I click New Datasource... My connection type is Microsoft SQL Server. This is my connect string... data source=PeninsulaPoint;initial catalog=UHSSelfService. I have checked the Windows integrated security radio button. Then I save the Datasource. I then edit the datasource to Generate the Model to be used in Report Builder. When I click Generate Model, give the Model a name and click ok I get the following error.



Cannot create a connection to data source ''. (rsErrorOpeningConnection)
Invalid Authorization



Help!!!!!

View 2 Replies View Related

Error For Processing Model

Feb 15, 2008


In the previous thread I said when I want to create a model and structure, in process time one error appeared that I said.
Now I think this error is because of my structure now I€˜ve one request i send my project and please see that and say what is this error?
Thanks a lot.
For creating mining structure and mining model I use the code of chapter14 file that one person had put for me

Please run this project and then say whay when I process my model ,the process do incorrectly.
in this code button 1 is for showing the anme of data bsase and table and column of that in currenyt server and then with button 2 i want ot creat model and struture and data source data source view
now please run this code and then say whay i have error for process model .
please run and answer me
thanks a lot


string last;

int ts;

string[] items;

string ky;

string t;

string dbnam;

string tblnam;

public Form1()

{

InitializeComponent();

}

private void button1_Click(object sender, EventArgs e)

{

SqlConnection con = new SqlConnection("Data Source=localhost;Integrated Security=True");

con.Open();

SqlCommand cmd1 = new SqlCommand(" EXEC sp_databases;", con);

DataSet ds = new DataSet();

SqlDataAdapter da1 = new SqlDataAdapter();

da1.SelectCommand = cmd1;

da1.Fill(ds, "1");

this.comboBox1.DisplayMember = "database_name";

this.comboBox1.ValueMember = "database_name";

this.comboBox1.DataSource = ds.Tables["1"];

SqlCommand cmd2 = new SqlCommand("USE " + comboBox1.Text.ToString() + " EXEC sp_tables @table_owner ='dbo';", con);

SqlDataAdapter da2 = new SqlDataAdapter();

da2.SelectCommand = cmd2;

da2.Fill(ds, "2");

this.comboBox2.DisplayMember = "table_name";

this.comboBox2.ValueMember = "table_name";

this.comboBox2.DataSource = ds.Tables["2"];

SqlCommand cmd3 = new SqlCommand("USE " + comboBox1.Text.ToString() + " EXEC sp_columns @table_name = N'" + comboBox2.Text.ToString() + "', @table_owner = N'DBO';", con);

SqlDataAdapter da3 = new SqlDataAdapter();

da3.SelectCommand = cmd3;

da3.Fill(ds, "3");

DataTable dt = new DataTable();

dt.Columns.Add("column_name");

dt.Columns.Add("data_type");

for (int i = 0; i < ds.Tables["3"].Rows.Count; i++)

{

DataRow dr = ds.Tables["3"].Rows;

dt.Rows.Add(dr[3], dr[5]);



}

con.Close();

dataGridView1.Columns.Clear();

dataGridView1.DataSource = dt;

DataGridViewCheckBoxColumn DVCC = new DataGridViewCheckBoxColumn();

DVCC.Name = "key";

dataGridView1.Columns.Add(DVCC);

DataGridViewCheckBoxColumn DVCC2 = new DataGridViewCheckBoxColumn();

DVCC2.Name = "input";

dataGridView1.Columns.Add(DVCC2);

DataGridViewCheckBoxColumn DVCC3 = new DataGridViewCheckBoxColumn();

DVCC3.Name = "predict";

dataGridView1.Columns.Add(DVCC3);



}

private void Form1_Load(object sender, EventArgs e)

{

}

private void button2_Click(object sender, EventArgs e)

{

dbnam = comboBox1.Text;

tblnam = comboBox2.Text;

Microsoft.AnalysisServices.Server srv = new Server();

srv.Connect("data source=localhost");

string dbname;

dbname = comboBox1.Text;



Database dbNew = new Database(dbname,

Utils.GetSyntacticallyValidID(dbname, typeof(Database)));

srv.Databases.Add(dbNew);

dbNew.Update();

//***************************//

string DataSourcename;

DataSourcename = comboBox1.Text;

RelationalDataSource dsNew = new RelationalDataSource(

DataSourcename,

Utils.GetSyntacticallyValidID(

DataSourcename,

typeof(RelationalDataSource)));

dsNew.ConnectionString = "Provider=SQLNCLI;Data Source=localhost;" +

"Initial Catalog="+comboBox1.Text+";Integrated Security=SSPI"; ;

dbNew.DataSources.Add(dsNew);

dsNew.Update();

//**************************//





DataSet dset = new DataSet();

SqlConnection cn = new SqlConnection("Data Source=localhost;" +

"Initial Catalog="+comboBox1.Text+";Integrated Security=true");

SqlDataAdapter da = new SqlDataAdapter("select * from "+comboBox2.Text,cn);



da.FillSchema(dset, SchemaType.Mapped, comboBox2.Text);

DataSourceView dsv = new DataSourceView(comboBox1.Text, comboBox1.Text);

dsv.DataSourceID = comboBox1.Text ;

dsv.Schema = dset.Clone();

dbNew.DataSourceViews.Add(dsv);

dbNew.Update(UpdateOptions.ExpandFull);







MiningStructure ms = dbNew.MiningStructures.Add(comboBox2.Text, Utils.GetSyntacticallyValidID(comboBox2.Text,

typeof(MiningStructure)));

ms.Source = new DataSourceViewBinding(comboBox1.Text);

ms.CaseTableName = comboBox2.Text;



int count = dataGridView1.Rows.Count;

for (int i = 0; i < count - 1; i++)

{







if (Convert.ToBoolean(dataGridView1.Rows.Cells["key"].Value) | Convert.ToBoolean(dataGridView1.Rows.Cells["input"].Value) | Convert.ToBoolean(dataGridView1.Rows.Cells["predict"].Value))

{

string X;





X = Convert.ToString(dataGridView1[0, i].Value);

ScalarMiningStructureColumn I;

I = new ScalarMiningStructureColumn(X,

Utils.GetSyntacticallyValidID(X, typeof(ScalarMiningStructureColumn)));

if (!Convert.ToBoolean(dataGridView1[2, i].Value))

{



I.IsKey = false;

I.Type = conv(Convert.ToString(dataGridView1[1, i].Value));

I.Content = "Continuous";



}

else

{

ky = X;

I.IsKey = true;

I.Content = "Key";

I.KeyColumns.Add(comboBox2.Text, X, OleDbType.Integer);

}

ms.Columns.Add(I);



}

// //****************************************************************************************************************************************//

}

ms.Update();

MiningModel mm = ms.MiningModels.Add(comboBox2.Text,

Utils.GetSyntacticallyValidID(comboBox2.Text, typeof(MiningModel)));

mm.Algorithm = "Microsoft_Time_Series";

for (int i = 0; i < count - 1; i++)

{

if (Convert.ToBoolean(dataGridView1.Rows.Cells["key"].Value) | Convert.ToBoolean(dataGridView1.Rows.Cells["input"].Value) | Convert.ToBoolean(dataGridView1.Rows.Cells["predict"].Value))

{

string X;

X = Convert.ToString(dataGridView1[0, i].Value);

MiningModelColumn mc = new MiningModelColumn(X,

Utils.GetSyntacticallyValidID(X, typeof(MiningModelColumn)));

mc.SourceColumnID = ms.Columns[X].ID;

if (Convert.ToBoolean(dataGridView1[2, i].Value))

mc.Usage = "Key";

else

if ((Convert.ToBoolean(dataGridView1[3, i].Value)) && (Convert.ToBoolean(dataGridView1[4, i].Value)))

mc.Usage = "Predict";

else

mc.Usage = "PredictOnly";

mm.Columns.Add(mc);

}

}

mm.Update();

ms.Process(ProcessType.ProcessStructure);

mm.Process(ProcessType.ProcessDefault);



srv.Disconnect();

SqlDataAdapter da2 = new SqlDataAdapter("select " + ky + " from " + comboBox2.Text, cn);

DataTable dt=new DataTable();

da2.Fill(dt);

ts = dt.Rows.Count;

items = new string[ts+10];

for (int i = 0; i < ts; i++)

{DataRow dr = dt.Rows;

items=dr[0].ToString();



}

last = items[ts-1];



}

private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)

{



SqlConnection con = new SqlConnection("Data Source=localhost;Integrated Security=True");

SqlCommand cmd2 = new SqlCommand("USE " + comboBox1.Text.ToString() + " EXEC sp_tables @table_owner ='dbo';", con);

con.Open();

SqlDataAdapter da2 = new SqlDataAdapter();

da2.SelectCommand = cmd2;

DataSet ds = new DataSet();

da2.Fill(ds, "2");

con.Close();

this.comboBox2.DisplayMember = "table_name";

this.comboBox2.ValueMember = "table_name";

this.comboBox2.DataSource = ds.Tables["2"];



if (comboBox2.Items.Count > 0)

{

comboBox2.SelectedIndex = 0;

}





}

private void comboBox2_SelectedIndexChanged(object sender, EventArgs e)

{

SqlConnection con = new SqlConnection("Data Source=localhost;Integrated Security=True");

SqlCommand cmd3 = new SqlCommand("USE " + comboBox1.Text.ToString() + " EXEC sp_columns @table_name = N'" + comboBox2.Text.ToString() + "', @table_owner = N'DBO';", con);

con.Open();

SqlDataAdapter da3 = new SqlDataAdapter();

da3.SelectCommand = cmd3;

DataSet ds = new DataSet();

da3.Fill(ds,"3");

con.Close();

dataGridView1.DataSource = "empty";



con.Close();

DataTable dt = new DataTable();

dt.Columns.Add("column_name");

dt.Columns.Add("data_type");



for (int i = 0; i < ds.Tables["3"].Rows.Count; i++)

{

DataRow dr = ds.Tables["3"].Rows;



dt.Rows.Add(dr[3], dr[5]);

}

dataGridView1.Columns.Clear();

dataGridView1.DataSource = dt;

DataGridViewCheckBoxColumn DVCC = new DataGridViewCheckBoxColumn();

DVCC.Name = "key";

dataGridView1.Columns.Add(DVCC);

DataGridViewCheckBoxColumn DVCC2 = new DataGridViewCheckBoxColumn();

DVCC2.Name = "input";

dataGridView1.Columns.Add(DVCC2);

DataGridViewCheckBoxColumn DVCC3 = new DataGridViewCheckBoxColumn();

DVCC3.Name = "predict";

dataGridView1.Columns.Add(DVCC3);



}

public string conv(string data_type)

{



if (data_type == "int" | data_type == "tinyint" | data_type == "smallint" | data_type == "bigint")

t = "Long";

else

if (data_type == "char" | data_type == "nchar" | data_type == "varchar" | data_type == "nvarchar" | data_type == "binary" | data_type == "varbinary" | data_type == "image" | data_type == "text" | data_type == "ntext" | data_type == "timestamp" | data_type == "uniqueidentifier")

t = "text";

else

if (data_type == "decimal" | data_type == "float" | data_type == "money" | data_type == "smallmoney" | data_type == "numeric" | data_type == "real")

t = "Double";

else

if (data_type == "datetime" | data_type == "smalldatetime")

t = "Date";

else

if(data_type=="bit")

t="Boolean";

return t;

}



}

}

View 2 Replies View Related

Report Model Error In WSS 3.0

Jan 12, 2007

The model specified must be a generated model. (rsModelNotGenerated)

This error comes up after clicking on the new report model. The report model and datasource deployed to the sharepoint server with no issues.

View 2 Replies View Related

Error - Report Model For Oracle 10g

Jan 10, 2008

I've searched forums and found responses from 2006 forward, but none that I'd find satisfactory, so if anyone can help, I'd appreciate it.

I'm using SQL have SQL Server Reporting Services 2005 SP2. I've successfully used SQL Server Business Intelligence Development Studio to create reports and charts from data stored in an Oracle 10g database.

I have a distributed team and while I'm creating the official reports, I need them to be able to utilize the Report Builder to create their own reports for day to day management of their own activities.

I created a Data Source and a Data Source View successfully. When I tried to utilize the Report Model Wizard to create a report model the builder can use, I get an error.
ORA-02179: valid options: ISOLATION LEVEL { SERIALIZABLE | READ COMMITTED }

I've read that this was ''fixed" with SP2. I've also read that there are work-arounds (which I don't necessarily understand). However, I've read plenty of MS documentation that says that this should work.

Can anyone provide any clarity around where my problem lies and how I might mitigate?

Thanks in advance,

View 3 Replies View Related

ERROR, Insert Into Mining Model .........

Mar 22, 2007

i try to process datamining with DMX
first i create new mining:
CREATE MINING model ForexData ( timeseri DATE KEY, Xhnow TEXT DISCRETE, Muccl TEXT DISCRETE, Change TEXT DISCRETE, XH5be TEXT DISCRETE, XH3be TEXT DISCRETE, XH1be TEXT DISCRETE , XH1ne TEXT DISCRETE PREDICT_only, XH3ne TEXT DISCRETE PREDICT_only, XH5ne TEXT DISCRETE PREDICT_only)Using Microsoft_Association_Rules (Minimum_Probability = 0.4, Minimum_Support = 0.01)
after that i use insert into statement:

INSERT INTO mining model ForexData(Change,Muccl,Timeseri ,XH1be,XH1ne,XH3be,XH3ne,XH5be,XH5ne)OPENQUERY([Forex DB],'Select Change,Muccl,Timeseri ,XH1be,XH1ne,XH3be,XH3ne,XH5be,XH5ne FROM dbo.dataprice')

there is the fisrt time i deploy ForexData so, it return an error:

Errors in the OLAP storage engine: An error occurred while the 'timeseri' attribute of the 'ForexData_Structure ~MC-timeseri' dimension from the 'Analysis Services Project1' database was being processed.

i dont know about it, i have read some docs and comments on web but can solve this problem, can you help me?
as soon as posible, please

i have create a data source and data source view by BI and it return database is 'Analysis Services Project1'. and data source name: 'Forex DB' ;data source VIEW name: 'Forex DB' ;

nick yahoo:  remember_somebody; contact to me if you can, i really need these infomation

View 5 Replies View Related

Error: The Database Model Is Not Accessible

Dec 4, 2007

Last week we reset the Model datable to autogrow. Now I get an error when I try to go into it. (I discovered this since I can no longer go into the interface of the program). I wasn't here when the changes were made to the Database Model, but the change was made because the transaction log was filled up.

Help.. I'm such a newbie.
anke

View 9 Replies View Related

Loading Mining Model Error

Feb 14, 2006

Hello, I am using SQL Server 2005, and trying to load a mining model : microsoft association rules through a VB.net.

When it is loading, this error msg displayed :
"An error was encountered in the transport layer. The peer prematurely closed the connection."

Any help is really appreciated.

Thanks a lot,
Mita

View 8 Replies View Related

Mining Model Viewer Error

Jan 22, 2007

I am developing a multiple regression model for a super market site selection with 11 predictors.

As soon as I press the model viewer tab, the following message appears:

The server content appears to be out of date.
Would you like to build and deploy the project first?

I opt no and the error message pops up:

The tree graph cannot be created because of the following error:

'Either the user, ......., does not have access to the ....... database, or the database does not exist.'.

Could anyone mine out the cause please....

saji

View 1 Replies View Related

Error: Report Model Wizard

Apr 23, 2008

Hallo
I've got a problem with the Report Model Wizard, when i run them i become following error:
Invalid SQL statement; expected 'DELETE', 'INSERT', 'PROCEDURE', 'SELECT', or 'UPDATE'.

The datasource is a Access DB, when i do the same procedure with one of our other db (mssql) it works, but i need the report model to the Access DB.

Any Ideas?

View 1 Replies View Related

Power Pivot :: Building A Model Based On Multinational Model With Different Languages?

Oct 19, 2015

I need to develop a language specific dwh, meaning that descriptions of products are available from a SAP system in multiple languages. English is the most important language and that is the standard. But, there are also requirements of countries that wants productdescriptions in their language. 

Productnr Productdesc Language
1            product       EN
1            produkt       DE

One option is to column the descriptions, but that is not very elegantly. I was thinking of using bridge tables to model this but you have to always select a language in a filter (I think)..

I'm thinking of a technical solution, such that when a user logs on, the language is determined and a view determines whether to pick a certain product table specific for a certain language. But then I don't have the opportunity to interchange the different language specific fields in a report (or in my case PowerPivot).

View 2 Replies View Related

Can We Pause Log Shipping, Bring Primary Db To Simple Recovery Model And Then Back To Full R Model?

Apr 25, 2008



We have the following scenario,

We have our Production server having database on which Few DTS packages execute every night. Most of them have Bulk Insert stored procedures running.

SO we have to set Recovery Model of the database to simple for that period of time, otherwise it will blow up our logs.

Is there any way we can set up log shipping between our production and standby server, but pause it for some time, set recovery model of primary db to simple, execute DTS Bulk Insert Jobs, Bring it Back to Full recovery Model AND finally bring back Log SHipping.

It it possible, if yes how can we achieve this.

If not what could be another DR solution in this scenario.

Thanks Much
Tejinder

View 6 Replies View Related

Error When Generating Data Source Model

Mar 20, 2008

When I attempt to generate a datasource model I get the following error messages:
------------------------------------------------
More than one item in the Entity 'Customer' has the
name 'Customer Merge Custs'. Item names must be unique
among immediate siblings. (DuplicateItemName)

More than one Field in the Entity 'Customer' has the
name 'Customer Merge Custs'. Field names must be
unique within an Entity. (DuplicateFieldName)

More than one item in the Entity 'Pricing Service Layout
Detail' has the name 'Pricing Service
Extensions'. Item names must be unique among immediate
siblings. (DuplicateItemName)

More than one Field in the Entity 'Pricing Service Layout
Detail' has the name 'Pricing Service
Extensions'. Field names must be unique within an Entity.
(DuplicateFieldName)
---------------------------------------------------

Examining any of the above tables in SQL Server Management Studio does not reveal any duplicate column names. In fact, 'Customer_Merge_Custs' does not appear to be a column in 'Customer' nor does 'Pricing_Service_Extensions' appear in 'Pricing_Service_Layout_Detail'.

As an experiment, deleting the table 'Pricing_Service_Extensions' and regenerating did make the two associated messages go away.

Steve P.

View 3 Replies View Related

Error While Depoloying Report Model Project

Aug 10, 2007

Hi,

I am trying to deploy my report model project to remote server which is our QA environment using Visual Studio. In my Project Property I have set the Traget Data source folder and model folder and URL. But I am getting this error any idea???
===================================
A connection could not be made to the report server "ReportServer URL for my remote server"
. (Microsoft Semantic Model Designer)
===================================
Client found response content type of '', but expected 'text/xml'.
The request failed with an empty response. (Microsoft.ReportingServices.SemanticQueryDesign)
------------------------------
Program Location:
at Microsoft.SqlServer.ReportingServices2005.RSConnection.GetSecureMethods()
at Microsoft.SqlServer.ReportingServices2005.RSConnection.IsSecureMethod(String methodname)
at Microsoft.SqlServer.ReportingServices2005.RSConnection.GetItemType(String Item)
at Microsoft.ReportingServices.ModelDesigner.Project.ReportServiceClient.GetItemType(String item)
at Microsoft.ReportingServices.ModelDesigner.Project.ReportServiceClient.CheckAuthorized()
at Microsoft.ReportingServices.ModelDesigner.Project.ModelClientManager.GetCredentials(String url)
at Microsoft.ReportingServices.ModelDesigner.Project.ModelProjectDeployer.PrepareDeploy()


What kind of permission/role do I need to have inorder to deploy report model project on to the server. I am able to deploy same project on my local machine using visual studio.

Thanks!!!

View 4 Replies View Related

Data-mining Model Process-error

May 29, 2006

I am trying to write some DMX queries to create and populate a mining model as a SSMS analysis services project. I followed the following steps:

1. Create the mining model using a CREATE MINING MODEL ... query.

2. Followed by the - INSERT INTO MINING MODEL ... query, which fetches prediction data from another mining model to populate the mining model.

3. I now want to use this new model for prediction, which requires processing the mining model first. When I process the model, it throws the following error:

Error (Data mining): The 'XYZ_Structure' structure does not contain bindings to data (or contains bindings that are not valid) and cannot be processed.

Please suggest if I am making a mistake in the above procedure. I will appreciate all help in overcoming this issue.

Auxilliary question: How do I process the mining model programmatically?

View 1 Replies View Related

Error Creating Report Model Using A DB2 Datasource

Jun 12, 2007

I'm receiving the following message after I've created a datasource and datasource view:



[DB2/SUN] SQL0104N An unexpected token "SET TRANSACTION" was found following "BEGIN-OF-STATEMENT" ... SQLSTATE 42601.

View 1 Replies View Related

Error Deploying Large Report Model

Oct 4, 2007




Hi ,

I am trying to deploy the report model which is more than 4 mb size. I am getting following error:

Error 2 There was an exception running the extensions specified in the config file. ---> Maximum request length exceeded.

i changed the web.config on the server side:
as following:
<!--
<httpRuntime
executionTimeout = "600" [in Seconds][number]
maxRequestLength = "102400" [number]
requestLengthDiskThreshold = "80" [number]
useFullyQualifiedRedirectUrl = "false" [true|false]
minFreeThreads = "8" [number]
minLocalRequestFreeThreads = "4" [number]
appRequestQueueLimit = "5000" [number]
enableKernelOutputCache = "true" [true|false]
enableVersionHeader = "true" [true|false]
apartmentThreading = "false" [true|false]
requireRootedSaveAsPath = "true" [true|false]
enable = "true" [true|false]
sendCacheControlHeader = "true" [true|false]
shutdownTimeout = "90" [in Seconds][number]
delayNotificationTimeout = "5" [in Seconds][number]
waitChangeNotification = "0" [number]
maxWaitChangeNotification = "0" [number]
enableHeaderChecking = "true" [true|false]
/>
-->
<httpRuntime executionTimeout="600" maxRequestLength="102400" requestLengthDiskThreshold="80" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="5000" enableKernelOutputCache="true" enableVersionHeader="true" requireRootedSaveAsPath="true" enable="true" shutdownTimeout="90" delayNotificationTimeout="5" waitChangeNotification="0" maxWaitChangeNotification="0" enableHeaderChecking="true" sendCacheControlHeader="true" apartmentThreading="false" />

But still gets same error: what else i ahve to change.

Please help!!

Thanks

View 6 Replies View Related

Error When Deploying Report Builder Model

Nov 21, 2006

I get the following error when I try to deploy a report builder model. The SQL Server 2005 "Reporting Services" are installed and running on the local machine.

TITLE: Microsoft Semantic Model Designer
------------------------------

A connection could not be made to the report server http://localhost/ReportServer.

------------------------------
ADDITIONAL INFORMATION:

Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message:
--
<html>
<head>
<title>
SQL Server Reporting Services
</title><meta name="Generator" content="Microsoft SQL Server Reporting Services 9.00.2047.00" />
<meta name="HTTP Status" content="500" />
<meta name="ProductLocaleID" content="9" />
<meta name="CountryLocaleID" content="1033" />
<meta name="StackTrace" content=" at Microsoft.ReportingServices.Diagnostics.RSConfiguration.Load()
at Microsoft.ReportingServices.Diagnostics.RSConfiguration.Construct(String configFileName)
at Microsoft.ReportingServices.Diagnostics.RSConfiguration..ctor(String configFileName, String location)
at Microsoft.ReportingServices.Diagnostics.RSConfigurationManager..ctor(String configFileName, String configLocation)
at Microsoft.ReportingServices.Library.Global.get_ConfigurationManager()
at Microsoft.ReportingServices.WebServer.Global.StartApp()
at Microsoft.ReportingServices.WebServer.Global.Application_BeginRequest(Object sender, EventArgs e)" />
<style>
BODY {FONT-FAMILY:Verdana; FONT-WEIGHT:normal; FONT-SIZE: 8pt; COLOR:black}
H1 {FONT-FAMILY:Verdana; FONT-WEIGHT:700; FONT-SIZE:15pt}
LI {FONT-FAMILY:Verdana; FONT-WEIGHT:normal; FONT-SIZE:8pt; DISPLAY:inline}
.ProductInfo {FONT-FAMILY:Verdana; FONT-WEIGHT:bold; FONT-SIZE: 8pt; COLOR:gray}
A:link {FONT-SIZE: 8pt; FONT-FAMILY:Verdana; COLOR:#3366CC; TEXT-DECORATION:none}
A:hover {FONT-SIZE: 8pt; FONT-FAMILY:Verdana; COLOR:#FF3300; TEXT-DECORATION:underline}
A:visited {FONT-SIZE: 8pt; FONT-FAMILY:Verdana; COLOR:#3366CC; TEXT-DECORATION:none}
A:visited:hover {FONT-SIZE: 8pt; FONT-FAMILY:Verdana; color:#FF3300; TEXT-DECORATION:underline}

</style>
</head><body bgcolor="white">
<h1>
Reporting Services Error<hr width="100%" size="1" color="silver" />
</h1><ul>
<li>The report server has encountered a configuration error. See the report server log files for more information. (rsServerConfigurationError) </li><ul>
<li>Access to the path 'C:Program FilesMicrosoft SQL ServerMSSQL.4Reporting ServicesReportServerRSReportServer.config' is denied.</li>
</ul>
</ul><hr width="100%" size="1" color="silver" /><span class="ProductInfo">SQL Server Reporting Services</span>
</body>
</html>
--. (Microsoft.ReportingServices.SemanticQueryDesign)

------------------------------
BUTTONS:

OK
------------------------------

View 3 Replies View Related

Report Model - No Build Because Of Error In Role

May 8, 2007

Hi,



I removed a role in the datasourceview of a datamodel. Later I removed the role in the reportmodel. There are always two roles for one relation. Now I only have one role left and I can't delete it anymore.



This is the error I get when building the project.

Error 2 The RelatedRoleID property of the Role 'invoicelineid' refers to the Role 'Gd1b03590-f98b-46aa-945d-c90ccd5d6028', which is not in the same SemanticModel as the Role 'invoicelineid'. Max generiek.smdl 0 0


When I try to remove the role I'll get an error : object reference not set to an instance of an object.



If I look at the properties of the role I see that when I open 'related role' there is nothing in it, except an ID: Gd1b03590-f98b-46aa-945d-c90ccd5d6028 and as name: Object reference not set to an instance of an object.



I also tried to remove the whole entity but that resulted in the same error. It's not an option for mee to remove the whole model and autogenerate it again, but there is too much work in it already.



If I try to remove this thing in the xml itself it gives other errors and the model won't load anymore.



I hope somebody has a solution for this.



thanks in advance,

Julian Kooiker

View 1 Replies View Related

Report Model Wizard Error - Data Is Null

Oct 29, 2007

I am attempting to create a new report model. When I try to update statistics from the data source view I get the following error - Data is Null. This method or property cannot be called on Null values. I tried changing the generation rules so that attributes are only created for non-empty columns but that didn't help. Any assistance is appreciated. Thanks.

View 4 Replies View Related

Error While Generating Ad Hoc Model For Analysis Services Cube

Sep 5, 2006

hi,

I try to generate ad hoc reporting model for analysis services cube in reporting services.
in Management Studio I connected to reporting services, defined a data source to the analysis services database.
But If i try to generate model i get the error:
"While connection with a data source a mistake has appeared, or the query is invalid for the data source. (rsCannotPrepareQuery)(Report Services SOAP Proxy Source)"

Any ideas as to what may be the problem?
Thanks!

karaman

View 3 Replies View Related

[Error Loading Mining Model Metadata: Not Connected.]

Dec 13, 2007

This has been driving me mad for several days. I have setup SQL Server 2005 Express (SP2) on a box. I have SQL Server Management Studio (9.00.3042.00) installed on a client box. I can connect to the 2005 server and created a test database on the machine. But when I try to open a query on the database, I always get the above error message "[Error loading mining model metadata: Not connected.]" in the LHS pane and the query window remains unconnected. If I try to connect (by clicking on the connect button) I get a login screen for Analysis Services, but I don't have Analysis Services running on any boxes. The login screen doesn't allow me to change anything other than Server Name. This happens even if I open a new Database Engine Query through the File/New menu.

All I want to do to execute a query against my database. I don't want to use Analysis Services. What am I doing wrong? I have almost the exact same setup at home and it works fine.

Any help is greatly appreciated.

View 5 Replies View Related

Method Not Supported Error When Trying To Create New Report Model

Jan 21, 2008



I'm trying to create a few report models in Visual Studio to demonstrate the Report Builder tool and I'm encountering an issue when I try to generate a Report Model.

I get the error message "Specified Method Is Not Supported" when I click Finish on the Report Model wizard. The error detail is:

===================================
Specified method is not supported. (Microsoft Visual Studio)
------------------------------
Program Location:
at Microsoft.ReportingServices.ModelDesigner.Wizards.ChooseSemanticModelName.CreateSqlDsvStatisticsProvider(IDbConnection connection)
at Microsoft.ReportingServices.ModelDesigner.Wizards.ChooseSemanticModelName.BuildModel()



Steps to reproduce:
1. Create a new Report Model project in Visual Studio 2005 against SQL Server 2005
2. Create a new data source. The data source was tested and works correctly
3. Create a new data source view. The data source view was also tested (clicked on Explore Data) and I was able to look at the data in the view
4. Right-click on Report Models and select "Add New Report Model"
5. Click next at the welcome screen
6. Select the data source view created in #3
7. Leave the selected options for report model generation rules for creating the data source view
(Create Entities for all Tables, Create Count Aggregates, Create Attributes, Create Attributes for auto-increment columns, Create date variations, Create numeric aggregates, Create date aggregates, Create roles were all selected)
8. Click next
9. Select Update Model Statistics Before Generating (default option)
10. Click next
11. Click Run

Once I click run it processes for approx 3 seconds and then returns the error above.

If anyone could help me I'd appreciate it. Microsoft hasn't published any details on the namespace and I'm not sure why I'd be getting the error I am.

Thanks in advane,
Maurice

View 7 Replies View Related

Error: Decision Trees Found No Splits For Model

Jan 5, 2007

Hi,

I am trying to run one of the mining models from the book "Delivering BI using SQl Server 2005" but I am running into "Decision Trees found no splits for model". The mining structure has 4 columns, the fourth one being marked as "Predict Only". My Cube slice for the model has sufficient data in the cube. I am lost.. Help!!

Regards

View 4 Replies View Related

Error Using Neural Network Mining Model Viewer

Nov 17, 2006

I've successfully created and processed a very simple neural network mining model (defined against a cube). However, when I go to the model viewer in BI studio, it displays the following error:

"Execution of the managed stored procedure GetAttributeScores failed with the following error: Exception has been thrown by the target of an invocation.Input string was not in a correct format.."

Any ideas about what's going wrong? This is with SQL Server 2005 SP1.

View 4 Replies View Related







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