Strange behavior appears when using Updatepanel on Apllication page or usercontrol in Sharepoint 2013.
In FF and Chrome postback leads to full page refresh after small idle between requests (around 30 seconds). Example: we have a page with button and label inside UpdatePanel. We open this page and click the button -> updatepanel refreshes its content without page reload. If we will wait more than 30 seconds and click the button again, page will reload.
In Firebug or Fiddler we can see follow:
1) POST-request from updatepanel to server
2) Response from server will contains
1|#||4|53|pageRedirect||/_login/default.aspx?ReturnUrl=
3) After there will be request to /_login/default.aspx and then redirect to /_windows/default.aspx?ReturnUrl=
4) And then it will be redirected to my initial page.
Users see only page reload.
But if we will wait a long time (around 20 minutes) there will be not page reload and updatepanel refreshes only their content.
This error happens in different environment in defferent domains. We use standart Claims based authentication and Minimal Download Strategy feature is disabled.
In IE this error occurs, but not so often.
I found that error disappears if Form Authentication is disabled in IIS web application (but in this case there are some problems in another pages in portal).
Can anyone help me with this problem. Thanks
The Visual Studio 2012 Designer Code Generator is really screwy for sharepoint. Are you using Visual Studio 2012 by any chance?
If so I strongly recommend upgrading to Visual Studio 2013. Visual Studio 2012 is the Windows Vista of IDE's. Microsoft released 2013 really faster after 2012 to address all of it's issues.
has nothing to do with visual studio, IMHO.
here is a thread about it:
https://social.technet.microsoft.com/Forums/systemcenter/en-US/c33d4a46-87d6-4dbc-a24c-cb8e5f9eb1ea/page-refresh-after-postback-from-updatepanel-in-sharepoint-2013?forum=sharepointdevelopment
pointing to a hotfix:
https://support.microsoft.com/en-us/kb/2910945
which addresses this issue: "When you browse to a SharePoint 2013 page that contains an UpdatePanel control, the page may be refreshed randomly. Therefore, if you type something in a text field on the page, the text field may become empty."
FYI, I installed it and it didn't resolve my issue, but it might help you.
Yes, this is an authentication configuration issue - means your claims authentication is not set up correctly probably, so the authentication cookie is missing/not sent with our ajax request.
Please update back if this KB resolved it for you, I want to keep track of this issue.
Related
We have a pretty large asp.net LOB web application. The problem is that every time the app pool is started (whether its the first time, or if the app pool is recycled) it's takes up to 10 seconds or more to spin up and hit the first page. This leaves you in a state of looking at a white page and a loading spinner until IIS is ready to serve up the page. This isnt the end of the world because it's only normally a one off thing and only the first person experiences this. I'm just wondering if there is an event that we can hook into to serve up a page and show the user some type of simple splash screen to give them some type of feedback instead of a loading state.
Has anybody got any ideas on how to hook this into IIS/asp.net?
You can use the application initialization module. If you run IIS 8.0 or higher it is built-in, if you run IIS 7.5 you can download and install it.
Hopefully you are running .NET 4.5. Set the application start mode to AlwaysRunning. Then enable preload.
And then here you will want to add this to your web.config in your system.WebServer section
<applicationInitialization remapManagedRequestsTo="Startup.htm" skipManagedModules="true" >
<add initializationPage="/default.aspx" />
</applicationInitialization>
The startup.htm is your default loading screen. If anyone tries to access it when they go to the web application it will be remapped to that. Just add a simple JavaScript refresh location script to it.
This link should give you everything you need. Again, I am assuming you are on a newer version of ASP.NET and IIS.
http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-application-initialization
I'm using Windows 10 Technical preview. I know it's not yet tweeked out to full usage, but here is my problem.
On local IIS I'm developing my web app. It loads most of the data via ASP.NET MVC API. After the upgrade to Windows 10 I started to get
net::ERR_SPDY_PROTOCOL_ERROR
for all AJAX calls to API. The HTML page loads normally, but the dynamic loading of data content fails. I managed to figure it out by starting Chrome with parameters
--use-spdy=off --use-system-ssl
Strange thing is that on the first start I always get this error and have to restart Chrome. Other browsers fail too, but not with specific error. For the transfer there is used HTTP2.0 protocol, which is based on SPDY protocol.
Do I have to turn something off in IIS?
Edit:
Seems like an IIS problem with HTTP2.0. When trying to enter the site from Windows 8.1 I get the same error.
Most people’s reaction to this error would be to reload the web page. We would actually recommend this as a first response. Sometimes this even does work.
Interesting Factoid: SPDY actually stands for “speedy” and is used to reduce a web pages’ load time
If reloading the web pages does not remove the error, then you should close down Google Chrome and restart it. This alone will not really solve the problem because you will need to clear the cache as soon as you restart the browser.
or in cmd clear dns using this command ipconfig/flushdns
We are having issues loading our report server in both IE and Chrome; for some reason, it only works properly in Firefox.
When we try to load it in Chrome, we receive this error:
This webpage is not available
Hide details
The webpage at http://database/reports might be temporarily down or it may have moved permanently to a new web address.
Error code: ERR_INVALID_AUTH_CREDENTIALS
When we try to load it in IE, it circles through the authentication page three times and just dies.
Thanks to anyone with any insight!
It appears that SSO is failing and you might need to register an SPN for your SSRS server:
https://msdn.microsoft.com/en-us/library/cc281382.aspx
When I view a report in Report Manager, the page is displaying Current Page, Export Drop Down, Find|Next, Refresh, and Export to Data Feed buttons on separate lines consuming 25% of the top of page. These buttons should all be on one line as they are when I view the report in Data Tools.
I am running SQL Server 2012. I cannot see a way to configure these items to one line. There is nothing in Site Setting to configure this.
I believe the problem is with Internet Explorer. When I run this report in Firefox version 28, it runs perfectly. When I run it in Internet Explorer 11, I experience the problem.
I found this on the Microsoft site.
https://connect.microsoft.com/SQLServer/feedback/details/810527/sql-server-reporting-services-is-not-compatible-with-internet-explorer-11
We are happy to inform that the problem was fixed in CU8 for SQL Server 2012 Sp1.
Please visit the http://support.microsoft.com/kb/2917531 to get the update.
Mariusz Cichomski
Program Manager
SQL Server, Microsoft
This did not fix my issue with the toolbar. What I finally did to fix, from Internet Explorer Tools >>> Compatibility View Settings. I added the website for the report server.
I've done the tutorials on how to setup Phpstorm to use live edit, and I started using the "Reload in browser" functionality, but in version 7 it reloads only that single url which i've set up at in the Debug configuration.
My problem is that before, in version 6 as I remeber, it automatically reloaded every single page that was opened in the browser, and was related to the domain I had in Debug configuration URL. (So if I had www.mysite.local set up in PHP Web aplication debug configuration, it also reloaded www.mysite.local/something, www.mysite.local/backoffice..), but not anymore in v7.
Does anybody know if it is still possible in the new version, so I don't have to make a configuration for every single page?
Thx
For now creating confifuration for each page seems to be necessary. Please vote for WEB-10165