Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Root site being redirected to a Missing Workflow?

$
0
0

Someone was working on a workflow.  I’ve never seen anything like this in my life.

ConfRoomRequest is the workflow.  Please keep in mind that I’ve edited this considerably to remove actual server data and links, so disregard the occaisional HTTPS/HTTP conflicts and other simple things if I overlooked them.

They were having problems with it and asked for help.  This is on our DEV side. So I took a look, and it works for me just fine.  However, I did notice some pretty strange errors coming out of the developer site in the logs. Occasionally it would report that there was an error publishing, but nothing consistent. The most shocking was that on the main ROOT site when navigating, It says something went wrong. Keep in mind, the ROOT site is not the Workflow, it’s just http://spserver  There is nothing on the default.aspx page that redirects them to any site including the workflow.

If I look at the correlation ID it says

Cannot find site lookup info for request Uri   http://localhost/Workflows/ConfRoomRequest/ConfRoomRequest.xoml.

Entering monitored scope (Request (GET:http://SPServer:80/Workflows/ConfRoomRequest/ConfRoomRequest.xoml)).   Parent No

Name=Request (GET:http://SPServer:80/Workflows/ConfRoomRequest/ConfRoomRequest.xoml)

Micro Trace Tags: 0 adyrv,0 nasq

Leaving Monitored Scope (Request (GET:http://SPServer:80/Workflows/ConfRoomRequest/ConfRoomRequest.xoml)).   Execution Time=3.08628610619506

Cannot find site lookup info for request Uri   http://localhost/Workflows/ConfRoomRequest/ConfRoomRequest.xoml.

Entering monitored scope (Request (GET:http://SPServer:80/Workflows/ConfRoomRequest/ConfRoomRequest.xoml)).   Parent No

Name=Request (GET:http://SPServer:80/Workflows/ConfRoomRequest/ConfRoomRequest.xoml)

Non-OAuth request. IsAuthenticated=True,   UserIdentityName=0#.w|linquest\ed.williams, ClaimsCount=37

Application error when access /Workflows/ConfRoomRequest/ConfRoomRequest.xoml,   Error=The service '/Workflows/ConfRoomRequest/ConfRoomRequest.xoml' does not   exist.  at   System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String   normalizedVirtualPath, EventTraceActivity eventTraceActivity)    at   System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String   relativeVirtualPath, EventTraceActivity eventTraceActivity)    at   System.ServiceModel.Activation.HostedHttpRequestAsyncResult.HandleRequest()    at   System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest()

System.ServiceModel.EndpointNotFoundException: The service   '/Workflows/ConfRoomRequest/ConfRoomRequest.xoml' does not exist.   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String   normalizedVirtualPath, EventTraceActivity eventTraceActivity)    at   System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String   relativeVirtualPath, EventTraceActivity eventTraceActivity)    at   System.ServiceModel.Activation.HostedHttpRequestAsyncResult.HandleRequest()    at   System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest()

Getting Error Message for Exception System.Web.HttpException (0x80004005):   The service '/Workflows/ConfRoomRequest/ConfRoomRequest.xoml' does not exist.   ---> System.ServiceModel.EndpointNotFoundException: The service   '/Workflows/ConfRoomRequest/ConfRoomRequest.xoml' does not exist.    at   System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String   normalizedVirtualPath, EventTraceActivity eventTraceActivity)    at   System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String   relativeVirtualPath, EventTraceActivity eventTraceActivity)    at   System.ServiceModel.Activation.HostedHttpRequestAsyncResult.HandleRequest()    at   System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest()    at System...

....Runtime.AsyncResult.End[TAsyncResult](IAsyncResult   result)    at   System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult   result)    at   System.Web.HttpApplication.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult   ar)

Site=/

 

I opened Fiddler and tracked down what the heck was going on, it’s redirecting me from the root site based on the information here, this only shows up in Fiddler, as SharePoint is automatically redirecting me.

Object Moved

This document may be foundhere

Which points tohttp://spserver/Workflows/ConfRoomRequest/ConfRoomRequest.xoml

When I attempt to click on that link, I get the same error. So I’m confident that’s the right track.

I can verify the file is there, because in Designer I can edit it, change it, save it, and publish it. When I go to edit it it says the path is

SPServer -> Workflows -> ConfRoomRequest->Text-Based Designer

When I right click it and say preview in browser I get

http://SPServer/Workflows/ConfRoomRequest/ConfRoomRequest.xoml

I have checked many things.  Some sites said Anonymous was turned off, so WCF would complain. That’s not the case.  I’ve looked for redirects, checked that the IIS settings are in synch with what is in Central Admin and working. I’ve tried repairing the content database. Anyone have a suggestion?


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>