Problem
You have provisioned a new site collection using the Developer Site template, "DEV#0." This is on a single-server, development SharePoint 2013 instance used by developers. You connect to the page and verify that the site collection was created successfully and the root site is created using this template.
Later, the developer launches Visual Studio and begins developing a test app. She then attempts to connect to the developer web from Visual Studio. She is prompted to supply her credentials, she enters her credentials (username/password), but then she is again prompted for her credentials. In fact, she is prompted for her credentials no matter how many times she enters them. After entering her credentials, it should show the default page for her web app. In debug mode,, by default, the App Web inherits permissions from its host web, to which she has Full Control, so, she should have no problems..
Later, the developer launches Visual Studio and begins developing a test app. She then attempts to connect to the developer web from Visual Studio. She is prompted to supply her credentials, she enters her credentials (username/password), but then she is again prompted for her credentials. In fact, she is prompted for her credentials no matter how many times she enters them. After entering her credentials, it should show the default page for her web app. In debug mode,, by default, the App Web inherits permissions from its host web, to which she has Full Control, so, she should have no problems..
Troubleshooting
Reviewing the ULS log, she sees the following entries:
0x5A50 SharePoint Foundation Topology 8xqz Medium Updating SPPersistedObject UserProfileImportJob Name=User Profile Service_ProfileImportJob. Version: 2382607 Ensure: False, HashCode: 50616856, Id: 56f5b129-4a4d-4c20-bc8d-7161814dfc88, Stack: at Microsoft.SharePoint.Administration.SPJobDefinition.Update() at Microsoft.Office.Server.UserProfiles.UserProfileImportJob.SaveStatus() at Microsoft.Office.Server.UserProfiles.UserProfileImportJob.Execute() at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService, Int32& result) at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(TimerJobExecuteData& data, Int32& result) 144f169e-2800-4088-afef-8aeaa9734dc4
and
0x5A50 SharePoint Foundation Timer Critical The Execute method of job definition Microsoft.Office.Server.UserProfiles.UserProfileImportJob (ID 56f5b129-4a4d-4c20-bc8d-7161814dfc88) threw an exception. More information is included below. There was no endpoint listening at http://DEV:5725/ResourceManagementService/MEX that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. 144f169e-2800-4088-afef-8aeaa9734dc4
Other entries associated with this include:
0x5A50 SharePoint Foundation Timer Unexpected Exception stack trace: Server stack trace: at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream() at System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout) at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, TimeSpan timeout) at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, 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 meth... 144f169e-2800-4088-afef-8aeaa9734dc4and
0x5A50 SharePoint Foundation Timer 72ae Unexpected ...odCall, 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 System.ServiceModel.Description.IMetadataExchange.Get(Message request) at Microsoft.ResourceManagement.WebServices.MetadataClient.Get(String dialect, String identifier) at Microsoft.ResourceManagement.WebServices.Client.ResourceManagementClient.SchemaManagerImplementation.RefreshSchema() at Microsoft.ResourceManagement.WebServices.ResourceManager.get_SchemaManager() at Microsoft.ResourceManagement.WebServices.ResourceMan... 144f169e-2800-4088-afef-8aeaa9734dc4and
0x5A50 SharePoint Foundation Timer 72ae Unexpected ...ager..ctor(UniqueIdentifier resourceIdentifier, String typeName, String[] attributeNames, CultureInfo locale, Boolean includePermissionHints, TimeZoneInfo localTimeZone) at Microsoft.Office.Server.UserProfiles.Synchronization.MAConfiguration..ctor(Guid resourceIdentifier) at Microsoft.Office.Server.UserProfiles.UserProfileImportJob.CreateSteps() at Microsoft.Office.Server.UserProfiles.UserProfileImportJob.Execute() at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService, Int32& result) 144f169e-2800-4088-afef-8aeaa9734dc4
Solution
Disable loopback check
- Click on Start -> Run and type regedit.
- Locate the key 3. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
- Right click on this key and choose New > DWord Value
- Name this one "DisableLoopbackCheck"
- Double-click then on it and type the value “1”
References
TBD
No comments:
Post a Comment