Bad user profile links in MOSS 2007 Site Usage Summary > Site users - sharepoint-2007

In the MOSS 2007 "Site collection users" page (... > Site Settings > Site Usage Summary > Site users), under the "User activity (past 30 days)" section there is a list of site users with their statistic (e.g. sharepoint\system). However, the link associated with each user points to a local server port URL (e.g. http://ssn1:23543/Person.aspx?accountname=sharepoint%5Csystem) which returns a 400 Bad Request or "User not found" error (depending on where the page is run).
How can I fix this to return a correct page?

I resolved this one after a Google search for "Person.aspx?accountname= user not found".
I believe our Shared Services provider is a little "unwell" after a MOSS SP2 upgrade and I needed to reconfigure the personal site provider and My Site settings in Central Administration.
The primary resource I followed was a Microsoft KB article at:
http://support.microsoft.com/kb/924399: Error message when a user clicks the "My Profile" tab of a "My Site" personal site in SharePoint Server 2007: "Result: 404 File Not Found
I also found these similar resources for confirmation:
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.sharepoint.portalserver&tid=5e135a25-d8fa-4ce9-b1d8-0940dd94b69e&p=1
http://blogs.msdn.com/cjohnson/archive/2006/09/15/754902.aspx
Following the Microsoft KB I created a new managed path for personal sites and created a new site collection in the correct web application. I then changed the Shared Services Provider (SSP) to point to the new site collection.
Of course the final step is also to import users into the new site collection (or migrate from an old location if necessary).

Related

Can I add Links as favorites to TFS 2012 Team Site?

I have a TFS 2012 Team site specifically for TFS Management. I would like to place template links for creating work items on the site so that team leads may create work items for me to add users or otherwise modify permissions.
I created the templates by the "Copy template URL" (a great feature btw), and then sent this as an email to my stakeholders.
I think it is better to have this link easily available from my team site. Are there any suggestions?
Not sure what you mean by team site. There is the TFS Web Access page, and then there is the optional Team Project Portal (in SharePoint).
If you are using the Portal in SharePoint then you can add a links webpart to any page within the site.
If you are talking about the TFS Web Access page, then I don't think there is currently any supported method to customize the home page to add arbitrary links.

ASP.NET MVC Windows Azure organization authentication

I'm trying to configure the organization authentication in an ASP.NET MVC project in Visual Studio 2013 RC.
After filling the data in the create project dialog, like Microsoft instructed in their tutorials, I'm getting an error which says that the configure failed.
I've tried to do so as well in Visual Studio 2012 using the identity addon.
Maybe it's related to Windows Azure AD?
Here is the error that I'm getting:
Hopes that someone knows how to fix that issue. Thanks for any help and suggestion!
This question is old, but today I found a workaround that I'd like to share.
It seems like we can't use Microsoft Account when we're using WAAD.
So:
Create a WAAD.
Add an administrator
Choose local directory account, not Microsoft Account.
Grant this account Global Administrator permissions.
Open Visual Studio and create a new web based project.
Choose in authentication the "Organization Accounts".
Specify your WAAD URL (e.g. "foo#onmicrosoft.com").
When you're required to insert your user and password, use the local account username and password. for example ("oz#foo.onmicrosoft.com").
This will allow you to pass the error.
Edit:
Microsoft published a post that referred to this problem and show the solution (the one I described above). http://www.cloudidentity.com/blog/2013/12/11/setting-up-an-asp-net-project-with-organizational-authentication-requires-an-organizational-account/
I would check for two things:
The account used to login to Windows Azure while has Global Admin role in AAD
App ID URI specified in the project creation dialog is valid. Valid App ID URI for domain mydomain.onmicrosoft.com has format https://mydomain.onmicrosoft.com/uniqueUri. Note that you can leave this field blank and the tool will automatically pick the correct App ID URI for you.
If these two things don't help, I would encourage you to run DebugView (http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx) in the background while trying to create a similar project and you can see the actual error message in the trace in DebugView.
In follow up to OzB:
Once you've setup the user in AAD as per OzB's account,
note that you must also then go to "Settings" in Azure and add that account as an administrator of the Azure subscription, otherwise you can't upload the website itself.

TFS 2005: Sharepoint site not working

I've just created a new Test instance of TFS 2005 SP1 and migrated the databases. The TFS part seems to work correctly, but the Sharepoint site doesn't seem to work.
http://TfsServer/sites/Project1/default.aspx gives a 404 error.
Also heading to Sharepoint Central Administration --> Manage Site collection owners and entering the above site name under 'Web Site URL' gives the following error message:
'The virtual server that is referenced here is not in the config database"
The config database is the only one I did not restore from the source (following instructions here). How do I go about recreating the Sharepoint site?
Thanks!
Sharepoint Central Admin
Manage Web Server List
click on server name
Configure Virtual Server settings
Default Web site
Manage Content Databases
Click on STS_Content_TFS
Note the values in textboxes.
Check Remove content database and click on OK.
Recreate content database with the same name (STS_Content_TFS) and other information
as above.

Site collection administration section is not present

I just got to support a new Sharepoint Site. I created a new Site Collection scoped feature and deployed it. The things is that when I went to site settings to activate it. Site collection administration section is not there. I went to see the Site collection list in for the web application and there's only one, with no site collection admin section there.
How can I access that part of the administration?
It turned out that the user I was using to connect to the site did not have permissions to view Site Collection settings section.
I used another user and voila.

How to make EF code first work under `IIS AppPool\MySiteName`?

I am learning MVC 3 from asp.net site.
My MVC 3 application already has been tested under IIS AppPool\MySiteName and it works well.
Using Sql Server Management Studio, I created a new account for IIS AppPool\MySiteName.
I followed this tutorial "creating db on the fly" and I got an error as follows:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Cannot open database "Movies" requested by the login. The login failed.
Login failed for user 'IIS APPPOOL\Getting Started'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Well that error is saying that the user IIS APPPOOL\Getting Started doesn't have the proper login credentials, either your username or password is incorrect. Why not show us what the connection string looks like in your web.config file
The following things is all you should have to do imo:
Create and configure a new AppPool,
say AppPoolFoo, running under the
identity of a local user account,
say User1
Configure your site in IIS to run
under AppPoolFoo
Grant User1 appropriate rights with
SQL Server Management Studio
It's unclear to me whether you followed these steps, or have a different scenario.
Set Load User Profile to True on the application pool GettingStarted.

Resources