For a sharepoint application, we have 5 content databases each dedicated to hold one site collection. Eventually, we dettached one content database from SQL server and so from sharepoint central administration.
Now, when user tries to access that perticular site url or any list/libraries within that site, they recieve a common 404 site not found error!.
is there any possibility to show them a customized error message like "The content has been removed by administrator" which should be displayed when user tries to access any content within this site collection which is being removed.
Just override the Error page, and show them your customized message if they have entered a URL that matches the removed site.
Refer to this article for creating a custom error page:
http://blogs.msdn.com/b/ketaanhs/archive/2010/03/13/moss-sharepoint-2007-custom-error-page-and-access-denied-page.aspx
Related
When going page by page, getting error from 20 page onwards (domain is change on after 20th page) in Sitecore user Manager.
If any guidelines how to solve this issue it is very usefull.
(using Sitecore 7.2)
Is there any function or method (store procedure or somthing) to get all registered users under each domain from sitecore.?
I moved my working DNN solution to a different server but after that the user accounts module does not work. When I click 'Users' on the control panel and enter the username and search I am able to pick up the user I searched for but when I click on 'Manage Roles' it gives me the following error:
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
I am on version 4.7.0. I am using active directory.
Please help.
Are you by chance using SSL? You might look at the TABS table to see if any of the Admin pages are marked as SECURE
We're having the following situation:
a web site requires the user to log on (let's call the site NPP)
after the user logon, some links on the site open in new browser windows (let's call the links ECR-s)
an application uses a WebBrowser control to browse the site; if a logon is needed, the application simulates the user logon
if the user clicks on an ECR link, a new browser window opens, but instead of displaying the content, it displays the site login page.
How can we make the browser automatically login to the NPP site in that scenario?
The answer came from a guy on MSDN forums (RudeDog2).
I've used the information from
http://support.microsoft.com/kb/815714 and http://blogs.artinsoft.net/mrojas/archive/2008/09/18/newwindow2-events-in-the-c-webbrowsercontrol.aspx to implement the solution: now the new browser windows open in the same process and, consequently, they inherit the in-memory session cookie.
One caveat, though: the application must be built x86 (and not 'Any CPU'); if built 'Any CPU', either PDF files are not open in-browser, either 'invalid image' exceptions are raised.
Hi
I have 2 MVC sites on a shared hosting environment. The first one works fine and I can log on and use the membership provider etc.. no problems. A second site can see the database and retrieve other (site specific) data on its pages. However when I try to log in I simply get a page refresh - no error messages with invalid UC/PW, and no succesful log on with good credentials, for example.
One further piece of info (may be a red herring) is that the first domain has the database declared within its control panel (using Plesk) - but the second one has no reference to it within the domain - however the hosting company have assured me that simply using the same connection string will work. And it does to retreive the site-specific data.
cheers
tm, Leeds UK
For anyones interest . .
It seems that because the site was still in preview, forms don't work until you actually put live.
Hosting is with Storm Internet
I have a PerformancePoint dashboard running in MOSS 2007 portal. The dashboard consists of one SSRS 2005 report, running in SharePoint Integrated mode.
NT Authority\Authenticated Users have read permissions to the report library containing the SSRS report, the dashboard, and the report library containing the dashboard.
Users that attempt to access the dashboard receive the following error message:
The permissions granted to user
'DOMAIN\firstname.lastname' are
insufficient for performing this
operation. (rsAccessDenied)
Users that then click on the direct link to the report in MOSS will see the report with no problem. Subsequent visits to the dashboard show the report with no problem.
The report is using a data source that is located one folder up from the report location. The report has been updated to point to the correct shared data source after deployment. Both the report and the data source have been published. The data source is using stored credentials, with a domain service account that has been set to Use as Windows credentials. This service account is serving other reports in other areas with no problem.
Edit:
Ok, I've gotten a lot more information on this problem. The request is never actually being made to the data source. The user comes in to the dashboard and requests a report for the first time using their kerberos token identifying themselves. The report looks in the Report Server database and finds that they are not listed in the users table and generates this rsAccessDenied error. Once they view the report directly their name is in this table and they never have the problem again.
Unfortunately, removing the user from the Users table in the RS database doesn't actually cause this error to happen again.
Everything I've read says that when you run a Report Server in MOSS integrated mode all your permissions are handled at the MOSS report library level, and all Auth users have permissions to the report library, as stated earlier. Any ideas?
It sounds like the dashboard page is not passing credentials to the report server. Because you stated if the user hits the report directly it works and then if they go through the dashboard it works. So does it stop working after a certain period, indicating a cached session?
I would look carefully at the properties on the dashboard in performance point to see if it is passing credentials or trying to use anonymous. I hope this isn't a case of double hop and Kerberos :(
I'm not sure if this is actually the same issue, but you could double check that the data sources are set to "Approved", not "Pending". It's a stretch, but it's worth a shot.
I implemented a work-around:
created a fake report
on the page with my report, created a content editor web part consisting of the following:
<iframe style="display:none;" src="https://link/to/my/report.rdl"></iframe>
I tested with another user that was experiencing the error, and they are no longer experiencing the error with my new and improved page.
I know this is a kludgy, and might even be dependent on the loading order of the page. Therefore, I would really like to find out what's causing this issue so I can fix it for good.
Edit:
I don't want to accept my own answer, since it's just a work-around. If anyone can post anything relevant to the user name placed into the Report Server DB and how that relates to SharePoint Integrated mode, you'll get the bounty.