Link to home
Start Free TrialLog in
Avatar of Philx1234567
Philx1234567

asked on

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 :(
Avatar of Philx1234567
Philx1234567

ASKER

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.
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.
Avatar of Ted Bouskill
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.
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.
ASKER CERTIFIED SOLUTION
Avatar of Philx1234567
Philx1234567

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial