WSS Server Error in '/' Application
After adding a new web application I cannot access it. I get the following error - Server Error in '/' Application. -------------------------------------------------------------------------------- Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Could not load file or assembly 'Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified. Source Error: Line 160: </webParts> Line 161: <machineKey validationKey="C0DFCC0AF1A4E121BE922DDE1EFB06CDB2F311255BFCD8FF" decryptionKey="0B99BE23A960E384841E7F00B60EF3B8C00D720944895080" validation="SHA1" /> Line 162: <sessionState mode="SQLServer" timeout="60" allowCustomSqlDatabase="true" partitionResolverType="Microsoft.Office.Server.Administration.SqlSessionStateResolver, Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> Line 163: </system.web> Line 164: <runtime> Source File: C:\inetpub\wwwroot\wss\VirtualDirectories\43879\web.config Line: 162 Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' could not be loaded. === Pre-bind state information === LOG: User = NT AUTHORITY\NETWORK SERVICE LOG: DisplayName = Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c (Fully-specified) LOG: Appbase = file:///C:/inetpub/wwwroot/wss/VirtualDirectories/43879/ LOG: Initial PrivatePath = C:\inetpub\wwwroot\wss\VirtualDirectories\43879\bin Calling assembly : (Unknown). === LOG: This bind starts in default load context. LOG: Using application configuration file: C:\inetpub\wwwroot\wss\VirtualDirectories\43879\web.config LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Aspnet.config LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v2.0.50727\config\machine.config. LOG: Post-policy reference: Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/Temporary ASP.NET Files/root/f427aefb/679e8983/Microsoft.Office.Server.DLL. LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/Temporary ASP.NET Files/root/f427aefb/679e8983/Microsoft.Office.Server/Microsoft.Office.Server.DLL. LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/wss/VirtualDirectories/43879/bin/Microsoft.Office.Server.DLL. LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/wss/VirtualDirectories/43879/bin/Microsoft.Office.Server/Microsoft.Office.Server.DLL. LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/wss/VirtualDirectories/43879/_app_bin/Microsoft.Office.Server.DLL. LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/wss/VirtualDirectories/43879/_app_bin/Microsoft.Office.Server/Microsoft.Office.Server.DLL. LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/Temporary ASP.NET Files/root/f427aefb/679e8983/Microsoft.Office.Server.EXE. LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/Temporary ASP.NET Files/root/f427aefb/679e8983/Microsoft.Office.Server/Microsoft.Office.Server.EXE. LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/wss/VirtualDirectories/43879/bin/Microsoft.Office.Server.EXE. LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/wss/VirtualDirectories/43879/bin/Microsoft.Office.Server/Microsoft.Office.Server.EXE. LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/wss/VirtualDirectories/43879/_app_bin/Microsoft.Office.Server.EXE. LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/wss/VirtualDirectories/43879/_app_bin/Microsoft.Office.Server/Microsoft.Office.Server.EXE. -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4205
July 22nd, 2010 7:08pm

Try to copy web.config from another Web Application. Oleg
Free Windows Admin Tool Kit Click here and download it now
July 22nd, 2010 10:52pm

Can I copy from any Web Application? Do I just add the application specific lines to the web.config that I copy? I looked at the main web.config from our SharePoint homepage and there are a lot of differences between it and the web.config for the application. Is that OK?
July 22nd, 2010 11:26pm

You can try web.config from any Web Application that works. Oleg
Free Windows Admin Tool Kit Click here and download it now
July 22nd, 2010 11:33pm

I used the web.config from the main application, port 80. I get "Cannot connect to the configuration database". Event viewer shows "SQL database login failed. Additional error information from SQL Server is included below." Login failed for user 'domain/computername$'.
July 23rd, 2010 5:41pm

Check permissions for App Pool account. The user should be content DB owner. Read this http://technet.microsoft.com/en-us/library/cc263445(office.12).aspx#Section4 Oleg
Free Windows Admin Tool Kit Click here and download it now
July 23rd, 2010 5:51pm

Hello, In the logs, its mentioned about Line: 162 in original (faulty) web.config file. Have you reviewed the specifics on that line? also stack trace mentioned in the logs. Please review that all the files are in place. hope this help, Regards, Rohan
July 23rd, 2010 6:08pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics