I have a strange problem.
I'm working on a site collection http://mydomain/sites/cb belong to content database WSS_DB
It work fine until yesterday. Then I can't suddently access this site
The other site of same content DB are still fine.
The whole other sites are still fine.
When I use firefox to access it just show message "The connection was reset"
but chrome ask me to login but i try all account: domain account, system account...
I also can't access with IE at sharepoint server
I also can't access http://mydomain/sites/CB/Pages/default.aspx?ToolPaneView=2
But I still can open site by sharepoint design 2013
I still can access Web part maintain page of default page of site collection
http://mydomain/sites/CB/Pages/default.aspx?contents=1
I have full controll of Sharepoint server, DB server, farm, site collection
What I have try:
- Disable loop back check at sharepoint server
- Reset IIS, reset server (SP and DB)
- Dismount then remount db content
- Checked user permission and user policy at , it's all fine
- I don't find any useful info in log file
- The last things i do when the site can access are:
+ Edit web part in a page, save then publish
+ At Sharepoint designer: i copy a page to another folder
Any help would be appreciated.
Figure myself.Here how i solve my problem
1 item of my list is contain wrong data, it make a infinite recursion, when my webpart browser the list, it cant finish
Just reinput the item then problem gone.
Related
I have this weird problem when I try to use a simple default flow template to save email attachments to the company main SharePoint site: company.sharepoint.com (not subsite).
So I get started, by taking all the defaults of this flow, however, once i get to the point of providing the site address and document library path I get the error highlighted in red.
Where I get confused is that when I create a subsite like company.sharepoint.com/sites/testsite I enter the subsite address and the folder path automatically populates the folder structure for me to pick where I want to save such attachment.
I have given full owner permission to this test account with same results. So permission is not the problem.
My question is, could it be I'm using the wrong flow to save to a main SharePoint site? or this is something not allowed?
You could check the connector and recreate a new connection to SharePoint.
In many cases, an error code of 403 appears in a flow fail because of an authentication error. If you have this type of error, you can usually fix an authentication error by updating the connection, please make sure you have update the connection.
You could refer to this article.
Just in case anyone has a similar problem, the account to which you are creating a power automate flow must be a site collector to the root SharePoint site.
Currently I develop a database for another employee at my company. I have Manager Rights at the database to access everything. The administrator of the database should only be able to create/edit/delete documents. He currently got Editor-Access with selected "delete documents"-option. When he wants to delete a document on the database (i tried it with Simple Actions or with Javascript Code-both don't work) he gets redirected to the same page and nothing happens or with Simple Actions the Server-Login page shows up with the message "You don't have the permission to perform this action".
When im testing the functions with my manager access everything works fine. But when i'm changing my rank to Editor like the normal administrator of the database i also can't delete any documents. Like i already said the option in the ACL is activated.
I hope you can understand my problem and there is a solution for it. Normally that access right works fine on every other database at our company.
Another point: There are no Reader or Editor fields in the Documents. So there is no restriction with fields. Could this be the problem?
Check to see if there is some code in the QueryDocumentDelete event for the database. Perhaps that is failing and / or preventing you from deleting.
Given that you mention redirecting and server login, I presume it's a web enabled database?
In which case have you tried looking at the ACL (Access Control List) for the problem database and clicking the Advanced tab.
In there is a field Maximum Internet name and password, this is the maximum access allowed for internet users. If it's not editor, this could be the problem?
Try deleting with ?DeleteDocument URL. That way it will for sure not try to do anything else.
Check the user's access level at server with Database.getCurrentAccessLevel() and Database.queryAccessPrivileges(String name)
After the great suggestions of you all the problem was the checkbox "Allow document locking" at the database properties was enabled. That caused the problems at deleting documents. As Manager is have enough rights to go over that but for the normal Administrator with Editor Access the deletion request got blocked by the little option.
Thanks to everyone!
Am developing my first Xpage application and have designed a login screen in domcfg.nsf. So when user types my url like Myrequest.com(dummy url) this should redirect me to the login page and then on succesful login attempt the page should be redirected to Myrequest pplication. Could you please let me know how to configure in server document or Internet site document. ?
As a first step,I executed the below points.
Enabled Load Internet configurations from server/Internet sites
documents in the basic tab of server document.
Created new web site document by clicking on web>>Internet sites Web
Site-Basic Tab::
a. Descriptive name for this site :myRequest.com;
b. Organization: testCompany;
c. Use this web site to handle requests which cannot be mapped to any other
web sites: NO ;
d. Host names or addresses mapped to this site: my local ip address;
e. Domino server that host this site : *
In Web Site-Configuration Tab::
a. Home URL : /myApp/myRequest.nsf?open
The rest of the configuration are all default's
When I tried opening myRequest.com no page is displayed. I guess i have made a mistake. Do i have to change any configurations ?
The way this works is:
Set up an internet site (remember to check that your Domino server is using internet sites (first tab in the server document)
The internet site should not contain any information about login - just the right path etc. for the domain/subdomain to point at the right page in the right database (and possibly url redirections, headers, etc.)
Now create the login form, e.g. in your application database (or any other applicable database). Make sure that you have the right fields on it for the login to work - and any error messages to be correctly shown. The easiest way is to look at the standard login form (its called "$$LoginUserForm") found in domcfg.nsf (if domcfg.nsf does not exist, just create it with that name based on advanced template "Domino Web Server Configuration (8)" (template file: domcfg5.ntf)
Now create a Sign In Form Mapping document in domcfg.nsf. Select the specific domain/subdomain that it applies to (or a default for all websites not using another specific sign-in form), specify the path to the database with the form (e.g. your application database), and specify the name of your login form in that database
Now you just need to turn on the mechanism that will require your users to log in. This is done in the ACL of your database. When a user is not logged in it will obey the rules of a person entry with the name "Anonymous". If this "person" is not present in the ACL it will of course obey the default settings. You will have to determine when you want your user to log in. If you specify "No Access" then you may have to set "public read" on some of your design elements for the login form to display properly (e.g. graphic files etc.) and then you should also allow the Anonymous person to read public files (in the ACL). You may also want users to be able to read content and only be forced to log in when they want to write/change something, in which case your Anonymous user would be reader and default (or a specific group, etc.) would be author/editor - but that is all about standard Domino security/ACL and not related to web/XPages ;-)
/John
SharePoint web site = http://myexample:3500
SharePoint tester (admin on domain, admin on SharePoint site collection) = IAmKyle
Alternate Access Mapping: I left it at the default which is http://myexample:3500 maps to itself, and the zone is "default".
My code was deployed as a farm solution and my .dll is in the GAC. I activated a feature on my site collection (url is above). What the code does is, when the user updates a SharePoint item, my code executes a LINQ query finding "related" items. Then the related items are updated. Here are the errors I get:
On Windows Event Logs:
Error loading and running event receiver [my receiver assembly]. Object reference not set to instance of an object.
On SharePoint ULS event logs:
Same error as I see in Windows Event logs. Also, I was getting errors about "alternate access mapping" not being configured for http://myexample:3500 but I'm not getting them anymore. Don't know why, I haven't changed anything.
On IIS logs
Getting some 401 responses for pages that I should be able to access. But, it only shows the tail end of the page in some cases e.g. "/mysite/mypage" so I'm unsure what the full URL is.
These errors are very confusing, my code 100% works on my test system. What network or sharepoint configurations should I be looking for? I'm assuming my code itself works fine considering that it does work on my test environment. Of course, I have more permissions on test since my username on test is the user who created the farm.
Thanks.
Do you get these errors when trying to activate the feature or when actually making a change to a list item?
Also, have you tried attaching the VS debugger to the process and having a look at what is going on?
The Infragistics images and javascript files are located on the server in: "\nasmoss\c$\Inetpub\wwwroot\aspnet_client\Infragistics".
I created a page and put it in the _layouts folder in Sharepoint. It is just a hierarchical grid. It has the + to expand the group.
For certian users, it displays a red X showing the images are not available. I also get javascript errors since it can't get access to the javascript include files from Infragistics.
If I login with a network admin login, it works. If I login with my normal user account it works sometimes. The fix is to login with my admin account and then login with my noraml account.
This also affects other normal users. If they get the red X I just login with my admin account. It then works for them for a while.
It appears it is some rights issue with Sharepoint. But it is very intermittent. I can't reproduce it. It normally stops working in a day sometimes hours. We don't use that page very often (twice a week).
If I right click and get the full path to the image it is to WebResource.axd.
https://sharepoint.{domain}.com/WebResource.axd?d=I9i-y5iGqdXx3n6e-hSXFEHlcHb2DBAtYdLbT5A8vP6aSSCjd8JdrowGqkDSq5wmAwCgXjgrfYNtCF93yfPliD2yteSxJvg7xIPVnlttFE7Wxg6qGtLaLI18s2hN40PO0&t=633480367580000000
If I have a user put that into their browser, they get an "access denied" error when it is not working. Otherwise they get the + image.
Perhaps it is a caching issue?
Thanks,
Gary Milke
If it's a WebResource.axd it usually means the image is an assembly resource. If the axd somehow gets the images from the filesystem, it might be so that the perrmissions on the folder you mentioned are incorrect. the AD groups WPG_... (i.e. all groups that have capital WPG in their name) and IIS_IUSRS should have read permissions on any file that needs to be accessible in your site.
Especially for files copied directly into the 12 hive this might not be the case.