Ideal model for accesing data

i'm trying to transfer some data (about 100,000 rows) to mysql database. i already has my Data Access Object(DAO), so i reuse it. when my DAO add about 500 rows, this exception occurs:
com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.net.SocketException
MESSAGE: java.net.BindException: Address already in use: connect
STACKTRACE:
java.net.SocketException: java.net.BindException: Address already in use: connect
        at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:151)
        at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:280)
        at com.mysql.jdbc.Connection.createNewIO(Connection.java:1691)
        at com.mysql.jdbc.Connection.<init>(Connection.java:405)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:268)
        at java.sql.DriverManager.getConnection(DriverManager.java:512)
        at java.sql.DriverManager.getConnection(DriverManager.java:171)
        at trade.connector.ConnectionProvider.getConnection(ConnectionProvider.java:71)
        at trade.access.LoginValidator.validate(LoginValidator.java:29)
        at trade.access.UserAccess.getUser(UserAccess.java:124)
        at trade.access.UserAccess.addUser(UserAccess.java:162)
        at trade.access.UserAccess.main(UserAccess.java:254)
** END NESTED EXCEPTION **
        at com.mysql.jdbc.Connection.createNewIO(Connection.java:1754)
        at com.mysql.jdbc.Connection.<init>(Connection.java:405)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:268)
        at java.sql.DriverManager.getConnection(DriverManager.java:512)
        at java.sql.DriverManager.getConnection(DriverManager.java:171)
        at trade.connector.ConnectionProvider.getConnection(ConnectionProvider.java:71)
        at trade.access.LoginValidator.validate(LoginValidator.java:29)
        at trade.access.UserAccess.getUser(UserAccess.java:124)
        at trade.access.UserAccess.addUser(UserAccess.java:162)
        at trade.access.UserAccess.main(UserAccess.java:254)
Exception in thread "main" i retry transfering but this exception occurs again and again. if i retry after about 1 minute, it can resume transfering about 500 rows again.
Is this problem cause by database protection from network flood attack? i use single shot connection method (connect when needed, and disconnect when job done). so if add method need 2 query (2 times connect), it takes about 1000 re-connection.
i change connection from single shot connection to connection pooling. the problem still occurs... so i assume the protection apply for statement (i recreate statement for about 1000 times). finally i write extra code for transfering. reuse statement (Prepared Statement),not close and recreate and problem solve.
So what 'ideal model' for DAO (logical layer)? for every access method, we create Statement, use it, and close it. this will cause database server block our connection when using this method repeatly (over 1000 times). if we leave the statement open, it will cost network traffic to keep it alive and we often use only a part accesing method, not all.

you are right malcolmmc. i'm running out of local port. i check with netstat & here is the output:
  TCP    TOSHIBA2450:3306       localhost:3987         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:3988         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:3989         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:3990         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:3991         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:3992         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:3993         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:3994         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:3995         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:3996         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:3997         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:3998         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:3999         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4000         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4001         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4002         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4003         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4004         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4005         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4006         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4007         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4008         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4009         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4010         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4011         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4012         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4013         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4014         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4015         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4016         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4017         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4018         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4020         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4021         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4022         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4023         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4024         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4025         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4026         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4027         TIME_WAIT
  TCP    TOSHIBA2450:3306       localhost:4028         TIME_WAITi already try to change my code to use only one connection. and the result is same. i assume create statement will create a new connection. i mean althought i'm not re-creating java.sql.Connection, but when i create java.sql.Statement, it will create new TCP/IP Connection. but i do call:
preparedstatement.close();
pool.returnConnection(con); // con.close();i wonder how to close this connection (tcp/ip)...

Similar Messages

  • Issue with CIF Integration model for Transaction data

    Hi Gurus,
    I have activated the Integration model for PO & PReqs by location wise and i assumed that transaction data is online and we need not to re activate for any new Product / location combination got created in system.
    But the issue is that every time a new material got created, we need to deactivate and activate the integration model for Transaction data to get the transaction data into APO.
    Is there any way to avoid the following exercise as it is taking very long time for activation.
    Please guide me as it is very urgent.
    Thanks for help in advance...
    Thanks & Regards,
    Jagadeesh

    I assume 1,60,000 location products are spread around different locations.
    Rather than one Integration Model it is better to have multiple Integration Models.
    For example: one for each region like North America, one for Europe, one for Asia (assuming you have countries spread across the world). Or create Intgeration Model by Country.
    This way you reduce the number of Products in an Integration Model.
    It is very important to have manageable set of Integration Models. Let me give an example - you have some problem hence the single Material Master Integration Model is down (inactive). At that time any PP or PDS transfer will not have the Header or COmponent products transferred to APO (in effect PDS/PPM cannot be transferred). If you are creating or converting Planned Orders they will not transfer to R/3 (as Header product is not part of active intgeration model).
    But if you have country spefic or region specific Integration Model - only that country is affected not all.
    In fact you should have other integration model (like PDS/PPM, Procurement Relationships, Planned / Production Orders, Sales Orders, Stocks) in same manner i.e. either Country(s) specific or group of countries by region. The risk of models getting inactive or taking too much time to activate after regeneration easily outweighs management of more number of Integration Models (compared to one Global integration model per object).
    Hope this gives you some direction.
    Somnath

  • Time phase Min/max replenishment models for future dates

    Hi,
    We are working on a safety stock requirement of Maximum/Minimum replenishment model in APO.
    It seems to work great except it cannot be time phased.  Our business wants different safety stock strategies at different times of the year. 
    Please suggest if there is a way that we could “time phase” min/max replenishment models for future dates?
    Thanks in advance for your help!
    regards
    Yogendra

    Many thanks for this.
    I can see entirely why it's designed as such, but I just find it slightly frustrating that there's no way to break the link between the order and the shipment out to the depot. Just to clarify, we're not requiring the orders to change - they will still be made and will come in - but just that the orders themselves don't specifically need to be the stock that is used for the replenishment.
    So -
    1. Min Max identifies depot needs replenishing.
    2. Central distribution does not have (enough) stock to replenish.
    3. Order is made to replenish central distributions stock.
    4. We ship whatever we've got, when we've got it, to depot to replenish.
    It's the bit where Min-Max is trying to replensih a specific depot rather than our central distribution centre that's my problem.
    I suspect that, as you say, that specific issue is not directly fixable without getting our IT contractors to do a customisation.
    I'm going to look into your Supply Date Offset suggestion now, though I'm not sure how this affects the shipping after the orders are placed. The orders themselves are approved manually after we've checked our stock position (i.e. what's in with the recycling team), but we recycle & refurb probably 60% of our maint stock so there'll always be kit turning up after the order has been made because of the long lead times.
    Thanks again.

  • Integration model for transactinoa data

    Hi
    what is the transaction code to reactivate integration model  for the transactional data, let say example, changes in po or sales order after activating the integaration model. which transaction code we have to use reactivate. please any one help me

    Hi somnath , Online Transfer of Transaction Data using BTE is activated in R/3 SPRO (should be enabled for ND-APO application)
    I think  above what u mentioned is  cfc9 tansaction code. It is mainly meant for materila master, vendor master , customers. simply menat for master data.But for transacrtional data likoe PO's , SO   will not come into picture. Right?
    Please clarify me.
    Online Transfer of Transaction Data using BTE is activated in R/3 SPRO (should be enabled for ND-APO application).
    2) Publication settings (Distribution Definitions) maintained in APO for the locations in SPRO.
    Can u tell me the path or transaction code for the above event

  • Data flow model for Master data extraction

    Hello friends,
    I have the following scenario where the report layout looks like this. What would be the data flow model for this example if I'm loading master data from R/3
    KNVV     KNA1     KNVP     KNA1     KNA1     KNVP     KNA1
    VKORG     KATR1     KUNN2     NAME1     KTOKD     KUNNR     NAME1
    Sales Org     BCG     Payer No      Payer Nm     Acc Grp     Sold 2 No     Sold 2 Name
    I would appreciate any help.
    Thanks

    Balaji,
    are you trying to develop a master data IOBJ for the field combination given and want to know how to proceed ?
    Did you check out if the current 0customer master data already has the required fields ?
    otherwise you can
    1. create a view for the master
    2. create a FM for the same and use that as a datasource.
    I would suggest you look at the customer master that comes as part of business content first.
    Arun
    Assign points if useful

  • Reuse Dimdate across different database for different data models

    Hi,
    I am designing a new data model for a data mart. I need to add dimdate dimension in this data model. I noticed that dimdate already exists in another database and being used by another
    data model. Is it possible to re-use the existing dimdate table for my new data model? If so, what about the foreign key constraints? Normally we link the date columns from fact table to the dimdate keys. How would we achieve that in case we are using the
    same table across different databases?
    Any opinion on this will be highly appreciated.
    Thanks in Advance.
    Cheers!!

    You can create a copy of dimdate table to your new data warehouse.
    If both data marts were in a single data warehouse, then you don't required to copy. but as these are in two different databases then you just copy that.
    regarding FK relationship. you can connect any fact table to you date dimension. even if you want to use more than one instance of your date dimension, it would be simply adding multiple FK columns in your fact table (role playing dimension).
    For date dimension be sure that your date dimension covers most of the attributes required. here is an example of date dimension:
    http://www.rad.pasfu.com/index.php?/archives/156-Script-to-Generate-and-Populate-Date-Dimension-Version-2-Adding-Multiple-Financial-Years.html
    Regards,
    Reza
    SQL Server MVP
    Blog:  
    http://rad.pasfu.com  Twitter:
      LinkedIn:
    SQL Server Integration Services 2012 Tutorial Videos:
    http://www.radacad.com/CoursePlan.aspx?course=1

  • Integration Model for the resources terminates with an error

    Hi
    we have deleted the existing Integration model for the Resources and trying to create a newones, when iam activating the new resource integration model it is terminating with an error "Resource already exists(mapping error occured)".
    we did the consistency check for the resources and ran OM17 everything seems OK. when tried to the same in the test system it works fine...
    How to rectify this..

    5,
    Deleting integration models for master data is a poor way to start any process.
    The message implies that the offending resource probably was created locally in SCM, or perhaps to support a different Business System Group. The easiest solution is to delete the resource and then recreate via Core Interface.
    Best Regards,
    DB49

  • Client-side transient model for storing temporary data

    We've been using the ODataModel in our UI5 application for retrieving data from Gateway and now we have a requirement to store temporary (session based) client-side data.  Ideally it would be stored in such a way that it can be shared across views and controllers and can be bound from UI components via property bindings.  The data in most cases will be OData entities.  As an example a user would view a list of PO's (from the ODataModel) in the first view, then select a subset of POs and move onto the next view to "work" on those POs.  We'd want to store this subset of POs in a client model so the second view can bind to the model and display them.
    My first thought is to create another model separate from our ODataModel in which we could add transient client-side data (OData entities and custom data) and make it available to all views and controllers in the app.  I realize we could probably also just store such data in global JS variables, however a client-side model seems like a cleaner approach to me.
    I'd appreciate any suggestions on how this can be achieved.

    Hi Derek,
    why don't you just use sap.ui.core.Core.setModel? You can store multiple models and access them in your entire SAPUI5 app.
    Except for SAPUI5-apps, these requirements are often realized with HTML5 Web Storage JavaScript API. As you can see in the following blog post, you can easily store even complex entities and access your items in the entire web-application: Client-side Session Management.
    I can't recommend the approach with global variables. A lot of developers had negative experiences with this design pattern. At least, use namespacing techniques to store your functions and variables in one central scope. I've written a simple example on jsFiddle to show you this. As you can see, you could also handle your transient model as an additional variable of your own namespace.
    Regards Michael

  • Excel, PowerView error in SharePoint 2013: "An error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions to access the data source."

    I've installed SQL Server 2012 SP1 + SP server 2012 + SSRS and PowerPivot add-in.
    I also configured excel services correctly. Everything works fine but the powerview doesn't work!
    While I open an excel workbook consist of a PowerView report an error occurs: "An error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions
    to access the data source."
    error detail: 
    <detail><ErrorCode xmlns="http://www.microsoft.com/sql/reportingservices">rsCannotRetrieveModel</ErrorCode><HttpStatus xmlns="http://www.microsoft.com/sql/reportingservices">400</HttpStatus><Message xmlns="http://www.microsoft.com/sql/reportingservices">An
    error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions to access the data source.</Message><HelpLink xmlns="http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsCannotRetrieveModel&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3128.0</HelpLink><ProductName
    xmlns="http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName><ProductVersion xmlns="http://www.microsoft.com/sql/reportingservices">11.0.3128.0</ProductVersion><ProductLocaleId
    xmlns="http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId><OperatingSystem xmlns="http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem><CountryLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId><MoreInformation
    xmlns="http://www.microsoft.com/sql/reportingservices"><Source>ReportingServicesLibrary</Source><Message msrs:ErrorCode="rsCannotRetrieveModel" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsCannotRetrieveModel&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3128.0"
    xmlns:msrs="http://www.microsoft.com/sql/reportingservices">An error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions to access the
    data source.</Message><MoreInformation><Source>Microsoft.ReportingServices.ProcessingCore</Source><Message msrs:ErrorCode="rsErrorOpeningConnection" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsErrorOpeningConnection&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3128.0"
    xmlns:msrs="http://www.microsoft.com/sql/reportingservices">Cannot create a connection to data source 'EntityDataSource'.</Message><MoreInformation><Source></Source><Message>For more information about this error navigate
    to the report server on the local server machine, or enable remote errors</Message></MoreInformation></MoreInformation></MoreInformation><Warnings xmlns="http://www.microsoft.com/sql/reportingservices" /></detail>
    Please help me to solve this issue. I don't know if uploading the excel workbook is enough or maybe It needed to connect to another data source.
    I Appreciate in advance.

    Hi Ali.y,
    Based on the current error message, the error can be related to the
    Claims to Windows Token Service (C2WTS) and is an expected error under certain conditions. To verify the issue, please check the aspects below:
         1. The C2WTS Windows service and C2WTS SharePoint service are both running.
         2. Check the SQL Server Browser service is running on the machine that has the PowerPivot instance of SSAS.
         3. Check the domain. You're signing into SharePoint with a user account in some domain (call it Domain A).  When Domain A is equal to Domain B which SharePoint server itself is located (they're the same domain), or Domain
    A trusts Domain B.
    In addition, the error may be caused by Kerberos authentication issue due to missing SPN. In order to make the Kerberos authentication work, you need to configure the Analysis Services to run under a domain account, and register the SPNs for the Analysis
    Services server.
    To create the SPN for the Analysis Services server that is running under a domain account, run the following commands at a command prompt:
    • Setspn.exe -S MSOLAPSvc.3/Fully_Qualified_domainName OLAP_Service_Startup_Account
    Note: Fully_Qualified_domainName is a placeholder for the FQDN.
    • Setspn.exe -S MSOLAPSvc.3/serverHostName OLAP_Service_Startup_Account
    For more information, please see:
    How to configure SQL Reporting Services 2012 in SharePoint Server 2010 / 2013 for Kerberos authentication
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • An error occurred while loading the model for the item or data source 'EntityDataSource'.

    Hi Team,
    We are trying to configure the Power View in SharePoint 2013. We did the entire configuration by following below steps. When we open the excel workbook (2013) containing
    Power View sheet (using excel web services) deployed in SharePoint Document library, we get the below error.
    “An error occurred while loading the model for the item or data source
    'EntityDataSource'. Verify that the connection information is correct and that you have permissions to access the data source.”
    Steps followed for configuring Power View in SharePoint Server 2013 (Single Machine setup):
    Installed SharePoint Server 2013 Enterprise edition
    Did not configure it at this time
    Installed SQL Server 2012 with default instance installation (selected every features)
    Later installed SP1 for SQL Server 2012
    After that installed Analysis Server in SharePoint mode (SQL Server PowerPivot for SharePoint)
    Again installed another Analysis Server and selected the tabular mode of data model
    Then ran the configuration wizard of Share point 2013 for farm configuration (only for central admin creation)
    Later we ran the PowerPivot for SharePoint 2013 (spPowerpivot.msi)
    Then using the Power Pivot Configuration tool for 2013 and completed all the steps and configured the excel service and registered the above two analysis service instances. 
    Questions/Doubts are:
    Is our steps followed as mentioned above is correct for configuring Power View in SharePoint Server 2013 Enterprise edition?
    Is the SQL Server 2012 Enterprise edition with SP1 installed is sufficient to view Power View sheets in SharePoint 2013 or we need to use the SQL Server 2012 SP1
    CTP3 software for Power View feature as mentioned in the below link.
    http://technet.microsoft.com/en-us/library/jj219634.aspx
    but we don’t have an option to download CTP3 software now from Microsoft site
    Or do we need to install
    Microsoft SQL Server 2012 With Power View For Multidimensional Models
    CTP
    http://www.microsoft.com/en-sg/download/details.aspx?id=35822
    Few blogs says that SQL Server 2012 instance should have been installed with SP1 at one go (not seperately).
    http://www.microsoft.com/en-in/download/details.aspx?id=35575
    Error detail :
    <detail><ErrorCode xmlns="http://www.microsoft.com/sql/reportingservices">rsCannotRetrieveModel</ErrorCode><HttpStatus xmlns="http://www.microsoft.com/sql/reportingservices">400</HttpStatus><Message
    xmlns="http://www.microsoft.com/sql/reportingservices">An error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions to access
    the data source.</Message><HelpLink xmlns="http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsCannotRetrieveModel&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3000.0</HelpLink><ProductName
    xmlns="http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName><ProductVersion xmlns="http://www.microsoft.com/sql/reportingservices">11.0.3000.0</ProductVersion><ProductLocaleId
    xmlns="http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId><OperatingSystem xmlns="http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem><CountryLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId><MoreInformation
    xmlns="http://www.microsoft.com/sql/reportingservices"><Source>ReportingServicesLibrary</Source><Message msrs:ErrorCode="rsCannotRetrieveModel" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsCannotRetrieveModel&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3000.0"
    xmlns:msrs="http://www.microsoft.com/sql/reportingservices">An error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions to access
    the data source.</Message><MoreInformation><Source>Microsoft.ReportingServices.ProcessingCore</Source><Message msrs:ErrorCode="rsErrorOpeningConnection" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsErrorOpeningConnection&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3000.0"
    xmlns:msrs="http://www.microsoft.com/sql/reportingservices">Cannot create a connection to data source 'EntityDataSource'.</Message><MoreInformation><Source>Microsoft.AnalysisServices.SPClient</Source><Message>We
    cannot locate a server to load the workbook Data Model.</Message><MoreInformation><Source></Source><Message>We cannot locate a server to load the workbook Data Model.</Message><MoreInformation><Source>Microsoft.Office.Excel.Server.WebServices</Source><Message>We
    cannot locate a server to load the workbook Data Model.</Message></MoreInformation></MoreInformation></MoreInformation></MoreInformation></MoreInformation><Warnings xmlns="http://www.microsoft.com/sql/reportingservices"
    /></detail>
    Please help me in  configuring Power View for SharePoint 2013.
    Thanks in advance.
    Pavan Kumar

    I'll bet that I know the answer to this one - and you probably won't like it ;)
    Here's the telling portion of that error:  "We cannot locate a server to load the workbook Data Model."
    This error is thrown in two scenarios; the first, when you haven't registered an analysis server.  The second appears to be the issue you're having:
    PowerPivot requires SQL Server 2012 SP1.  Microsoft issued a release of SQL Server 2012 SP1 that really wasn't SP1...
    Check the version of SQL that you are running.  It should be version 11.0.3000 or greater.  If it's not, you have the wrong "SP1" installed.  The correct one is
    here.
    Here's the bad news- you can't simply redeploy the correct one... because the installer already thinks that SP1 is installed.  You'll have to backup (or detach and copy) your databases, then re-install SQL with the correct SP1, then restore or reattach
    the databases.  Once you've done that, PowerPivot and PowerView will work properly.
    I sincerely hope this resolves your issues - we wasted TWO WEEKS of our time with this problem!

  • Error (Data mining): The specified mining structure does not contain a valid model for the current task.

    I'm trying to run the Cross validation report on a mining structure that contains just Microsoft Association Rules mining model. In Target Attribute, I've tried:
    Actual(Service Description).SE value
    Actual([Service Description]).[SE value]
    Actual(Service Description)
    Actual([Service Description])
    just because i don't know what is the exact correct format, but none of them worked, and I always get the following error:
    Error (Data mining): The specified mining structure does not contain a valid model for the current task.
    the following is my mining model structure

    Association rules does not allow for cross-validation
    Mark Tabladillo PhD (MVP, SAS Expert; MCT, MCITP, MCAD .NET) http://www.marktab.net

  • Identify Entities for Logical Data Model

    Hi,
    I donno exactly this is the correct forum for this question. I believe there are database experts here to help me on this.
    I am in confusion that, phsically the data can be saved in a set of tables (4-5 tables). But different views (User Interfaces) and reports can be created from these tables.
    Assume that,
    View1 - Uses all tables
    View2 - uses only 3 tables
    View3 - uses only 1 table
    Report 1 - uses only 2 tables
    Report 2 - uses only 4 tables
    Should my Logical Data Model reflect all these view1, view2, view3, Reprt1 and Report2?
    How exactly do we need to identify the entities for Logical Data Model?
    Could you please any one help me on this?
    Thanks & Regards
    M Thiyagu

    sorry, i couldnt understand your query..
    thanks,
    baskar.l

  • Using MVC - One model for each set of data, or one model for all?

    Hi there,
    I'm using MVC for my app, which pulls data from other sites, (news, blogs, video, twitter). Would I have a model for each set of data, or one for all that fires differint events depending on the data?
    Thanks in advance!

    Attached please find the screenshots and help me out. You can maximize to view em.
    Thanks,
    Attachments:
    Air water2000.vi ‏490 KB

  • SQL Developer Data Modeler for SQL Server 2008

    I am not able to connect to my SQL Server 2008 from the SQL Developer Data Modeler. Although I do have jtds-1.2.jar on my machine and I can connect the SQL server through the SQL Developer, but still i'm not able to connect through the data modeler. I need to re-engineer and generate data model for some existing schemas.
    Here is what I'm following:-
    File->Data Modeler -> import -> Data Dictionary -> Add new connection -> JDBC ODBC Bridge -> Other Third Party Driver
    now when I'm giving the JDBC URL and the Driver, It throws an error message stating that the driver could not be found.
    Please let me know what I can do to solve this, any help would be appreciated.
    Regards,
    AVA

    I'd try 1st to connect to the db from sqldeveloper (through jtds - no ODBC involved) and see if you can browse your db and issue sql statements in a worksheet. Then export that connection in xml format and import that from the modeler.

  • Data Modeling for a Small Database Tutorial - understanding "Creating Relations Between Entities" part

    I am trying to understand and make use of Tutorial: Data Modeling for a Small Database
    During this tutorial I'm supposed to make Transactions Entity containing two attributes that will refer to Patrons (patron_id) and Books Entities (book_id) (2.1.4)
    Later, I'm adding two one-to-many relations that duplicate mentioned attributes in Transactions Entity (patron_id1 and book_id1). (2.1.5)
    So here comes my questions: what's the purpose of creating those attributes in point 2.1.4 if they're then duplicated in paragraph 2.1.5?
    If it might be crucial, i'm using Oracle SQL Developer Data Modeler Version 4.0.0.825 Build 825 on jdk1.7.0_25.
    Bonus question: How to turn on attributes types on Logical Diagram? I can't find corresponding option anywhere...
    I would be really grateful for every answer and for every trick!

    You are looking at release 2 documentation.  I checked 3.3 and 4.0 EA3 and the tutorial has been corrected  You may want to download the latest version and use that documentation.

Maybe you are looking for

  • Using a menu to change page content

    I have an immediate auto-submit menu with a value-change event listener. When you change selections the value-change handler loads the appropriate data model. All of the detail fields on the page are bound to the data model. So when you have apple se

  • Do you have a transaction scope that spans multiple requests.

    We have and application that includes multiple tabs, which are really iframe instances. We need to maintain state for the entire time the tab is open, which may be across multiple requests. I am not comfortable making all our backing beans "session"

  • How do you embed a gallery into an existing website?

    I have an existing website and I would like to embed a Lightroom gallery into that website. I am not sure how to get it on my web page since the code from the gallery puts out an index.html page. The program has everything I want but only if I can pu

  • Import error moving from iPad to iPhoto

    Somewhat puzzled by the inability to import photos from my iPad to iPhoto. Here's what happened: 1. Used camera connector to transfer high-def JPG format files from a Nikon D50 onto the iPad (no problem, and the *iPad displays the pictures* perfectly

  • XML input: Node

    hi experts.           I can't create an XML input file for my custom BO with node items.           When I export the XML file from the schema, a warning pops up showing that it is not exportable.           Is it because of the schema that I created f