Sharepoint 2013 adding ECT fails with "Access Denied by Business Connectivity Service"
Using SharePoint Designer 2013 I am attempting to setup an External Content Type to a SQL DB. I have setup the SQL database with a valid login that was also used to setup an account with the Secure Store Service. I am running SharePoint 2013 designer and
have opened my site with administrative credentials. No matter what, I continue to get the "access denied" message when I try to add this SQL database to my ECT section in SPD. All users have access to invoke the BCS app.
I have deleted and recreated the BCS service application and it is running with farm credentials and temporarily I added the farm account to the local admin account....and again verified that all users have rights to run BCS...
In all other aspects my SharePoint sites are working, I can modify and add via SPD and publish...etc...but I cannot add a connection to an external SQL server. I have also verified through Excel that I can connect to my SQL DB with the same credentials that
I am trying in SharePoint and everything works.
Most of the posts I see in this area relate to permissions or access problems AFTER the ECT connection is created. My problem is I can't even get a connection created.
Here are the error logs that are generated when I try to connect....maybe this will help someone tell me where to correct the issue.....(I removed the actual domain names) but my account was listed which is an admin on the sharepoint system and domain.
06/25/2013 16:48:00.24 w3wp.exe (0x1908) 0x0EE4 Business Connectivity Services Business Data 9f4c Unexpected 'Business Data Connectivity Service' BdcServiceApplication logging server side AccessDeniedException before marshalling
and rethrowing on client side: Access Denied for User '0#.w|"domain\my account', which may be an impersonation by 'Domain\"sharepoint admin account"'. Securable IMetadataCatalog with Name 'ApplicationRegistry' denied access. Stack Trace:
at Microsoft.SharePoint.BusinessData.SharedService.ModelAccessor.Create(MetadataObjectStruct rawValues, MetadataObjectStruct applicationRegistryStruct, DbSessionWrapper dbSessionWrapper) at Microsoft.SharePoint.BusinessData.SharedService.BdcServiceApplication.Execute[T](String
operationName, UInt32 maxRunningTime, ExecuteDelegate`1 operation) 97fe289c-5245-e040-0f76-59614537398e
06/25/2013 16:48:00.24 w3wp.exe (0x1908) 0x0EE4 Business Connectivity Services Business Data g0kc High Access Denied for User '0#.w|domain\my user account', which may be an impersonation by 'Domain\"sharepoint admin account"'.
Securable IMetadataCatalog with Name 'ApplicationRegistry' has ACL that contains: 97fe289c-5245-e040-0f76-59614537398e
Similar Messages
-
Sharepoint 2013 webDAV PROPPATCH fails with status code 409 error every time, when trying to set custom property.
anyone have any ideaHi
Stumbled upon the resolution myself. The Bean Area item needs to be set to Visible=Yes in the property palette for the bean within Forms Builder, and also the implementation class also in the bean's properties must match exactly the package & class name specified in the PJC (my full implementation class string had to be set to oracle.forms.demos.runApplication).
As this bean has no user interface component, and since the Visible property has to be set to Yes, to avoid having a random square shape for the bean sitting on the form's canvas, I also set the Width and Height properties for the bean to 0.001. This does show a very small dot on the form, but that will be acceptable.
So in summary there has been a change for PJC / Bean Areas between 6i and 10g Forms, in 6i you could have the Bean Item to be set Visible=No, and the SET_CUSTOM_ PROPERTY built-in would work, however in 10g Forms the Bean Item must be set to Visible=Yes for the SET_CUSTOM_PROPERTY built-in to work.
Daryl -
PCROleObj- PutRefFormattedPicture() fails with ACCESS DENIED
I am trying to change the bitmap of an OLE object in a CR9 report. Having successfully located the object and put it in pCROleObj, I then run the code below and it fails with access denied. Why?
IPictureDispPtr pPicDisp;
PICTDESC pd;
pd.cbSizeofstruct = sizeof(pd);
pd.picType = PICTYPE_BITMAP;
pd.bmp.hbitmap =
LoadBitmap(theApp.m_hInstance,MAKEINTRESOURCE(IDB_LOGGA));
OleCreatePictureIndirect(&pd,IID_IPictureDisp,TRUE,(LPVOID *)&pPicDisp);
pCROleObj->PutRefFormattedPicture(pPicDisp);Same reply applies to here as in this thread:
AddPictureObject() returns 0x80047cbd
Ludek -
Get-VHD failing with access denied when querying remote VHDs on SMB 3.0 shares
I'm out of ideas on this one. I'm attempting to do a Get-VHD to retrieve VHD info for some Guests that are using SMB 3.0 shares to remotely store their VHDs and I cannot remotely run the powershell command at all without getting Error: 'General Access
denied error' (0x80070005)'. Command running locally on the machine hosting the guest works fine.
Here is the Hyper-V Setup - Host is Server 2012 datacenter, guests are 2012 or 2008 R2 boxes. Storage server is Server 2012, domain is 2008 R2 functionality level if it matters, powershell version 3.0
Host1 --> Guest(1) --> {LAN}--> StorageServer --> Share --> VHD
Make sense? pretty easy, normal setup. The Host has full access NTFS rights on the share and all files, including the VHDs. As does my AD account. All on the same domain. If I RDP into Host1 I can retrieve everything just fine. However, the following methods
will not work to retrieve VHD info of any Guest running on their VHDs off the share (get-vhd works if Guests have their VHDs on locally attached storage).
1.) Enter-PsSession Host1 and then attempt get-vhd
2.) Invoke-Command
3.) import module/hyper-v management tools on client then running get-vhd
4.) Executing GetVirtualHardDiskInfo method in WMI (http://msdn.microsoft.com/en-us/library/cc136797%28VS.85%29.aspx) to retrieve the job which results in same error message.
5.) Even attempting test-path $pathToVHD on the host will result in Access Denied error.
If I check the storage server hosting the VHDs I see some normal access requests come across on my Domain account followed a few seconds later by a null sid/anonymous requests which of course are denied. I have no idea why on earth they are coming across
as null SIDs/anonymous requests but this seems to be the root of the issue. Is it trying to regenerate my credentials or something to access the VHD and failing? If so, is there a way to fix it?Yeah I thought about that too and that isn't the problem in this particular case (also PSSession takes care of the RSAT/HyperV problem). If it was Scenario #1 wouldn't work and scenario #4 would.
Again, this works fine:
Scenario #1 (works)
1.) Remote computer running PS 3.0 (win 7 desktop in this case) enter-pssession Host1
2.) Get-VHD $VHDOnLocalDirectAttachedStorage (Host1 is running guest)
Scenario #2 (works)
1.) RDP to Host1
2.) Get-VHD $VHDOnSMBShare (host1 is running guest)
Scenario #3 (breaks)
1.) On remote computer enter-pssession Host1
2.) Get-VHD $VHDOnSMBShare (host1 is running guest)
Scenario #4 (breaks):
1.) RDP to Host2 server 2012 running Hyper-v with RSAT installed
2.) Get-VHD $VHDOnSMBShare -ComputerName RemoteHost
Scenario #5 (works):
1.) Enter-Psession Host2
2.) Get-VHD $VHDOnHost1LocalStorage -ComputerName Host1 -
Adding Custom Breadcrumb for SharePoint 2013 Custom Master-Page With A Custom Separator.
Hi All,
I have successfully converted an HTML file to a SharePoint 2013 Custom Master-Page with relevant style sheets. But when I used within the SharePoint site I could not find the breadcrumb. So I want to know how to do that? For that breadcrumb I need a custom
separator like an arrow like in the below.
As you can see the separator is a custom built one. To have this custom separator in my HTML I have used the following code snippet.
<div class="breadcrumb-desktop">
<span class="breadcrumb-links"><a href="#">SharePoint Site Home</a></span>
<span class="breadcrumb-links"><a href="#">Sub Link 01</a></span> Active Page
</div>
The styles are as like in the below.
.breadcrumb-desktop {
width: 100%;
font-family: Arial;
padding: 23px 0 40px;
float: left;
font-size: 0.75em;
line-height: 1.25;
.breadcrumb-desktop > span.breadcrumb-links:after {
content: " \203A ";
white-space: pre;
I have tried the following code snippet within the SharePoint site as
<!--MS:<asp:sitemappath runat="server" sitemapproviders="SPSiteMapProvider,SPXmlContentMapProvider" rendercurrentnodeaslink="false" hideinteriorrootnodes="true">-->
<!--ME:</asp:sitemappath>-->
But it did not display as I wanted.
So how am I supposed to insert these to my Custom Master-Page's breadcrumb and style them? Please could someone help me to solve this?
Thanks and regards,
ChiranthakaHi Chiranthaka,
Please use the following code snippet in your html master page.
<div class="CustomBreadcrumbs">
You are here:
<!--SPM:<SharePoint:AjaxDelta id="DeltaPlaceHolderPageTitleInTitleArea" runat="server">-->
<!--SPM:<asp:ContentPlaceHolder id="PlaceHolderTitleBreadcrumb" runat="server">-->
<!--MS:<asp:sitemappath runat="server" sitemapproviders="SPSiteMapProvider,SPXmlContentMapProvider" rendercurrentnodeaslink="false" hideinteriorrootnodes="true">-->
<!--ME:</asp:sitemappath>-->
<!--SPM:</asp:ContentPlaceHolder>-->
<!--SPM:</SharePoint:AjaxDelta>-->
</div>
Here is a thread for your reference:
https://social.msdn.microsoft.com/Forums/office/en-US/daabd903-df98-41da-80d8-6a942d06980e/add-breadcrumb-to-custom-master-page-html-file?forum=sharepointcustomization
We can also customize a breadcrumb control, then add it in master page.
http://msreddysharepoint.blogspot.com/2013/01/custom-breadcrumb-navigation-in.html
Best Regards
Dennis Guo
TechNet Community Support -
Hello everyone,
Within a list form, user has to select a value amongst a huge number of availables options.
Instead of using something like a dropdown list, which would be very boring to parse, I would like to display possibles values in a treeview.
To do that, I tried to use an <Sharepoint:SPTreeView bind to a SharePoint:SPXmlDataSource who read data from an XML File.
<SharePoint:SPXmlDataSource runat="server" DataFile="../../SiteAssets/App_Data/myfile.xml" AutoSave="True" XPath="" ID="myDataXml"></SharePoint:SPXmlDataSource>
<SharePoint:SPTreeView runat="server" ID="MyTreeView" DataSourceID="myDataXml" />
But when I try to display the form in my web browser, an error occurs.
Therefore, my question is : Is it possible to display the content of an Xml file as a treeView in a SharePoint 2013 custom form edited with SharePoint Designer 2013 ?
If the answer is yes, how ? Which are the required properties for "SharePoint:SPXmlDataSource" tag and "SharePoint:SPTreeView" tag ?
What are the requirements to use thoses tags ?
Regards,
Florian.
Ps : I dont have access to the server side of the SharePoint site I am working on.Assuming that https://fullsitename is a new URL address did you make sure to update your browser to include it in the Trusted Sites zone? The message you are quoting is exactly the one you get if you don't have it in Trusted Sites.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem. -
i'm trying to open a report on a web site and it keeps coming back with access denied to dashboard module. any ideas?
Exactly how are you trying to restore form TM?
Have you tried rebuilding your iPhoto library?
And your comments indicate that you may not understand iPhoto at all - you should not be inside the iPhoto library - there are no user servicable parts in it - and iPhoto does not duplicate photos - more details of yoru work flow would help sort this out
LN -
Windows Server 2013; Exchange Server 2013 with Cumulative Update 1
Cannot install Cumulative Update 3 for Exchange Server 2013. It fails with
[xxx] [0] [ERROR] Setup encountered a problem while validating the state of Active Directory: Active Directory operation failed on . The supplied credential for 'XXX\Xxx' is invalid. See the Exchange setup log for more information on this error.
[xxx] [0] [ERROR] Active Directory operation failed on . The supplied credential for 'XXX\Xxx' is invalid.
[xxx] [0] [ERROR] The supplied credential is invalid.
(Crosses - XXX - replace original values.)
I have found that a few others have experienced the same problem but found no solution, nor could come up with anything myself. If it is any hint, Event 40961 was logged in the Event Viewer around the same time on almost all installation attempts to be purely
conincidental:
The Security System could not establish a secured connection with the server
ldap/xxx.xxx/[email protected] No authentication protocol was available.
Both Windows Server and Exchange Server otherwise work OK, and do not recall any issues with Cumlative Update 1 installation.Hi vhr1,
Based on my knowledge, the Event ID 40961 is a warning message.
This behavior occurs when we restart the server that was promoted to a DC. The Windows Time service tries to authenticate before Directory Services has started.
Found some resources for your reference even if the Exchange Version is mismatched:
http://blogs.technet.com/b/jhoward/archive/2005/04/20/403946.aspx
http://support.microsoft.com/kb/823712/en-us
About the error message, "Setup encountered a problem while validating the state of Active Directory: Active Directory operation failed on . The supplied credential for 'XXX\Xxx' is invalid."
The error message InvalidCredentials means: the wrong password was supplied or the SASL credentials cannot be processed.
Found a similar thread for your reference, hope it is helpful:
http://social.technet.microsoft.com/Forums/en-US/98e26ad6-8e43-4ef5-8ff9-e9fee6e76bda/bind-operation-is-invalid?forum=exchangesvrdeploylegacy
Feel free to contact me if there is any problem.
Thanks
Mavis
Mavis Huang
TechNet Community Support -
SharePoint SiteMialbox failed with 503 error (AutoDiscover.svc web service call failed)
I followed Technet articles to configure SiteMailBoxes in our environment & exchange sever.
When we created Sitemailbox in a SiteCollection &when we try to open it, it failed with below error.
Site Mailbox
We are having trouble connecting to Exchange Server
The server might be temporarily unavailable. Please check back on this page in a few minutes. If this problem persists, please contact your system administrator.
Correlation ID: bb0fe99c-6f4e-e084-b191-881fbf0fa977, Error Code 10
ULS Log (503 error)
Autodiscover Diagnostics Response Headers: request-id: 95d12ceb-283e-4495-b28b-256503fd097c client-request-id: 742fe69c-ef5a-e084-ca05-6098c759c584 X-CalculatedBETarget: devapwxyz01a.devap.mydomain.com X-FEServer: DEVNAABCD01B
Content-Length: 0 Cache-Control: private Date: Tue, 03 Feb 2015 18:53:40 GMT Set-Cookie: X-BackEndCookie=; expires=Sun, 03-Feb-1985 18:53:40 GMT; path=/autodiscover; secure; HttpOnly Server: Microsoft-IIS/8.5 X-AspNet-Version:
4.0.30319 X-Powered-By: ASP.NET
742fe69c-ef5a-e084-ca05-6098c759c584
if I am correct, X-CalculatedBETarget supposed to be DEVNAABCD01B.devna.mydomain.com but it connected to different domain devapwxyz01a.devap.mydomain.com. Do you guys have any idea on this? (I verified
the same using fiddler, it is failing right at autodiscover.svc call.)
I wrote a powershell script to connect autodiscover service in sharepoint server & this web service call able connect right server X-CalculatedBETarget. It gave the expected response.
I am not sure why SharePoint webservice call (X-CalculatedBETarget) is going to different server?
let me know if you guys have any ideas.
Thanks.Thanks for the Response Raj.
I already followed the same instructions in the Links.
When SharePoint Autodisover.svc webservice send a request to Exchange server & Exchange server redirecting that request to different server, this is the problem i am facing right now.
X-CalculatedBETarget
supposed to be DEVNAABCD01B.devna.mydomain.com but it connected to different domain devapwxyz01a.devap.mydomain.com.
Let me know if you have any suggestions? -
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!
-FranI 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 -
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 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
GauravHi 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 -
I had a working scvmm 2012 sp1 installation, and am attempting to upgrade to 2012 r2.
The old SCVMM product was removed (retaining the database), as well as ADK 8.0. I then installed ADK 8.1.
The install fails after a number of minutes with "Access to the path 'C:\ProgramData\VMMLogs\SetupWizard.log' is denied". From my reading of the log, that was the only obvious failure, and that the VMM server MSI installed successfully.
It doesn't appear to get so far as to upgrade the database.
The OS is Windows Server 2012 R2 Standard, with all updates applied. I have tried the install many times, noticed that the McAfee virus scanner was pushed to the box at some point, so I removed it, but still no dice.
12:18:58:LaunchMSI: MSI C:\Users\mscott\Desktop\mu_system_center_2012_r2_virtual_machine_manager_x86_and_x64_dvd_2913737\amd64\setup\msi\Server\vmmServer.msi succeeded.
12:18:58:Doing Postinstall task for PangaeaServer
12:18:58:ProcessInstalls: Install Item VMM management server was successful. We will launch the post process delegate.
12:19:47:Windows feature RSAT-Clustering-PowerShell already enabled, skipping
12:20:15:Windows feature WindowsStorageManagementService already enabled, skipping
12:20:41:Windows feature UpdateServices-API already enabled, skipping
12:23:31:VMMPostinstallProcessor threw an exception: Threw Exception.Type: System.UnauthorizedAccessException, Exception.Message: Access to the path 'C:\ProgramData\VMMLogs\SetupWizard.log' is denied.
12:23:31:StackTrace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath,
Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path, Boolean append)
at System.IO.File.AppendText(String path)
at Microsoft.VirtualManager.SetupFramework.CommonLogger.Log(String trace)
at Microsoft.VirtualManager.SetupFramework.CommonLogger.Log(LogLevel level, String trace)
at Microsoft.VirtualManager.SetupFramework.Trc.Log(LogLevel level, String trace, Object parameter1, Object parameter2, Object parameter3)
at Microsoft.VirtualManager.SetupFramework.Trc.LogException(LogLevel logLevel, String customMessage, Exception exception)
at Microsoft.VirtualManager.Setup.DBConfigurator.ExecuteScript(SqlContext ctx, String fileName)
at Microsoft.VirtualManager.Setup.DBConfigurator.UpgradeDatabaseTables()
at Microsoft.VirtualManager.Setup.VirtualMachineManagerHelpers.CreateDB()
at Microsoft.VirtualManager.Setup.InstallItemCustomDelegates.PangaeaServerPostinstallProcessor()
12:23:31:ProcessInstalls: Running the PostProcessDelegate returned false.
12:23:31:ProcessInstalls: Running the PostProcessDelegate for PangaeaServer failed.... This is a fatal item. Setting rollback.
12:23:31:SetProgressScreen: FinishMinorStep.
12:23:31:ProcessInstalls: Rollback is set and we are not doing an uninstall so we will stop processing installs
12:23:31:****************************************************************
12:23:31:****Starting*RollBack*******************************************
12:23:31:****************************************************************
12:23:31:SetProgressScreen: StartMinorStep.
Mark E. Scott Jr.Perhaps relevant, perhaps not. This error shows up right after the above log snippet. I assumed it was an error with the rollback routine, but just in case, here it is:
12:23:31:SetProgressScreen: StartMinorStep.
12:23:31:ProcessInstalls: Install Item VMM management server has a Preprocessing delegate of PangaeaServerPreinstallProcessor. Launching it now.
12:23:31:GetSqlLoginName: TThe login name for the vmm server service is [DGSLAB\tfs-vmm]
12:24:49:no HAVMM name detected in DB. Doing VMM Uninstall
12:24:53:Start setspn.exe parameters -D SCVMM/tfsvmm1.dgslab.com DGSLAB\tfs-vmm
12:24:56:Start setspn.exe parameters -D SCVMM/tfsvmm1 DGSLAB\tfs-vmm
12:25:00:DBConfigurationHander.SetupAsVMMServerRole() CarmineException : Threw Exception.Type: Microsoft.VirtualManager.Utils.FailedToAcquireLockException, Exception.Message: Unable to perform the job because one or more of the selected objects are locked by
another job.
To find out which job is locking the object, in the Jobs view, group by Status, and find the running or canceling job for the object. When the job is complete, try again.
12:25:00:StackTrace: at Microsoft.VirtualManager.Utils.CarmineObjectLock.ExecuteAcquireLockSP(CarmineObjectLockType lockType)
at Microsoft.VirtualManager.Utils.CarmineObjectLock.AcquireLockWithRetries(CarmineObjectLockType lockType)
at Microsoft.VirtualManager.Utils.CarmineObjectLock.AcquireLock(CarmineObjectLockType lockType, Boolean doNotWaitForLock)
at Microsoft.VirtualManager.DB.Adhc.AgentServer..ctor(RemoteServer server, Guid serverID, Version agentVersion, VersionState agentVersionState, AgentPackageType agentPackageType, Boolean wsManOverSSL, Int32 wsManPort, Nullable`1 complianceStatusID,
Nullable`1 mostRecentTaskID, Nullable`1 mostRecentTaskUIState, Guid taskID, CarmineObjectLockType lockType)
at Microsoft.VirtualManager.DB.Adhc.AgentServer..ctor(SqlRow row, Guid serverID, Guid taskID, CarmineObjectLockType lockType)
at Microsoft.VirtualManager.DB.Adhc.AgentServer.<>c__DisplayClass4.<GetInstance>b__3(SqlRow row)
at Microsoft.VirtualManager.Engine.DbAccessHelper.GetFromCommand[_RetTy,_ColumnsTy](ReadOption readOption, SqlRetryCommand cmd, GetFromCommandWorker`1 worker)
at Microsoft.VirtualManager.Engine.DbAccessHelper.HandleReadErrors[_RetTy](DbAccessDelegate`1 func, ErrorInfo notFoundErrorInfo)
at Microsoft.VirtualManager.DB.Adhc.AgentServer.GetOne(String computerName, GetFromCommandWorker`1 ctor, ConnectionProperties properties)
at Microsoft.VirtualManager.Setup.DBConfigurator.SetupAsVMMServerRole(Boolean isAssociate)
12:25:00:InnerException.Type: Microsoft.VirtualManager.DB.DBCorruptionException, InnerException.Message: Unable to connect to the VMM database because the database is in an inconsistent state.
Contact an experienced SQL administrator whenever this error occurs. In some cases, it may be necessary to restore the VMM database. If the problem persists, contact Microsoft Help and Support.
12:25:00:InnerException.StackTrace: at Microsoft.VirtualManager.DB.SqlRetryCommand.ValidateReturnValue()
at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
at Microsoft.VirtualManager.Utils.CarmineObjectLock.ExecuteAcquireLockSP(CarmineObjectLockType lockType)
Mark E. Scott Jr. -
Sharepoint 2013 Upgrade Job failed.
Hello everybody,
I would like some help with a litle problem that occured after I installed November CU on all of Sharepoint 2013 servers, 1 app, and 2 WFE. I'm unable to get Timer Job Service working on my app server, and that is a big problem. Everytime I restart Timer
Job Service I get this error - Upgrade Job Appserver :00:00 Failed 12/16/2014 1:33 PM.. And in Event viewer -
System
Provider
[ Name]
Microsoft-SharePoint Products-SharePoint Foundation
[ Guid]
{6FB7E0CD-52E7-47DD-997A-241563931FC2}
EventID
6398
Version
15
Level
1
Task
12
Opcode
0
Keywords
0x4000000000000000
TimeCreated
[ SystemTime]
2014-12-16T11:33:37.846840300Z
EventRecordID
41822872
Correlation
[ ActivityID]
{CD50D69C-AE16-00AA-3D5F-ECACB6C25BFE}
Execution
[ ProcessID]
11368
[ ThreadID]
3216
Channel
Application
Computer
AppServername
Security
[ UserID]
S-1-5-21-1708537768-1425521274-1417001333-40380
EventData
string0
Microsoft.SharePoint.Administration.SPUpgradeJobDefinition
string1
13096a33-a91b-4c73-ae6c-e0ba750c5d4e
string2
Object reference not set to an instance of an object.
And, also from Sharepoint Log file -
Updating SPPersistedObject SPUpgradeJobDefinition Name=job-upgrade. Version: -1 Ensure: False, HashCode: 16745860, Id: 13096a33-a91b-4c73-ae6c-e0ba750c5d4e, Stack: at Microsoft.SharePoint.Administration.SPJobDefinition.Update()
at Microsoft.SharePoint.Administration.SPTimerStore.CheckEnterUpgradeMode(SPFarm farm, Object& jobDefinitions, Int32& timerMode) at Microsoft.SharePoint.Administration.SPTimerStore.InitializeTimer(Int64& cacheVersion, Object&
jobDefinitions, Int32& timerMode, Guid& serverId, Boolean& isServerBusy) at Microsoft.SharePoint.Administration.SPNativeConfigurationProvider.InitializeTimer(Int64& cacheVersion, Object& jobDefinitions, Int32& timerMode,
Guid& serverId, Boolean& isServerBusy)
Updating SPPersistedObject SPUpgradeJobDefinition Name=job-upgrade. Version: 2925660 Ensure: False, HashCode: 16745860, Id: 13096a33-a91b-4c73-ae6c-e0ba750c5d4e, Stack: at Microsoft.SharePoint.Administration.SPJobDefinition.Update()
at Microsoft.SharePoint.Administration.SPTimerStore.CheckEnterUpgradeMode(SPFarm farm, Object& jobDefinitions, Int32& timerMode) at Microsoft.SharePoint.Administration.SPTimerStore.InitializeTimer(Int64& cacheVersion, Object&
jobDefinitions, Int32& timerMode, Guid& serverId, Boolean& isServerBusy) at Microsoft.SharePoint.Administration.SPNativeConfigurationProvider.InitializeTimer(Int64& cacheVersion, Object& jobDefinitions, Int32& timerMode,
Guid& serverId, Boolean& isServerBusy)
Created upgrade job definition id 13096a33-a91b-4c73-ae6c-e0ba750c5d4e, mode InPlace, entering timer upgrade mode
Queued timer job Upgrade Job, id {13096A33-A91B-4C73-AE6C-E0BA750C5D4E}
Updating SPPersistedObject SPUpgradeJobDefinition Name=job-upgrade. Version: 2925663 Ensure: False, HashCode: 6922919, Id: 13096a33-a91b-4c73-ae6c-e0ba750c5d4e, Stack: at Microsoft.SharePoint.Administration.SPJobDefinition.Update()
at Microsoft.SharePoint.Administration.SPUpgradeJobDefinition.Execute(Guid targetInstanceId) at Microsoft.SharePoint.Administration.SPAdministrationServiceJobDefinition.ExecuteAdminJob(Guid targetInstanceId) at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition
jd, Guid targetInstanceId, Boolean isTimerService, Int32& result) at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(TimerJobExecuteData& data, Int32& result)
The Execute method of job definition Microsoft.SharePoint.Administration.SPUpgradeJobDefinition (ID 13096a33-a91b-4c73-ae6c-e0ba750c5d4e) threw an exception. More information is included below. Object reference not set to an instance of an object.
And after that it all fails and Timer Jobs ain't working on App server, on WFE servers eveyrthing is allright and working as it needs to be.
I searched a lot of forums and different, but none of offered solutions ain't working, and that is not good.
PS. On development server eveything worked fine, looked through log files and this job run without any errors - Dev server is one in all installation, though.
If there is somebody who can help me with this, I would appreciate your help.
TY!TY for your response,
I used the script to update timer job config, but that isnt helping, and, also, this isnt a timer job that is already in timer job definitions. Its the one, that's created and after execution gets deleted, because its grayed out in timer job history page
and I cant access it. if you look closer at log files I have pasted, you will see that the timer job that is created gets deleted almost immediatily and isnt executed and after that all timer jobs on my App server aint working and this happens every time after
I restart Timer Service on App server, event ID is 6398, but timer job config cache isnt the problem.
And, as much as I cant tell from logs - Object reference not set to an instance of an object. - I recieve this error because there is no timer job with ID, that is shown in error, because of this:
Deleting the SPPersistedObject, SPUpgradeJobDefinition Name=job-upgrade.
Maybe this information cansomehow help:
The Execute method of job definition Microsoft.SharePoint.Administration.SPUpgradeJobDefinition (ID 910fbcdc-2691-490e-a9e9-563ae767612e) threw an exception. More information is included below. Object reference not set to an instance of an object.
After previous error:
Exception stack trace: at Microsoft.SharePoint.Administration.SPUpgradeJobDefinition.Execute(Guid targetInstanceId) at Microsoft.SharePoint.Administration.SPAdministrationServiceJobDefinition.ExecuteAdminJob(Guid targetInstanceId)
at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService, Int32& result)
And after that Upgrade timer job gets deleted and thats it, App server aint working like it nedds to and no Timer job are executed.
I hope this can help to narrow this problem down to a specific component or help resolve this error.
Rihards -
SharePoint 2013 (Foundation) and Outlook Web Access WebPart (OWAPart)
Hi, I've read most MSDN forum threads relating to this topic, however, I haven't seen my issue anywhere.
We're running SP 2013 foundation, and I want to use the Outlook Web Access web part. I followed the steps outlined here:
http://blogs.msdn.com/b/shawa/archive/2014/06/01/owa-web-part-in-sharepoint-2013.aspx
(Sorry, can't add link since I'm new around here)
To make the WebPart available in the site collection. Which worked.
When I try to actually add the WebPart to a page though, I get an error message stating: "There was an error adding the component to the page" (roughly translated from french).
If I try to see the web part properties from the site settings > Web Parts, I get a SharePoint error page, and the help link yields no information.
Most problems I've seen are with the actual configuration of the WebPart, but I can't even get to that step.I dont think you can use Outlook web app for foundation. This is not possible because those Web parts use Microsoft.SharePoint.Portal.dll
which is not avaliable and registered on SharePoint Foundation.
Instead of using the OWA web parts, you could also try using the Page Viewer web part and set it to the OWA URLs...
If this helped you resolve your issue, please mark it Answered
Maybe you are looking for
-
Launch Adobe from within LabVIEW
I have 6 years experience drawing code in LabVIEW but very little experience using Active-X; if there is some sample code showing the how to launch an Adobe document from a LabVIEW GUI, it would be extremely helpful. I am running LabVIEW 6.0.2 on a W
-
Why can't I use any browers?
Whenever I try to go on safari it says that I need a certificate, I click open certificate and get nothing. On google chrome it says every website is blocked because someone is using my internet and it says it will be shortly ok again. I waited 4 day
-
REFRESH_UNDO_CHANGES causes RowAlreadyDeletedException
Hello, Having a trouble with a following use case: A user creates a records, commits it and in the next page he can open a popup to edit this record. If he cancels the popupm to forget changes there is an exception. CreateInsert -> Commit -> open edi
-
I've tried the troubleshooting things that I've seen, but it still doesn't work. The wifi notification on top says that I'm connected, but I can't get to any websites. Help!!
-
Losing Wireless Mouse & Keyboard Settings on Restart
Every time I restart my MacBook Pro, I lose my settings for my wireless mighty mouse and the set functions for buttons like F12 (Dashboard) etc. I have to reselect them periodically, sometimes twice before restarting. I noticed two ButtonManager.app