After trying to create another website in windows server 2016. The Existing FileHold WebClient Application throws an errors. One more thing is I can no longer locate the initial web.config file. This is the error I'm seeing.
The request failed with HTTP status 404: Not Found.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.WebException: The request failed with HTTP status 404: Not Found.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[WebException: The request failed with HTTP status 404: Not Found.]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +240472
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +267
FileHold.WebClient.SessionManagerService.SessionManager.GetLogonAndPasswordSecuritySettings() in c:\Builds\5\FH\FileHold16.2.2\src\FileHold\WebClient\Web References\SessionManagerService\Reference.cs:747
FileHold.WebClient.LoginForm.Page_Load(Object sender, EventArgs e) in c:\Builds\5\FH\FileHold16.2.2\src\FileHold\WebClient\LoginForm.aspx.cs:100
System.Web.UI.Control.OnLoad(EventArgs e) +106
System.Web.UI.Control.LoadRecursive() +68
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785
enter image description here
Related
I have created SharePoint designer 2013 workflow on SharePoint Online list.
The site is restored from template.
I am getting following error from workflow.
Retrying last request. Next attempt scheduled after 9/29/2018 9:55 AM. Details of last request: HTTP to https://test.sharepoint.com/sites/site/subsite1/subsite2/_api/web/lists(guid'd5a0eced-1456-4f7e-aad0-d327ea860912') Correlation Id: Instance Id: 955783ad-2f95-487e-a194-73abb943edb6
System.Net.WebException: The request was aborted: The request was canceled. --->
System.InvalidOperationException: Failed to fetch an access token from the token service.
The token service returned an error type of 'unauthorized_client' with the following description: AADSTS70001: Application with identifier 'c13d643f-945a-46c3-8e4f-d3a7a70b6ed0' was not found in the directory ce02dcd7-f1dd-42f4-9dc3-1959d1672bac, Trace ID: 11414f23-e2b5-428e-9b82-945f4ebea401,Correlation ID: d132cb0a-6f47-e015-98a3-fa6aa32f74e0,Timestamp: 2018-09-28 04:30:25Z ---> System.Net.WebException: The remote server returned an error: (400) Bad Request.at System.Net.HttpWebRequest.GetResponse() at Microsoft.Activities.Hosting.Security.OAuthS2SSecurityTokenServiceCredential.FetchAccessToken(Uri stsUri, String targetServiceAudience, String authenticatorToken, HttpWebRequest request, TimeSpan timeout, EventTraceActivity eventTraceActivity, TimeSpan& expirationDuration)
--- End of inner exception stack trace ---
at Microsoft.Activities.Hosting.Security.OAuthS2SSecurityTokenServiceCredential.FetchAccessToken(Uri stsUri, String targetServiceAudience, String authenticatorToken, HttpWebRequest request, TimeSpan timeout, EventTraceActivity eventTraceActivity, TimeSpan& expirationDuration)
at Microsoft.Activities.Hosting.Security.OAuthS2SSecurityTokenServiceCredential.GetAccessTokenFromTokenService(OAuthS2SPrincipal client, OAuthS2SPrincipal targetServiceAudience, HttpWebRequest originalRequest, EventTraceActivity eventTraceActivity, TimeSpan& expirationDuration)
at Microsoft.Activities.Hosting.Security.OAuthS2SSecurityTokenServiceCredential.GetAuthorization(OAuthS2SAuthenticationChallenge[] bearerChallenges, HttpWebRequest request, EventTraceActivity eventTraceActivity)
at Microsoft.Activities.Hosting.Security.OAuthS2SAuthenticationModule.AuthenticateInternal(String challenge, WebRequest request, OAuthS2SCredential credential, EventTraceActivity eventTraceActivity)
at Microsoft.Activities.Hosting.Security.OAuthS2SAuthenticationModule.Authenticate(String challenge, WebRequest request, ICredentials credentials)
at System.Net.AuthenticationManagerDefault.Authenticate(String challenge, WebRequest request, ICredentials credentials)
at System.Net.AuthenticationState.AttemptAuthenticate(HttpWebRequest httpWebRequest, ICredentials authInfo)
at System.Net.HttpWebRequest.CheckResubmitForAuth()
at System.Net.HttpWebRequest.CheckResubmit(Exception& e, Boolean& disableUpload)
at System.Net.HttpWebRequest.DoSubmitRequestProcessing(Exception& exception)
at System.Net.HttpWebRequest.ProcessResponse()
at System.Net.HttpWebRequest.SetResponse(CoreResponseData coreResponseData)
--- End of inner exception stack trace ---
at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.Activities.Hosting.HostedHttpExtension.HttpRequestWorkItem.OnEndComplete(ScheduledWorkItemContext context, IAsyncResult result)
Have you tried applying the update to your SharePoint Designer 2013? Here is the link to download update: https://www.microsoft.com/en-us/download/confirmation.aspx?id=42009
This update is for 64-bit SPD2013.
I hope it may work.
Thanks and regards,
Purushottam
I am pretty to MS Dynamics CRM.
Our Company has to migrate one of our clients MS CRM 4.0 to CRM 2013.
I have being allotted task of creating MS CRM 4.0 setup from the db backup and custom application publish (CRMWeb folder).
Scenario:
I had to start from Upgrading Sql Server verions, CRM Update Rollup installations. After a lot of pain i have reached Organization Import.
The Next thing am on to is custom applications setup. For this i Copied & Pasted client received CRMWeb > ISV > Custom Application into CRM 4.0 > CRMWeb > ISV folder.
Please Note :
->CrmService has being used for custom CRM programming.
->The Custom application folder doesn't have Web.config file.
Issue:
Am getting the below error details in Trace file when i hit a Custom application page url.
Error: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Error Message: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Error Details: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Source File: Not available
Line Number: Not available
Request URL: http://servereight:5555/kyraInfotech4/isv/kyrainfotechwebapp/Search_C.aspx
Stack Trace Info: [WebException: The request failed with HTTP status 401: Unauthorized.]
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at CrmMetaDataService.MetadataService.Execute(MetadataServiceRequest Request)
at Search_C.bindRank()
at Search_C.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
[HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown.]
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.kyrainfotech4_isv_kyrainfotechwebapp_search_c_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
[2015-02-28 17:00:41.3] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread: 3 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Info | MiniDump.CreateDumpInternal
at MiniDump.CreateDumpInternal(MiniDumpReasons reason, Exception exception)
at MiniDump.CreateDump(MiniDumpReasons reason, Exception exception)
at MainApplication.Application_Error(Object sender, EventArgs eventArguments)
at EventHandler.Invoke(Object sender, EventArgs e)
at HttpApplication.RaiseOnError()
at HttpApplication.RecordError(Exception error)
at ApplicationStepManager.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
MiniDump: TraceDirectory setting not set or missing. Defaulting to temporary folder.
[2015-02-28 17:00:41.4] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread: 3 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Info | MiniDump.CreateDumpInternal
at MiniDump.CreateDumpInternal(MiniDumpReasons reason, Exception exception)
at ExceptionManager.ReportException(Exception exception, String format, Object[] args)
at ExceptionManager.ReportException(Exception exception)
at MainApplication.Application_Error(Object sender, EventArgs eventArguments)
at EventHandler.Invoke(Object sender, EventArgs e)
at HttpApplication.RaiseOnError()
at HttpApplication.RecordError(Exception error)
at ApplicationStepManager.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
I viewed / tried these links but not able to succeeded.
http://www.postseek.com/meta/b6a20e50342e1ded700030500c76efdb
http://ronaldlemmen.blogspot.in/2008/09/unauthorized-error-after-deploying-your.html
https://social.microsoft.com/Forums/en-US/37cee666-abea-4f53-88af-aca95ad38906/crm-40-can-not-load-custom-aspx-page-that-calls-a-webservice-401-unauthorized?forum=crm
Creating entities through web services fails randomly with 0x80048405 (Access is denied)
Kindly help
I am not exactly sure how this request is being sent but looks like user i.e. account to log in to the system is not authorized.
I had similar type of error when running a window service on a different system and I had to add windows account to service by following steps below
Go to Services>Properties of your service>Login tab> and add an account with password which has access to system
I need help regarding SharePoint 2007 with windows 2008 server OS. to give you a background the server is having a trust relationship error on our domain so we need to rejoin the server to the domain. after rejoining we encounter this error and found out that the IIS Admin Services is stopped and unable to start.
here is the error:
Access is denied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: Access is denied.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[COMException (0x80070005): Access is denied.
]
System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) +557
System.DirectoryServices.DirectoryEntry.Bind() +44
System.DirectoryServices.DirectoryEntry.get_IsContainer() +42
System.DirectoryServices.ChildEnumerator..ctor(DirectoryEntry container) +36
System.DirectoryServices.DirectoryEntries.GetEnumerator() +36
Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.System.Web.IHttpModule.Init(HttpApplication app) +704
System.Web.HttpApplication.InitModulesCommon() +124
System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1162
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +312
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +133
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +196
I uploaded a project on Windows Azure Websites, and I am getting a strange error.
Server Error in '/' Application.
Version string portion was too short or too long.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Version string portion was too short or too long.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ArgumentException: Version string portion was too short or too long.]
System.VersionResult.SetFailure(ParseFailureKind failure, String argument) +10913423
System.Version.TryParseVersion(String version, VersionResult& result) +424
System.Version.Parse(String input) +68
System.Version..ctor(String version) +23
System.Web.WebPages.Deployment.WebPagesDeployment.GetVersionFromConfig(NameValueCollection appSettings) +73
System.Web.WebPages.Deployment.WebPagesDeployment.GetVersion(String path, NameValueCollection appSettings) +28
System.Web.WebPages.Deployment.PreApplicationStartCode.StartCore(Version testVersion) +34
System.Web.WebPages.Deployment.PreApplicationStartCode.Start() +70
[InvalidOperationException: The pre-application start initialization method Start on type System.Web.WebPages.Deployment.PreApplicationStartCode threw an exception with the following error message: Version string portion was too short or too long..]
System.Web.Compilation.BuildManager.InvokePreStartInitMethodsCore(ICollection`1 methods, Func`1 setHostingEnvironmentCultures) +547
System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +132
System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +102
System.Web.Compilation.BuildManager.ExecutePreAppStart() +153
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +521
[HttpException (0x80004005): The pre-application start initialization method Start on type System.Web.WebPages.Deployment.PreApplicationStartCode threw an exception with the following error message: Version string portion was too short or too long..]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9930568
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.36213
Running the website locally in IIS works fine. A search on Google didn't return much. Any ideas what this error could be about?
This was due to some mixed-up <assemblyBinding> redirects in web.config. Apparently these were being added by NuGet or some process. I removed all assemblyBindings and then re-added only the essential, and this error went away. Strange, but worked.
I have implemented the SharePoint:DateTimeControl in a very simple webpart
<SharePoint:DateTimeControl ID="dtStartdate" runat="server" DateOnly="true" />
The problem is when I click on the control it renders an exception
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Microsoft.SharePoint.Utilities.SPUtility.GetThemedImageUrl(String originalUrl, String themeKey) +199
Microsoft.SharePoint.WebControls.DatePicker..ctor() +1460
Microsoft.SharePoint.WebControls.SPDatePickerControl.InitDatePicker() +44
Microsoft.SharePoint.WebControls.SPDatePickerControl.set_MinJDay(Int32 value) +25
Microsoft.SharePoint.ApplicationPages.DatePickerFrame.Page_Load(Object sender, EventArgs e) +1708
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Control.LoadRecursive() +94
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2935
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929
Any advice or help to resolve this is highly appreciated, thanks!
I know it's been a while since you asked this but having just solved something very similar I thought I'd share my (simple) solution.
Make sure you have a site collection created at the root of the web app.
I was working on a web part in http: //webapp/sites/mysitecollection and had the above error. Looking at http: //webapp gave me a 404 so I created a root site collection and now the datepicker in my sitecollection works fine.