Im developing a web browser. Whenever I try to navigate to a particular site, if there's a server error like "page taking too long to respond", "server busy/overloaded" etc. I want the error to get displayed in a message box and then the page I had tried to navigate must automatically refersh, as a second attempt.
I know the web browser itself displays the error message in the browser form but I want to diplay the error message in a messge box for some reason and then reload the page. Is there any way to do it?
If there's no way to copy the error to a message box, at least is there any way my program can automatically refresh the page if there's a server error?
Related
In my form of CRM i call a custom page by a dialog. On custom page i save a form by SubmitForm but it go in trown by a plugin validation. I want to show a error message of invalidPluginException on my custom page. I try preview on PowerApps and i see correct error message, but on dialog i see The requested operation is invalid. Server Response: Something went wrong" and lose the error message.
Dialog Error
Preview PowerApps Error
Powershell connect-microsoftteams mfa via userform generates unhandled exception
Hi, I'm trying to create a gui frontend to a number of scripts to make them easier to access and use for colleagues . Some of the scripts require connections to O365 admins like connect-microsoftteams. At first the MFAs for the connects wouldn't even appear. Uncle google advised to use Powershell 7 when connecting through userforms. Which we installed and that did make the MFAs appear. However, when authenticating the MFA, I get a unhandled exception (an issue with the parameter 'session') and MFA browser window says 'Can't reach this page'. And the url of the MFA browser window is calling an odd localhost:..... url. clicking Continue on the unhandled exception does nothing
Outside of the gui, the connections work fine.
I've tried:
try-catch block, no change
&
netsh winhttp reset proxy, no change
thumbnail image 1 of blog post titled
Powershell connect-microsoftteams mfa via userform generates unhandled exception
Any ideas how I can get passed this?
I think I found the answer.
Simply switch the default browser to MS Edge
The umbraco version Im currently using is 7.5.14, have been uppgraded from 7.3.x. The presentation part of umbraco is always working without any problems, but the backoffice is acting strange.
When sign in to the backoffice all of a sudden the backoffice stops working and in the web browser console 500 errors are thrown. There is nothing in the umbraco log about the errors or in the event log. When I or any other user is trying to sign in after this has occurred, we cant. In the web browser console there is nothing useful. The only thing it says is that postLogin is throwing 500 error with the message "an error has occurred".
Even when no one is signed in to the backoffice and doing stuff, when a user is trying to sign in the backoffice is throwing 500 erros. The only solution is to recycle the application pool, after restarting the pool we are able to sign in and work in the backoffice again. But the problem can occurre again briefly after restarting the app pool or within an hour or two.
I have been trying to find a solution in many ways but simple cant get rid of the problem.
Edit
I discovered that if Im signed in to umbraco backoffice while the problem occurres. There is a Get request to "umbraco/backoffice/UmbracoApi/Authentication/GetCurrentUser" that returns http 500 code. But there is nothing in the logs about the error...
After decompiling the umbraco controller (AuthenticationController), I noticed a connection in the PostLogin function and GetCurrentUser function. They both use Automapper when mapping user information.
Another project that my web application has reference to has a AutoMapper configuration that is used when a certain class is instantiated. The class calls Mapper.Initialize and after that the umbraco backoffice will fail to map its users. Thats why the error occurs arbitrarily.
I am trying to set up a captcha in MVC; I am following the steps in this article to the letter. While testing I found that the application gets an "Unable to connect to remote server" error. Clicking submit on a form with the captcha field empty works fine, it goes through the controller method with no problems. It's only when there's stuff typed on the captcha field that an error comes up regardless of if the verification is not correct. Also, VS 2013 says that a class from the Recaptcha library - RecaptchaControlMvc.cs -is not found.
I work on a simple list on a simple site/site collection/web app on a SharePoint 2010 test server which does not use SSL.
I then make a site collection backup and restord it onto our Production environment which have the same setup as the test server. The only difference is that it is set up to use SSL encryption and in particular for this web app.
When I want to customize the forms of the list using InfoPath I get a weird error message : "The SOAP message cannot be parsed".
This is when I click on the "Customize form" button in the ribbon which has the InfoPath icon:
Does anybody have already encountered such problem?
I have seen many posts about this error but this is because of athe time out issue when the list contains a lot of items. In my case, it is empty.
Thanks,
Sébastien
Actually, the problem was coming from the fact that InfoPath initially tried to connect using http to the SharePoint site. When the settings were changed to https, the IE cache still kept this setting and I had to remove it using the "Reset..." button located on the Advanced tab of the Internet options so that IE now opens up InfoPath using the right URL with https.
I was getting the error "The SOAP message cannot be parsed." while publishing a very complicated (list-based) InfoPath form in SharePoint Enterprise 2010. The issue only seemed to be effecting this form and not any others but would fail with either my personal account or the farm account.
After some experimenting with timing values within the InfoPath Service(s) we expanded the ExecutionTimeout in the Web.Config file within I.I.S. and that worked.