Need pointers on introducing a new ASPX file
Hi,
I have very little experience with Sharepoint but am trying to do something a bit sneaky with FIM 2010, which runs under WSS 3.0. I want to add a new aspx file so I can get another site to open inside the FIM frame. If I replace one of the existing
aspx files with my customised one then it does exactly what I want. If I give my new aspx file its own name I get http 404 errors. I have tried adding the new aspx file to the sitemap for FIM but still no joy. Is there somewhere else I should be looking to
register this new aspx file? I've searched all through the site settings but it probably doesn't help that I have no clue where to start. RTFM answers gratefully accepted as long as you can be a bit specific about which FM I need.
TIA,
Carol
http://www.wapshere.com/missmiis
April 26th, 2011 8:12am
By FIM 2010, do you mean ForeFront Identity Management? Also, can you post the link of the existing aspx page you want to replace? I suspect you're playing about with the /_layout directories but I'd like to be sure before I tackle an answer.Steven Andrews | SharePoint Professional | http://www.twitter.com/backpackerd00d | https://baron72.wordpress.com/
Free Windows Admin Tool Kit Click here and download it now
April 26th, 2011 8:41am
Yes that's right, forefront identity manager.
So all the aspx files are in subfolders under this location: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\FEATURES\MSILM2SitePages\SitePages\aspx\
But by some magic or other the URL that addresses them starts like this:
http://myserver/IdentityManagement/aspx/
If I take an existing file, in this case ..\aspx\users\AllPersons.aspx, and replace the contents of it with my new aspx content then the URL
http://myserver/IdentityManagement/aspx/users/AllPersons.aspx works and displays the content I want to see (in this case a SQL Reporting Services view embedded in the FIM Portal page).
But if I give the file a proper name of it's own, such as ..\aspx\users\MyReports.aspx, the expected URL gives me a 404 error:
http://myserver/IdentityManagement/aspx/users/MyReports.aspx
I thought the sitemap file looked promising. I added a line for MyReports.aspx and iisreset'd but it makes no difference:
<siteMapNode title="$resources: MicrosoftIdentityManagement, AllUsersTitle" url="IdentityManagement/aspx/users/AllPersons.aspx" />
<siteMapNode title="$resources: MicrosoftIdentityManagement, ReportTitle" url="IdentityManagement/aspx/users/MyReports.aspx" />
I enabled the verbose logging and I see this error:
Unknown SPRequest error occurred. More information: 0x80070002
Thanks for your reply!http://www.wapshere.com/missmiis
April 26th, 2011 9:18am