Excel Service With info path

hello every body ,
i have a vacation list in sharepoint 2013   i need to calculate the difference between start date and end date excluding the
holidays but no such a way to do it in infopath list so i found an article to use an excel service instead with networkholiday function as follows in this link
http://www.bizsupportonline.net/infopath2007/calculate-date-difference-infopath-rules-excel-services.htm
i followed the step by step but i got the below error every time i try opening the Excel feel via info path to send dates to it
"The query cannot be run for the following DataObject: OpenWorkbook
InfoPath cannot run the specified query.
The SOAP response indicates that an error occurred on the server:
This workbook cannot be opened because it is not stored in a trusted location."
and i have added the library which contains the pubished excel file to trusted location ..thank you 

Hi,
With
Calculated Formula, here is a similar thread about calculating the difference between start date and end date excluding weekends for your reference:
http://social.technet.microsoft.com/Forums/en-US/e97579f0-7f55-4263-b064-de36dc594d6e/number-of-days-between-to-dates-excluding-weekends-help-with-existing-formula?forum=sharepointgeneralprevious
More details about this formula can be found in the article below:
http://social.technet.microsoft.com/Forums/en-US/f978790b-af9f-4238-b64f-c6e2b8a24dbc/forum-faq-using-calculated-column-to-calculate-days-between-two-dates-excluding-weekends?forum=sharepointgeneral
Or we can do it via
JavaScript.
Here is a thread with code demos:
http://stackoverflow.com/questions/3464268/find-day-difference-between-two-dates-excluding-weekend-days
If you need to exclude some specific holidays, it is recommended to create an Event Receiver for this list and do the calculation in this Event Receiver.
You can take a look at the two links below about
Counting Calendar dates by excluding Holidays or Weekends using C#:
http://www.c-sharpcorner.com/UploadFile/tirthacs/difference-between-two-dates-excluding-weekends/
http://revdoniv.wordpress.com/2010/09/29/counting-calendar-dates-by-excluding-holidays-or-weekends/
Here is a step by step sample on creating a simple Item added
event receiver for Custom List in SharePoint 2010:
http://msdn.microsoft.com/en-us/library/ff398052.aspx
More information on Event Receiver for your reference:
http://msdn.microsoft.com/en-us/library/gg749858(v=office.14).aspx
http://msdn.microsoft.com/en-us/library/ff408183(v=office.14).aspx
Best regards
Patrick Liang
TechNet Community Support

Similar Messages

  • SharePoint 2010 Excel Services with SQLserver 2012 cubes

    I have two tier sharepoint 2010 enterprise setup
    1)wfe  and app server
    2) sqlserver
    I also have a sqlserver 2012 which hosts all our BI cubes .
    is it possible to connect excel (office 2010)  to sql 2012 BI and save that in my sharepoint 2010 server  under shared documents and expect it to refresh when aall authenticated users hit " refresh all connections"
    It is not able to hit refresh . I get a " unable to refresh data for  a data connection in this notebook" the following connections fail to refresh.
    Interesting when I do the same this using sql server 2008 r2 BI , everything works fine

    Hi,
    According to your description, my understanding is that the SharePoint 2010 Excel Service cannot work with SQL Server 2012.
    Did you install Service Pack 1 for SharePoint 2010?
    SharePoint 2010 Service Pack 1 is required for SQL Server 2012 PowerPivot for SharePoint features.
    Please check if the Service Pack 1 is installed for SharePoint 2010. If not, please download it from the link below and install it:
    http://www.microsoft.com/en-hk/download/details.aspx?id=26623
    More references:
    http://msdn.microsoft.com/en-us/library/ee210708(v=sql.110).aspx
    http://msdn.microsoft.com/en-us/library/6d61be91-0396-443c-a7f4-02dcf973775e(v=sql.110)
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Excel Services with SharePoint List Data in SharePoint 2013 - Chart is not refreshing automatically

    Hi Everyone,
    This is My req: I m going to display pie chart and Bar chart in share point 2013.
    Steps I have follwed:
    1. Export the list to excel.
    2.Using the Power Pivot table I have done the chart.
    3. Uploaded into document Library.
    4. Added into the web part. 
    Chart are displaying. But When ever user added the data into the list chart is refreshing.
    Is there any option to refresh the data in chart? Waiting for valuable replies.
    Regards, Manoj Prabakar

    SharePoint lists as data sources in Excel Services is not supported.That's the reason refreshing is not working. There are some work around you can use  -
    Export as Data Feed - Export your SharePoint list as Data Feed , use this data feed to a PowerPivot for Excel workbook and publish this PowerPivot using Excel Services.
    User-defined functions  - write UDF in C# and extend the Excel Services functionality to work with SharePoint lists.
    https://msdn.microsoft.com/library/bb267252(office.12).aspx#Office2007ExcelServicesUnlimited_SharePointLists
    Web Services API -
    The Web Services API can be used to push data from a database and then refresh the data in a SharePoint Server list by using Excel Services.
    JavaScript Object Model - The JavaScript Object Model for Excel Services in Microsoft SharePoint Server 2010 provides many solutions for Excel Services.
    More details  - 
    https://technet.microsoft.com/en-us/library/gg576960.aspx
    Thanks
    Ganesh Jat [My Blog |
    LinkedIn | Twitter ]
    Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful.

  • Cannot refresh data in Excel Services with SQL Azure databases

    I am using Excel Services on a SharePoint Online.
    I get my data from a SQL Azure. When i create my Excel repor with Excel 2013 pro I have no problem. So I upload my file on my Sharepoint and try to refresh data.
    Connexion : Power Query - RPT_Event_ByEventType 
    Erreur : Erreur sur site (OnPremise) : Sorry, the data source for this data connection isn't registered for Power BI. Ask your Power BI
    admin to register the data source in the Power BI admin center. 
    I do not understad why I get that error because my data source is on Azure why It told me "OnPremise" ?

    hi,
    >> this button of excel gets just address of web and have button for import it
         i test it by rest API project , but doesn't work, do you know how it is work?
    Do you mean that you don't know how to get the table? You may input the site address into the address box, and then click go button nearby, select the table you want to import into the Excel. Then click import button.That also works for  rest API,
    and your rest API should get the data that you want
    By the way, this is the forum for discussions about Excel develop(VBA ,customization), better to go to TechNet forum for Excel for Excel features question, so that you could get more professional help.
    Best Regards
    Lan
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to include multiple attachment control's in single info-path form

    Hello Everyone,
    I am using SharePoint online with info-path form 2013. for one sharepoint list form i would like to include multiple attachment control's. please suggest a possible solution.

    Hi Venkat,
    Per my knowledge, when we edit the list form in InfoPath, the attachment control cannot be accessed.
    And  InfoPath form templates of types (compatibility) "SharePoint List Form" and "Workflow Form" are by Microsoft design (or under-mis-design) locked, non-modifiable and do not permit client custom code (from InfoPath
    Designer in VSTA, Visual Studio for Applications).
    So we cannot add more attachment control in InfoPath form for SharePoint list.
    As a workaround, I recommend to use Multiple line of text field to store the attachments instead.
    Best regards,
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Info path 2010 web service(getuserprofilebyname) not able connect in the browser mode

    Hi all,
    I have published the info path which will reterieve the current user using the getuserprofilebyname service. The service gets the current user when the form is opened in the info path filler after publishing. It shows the below error when I try to open the
    form in browser mode(I have changed the settings in the form -> AdvancedSettigns -> Open in browser). My form is browser enabled form.
    There has been an error while processing the form.
    Click OK to resume filling out the form. You may want to check your form data for errors.
    An error occurred while trying to connect to a Web service.
    Correlation id:........
    Timestamp               Process                                 
    TID    Area                           Category                      
    EventID Level      Message  Correlation
    03/10/2014 10:13:46.60  w3wp.exe (*:0x16C4)            0x0B90 InfoPath Forms Services        Runtime - Data Connections     eq8l Warning The following
    query failed: GetUserProfileByName (User: domain\user, Form Name: Final, IP: , Connection Target: , Request:
    http://servername/_layouts/FormServer.aspx?XsnLocation=http://ts/001/ODCProcure/Final/Forms/template.xsn&SaveLocation=http://servername/001/ODCProcure/Final&ClientInstalled=false&Source=http://ts/001/ODCProcure/Final/Forms/AllItems.aspx&DefaultItemOpen=1,
    Form ID: urn:schemas-microsoft-com:office:infopath:Final:-myXSD-2014-02-06T09-06-05 Type: DataAdapterException, Exception Message: The remote server returned an error: (401) Unauthorized. The remote server returned an error: (401) Unauthorized.) dabf35bf-ce6b-4c95-8694-b2e991b42fb3
    Weird thing is that I did not get this error on day1. On day 1 it was working fine. I am able to connect to the web service and get data. On day 2 when i tried open the form I got this error.
    We have 4 WFE , So I hope it is not due to loopbackcheck security feature.
    I checked in the central admin whether it is claim based web app or not. Its is not claim based web app.
    So any one guide me to get ride of this error.
    Thanks,
    Vaishali.
    Vaishali Sankar

    Hi Vaishali,
    Please ensure the user encountered this issue has enough permission to access (or update) the data source you added to the InfoPath form.
    If you suspect the issue is caused by loopbackcheck security feature, then you could try to disable the
    DisableLoopbackCheck follow this KB on all SharePoint servers. And check if problem persists after reboot servers:
    http://support.microsoft.com/kb/896861 .
    In addition, is there load balancer deployed in your environment which might bring double-hop authentication? This might cause the issue happens intermittently. If so, you could manually add entries in host files. For your reference:
    http://sharepointconnoisseur.blogspot.in/2011/04/how-to-resolve-401-unauthorized-error.html
    Here are the thread with similar issue:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/b55f0e48-971e-4782-a4b8-94cf83f9d9e0/infopath-calls-webservice-unauthorized-udcx-file-with-explicit-credentialssso?forum=sharepointcustomizationprevious
    http://social.msdn.microsoft.com/Forums/en-US/81e669c0-60b9-4035-8ac7-67d29633fd2d/unauthorized-401-error-using-form-services?forum=sharepointcustomizationlegacy
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Using Excel 2010 with SharePoint 2013 Excel services

    Hello:
    What features are we missing when using Excel 2010 (rather than Excel 2013) with SharePoint 2013 Excel services?
    Regards
    Jeff Gorvits

    Hi Jeff,
    You might want to read the articles below:
    https://support.office.com/en-us/article/Whats-new-in-Power-View-in-Excel-2013-and-in-SharePoint-Server-8e3b4259-421e-41fc-a48e-854388ad14d0?ui=en-US&rs=en-US&ad=US
    https://support.office.com/en-us/article/Version-compatibility-between-Power-Pivot-Data-Models-in-Excel-2010-and-Excel-2013-188f44fd-3cfd-4aa7-b4e6-a9402653cbf3?ui=en-US&rs=en-US&ad=US
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • SAML authentication Secure store service target ID Project server integration with excel service

    I installed and configured share Point 2013 Project server 2013, and Created web application Trusted Identity Provider (SAML 2.0) ,it is working as we expected means
    ..end user are able to access application(User Login through email and alies(account NAME) )
    My problem here CA is working NTLM authentication ,Web application is working SAML
    while creating service application(LIKE SSSA Excel Performance ... ( it automatically take NTLM) I CREATED TARGET ID in secure store service application ,I chooser "GROUPS" under SSSA,and
    we added members "group to account and email id.
    I configure Excel service application and i SSSA Target ID in this excel service application  also added trusted location for PWA site
    while opening excel sheet under Project server (An error occurred while accessing application id ProjectServerApplication from Secure
    Store Service. The following connections failed to refresh)
    I tried target ID choose option " Group Ticket" 
    Is it CA required for SAML authentication? .. (extend web application 
    How Service application like SSSA will work for SAML  authentication? 

    Hi SridharMandipudi, 
    as i know, usually when the error appear, you need to check the member.
    The domain group that was specified the Secure Store Service ID ProjectServerApplication did not have any members in the group. 
    and please also have a try in a testing secure store service application:
    Created new secure store service application with new target application ID. and added this ID in excel service application -----global settings----Application ID.
    went to Central admin---manage web application---selected web application ---click on Service Connection---associated newly created secure store service application.
    edited data connection string of excel file.
    went to site and tried refresh that excel file and able to refresh the file.
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Exporting to Microsoft Excel from a DataView Web Part consuming a Web Service with Parameters

    In Sharepoint Designer, I've developed a page displaying a DataView Web Part which consumes an XML Web Service with three parameters.  These parameters are passed in from a simple Form Web Part containing three input fields.  I am able to provide default values for the web service so the dataview is initially populated, and when I enter in new parameters, the web service goes back, grabs the requested data and displays in the dataview nice and slick.
    The problem I'm having is this: In Internet Explorer 7, when I right-click on the DataView Web Part and select Export to Microsoft Excel, Excel opens up, says "ExternalData_1: Getting Data..." and returns the data from the web service which applies to the default parameter values each and every time, regardless of whether I have changed the parameters on the web page, and contrary to what the DataView Web Part displays on the screen.
    Has anyone else run into this, and is there a solution to the problem?
    Best regards,
    Mark Christie

    Hi Bullish35,
     It's possible to provide single export button and export your 4 dataview webparts. Here's the modified code.
    <Script Language="Javascript">
    function isIE() // Function to Determine IE or Not
    return /msie/i.test(navigator.userAgent) && !/opera/i.test(navigator.userAgent);
    function exportToExcel() // Function to Export the Table Data to Excel.
    var isIEBrowser = isIE();
    if(isIEBrowser== false)
    alert('Please use Internet Explorer for Excel Export Functionality.');
    return false;
    else
    var strTableID1 = "detailsTable1", strTableID2 = "detailsTable2", strTableID3 = "detailsTable3", strTableID4 = "detailsTable4";
    var objExcel = new ActiveXObject("Excel.Application");
    var objWorkBook = objExcel.Workbooks.Add;
    var objWorkSheet = objWorkBook.Worksheets(1);
    var detailsTable = document.getElementById(strTableID1);
    var intRowIndexGlobal= 0;
    for (var intRowIndex=0;intRowIndex<detailsTable1.rows.length;intRowIndex++)
    for (var intColumnIndex=0;intColumnIndex<detailsTable1.rows(intRowIndex).cells.length;intColumnIndex++)
    if(intColumnIndex != 3)
    objWorkSheet.Cells(intRowIndexGlobal+1,intColumnIndex+1) = detailsTable1.rows(intRowIndex).cells(intColumnIndex).innerText;
    intRowIndexGlobal++;
    for (var intRowIndex=0;intRowIndex<detailsTable2.rows.length;intRowIndex++)
    for (var intColumnIndex=0;intColumnIndex<detailsTable2.rows(intRowIndex).cells.length;intColumnIndex++)
    if(intColumnIndex != 3)
    objWorkSheet.Cells(intRowIndexGlobal+1,intColumnIndex+1) = detailsTable2.rows(intRowIndex).cells(intColumnIndex).innerText;
    intRowIndexGlobal++;
    for (var intRowIndex=0;intRowIndex<detailsTable3.rows.length;intRowIndex++)
    for (var intColumnIndex=0;intColumnIndex<detailsTable3.rows(intRowIndex).cells.length;intColumnIndex++)
    if(intColumnIndex != 3)
    objWorkSheet.Cells(intRowIndexGlobal+1,intColumnIndex+1) = detailsTable3.rows(intRowIndex).cells(intColumnIndex).innerText;
    intRowIndexGlobal++;
    for (var intRowIndex=0;intRowIndex<detailsTable4.rows.length;intRowIndex++)
    for (var intColumnIndex=0;intColumnIndex<detailsTable4.rows(intRowIndex).cells.length;intColumnIndex++)
    if(intColumnIndex != 3)
    objWorkSheet.Cells(intRowIndexGlobal+1,intColumnIndex+1) = detailsTable4.rows(intRowIndex).cells(intColumnIndex).innerText;
    intRowIndexGlobal++;
    objExcel.Visible = true;
    objExcel.UserControl = true;
    </Script>
    I haven't tested this. But it should work! :)Regards,
    Venkatesh R
    /* My Code Runs in Visual Studio 2010 */
    http://geekswithblogs.net/venkatx5/

  • Excel service and OWA - getting ERROR while trying to open/edit Excel documents

    Hi All,
    We have configured SharePoint 2013 with Excel Service and OWA (Office Web Apps).
    After configuring, we are able to view/edit Word or PowerPoint documents from the browser (as OWA is configured). But we are getting errors while trying to open/edit Excel documents.
    We are not able to view/edit the excel workbook from the browser (through OWA).
    To open the excel in the browser, decision has to be taken at the farm level on what to be used – Excel Service or OWA Server? Is it possible to do setting at site collection level?
    Error details are given below:
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 3/25/2013 1:29:08 PM
    Event time (UTC): 3/25/2013 7:59:08 AM
    Event ID: fc2e0530f493493896e6c8b6297a0423
    Event sequence: 10
    Event occurrence: 3
    Event detail code: 0
    Application information:
        Application domain: /LM/W3SVC/2/ROOT/x-1-130086717598089315
        Trust level: Full
        Application Virtual Path: /x
        Application Path: C:\Program Files\Microsoft Office Web Apps\ExcelServicesWfe\
        Machine name: VHYDMANTHSTP-02
    Process information:
        Process ID: 1252
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE
    Exception information:
        Exception type: ArgumentException
        Exception message: An entry with the same key already exists.
       at System.Collections.Generic.TreeSet`1.AddIfNotPresent(T item)
       at System.Collections.Generic.SortedDictionary`2..ctor(IDictionary`2 dictionary, IComparer`1 comparer)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.GetInstalledUICultures()
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.IsUICultureSupported(String cultureTag, CultureInfo& cultureInfo)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICulture(String cultureTag, Boolean useOleo, Boolean allowCustomFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICultureFromFrontEnd(String uiCultureTag, Boolean allowFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentCulturesFromFrontEnd(String uiCultureTag, String dataCultureTag)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.SetCurrentCulturesFromContext(HttpContext context)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.PreProcessRequest(HttpContext context)
       at Microsoft.Office.Excel.WebUI.XlPreview.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Request information:
        Request URL:
    http://mysrevr/x/_layouts/xlpreview.aspx?ui=en-US&rs=en-US&WOPISrc=http://myservernames1/_vti_bin/wopi.ashx/files/f36d669ceb814d67bdad0e1e1f98e466&wdSmallView=1
        Request path: /x/_layouts/xlpreview.aspx
        User host address: 10.81.138.92
        User: 
        Is authenticated: False
        Authentication Type: 
        Thread account name: NT AUTHORITY\NETWORK SERVICE
    Thread information:
        Thread ID: 13
        Thread account name: NT AUTHORITY\NETWORK SERVICE
        Is impersonating: False
        Stack trace:    at System.Collections.Generic.TreeSet`1.AddIfNotPresent(T item)
       at System.Collections.Generic.SortedDictionary`2..ctor(IDictionary`2 dictionary, IComparer`1 comparer)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.GetInstalledUICultures()
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.IsUICultureSupported(String cultureTag, CultureInfo& cultureInfo)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICulture(String cultureTag, Boolean useOleo, Boolean allowCustomFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICultureFromFrontEnd(String uiCultureTag, Boolean allowFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentCulturesFromFrontEnd(String uiCultureTag, String dataCultureTag)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.SetCurrentCulturesFromContext(HttpContext context)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.PreProcessRequest(HttpContext context)
       at Microsoft.Office.Excel.WebUI.XlPreview.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    I have the same issue while opening the file , i have checked every thing twice. but unable to fix this thing . can any one help.
    One more thing which is i am wondering none of the MS representative replied on this post which is originally posted on March 27-2013.
    is microsoft alive??
    Imran Bashir Network Administrator MCP, JNCIA-EX,ER,JNIOUS +92-333-4330176

  • Excel files with fields linked to other excel files take a long time to open from SharePoint library

    Trying to track a problem for a user.
    Most of the documents opened from our SharePoint libraries appear to open in a timely fashion.
    But...one user has noticed an issue, and I just noticed something with her files that are a little less common than other stuff we've seen.
    she has a lot of pricelist excel files.  there are some master price list files, and then other files that link to fields from within the master files.
    the files that contain links to other files appear to be the ones that open very slowly.
    the files are being opened via excel itself, not the owa viewer or editor.
    is there a trick to setting up either the library, the site, site collection or web app... or some client-side setting that affects how quickly/efficiently excel will open files that link to other excel files shared within sharepoint?

    Hi  carphuntin_god,
    According to your description, my understanding  is that when you click a hyperlink which redirect to other files , the file are opened very slowly via excel client.
    How about you download the same file and open it using excel client? If it is opened quite fast, the issue should be caused by some third-party add-ins in the office program or antivirus soft.
    Here is a similar thread you can have a look:
    http://social.technet.microsoft.com/Forums/en-US/ff0c5306-5300-4010-a760-c4cca320b6fc/excell-file-taking-long-time-to-open-and-edit?forum=officesetupdeploylegacy
    http://social.technet.microsoft.com/Forums/en-US/5c746958-418a-44f6-a777-9f8bddf6dbb6/sharepoint-file-open-takes-long-time?forum=sharepointdevelopmentlegacy
    If you want to open the files using excel service after click the link in the excel file, you can create the hyperlink in the following way:
    General Syntax:         
    http://<server_name>/<site_name>/_layouts/ xlviewer.aspx?id=<workbook path>&range=<location>
    For example:              
    http://CorpServer/DeptA89/_layouts/ xlviewer.aspx?id=http://Mfct/Stats/Shared%20Documents/Parts.xlsx&range=Widgets!A1:F25
    For more information: 
    http://office.microsoft.com/en-001/sharepoint-server-help/using-hyperlinks-in-excel-services-HA010173679.aspx
    If you want to open the files using Office Web Apps after click  the link in the excel file,  you can create the hyperlink in the following way:
    http://<server name> / <site name> / <library name>/<your file name> ?web=1
    For example:
    http://sp/Shared%20Documents/exceltest.xlsx?Web=1
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Setting up excel services on Sharepoint 2010

    I am using sharepoint 2010 enterprise version, and needs some advice with setting up excel services.
    When installing sharepoint 2010 enterprise, is the service application for excel services already installed. I see it listed so i assume it is, but is it better to setup a new one with its own application pool.
    Also is there any thing you need to configure , or is the out of the box settings fine to work with.  I see the trusted file location is set to http://, which includes all specified URL locations as trusted locations to upload workbook from.  I
    am fine with that with the moment.
    But do i need to setup any data connection libraries, not sure what this is for.  Also for user-defined fujnction assembly either, or trusted data providers.
    So on a  site, I can add a new web part, choose business data as the category and then choose the excel web access as the web part, and from their open the tool pane and then upload the workgroup from the document library.  That works for me.  
    But is there anything else i need to setup.   Choose want to make sure before i deploy in prod.
    Thanks

    Hello,
    I need help setting up excel services.
    Excel service is already running on sharepoint server.
    I have one reporting file which is generated by DBA with database connection. i want to upload that file under document library and i want whenever user open it through document library, it gets updated through database connection 
    This is my first time, so pls guide me
    Reporting file has authentication set to --> None 
    Do i require any specific settings for authentication? like unattended account ? which username should i use
    Connection String -->
    Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=True;User ID=ExcelServices;Initial Catalog=SurveyData;Data Source=jdb1;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=RSTKW7W-06709;Use Encryption for Data=False;Tag
    with column collation when possible=False
    http://../training/sptestsite/Medication_Audit_Report
    http://../training/sptestsite/Medication_Audit_Data_Connection_Library/
    Trusted File Location - is this place do i need to upload that reporting file? 
    Trusted Data Connection Libraries - is this place do i need to save connection file .odc ?
    If i am not wrong, should i put
    Trusted File Location = http://../training/sptestsite/Medication_Audit_Report
    Trusted Data Connection Libraries = http://../training/sptestsite/Medication_Audit_Data_Connection_Library/
    http://../training/sptestsite/Medication_Audit_Report -- Here only reporting file will be uploaded right?
    http://../training/sptestsite/Medication_Audit_Data_Connection_Library/ -- Here only database connection .odc file will be uploaded?
    what other settings are required. please correct me
    my email address - [email protected]
    Harsh

  • Web Analysis Problem using the "Send to Excel" service

    I built reports using WebAnalysis 9.3.0.
    I attached the "Send to Excel" service button to my report. I am using a combination of Excel 2003 & 2007.
    I have the following settings in my webanalysis.properties file:
    MaxDataCellLimit=200000
    XLExportMaxRows=60000
    XLExportMaxColumns=200
    My problem is when I try to use the "Send to Excel" button. For "small" reports Excel opens quickly with my report information. Small being around 1,000 rows and 20 columns. If I add more rows, say another 400 or so - Excel never opens with my report information. Web Analysis sits there for about 5 minutes or so and does nothing. After that I can start using WA again - but no report in Excel.
    I get the same result by right clicking on the report in WA Studio and selecting "Export Data..."
    Any ideas?
    Thanks!

    Hyperion support suggested I try adding the Excel path to my webanalysis.properties file
    So I now have:
    ExcelPath=D:\\Progra~1\Micros~1\\OFFICE11\\Excel.exe;C:\\Progra~1\Micros~2\\OFFICE11\\Excel.exe
    MaxDataCellLimit=200000
    XLExportMaxRows=60000
    XLExportMaxColumns=200
    ResolveDimSetAliases=false
    Where D:\\Progra~1\Micros~1\\OFFICE11\\Excel.exe is the path to Excel as installed on the server where WA Studio is installed.
    And C:\\Progra~1\Micros~2\\OFFICE11\\Excel.exe is the path to Excel as installed on my laptop.
    This did not correct my problem.
    Am I using the ExcelPath=.... correctly?
    I was not sure this would work since WA Studio successfully starts Excel for "smaller" reports. But I tried it anyway.
    Any ideas?

  • Need help configuring Excel Services

    I've configured both the Excel Serives and Secure Store Target applications and continually receive the following error message when trying to view the Simple Projects List sample report:
    An error occurred while accessing application id ProjectServerApplication from Secure Store Service. The following connections failed to refresh:
    Project Server - Simple Projects List
    The Server Logs show the following errors:
    Access Denied: Claims stored in the credentials did not match with the group claim for a group app.
    The Microsoft Secure Store Services application Secure Store Service failed to retrieve credentials.  The error returned was 'Access Denied.' ...
    Access is denied. (Fault Detail is equal to Microsoft.Office.SecureStoreService.Server.SecureStoreServiceFault)
    SSS has failed with the following exception: Access is denied.
    Unable to esablish a connection using credentials retrieved from SSS.  This could be because the Unattended Service Account is not configured or because the credentials retrieved from SSS are not valid. 
    I've repeated the steps to create these configurations a few times, and continue to get the same errors.  Any help would be appreciated!
    Thanks

    Hello,
    I need help setting up excel services.
    Excel service is already running on sharepoint server.
    I have one reporting file which is generated by DBA with database connection. i want to upload that file under document library and i want whenever user open it through document library, it gets updated through database connection 
    This is my first time, so pls guide me
    Reporting file has authentication set to --> None 
    Do i require any specific settings for authentication? like unattended account ? which username should i use
    Connection String -->
    Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=True;User ID=ExcelServices;Initial Catalog=SurveyData;Data Source=jdb1;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=RSTKW7W-06709;Use Encryption for Data=False;Tag
    with column collation when possible=False
    http://../training/sptestsite/Medication_Audit_Report
    http://../training/sptestsite/Medication_Audit_Data_Connection_Library/
    Trusted File Location - is this place do i need to upload that reporting file? 
    Trusted Data Connection Libraries - is this place do i need to save connection file .odc ?
    If i am not wrong, should i put
    Trusted File Location = http://../training/sptestsite/Medication_Audit_Report
    Trusted Data Connection Libraries = http://../training/sptestsite/Medication_Audit_Data_Connection_Library/
    http://../training/sptestsite/Medication_Audit_Report -- Here only reporting file will be uploaded right?
    http://../training/sptestsite/Medication_Audit_Data_Connection_Library/ -- Here only database connection .odc file will be uploaded?
    what other settings are required. please correct me
    my email address - [email protected]
    Harsh

  • How to read data from info path in custom web part in share point 2010

    We have a document library where the some info paths (code info paths) are uploaded with different views. Is there any way to read the data from info paths forms in custom share point 2010 web parts like  using any available  web services in share
    point 2010 etc,,
    Any suggestions are helpful to me.
    TARUN

    Hello,
    Yes, you can use XmlDocument, XmlNodeList, XmlElement, XmlNode etc to read infopath file via code. Just add "using System.Xml" as reference in your solution.
    Refer below link with sample code:
    https://sujeewaediriweera.wordpress.com/2012/02/12/accessing-infopath-form-data-programmatically/
    http://sharepoint2010tutor.blogspot.sg/2012/01/programmatically-reading-contents-of.html
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

Maybe you are looking for