[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1063
  • Last Modified:

SharePoint 2007 MySite Customization... File Not Found

Greetings and salutations,

I followed this guide exactly just to try it out, http://blogs.msdn.com/sharepoint/archive/2007/03/22/customizing-moss-2007-my-sites-within-the-enterprise.aspx, for customizing MySites.   Went through a couple hurdles but I got the solution deployed.   However... when my MySite tries to load the default.aspx page I get a link to "Go back to site" and an error that reads "File Not Found."

I opened up SharePoint Designer and opened the mysite and looked at the default.aspx and there is the steve.master or custom master page that I had created.   I looked through event logs but thats about it.

So the questions are... what are the possible reasons for this?  What are the possible solutions?

Note:  The link that I provided had someone say they had the same problem under comments but no solution was given :(
0
Philx1234567
Asked:
Philx1234567
  • 4
1 Solution
 
Philx1234567Author Commented:
Oh something else.

When I open the website from SharePoint Designer and open the default.aspx, which has my "Hello world!!" inserted into the body,  There is errors in creating a couple of controls in a couple of the zones.

Errors read as:
Error Creating Control - IdWelcome
The control with virtual path '_controltemplates/Welcome.ascx' is not in the safe controls list for the web at URL 'http://mysite/personal/user''

Error Creating Control - IdDesignModeConsole
The control with virtual path '_controltemplates/DesignModeConsole.ascx' is not in the safe controls list for web at URL 'http://mysite/personal/user'

I didn't touch these zones in the master page.

Thanks in advance.
0
 
Philx1234567Author Commented:
More news...

Tag on the top of default.aspx for a working default MySite page
<%@ Register TagPrefix="wssuc" TagName="NavItem" src="/_controltemplates/NavItem.ascx" %>

Same tag on my failed default.aspx
<%@ Register TagPrefix="wssuc" TagName="NavItem" src="http://WepAppForMySite/_controltemplates/NavItem.ascx" %>

I guess I'll look over my feature.xml and elements.xml files.   Still any insight or help is appreciated.

Thanks.
0
 
Ted BouskillSenior Software DeveloperCommented:
Are you 100% sure you added this to the web.config for the 'My Sites' web application?
<SafeControl Assembly="MySiteCreatePart, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cb1bdc5f7817b18b" Namespace="Microsoft.IW" TypeName="*" Safe="True" AllowRemoteDesigner="True" />

If you added a custom control and it's not marked as safe that will cause this error.
0
 
Philx1234567Author Commented:
Hey,

Thanks for responding.   I did add that to the web.config but I didn't change the original template other than typing some text into the body.

IdWelcome is the "Welcome Username" at the top right so thinking about it now maybe the reason it doesn't show up in Designer is cause the page doesn't load that far and it could be something else.   I'll try clearing that from the custom master page.

Generic error messages are fail.   I'd rather see a wall of text.
0
 
Philx1234567Author Commented:
GOT IT LOADED YES!!!

I tried to do something different but when I came back to this guide I just deploy the soultion.   I honestly don't know what I did differently but I suspect that I forgot to deploy MySiteCreatePart to GAC.

BTW, I used the author's visual studio solution package from codeplex as a starting point.
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now