After configuring the alternet access mapping custom web part is not displaying in the site, while clicking link for webpart
throwing exception:
The "webpart5" Webpart appears to be causing a problem. Exception has been thrown by the target of an invocation.
Web Parts Maintenance Page: If you have permission, you can use this page temprarily close Web parts or remove
personal settings. For more information, contact your site administrator.
Pls help somebody how to solve this issue.
It obviously is the problem with AAM setting. Check how are you accessing the site in web Part. Is it using SPContext ? Or you are instantiating the new SPWeb object. If you are instantiang the new object, check which zone you are referring to.
Post the web part code if possible.
Related
I'm trying to implement a wopi on our site (our domain is already added to wopi). I can view and edit in first load. But upon clicking the back button and view again or edit I got this error.
Any idea what causes the issue.
Github: https://github.com/apulliam/WOPIFramework
I remember having the same error when implementing WOPI. Unfortunately don't recall the exact reason for it, but as far as I remember, this may be a permission issue (the IIS process can't read the certificate used for the app. Just adjust the permission for the certificates using the Certificates snap-in in the MMC console). To verify that is the problem, you could tell the app to consume the certificate from a PFX (physical) file rather than from the store.
Back button problems are frequently caused by a lack of (or incorrect) wd* parameter implementation.
Office Online will sometimes pass additional query string parameters to your host page. These query string parameters are of the form wd*. When you receive these query string parameters on your host page URLs, you must pass them, unchanged, to the Office Online iframe.
In addition, if the replaceState method from the HTML5 History API is available in the user’s browser, you should remove the following parameters from your host page URL after passing them to the Office Online iframe:
wdPreviousSession
wdPreviousCorrelation
Other wd* parameters must not be removed from the host page URL.
The key here is that you may not be using the HTML 5 API to do replaceState.
I create more than one site on sensenet and I want to specify an login page for each site.
On site properties I can define the login page but that is not working... (I think). Every time I access without the login made I receive the follow message:
404 error The requested resource could not be found Please make sure
that the url is spelled correctly.
To go to the main page, click here
It shouldn't go to my login page defined on site settings?
What am I not picking here?
You should add at least one site URL to your new site, and also check if "Everyone" has "open" and "run application" permission on the new login page.
I had error when access SharePoint sites out of the server , as when I
try to add new document or did any action this error displayed although
it worked well in SharePoint server
I think Yevgeniy made a good suggestion.
I assume you mean by 'outside' the server, users are trying to view the page on a different URL? If so, it might be the URLs to access the site 'outside SharePoint' are not configured correctly.
I would suggest a few things to start with:
When you say it works 'in SharePoint server' does this mean that the whole site is accessible, with no problems? But using a different URL (i.e. host header?), fails - for just this one page with the list or the whole site?
Check you have Alternate Access Mappings configured correctly as suggested above - check that the URL is setup correctly in any AAM zones defined, and that the authentication (e.g. Anonymous, Forms whatever required) is also setup too. This is all done in Central Administration.
If AAM setup correctly, check if you have any firewall or other network security that may block access to the site (again, assuming users are routed externally?)
Does the problem page or list (or the subsite it is within) have any unique security permissions?
You can check for the site via Site Actions | Site Permissions - if it does not have unique permissions, you will see a 'This Web site inherits permissions from its parent.' message.
If the List has unique permissions, you can check by going to the list page, and clicking 'Library Permissions' on the Library grouping on the Library Tools section of the ribbon.
I am using 51degrees.mobi and it is working well but in the case of the mobile server experiencing issues (HTTP error status) I want to be able to allow the user to continue on with the desktop version of the mobile site. I know I can stop the redirect by commenting out the redirect section of the config but is it possible to stop the redirect pragmatically?
I am currently working for 51Degrees.mobi.
If I understand you correctly then what you are asking to do is not possible through 51Degrees as you cannot change the configuration rules.
However what you want to do may be possible by editing your web.config file so that it will send you to the normal page if an error code is thrown using a customErrors element? More information on doing that can be found here. It may also be possible to do by modifying your pages PreInit() event.
Hope this helps.
I'm running into an error with my CQWP on a page that has some very particular requirements.
I have a host named site-collection (subsite.domain.com) and the content query webpart sits on the default homepage of the site. The site is anonymously accessible and pulls from a list that is part of a subsite (the permissions on the list are managed at the item level, so the subsite and the list are anonymously accessible, but not all the items in the list are). The webpart works just fine if the user is logged in, however when an anonymous user visits the page they receive an error:
Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.
Correlation ID:d1e6a1ac-13f7-4b1c-a26f-bd1dc95f55dc
I've looked around the web, and the suggestions I've found indicate that I should use alternate access mapping to resolve the issue, but in my scenario I'm not sure how to configure this for a host-named site collection
First of all, check the SharePoint ULS logs and look for that correlation ID (a unique ID generated for each and every request) - update your post with the exact error message. That will eithe