YagyaShree’s Free SharePoint Information Blog

Failed to instantiate file “default.aspx” from module “mobile”: Source path “default.aspx” not found.

Posted in Aug 2009 by yagyashree on August 25, 2009

1. Symptom –

 –>You have a SharePoint site called https://yagyashree.contoso.com  in your SharePoint server “SHAREPOINT1″

–>You have deployed a custom template called “Blog” in your SharePoint site and you are using it to create new subsites

–>Whenever you try to create new subsites you get following error on this url https://yagyashree.contoso.com/_layouts/newsbweb.aspx

Failed to instantiate file “default.aspx” from module “mobile”: Source path “default.aspx” not found.

 error

 

 

 

 

–>But the site gets created but it shows following error

Page not found. We’re sorry, the web page you requested could not be located on our server. Please see the possible causes for this error and your available options below.

–>You are able to use all the other out of the box or custom template without any error successfully
2. Cause –

 –>Under the location “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Features\MobilityRedirect\” the file name “Default.aspx” was renamed to “1default.aspx”

3. Resolution –

 –>You should collect the ULS logs from your server while reproducing the issue
–>You should study the log file and find error message related to “MobilityRedirect”
–>Go to the folder “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Features\MobilityRedirect\”

–>You should see that the “default.aspx” has been renamed to anything different like “1default.aspx” or not even present
–>Take the backup of the file
–>Renamed it back to “default.aspx”
–>Now try again to create new blog site using “Blog” template and you should be able to  create it successfully
4. More Information –

Error Found in the ULS log

———————————–

08/24/2009 10:18:22.20         w3wp.exe (0×077C)                            0×0334            Windows SharePoint Services               General                                   72j1     High    Failed to instantiate file “default.aspx” from module “mobile”: Source path “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Features\MobilityRedirect\default.aspx” not found.       

08/24/2009 10:18:22.20         w3wp.exe (0×077C)                            0×0334            Windows SharePoint Services               General                                   8kh7    High    Failed to instantiate file “default.aspx” from module “mobile”: Source path “default.aspx” not found.           

08/24/2009 10:18:22.20         w3wp.exe (0×077C)                            0×0334            Windows SharePoint Services               Feature Infrastructure            889y    High    The element of type ‘Module’ for feature ‘MobilityRedirect’ (id: f41cc668-37e5-4743-b4a8-74d1db3fd8a4) threw an exception during activation: Failed to instantiate file “default.aspx” from module “mobile”: Source path “default.aspx” not found.        

08/24/2009 10:18:22.20         w3wp.exe (0×077C)                            0×0334            Windows SharePoint Services               General                                   72by    High     Feature Activation: Threw an exception, attempting to roll back.  Feature ‘MobilityRedirect’ (ID: ‘f41cc668-37e5-4743-b4a8-74d1db3fd8a4′).  Exception: Microsoft.SharePoint.SPException: Failed to instantiate file “default.aspx” from module “mobile”: Source path “default.aspx” not found. —> System.Runtime.InteropServices.COMException (0×81070587): Failed to instantiate file “default.aspx” from module “mobile”: Source path “default.aspx” not found.     at Microsoft.SharePoint.Library.SPRequestInternalClass.EnableModuleFromXml(String bstrFeatureDirectory, String bstrUrl, String bstrXML)     at Microsoft.SharePoint.Library.SPRequest.EnableModuleFromXml(String bstrFeatureDirectory, String bstrUrl, String bstrXML)     — End of inner exception stack trace —     at Microsoft.SharePoint.Librar…           

 

5. For your Reference:

Mobile browsers and devices that are supported in Windows SharePoint Services 3.0 and in SharePoint Server 2007

http://support.microsoft.com/kb/930147

SharePoint: Unable to start “Excel Calculation Services”

Posted in Jul 2009 by yagyashree on July 30, 2009

ISSUE:
=======

–When trying to start “Excel Calculation Services” under central administraion–Services on Server, getting error message

“Unknown Error”

Or

“Failed to resolve the site ID for ‘Office Server Web Services’.”

–When we check the Event Viewer–Application Logs, getting following event ID 7034
 Log Name:      Application
Source:        Windows SharePoint Services 3
Date:          7/30/2009 9:04:35 AM
Event ID:      7034
Task Category: Topology
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      <SharePoint Server Name>
Description:
An attempt to start/stop instance  of service Excel Calculation Services on server <SharePoint Server Name> did not succeed.  Re-run the action via UI or command line on the specified server. Additional information is below.

Cannot open database “SharedServices1_DB” requested by the login. The login failed.
Login failed for user ‘Domain Name\<SharePoint Server Name>$’.
Event Xml:
<Event xmlns=”http://schemas.microsoft.com/win/2004/08/events/event“>
  <System>
    <Provider Name=”Windows SharePoint Services 3″ />
    <EventID Qualifiers=”0″>7034</EventID>
    <Level>2</Level>
    <Task>807</Task>
    <Keywords>0×80000000000000</Keywords>
    <TimeCreated SystemTime=”2009-07-30T16:04:35.000Z” />
    <EventRecordID>15441</EventRecordID>
    <Channel>Application</Channel>
    <Computer><SharePoint Server Name></Computer>
    <Security />
  </System>
  <EventData>
    <Data>
    </Data>
    <Data>Excel Calculation Services</Data>
    <Data><SharePoint Server Name></Data>
    <Data>Cannot open database “SharedServices1_DB” requested by the login. The login failed.
Login failed for user ‘Domain Name\<SharePoint Server Name>$’.</Data>
  </EventData>
</Event>
Resolution:
===========
1. Find the command prompt under the start menu, right click on it and choose ‘Run as Administrator’.

2. Change directories to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\bin.

3. Run the following command:

STSADM.EXE -o provisionservice -action start -servicetype “Microsoft.Office.Excel.Server.ExcelServerSharedWebService, Microsoft.Office.Excel.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c”

User Profiles: “Error while querying for whether the import is in progress: System.Net.WebException:”

Posted in Jul 2009 by yagyashree on July 15, 2009

ISSUE:
=======
Errors in ULS log files under C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\LOGS

07/14/2009 15:30:43.93  OWSTIMER.EXE (0×06BC)                    0×0080 SharePoint Portal Server       User Profiles                  0 Medium   User Profile Import: Error while querying for whether the import is in progress: System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. —> System.IO.IOException: Authentication failed because the remote party has closed the transport stream.     at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)     at System.Threading.ExecutionContext.Run(ExecutionContext executionCo… 
07/14/2009 15:30:43.93* OWSTIMER.EXE (0×06BC)                    0×0080 SharePoint Portal Server       User Profiles                  0 Medium   …ntext, ContextCallback callback, Object state)     at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)     at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)     at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)     at System.Net.ConnectStream.WriteHeaders(Boolean async)     — End of inner exception stack trace —     at Microsoft.Office.Server.Search.Administration.SearchApi.RunOnServer[T](CodeToRun`1 remoteCode, CodeToRun`1 localCode, Boolean useCurrentSecurityContext, Int32 versionIn)     at Microsoft.Office.Server.Search.Administration.SearchApi..ctor(WellKnownSearchCatalogs catalog, SearchSharedApplication application)     at Microsoft.Office.Server.Search.Administration.SearchSharedApplication.get_SearchApi()     at Mic… 

07/14/2009 15:30:43.93* OWSTIMER.EXE (0×06BC)                    0×0080 SharePoint Portal Server       User Profiles                  0 Medium   …rosoft.Office.Server.UserProfiles.SRPSite.IsImportInProgress(String contentSourceName) 

 

RESOLUTION:
===========
–>Go to “c:\windows\system32\reg.exe” and right click on the file, choose “properties” from the drop down

–>Click on “Security” tab

–>Under “Group or user names” click “Add”

–>Now you will get a new window called “Select Users, computers, or groups” [In server 2003]

–>In this window under “From this location”, click on “Location” and select the local computer name

–>Now under “Enter the object name to select”, add [WSS_WPG] and give “READ” as well as “Read and Execute” privileges on the server and click [OK]

–>Performed IISRESET

–>Follow the same steps on all the servers connected to current farm

–>Issue should not occur any more in your environment

SharePoint: Getting prompted enter username and password when trying to get into the SSP area

Posted in Jul 2009 by yagyashree on July 11, 2009

1. Symptom –

–>You are trying to access your shared services page URL https://sharepoint.yash.com/ssp/admin, but it prompts for password trice and if the password is supplied for the system account you get IIS error

“HTTP Error 401.1 – Unauthorized: Access is denied due to invalid credentials.”

–>You are unable to get into the SharedServices1 site

 
2. Cause –

–>Security setting in Windows Server 2003
3. Resolution –

–>We went to registry

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

–>Create a DWORD Key “DisableLoopbackCheck” and modified the value to 1

–>Performed IISRESET

–>Browsed the SharedServices site and it opened successfully
4. More Information –

You receive error 401.1 when you browse a Web site that uses Integrated Authentication and is hosted on IIS 5.1 or IIS 6

http://support.microsoft.com/kb/896861

SharePoint, WSS & MOSS: Inheretance permission and breaking the permission

Posted in Jul 2009 by yagyashree on July 3, 2009

ISSUE:
=======
== We have a SharePoint site

== We created a new SharePoint site with unique permissions

== We Went to site permission of this site and added user with [READ] permission.

== We went to document library settings now ==> Clicked on permission for this document library –> and added the user there

== When we inherit the permission ==> it works fine

== but after breaking the inheritance also we are able to browse the shared documents wherein we are supposed to get access denied.

== That means users could view parts of their SharePoint website when the user does not have access to the site/list.

RESOLUTION:
===========
== Enabled the Anonymous access on the web application level

== Went to the settings of top level site to see how Anonymous access was enables

== Found that Anonymous access was enabled for entire site

== Change it to “nothing” and disabled the Anonymous access .

== Disable the Anonymous access from the web application level

== Checke the issue and it should working as expected.