Business Data Connectivity Metadata Store is currently unavailable for users but not administrator

Hello,
We have a SharePoint 2013 Enterprise Multi Tenant deployment. Our customers Site Collection Administrators can not create external content types in SharePoint Designer 2013.
When clicking on "External Content Types" in the menu they are getting the message "The Business Data Connectivity Metadata Store is currently unavailable." but users are still able to click on "External Content Type" in the "New"
section of the ribbon. However, when doing that the are getting throwed another error message: "The remote server returned an error: (401) Unauthorized."
When logged in as the Active Directory Administrator via SharePoint Designer on one of the Site Collections everything works as it should.
It seems that there is some permissions missing but I can not figure out how to set this properly for the site users. I have tried to add users as administrators at both the Managed Metadata Store Applications and the Business Data Connectivity Application
with no result. I have also added the users with permissions on the Managed Metadata Store via the Tenant Administration panel for each site.
I would need this to work, and when it works I need to set the required permissions programatically via Powershell when provisioning sites and users.

Hi Anders,
Thanks for posting your issue here, Kindly check out the details in below mentioned URLs to fix this issue. 
http://www.c-sharpcorner.com/UploadFile/anavijai/the-business-data-connectivity-metadata-store-is-currently-u/
http://blogs.technet.com/b/namkh/archive/2013/04/18/quot-the-business-data-connectivity-metadata-store-is-currently-unavailable.aspx
I hope this is helpful to you. If this works, Please mark it as Answered. 
Regards, 
Dharmendra Singh (MCPD-EA | MCTS) 
Blog :
http://sharepoint-community.net/profile/DharmendraSingh

Similar Messages

  • Connecting to Sharepoint Online Access Web Tables - error - The business data connectivity metadata sore is currently unavailable

    I have a SharePoint Online E3 site kbhp2-public.SharePoint dot com  on which I have created an Access Web App.  Now, I need to use an External Content Type to access the underlying database tables, which I understand to be stored somewhere
    in Azure.  The ID of the server is bxh1ixb9lo.database.windows.net and the ID of the database is db_9857fa7d_4bf1_4558_be8c_24543b041e2.
    I have done the following so far:
    Set Metadata Store Permissions
    Created Secure Store credentials Mapping
    But when I opened the SharePoint site in SharePoint Designer and clicked on External Content Types, I get the Message:
    The business data connectivity metadata store is currently unavailable.
    Any guidance you can give me will be greatly appreciated
    Steve

    Hi Steve,
    It is Windows Azure SQL Database forum. Your question is more related to SharePoint Online.
    Please post the question in the Office 365 or online services forum. It is appropriate and more experts will assist.
    http://social.technet.microsoft.com/Forums/msonline/en-US/home?forum=onlineservicessharepoint
    http://community.office365.com/en-us/f/154.aspx
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Business data conectivity metada store is currently unavailable

    Hi All,
    I am getting below mentioned error when i am trying to open "External content types" tab in sharepoint designer.
    I have tried all the possible solution mentioned below.
    Business Data Connectivity Service and Managed Metadata web service are running.
    I have cleared SharePoint designer Cache.
    I am admin on sharepoint server and currently using Sharepoint server 2013 and my OS version where I am running Sharepoint designer is Windows 8.1

    Hi,
    For this issue, I recommend to check the things below:
    You have already checked that both Business Data Connectivity Service and Managed Metadata web service are running, then please make sure that the services have been associated with the web application where the site you open in SharePoint Designer exists.                                         
    http://www.c-sharpcorner.com/UploadFile/anavijai/the-business-data-connectivity-metadata-store-is-currently-u/
    Set the metadata store permissions and object data permissions on
    Business Data Connectivity Service. 
    https://technet.microsoft.com/en-us/library/jj683106.aspx
    If above cannot work, use fiddler to trace the error.
    http://blogs.technet.com/b/namkh/archive/2013/04/18/quot-the-business-data-connectivity-metadata-store-is-currently-unavailable.aspx
    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]

  • Cannot connect to Business Data Connectivity Metadata Store

    I am trying to connect to an external data source (web service) that is hosted on another server through SharePoint designer.
    I go to the external content type section->new content type-> External system "click here to discover external data sources and define operations"
    Add connection->data source type ="wcf service"
    enter url in the "service metadata url" and "service endpoint url"
    Try to connect. While trying to connect, it gives me this error
    "Cannot connect to Business Data Connectivity Metadata Store"
    error details: "The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults(either from ServiceBehaviorAttribute or from the <serviceDebug> configuration
    behavior) on the service in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK  documentation and inspect the server trace logs."
    Any help would be greatly appreciated.

    Hello.
    This solution with New-SPTrustedRootAuthority helped me in the following situation (which is like the one in the topic):
    I have a WCF service hosted on the SharePoint web site with dynamic binding. SharePoint web site is configured with host header (DNS alias) and SSL. Kerberous is enabled (this config does not work with NTLM only). I use Secure Store Service identity (Windows
    type) when configuring BSC connection to the service. When I try to connect to this WCF service from SharePoint Designer to create an external content type, I get this errror: "Cannot connect to Business Data Connectivity Metadata Store".
    These two steps resolved the issue:
    1) Add SSL certificate of the web site where WCF service is hosted to the "Trusted Root Certification Authorities" of "Certificates (Local Computer)"
    2) Run the following command in SharePoint PowerShell console:
    foreach ($cert in (Get-ChildItem cert:\LocalMachine\Root)) { if (!$cert.HasPrivateKey) {New-SPTrustedRootAuthority -Name $cert.Thumbprint -Certificate $cert } }

  • "iTunes store is currently unavailable" for 1 show

    My AppleTV2 (completely up to date) is stating "The iTunes store is currently unavailable.  Try again later"---but only when I try to access one particular show.  It connects perfectly fine for every other show.  The show is still in the itunes library.  I have restarted.  Any idea how to resolve this?

    Interesting. In geekgirl1975's case I assumed she (?) was trying to play the shows from the "cloud" (Apple's servers), the second column in the AppleTV's menu ("TV Shows", "Purchased"). But in your case you are trying to play them from the library on your computer (the fifth column in the AppleTV's menu, "Computers"), right? Hmmm. And the episodes which won't play on the AppleTV do play in iTunes?
    The first thing to try is rebooting the AppleTV. Press and hold the Down and Menu buttons on the remote until the status light on the AppleTV blinks rapidly. Once the main menu appears you'll have to wait a bit longer before it will respond to the remote control (still booting).
    If that doesn't solve the problem, it suggests the AppleTV uses a different verification mechanism than iTunes on the computer (otherwise why would the computer be able to play all the shows while the AppleTV can play only some of them?). I have an insane suggestion which probably won't work but it's worth a shot just for the sake of experimentation: try turning off "Send data to Apple" in the AppleTV settings menu (unless you already have it turned off). Don't get your hopes up. Probably pointless and irrelevant.

  • Business Data Connectivity Store is currently unavailable

    Hello,
    A couple of months ago i started a thread regarding Business Data Connectivity Store and that our tenants could not manage External Content Types via SharePoint Designer. I cannot reply to this thread anymore, so Im starting a new since the issue is still present.
    https://social.msdn.microsoft.com/Forums/office/en-US/dbbfa362-d756-478d-87c8-4ee5831d5827/business-data-connectivity-metadata-store-is-currently-unavailable-for-users-but-not-administrator?forum=sharepointcustomization#dbbfa362-d756-478d-87c8-4ee5831d5827
    A few updates:
    - Were having a multi tenant setup of SharePoint 2013 so the Business Connectivity Data Service is partitioned and the permissions is managed by each site collection administrator at the the Tenant Administration site (usually located at <site-url>/admin/).
    - The Active Directory administrator can log in to each site via SharePoint Designer (SPD) and manage external content types so there is nothing wrong with the version of SPD or bindings for the site collections. We are using SNI for SSL certificates on a single
    IP but this is not a problem.
    - We have logged on to the Tenant Administration site with for a tenant site collection and added users to the Metadata Store so now we can manually import a BDC Model to the site, but we are still not able to use SPD to manage this. Our tenants demand this
    to work.
    How can we get further with this issue?

    Hi Anders,
    Based on your description, I recommend to verify the things below:
    1.  Make sure that the users are added to the Set Metadata Store Permissions.
    2.  Clear SharePoint Designer cache and then check the results.
    http://www.c-sharpcorner.com/UploadFile/sagarp/how-to-clear-your-sharepoint-designer-20102013-cache/
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Access denied by Business Data Connectivity when trying to add myself to the BDC Metadata Store

    Originally I was trying to create a ECT in SharePoint Designer 2010, on the production server, and every attempt fails with the error "Access denied by Business Data Connector" and I found the post "Deploying a BDC Model project to SharePoint 2010"
    which suggests that I may not have rights to the BCD Metadata Store: "It seems that an account are you using to deploy solution doesn't have sufficient permission in the BDC Metadata Store."
    So I tried to set myself (individual windows user) up to have rights via:  "Central Administration->Application Management->Manage Service Application->Business Data Connectivity Service->Click Set Metada Store Permission
    on the ribbon->Set Permission you need and tick the checkbox "Propagate permission to all"; and pressing the OK button an error dialog displays stating Access denied by Business Data Connectivity.
    What should I check next?

    I'm in a situation similar to MarkDavisHQ's.  I was able to get the Metadata Store working by:
    Making the BDC app pool identity a local administrator (before that, I was seeing lots of WcfSendRequeust like this in the logs - but I'm still not sure this escalation was necessary.   I have since removed the app pool identity from local administrators
    and it ):
    Starting the (SharePoint) Claims to Windows Token Service
    Can anyone else confirm whether or not local admin privileges are required?
    For those who may be stuck at a similar spot,  here are the log excerpts that helped me.
    Before I changed the local admin membership, this was appearing in the logs:
    04/22/2012 15:03:26.62    w3wp.exe (0x0FFC)    0x0DF4    SharePoint Foundation    Runtime    tkau    Unexpected    Microsoft.BusinessData.Infrastructure.AccessDeniedException:
    Access denied by Business Data Connectivity.    at Microsoft.SharePoint.BusinessData.SharedService.BdcServiceApplicationProxy.Execute[T](String operationName, UInt32 maxRunningTime, ExecuteDelegate`1 operation, Boolean performCanaryCheck, Boolean
    isChannelThatDelegatesIdentity)     at Microsoft.SharePoint.BusinessData.SharedService.BdcServiceApplicationProxy.SetAccessControlEntries(MetadataObjectStruct metadataObjectStruct, AccessControlEntryStruct[] aces, String settingId)    
    at Microsoft.SharePoint.BusinessData.Infrastructure.BdcAccessControlList.SaveAs(MetadataObjectStruct metadataObjectStruct, String settingId, BdcServiceApplicationProxy serviceProxy)     at Microsoft.SharePoint.BusinessData.Administration.IndividuallySecurableMetadataObject.SetAccessControlList(IAccessControlList
    acl, String settingId)     at Microsoft.SharePoint.ApplicationPages.ManageBDCPermissions.OkButton_Click(Object sender, EventArgs e)     at System.EventHandler.Invoke(Object sender, EventArgs e)    
    at System.Web.UI.WebControls.Button.OnClick(EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl,
    String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    c448101d-363b-4e70-bac4-3ffb0c3313dc
    After I changed the membership, I hit this one (which was resolved by starting the Claims to Windows Token Service ):
    04/22/2012 21:50:44.54    w3wp.exe (0x1030)    0x0CF4    SharePoint Foundation    Claims Authentication    bz7l    Medium    SPSecurityContext.WindowsIdentity:
    Could not retrieve a valid windows identity for NTName='XYZDEV1\e-hugh.kelley', UPN='[email protected]'. UPN is required when Kerberos constrained delegation is used. Exception: System.ServiceModel.EndpointNotFoundException: There was no endpoint listening
    at net.pipe://localhost/s4u/022694f3-9fbd-422b-b4b2-312e25dae2a2 that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.IO.PipeException: The pipe endpoint
    'net.pipe://localhost/s4u/022694f3-9fbd-422b-b4b2-312e25dae2a2' could not be found on your local machine.      --- End of inner exception stack trace ---    Server stack trace:      at System.ServiceModel.Channels.PipeConnectionInitiator.GetPipeName(Uri
    uri)     at System.ServiceModel.Channels.NamedPipeConnectionPoolRegistry.NamedPipeConnectionPool.GetPoolKey(EndpointAddress address, Uri via)     at System.ServiceModel.Channels.CommunicationPool`2.TakeConnection(EndpointAddress
    address, Uri via, TimeSpan timeout, TKey& key)     at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)     at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan
    timeout)     at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)     at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
    timeout)     at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)     at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)    
    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage
    methodCall, ProxyOperationRuntime operation)     at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)    Exception rethrown at [0]:      at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
    reqMsg, IMessage retMsg)     at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)     at Microsoft.IdentityModel.WindowsTokenService.S4UClient.IS4UService_dup.UpnLogon(String
    upn, Int32 pid)     at Microsoft.IdentityModel.WindowsTokenService.S4UClient.<>c__DisplayClass1.<UpnLogon>b__0(IS4UService_dup channel)     at Microsoft.IdentityModel.WindowsTokenService.S4UClient.CallService(Func`2
    contractOperation)     at Microsoft.SharePoint.SPSecurityContext.GetWindowsIdentity().    090b18ec-3a6f-4367-a74b-b6a113a62507
    04/22/2012 21:50:44.54    w3wp.exe (0x1030)    0x0CF4    SharePoint Foundation    Claims Authentication    g220    Unexpected    No windows identity
    for xyzdev1\e-hugh.kelley.    090b18ec-3a6f-4367-a74b-b6a113a62507

  • I am getting error message that says "the iTunes store is currently unavailable......how do I fix this?

    I keep getting iTunes store is currently unavailable when I try to view my purchased content on my apple tv 2.   How can I fix this?

    I just saw the date of the original post and so this doesn't help them...but anyone doing searches as I did for help...hopefully this will help you.
    I posted this in another thread, but sounds like you have the same problem I have.  I can watch youtube, and even trailers, but I cannot watch any of my purchased movies and I can't rent movies either.  It originally started after my 5.1 update and sporadically I would get the error in loading content...now I get an iTunes connection error as well.
    So, I finally decided to pay 20 bones for support to find out what is wrong.  Apple support confirmed there is a "number of people" having this issue and he thought there would be an update soon since they have been working on the problem for a couple of weeks.  And he told me they wouldn't charge me for the call.
    A little frustrating.
    Message was edited by: kojiericson

  • "Access denied by Business Data Connectivity" on trying to connect to SQL server for creating external content type

    I was trying to create external client type but whenever I try to connect to Database server it is showing me error"Access denied by Business Data Connectivity". I have given the Secure Store Target Application ID coorectly and it is setup coorectly.
    In BDC service application I have given myself all the permissions( edit,execute,Selectable in clients,Set Permissions) through set metadata store permission option in it.
    Please suggest what other reason can be there for the error.
    Thanks and Regards
    Gaurav

    Hi Gaurav,
    If you have given your account all permissions through setting metadata store permission, the issue should be resolved.
    For a better trouble shooting , I suggest you do as the followings:
    1. Assign administrators to a Business Data Connectivity service application
    Here is a detailed article for your reference:
    http://technet.microsoft.com/en-us/library/ff973113.aspx
    2. You can try to recreate a Business Data Connectivity service application to test whether it works.
    http://www.dotnetcurry.com/showarticle.aspx?ID=794
    Best regards,
    Zhengyu Guo
    Zhengyu Guo
    TechNet Community Support

  • Error while crawling LOB contents. ( Access denied by Business Data Connectivity. )

    Hi,
    When I execute Incremental or Full Crawl I get 17000 error and only 1 success.
    The error is:
    Error while crawling LOB contents. ( Access denied by Business Data Connectivity. )
    I went to Central Admin > Security > Specify Web application Policy > Search for the service account for crawl and it's "svc_SPSearch"
    I went to Central Admin > Application Management > Manage Service Application > BDC Service > I select all the affected external sources > then Set Object Permission in ribbon > Added "svc_SPSearch" with execute rights > then
     kick incremental crawl...
    After this I still get 17000 error, 1 success.. Still an error.
    I am not sure how the crawler's trust to FAST infrastructure works.
    Your response is appreciated. Thanks!
    -Fran

    I have the same issue. 
    I have Configured the BDC Service application using SQL external content. The connection was successful and I am able to see the external content in the List "BDC Demo" . But when I search in the BDC Demo site it gives nothing.
    So I checked in the crawl logs and identified that it shows " 1 " under error. to further drill down the issue , I went to click on "1" and see the error message : Error while crawling LOB contents SharePoint 2013 .
    I have created an external DB named BCSDemo_DB for which I have granted my search Service account read& write permission.
    I have added the same account under administrators for both secure store and BCS service applications. 
    I have done index reset , done a full crawl but the error still occurs.
    Can someone please advise if I am missing something.
    Regards

  • I'm getting messages that Netflix and the iTunes store are currently unavailable.  This can't be a coincidence.  also, my iTunes account works fine on my Mac, just not on the Apple TV.

    I'm getting  messages on Apple TV that netflix and the itunes store are currently unavailable.  This can't be a coincidence.  Also, the iTunes store is working fine on my Mac, the message is only on the apple TV.  Does anyone come across this frequently?

    1. An explanation for what? There is indeed a support number (which you can find on this page in "Contact Us" and you are limited to one support call in the first 90 days and if you have the AppleCare you have more than that available, so I'm not sure what you are whinning about (and it is whinning, trust me).
    2. http://www.kelleytown.com/ikelleytown.htm#firewire
    However, since I wrote that I've also found this link pretty well explaining why firewire is the only way to go as well (it's about video but the same principles apply to the iPod:
    http://www.pcworld.idg.com.au/index.php/id;1847886895
    3. Your computer is constantly changing whether you know it or not. Do you not apply any MS upgrades (or have them automatically applied for you?) Do you not have any antivirus on your machine (which applies its own upgrades)? Do you not, ever, ever, ever, open any email message, or download that cute little movie your friend sent you, or plug in any other device (like a digital camera or flashcard reader) or any of the other hundreds of things that change the computer environment.
    It would be tempting to conclude a priori that the update you applied is now the problem, but if so, how do you explain the millions of others who apply the update without issues? The difference is in the software and settings on the witches brew that is a PC. So in a sense you are right in that the old firmware worked with the mess that is your computer and now the new one doesn't -- but it ain't up to Apple to fix your computer, and impossible for them to control the environment (oh, I guess unless you buy a Mac -- "coincidentally" Mac's use firewire for the iPod :>)
    I dunno -- when 90% of all issues (100% of all connection issues) can be solved with the Adaptec 4300 I tend to have a lot less patience with folks. If you want to use the mess that is USB then you'll just have to deal with the fact that MS screwed it up big time and become more knowledgable on how to handle the problems.

  • External content type error: Business Data Connectivity object not found.

    Hello
    I have to change the external database (external system) for an external content type. The database view on the new database is exactly the same as on the old database.
    After changing the external system of the external content type, this happens:
    When I try to add a new item to the list, I get this error under the external data field:
    "Business Data Connectivity object not found. Administrators, see the server log for more information."
    Also, when I try to update the external data field, it is not possible because the buttons are grey.
    When I add a new external data field to the same list, I can use the external content type. For some reason the current external data field doesn't update.
    Any ideas?
    Any help would be much appreciated!

    Have you implemented both ‘Read List’ & ‘Read Item’ operations in your ECT?
    This may be helpful -
    https://sharepointcreations.wordpress.com/2014/03/13/business-data-connectivity-object-not-found/
    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.

  • An internal database error occurred in the Business Data Connectivity Shared Service. SQL Error Number : 229

     Recently i upgraded my SharePoint server 2013 to SP1, after the upgrade i received following message in manage database Status page " Databases running in compatibility range, upgrade recommended" 
    for Business Data Connectivity Database. Then i ran Sharepoint Configuration wizard, which fixed that error on that page but i am getting a error message while accessing BDCApplication page in manage service applications pagein central admin"
    An internal database error occurred in the Business Data Connectivity Shared Service. SQL Error Number : 229
    Sys Log :
    The BDC Service application failed due to a SQL Exception: SQLServer host WSQLD05\DV. The error returned was: 'The EXECUTE permission was denied on the object 'proc_ar_GetAdministrationMetadataCatalogByPartitionId', database 'sp_BusinessDataConnectivity_DV13',
    schema 'dbo'.'
    I checked the Db role of the service app pool account, it has SPDataAccess permission over the Database. i cant recreate another application without knowing the root cause. I hope i can get better option to troubleshoot the issue.
    Thank you

    As per the error message, you can at least grant the BDC service application pool account the EXECUTE perimssions on the sp_BusinessDataConnectivity_DV13 database
    Edwin Sarmiento SQL Server MVP | Microsoft Certified Master
    Blog |
    Twitter | LinkedIn
    SQL Server High Availability and Disaster Recover Deep Dive Course

  • Itunes store is currently unavailable

    My 3rd generation apple tv will play every purchased tv show I have except one series. When I click on it, I get "itunes store is currently unavailable. try again later." If I select it from my computer via home sharing, it plays no problem. Apple TV is playing all the other shows so the store is obviously available. Anybody have this issue and know how to fix it?

    According to Apple, the servers in the US were overloaded at the time of the iPhone launch. Because it was done through iTunes, I think there was something to do with the servers. Maybe the hype is where you are now

  • Not able to configure BDC (Business Data connectivity )service in SharePoint 2012 Using Powershell Script

    HI
    Now there is an  issue while iam running powershell script for BDC service.
    Below is the script i am using to configure BDC service.
    Param(           
        [Parameter(Mandatory=$true,ValueFromPipeline=$true)]           
        [string]$ServiceName = $null,
        [Parameter(Mandatory=$true)]           
        [string]$ServiceProxyName = $null,
        [Parameter(Mandatory=$true)]           
        [string]$AppPoolAccount = $null,
        [Parameter(Mandatory=$true)]           
        [string]$AppPoolName = $null,
        [Parameter(Mandatory=$true)]           
        [string]$DatabaseServer = $null,
        [Parameter(Mandatory=$true)]           
        [string]$DatabaseName = $null
    # check to ensure Microsoft.SharePoint.PowerShell is loaded if not using the SharePoint Management Shell
    $snapin = Get-PSSnapin | Where-Object {$_.Name -eq 'Microsoft.SharePoint.Powershell'}
    if ($snapin -eq $null) {
        Write-Host "Loading SharePoint Powershell Snapin"
        Add-PSSnapin "Microsoft.SharePoint.Powershell"
    Write-Host "Successfully Sharepoint Powershell snapin Loaded"
    Write-Host "Started executing Powershell script for configuring Business Data Connectivity Service in sharepoint farm ..."
    Write-Host -ForegroundColor Yellow "Checking if Application Pool Accounts exists"
    $AppPoolAccount = Get-SPManagedAccount -Identity $AppPoolAccount -EA 0
    if($AppPoolAccount -eq $null)
    Write-Host "Please supply the password for the Service Account..."
    $AppPoolCred = Get-Credential $AppPoolAccount
    $AppPoolAccount = New-SPManagedAccount -Credential $AppPoolCred -EA 0
    Write-Host -ForegroundColor Yellow "Checking wether the Application Pool exists"
    $AppPool = Get-SPServiceApplicationPool -Identity $AppPoolName -ErrorAction SilentlyContinue
    if (!$AppPool)
    Write-Host -ForegroundColor Green "Creating Application Pool"
    $AppPool = New-SPServiceApplicationPool -Name $AppPoolName -Account $AppPoolAccount -Verbose
    Write-Host -ForegroundColor Yellow "Checking if BDC Service Application exists"
    $ServiceApplication = Get-SPServiceApplication -Name $ServiceName -ErrorAction SilentlyContinue
    if (!$ServiceApplication)
    Write-Host -ForegroundColor Green "Creating BDC Service Application"
    $ServiceApplication = New-SPBusinessDataCatalogServiceApplication –ApplicationPool $AppPool –DatabaseName $DatabaseName –DatabaseServer $DatabaseServer –Name $ServiceName
    Write-Host -ForegroundColor Yellow "Starting the BDC Service"
    #$ServiceInstance = Get-SPServiceInstance | Where-Object { $_.TypeName -like "BDC Service*" }
    #Start-SPServiceInstance $ServiceInstance
    Get-SPServiceInstance | where-object {$_.DisplayName -eq $ServiceName} | Start-SPServiceInstance > $null
    Write-Host -ForegroundColor Green "Done - BDC Service is up and running."
    Error i am getting ->
    Started executing Powershell script for configuring Business Data Connectivity S
    ervice in sharepoint farm ...
    Checking if Application Pool Accounts exists
    Checking wether the Application Pool exists
    Creating Application Pool
    VERBOSE: Leaving BeginProcessing Method of New-SPServiceApplicationPool.
    New-SPServiceApplicationPool : The trust relationship between the primary
    domain and the trusted domain failed.
    At C:\SP2013Service\BDC1.ps1:67 char:12
    + $AppPool = New-SPServiceApplicationPool -Name $AppPoolName -Account
    $AppPoolAcco ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~
        + CategoryInfo          : InvalidData: (Microsoft.Share...ApplicationPool:
       SPCmdletNewIisWebServiceApplicationPool) [New-SPServiceApplicationPool], S 
      ystemException
        + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewIisWe
       bServiceApplicationPool
    VERBOSE: Leaving ProcessRecord Method of New-SPServiceApplicationPool.
    VERBOSE: Leaving EndProcessing Method of New-SPServiceApplicationPool.
    Checking if BDC Service Application exists
    Creating BDC Service Application
    New-SPBusinessDataCatalogServiceApplication : Cannot bind argument to
    parameter 'ApplicationPool' because it is null.
    At C:\SP2013Service\BDC1.ps1:75 char:84
    + ... pplicationPool $AppPool –DatabaseName $DatabaseName –DatabaseServer
    $DatabaseSer ...
    +                    ~~~~~~~~
        + CategoryInfo          : InvalidData: (:) [New-SPBusinessD...viceApplicat
       ion], ParameterBindingValidationException
        + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,M
       icrosoft.SharePoint.BusinessData.SharedService.SPNewBusinessDataCatalogSer 
      viceApplication

    hi guys,
    same script i have modified with parametes,in below script i have hard corded values for parameters,and it is executing without errors.
    Below is script executing without error->
    Add-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
    #Settings
    $ServiceName = "BDC Service"
    $ServiceProxyName = "BDC Proxy"
    $AppPoolAccount = "DOMAIN\USERNAME"
    $AppPoolName = "BDC SP Ser App Pool"
    $DatabaseServer = "SPSQL"
    $DatabaseName = "SP2013 BDC"
    Write-Host -ForegroundColor Yellow "Checking if Application Pool Accounts exists"
    $AppPoolAccount = Get-SPManagedAccount -Identity $AppPoolAccount -EA 0
    if($AppPoolAccount -eq $null)
    Write-Host "Please supply the password for the Service Account..."
    $AppPoolCred = Get-Credential $AppPoolAccount
    $AppPoolAccount = New-SPManagedAccount -Credential $AppPoolCred -EA 0
    Write-Host -ForegroundColor Yellow "Checking wether the Application Pool exists"
    $AppPool = Get-SPServiceApplicationPool -Identity $AppPoolName -ErrorAction SilentlyContinue
    if (!$AppPool)
    Write-Host -ForegroundColor Green "Creating Application Pool"
    $AppPool = New-SPServiceApplicationPool -Name $AppPoolName -Account $AppPoolAccount -Verbose
    Write-Host -ForegroundColor Yellow "Checking if BDC Service Application exists"
    $ServiceApplication = Get-SPServiceApplication -Name $ServiceName -ErrorAction SilentlyContinue
    if (!$ServiceApplication)
    Write-Host -ForegroundColor Green "Creating BDC Service Application"
    $ServiceApplication = New-SPBusinessDataCatalogServiceApplication –ApplicationPool $AppPool –DatabaseName $DatabaseName –DatabaseServer $DatabaseServer –Name $ServiceName
    Write-Host -ForegroundColor Yellow "Starting the BDC Service"
    #$ServiceInstance = Get-SPServiceInstance | Where-Object { $_.TypeName -like "BDC Service*" }
    #Start-SPServiceInstance $ServiceInstance
    Get-SPServiceInstance | where-object {$_.DisplayName -eq $ServiceName} | Start-SPServiceInstance > $null
    Write-Host -ForegroundColor Green "Done - BDC Service is up and running."
    if any body want need more information please can u respond me to
    Email id:[email protected]

Maybe you are looking for

  • Problems in instalation/running with JDK 5.0

    I'm rellatively new to Java programming. I've had a few classes, know the basic concepts and have tried some tutorials. Recently I installed JDK 5.0 update 6 in my computer (first I tried the Netbeans bundle, but saw it was very complicated and unnec

  • The latest version of Firefox does not seem to work with Google!

    When you type something in the search box, you will get presented with a list of possible choices, but Google will not actually perform the search when you press "Enter" or click "Google Search". IE 6 still appears to work fine, as does Firefox 3.6.

  • Nokia 5800 31.0.008 CALL BUG

    Hi! Also with this firmware, occasionally, phone crash (freeze and reboot) during a call, when H3G netwok (3 Italy) is missed (0 antenna signal). In Italy, when H3G network (HSDPA, UMTS) is unavailable, the operator switch automatically in roaming mo

  • Problems importing sound

    I'm trying to import .aiff (22.050  24bit) into the Director Cast, but Director (12) keeps crashing while importing them. I intially did a batch import, but am now importing them one at a time - a couple have imported, but I'm having to force quit Di

  • Significance of Initial (intial_extent)parameter while creation of table

    Hi All, I am designing a new schema for my 10g database and I am in process of creation of tablespaces and tables. My Tablespace are extent management local autoallocate and auto segment space management. With "segment space management Auto", I under