Symptoms
Sitebuilder shows "Site cannot be published." or "Location status: static-only".
Cause
Sitebuilder have specific requirements for the location, where site is published. All requirements are described in "Administator's Guide" document, items: "Setting Up and Maintaining Sitebuilder / Specifiying Hosts Used for Publishing Sites / Requirements for Hosts". If these requirements are not satisfied, Sitebuilder shows "Site cannot be published" error message. Checking these requirements is essential and complex task for even senior administrators.Resolution
1. Read carefully Sitebuilder publishing error additional information, shown at Wizard / Publish page after clicking on "Publish" button;If this does not help to understand the issue, please do:
2. Check Sitebuilder log file. It can be accessed via Administrator's Panel / Server / Logs or at %SB_DIR%\_logs\application.log, where %SB_DIR% - folder, where Sitebuilder has been installed. Records in log file can give you specific on what requirements are not meet.
If this does not help to understand the issue, please do:
3. Download this verify.aspx file at publishing location working directory and make HTTP request to publishing location Web Site URL adding verify.aspx, for example, to http://sitebuilder_hostname/verify.aspx
Check returned responce and table below:
N Error Explanation Action 1 HTTP Error 404 ASP.NET is not installed or registered Install dotnetfx, aspnet_regiis –i in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727, inetmgr->web service extensions->asp.net 2.0.50727->allow 2 HTTP Error 403.1 - Forbidden: Execute access is denied May be It should has the Scripting permissions enabled in IIS metabase inetmgr->site->properties->virtual directory tab->execute permission combobox, change ‘None’ to ‘Scripts only’ 3 Server Error ‘Compilation Error’
Compiler Error Message: CS0234: The type or namespace name 'Mail' does not exist in the class or namespace 'System.Net' (are you missing an assembly reference?) Asp.net version must be greater or equal than 2.0.50727.0 See 1 4 Server Error ‘Compilation Error’
Compiler Error Message: CS0016: Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\vt\ebf24440\13ec26b0\App_Web_verify.aspx.cdcab7d2.br6bk6kz.dll' -- 'Access is denied. ' - %WinDir%\temp – must have ‘Full Control’ permissions for Application Pool identity (NETWORK SERVICE by default). %WinDir%\temp – by default, may be other dir, for actual path see http://msdn2.microsoft.com/en-us/library/aa364992.aspx, In Microsoft Windows Explorer, locate the %windir%\temp directory.
2. Right-click %windir%\temp, and then click Properties.
3. In the Properties window, click the Security tab.
4.Click Add, type ServerName\ NETWORK SERVICE, and then click OK.
Note Replace ServerName with the name of the Web server.
Note Replace NETWORK SERVICE to the account, under which the corresponding Application Pool is being run
5.Under Allow, click to select the Full Control check box, and then click OK. 5 “Server Application Unavailable” and error in application log (my computer->manage->system tools->event viewer->application) “It is not possible to run two different versions of ASP.NET in the same IIS process. Please use the IIS Administration Tool to reconfigure your server to run the application in a separate process.” Application pool, to which this application is assigned, must contain no ASP.NET 1.1 applications Remove asp.net 1.1 applications from application pool 5 Server Error
“Debugging is not supported under current trust level settings. “Servers used for publishing sites must work at least in the Medium Trust mode. special .config file web_medium_sb_trust.config in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\
Web.config:
<location allowOverride="true">
<system.web>
<securityPolicy>
<trustLevel name="Full" policyFile="internal" />
<trustLevel name="High" policyFile="web_hightrust.config" />
<trustLevel name="Medium" policyFile="web_mediumtrust.config" />
<trustLevel name="MediumSiteBuilder" policyFile="web_medium_sb_trust.config" />
<trustLevel name="Low" policyFile="web_lowtrust.config" />
<trustLevel name="Minimal" policyFile="web_minimaltrust.config" />
</securityPolicy>
<trust level="Full" originUrl="" />
</system.web>
</location>
<location path="Default Web Site/test" allowOverride="false">
<system.web>
<trust level="MediumSiteBuilder" />
</system.web>
</location>
----
Path in location – site
---
web_medium_sb_trust.config – copy of web_mediumtrust.config plus
<IPermission class="OleDbPermission" version="1" Unrestricted="true" />
<IPermission class="WebPermission" version="1" Unrestricted="true" />
7 Server Error SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
<IPermission class="AspNetHostingPermission" version="1"
Level="Low" /> See previous 8 Server Error
Execution permission cannot be acquired <IPermission class="IsolatedStorageFilePermission" version="1"
Allowed="AssemblyIsolationByUser"
UserQuota="9223372036854775808" /> See previous 9 Server errorFailed to grant permission to execute No <IPermission class="SecurityPermission" See previous 10 Server error No <IPermission See previous 11 BadNetVersion Asp.net version must be greater or equal than 2.0.50727.0 See 1 12 NotApplicationRoot Site should be an IIS Application (plain Virtual Folder won't work) inetmgr->site->properties-> virtual directory tab ->application name->create button 13 AppDataDoesntExist create App_Data folder in publishing location 14 ReadPermissionDenied,
WritePermissionDenied,
DeletePermissionDenied the App_Data folder it should be read\write\delete-accessible to the account, under which the corresponding Application Pool is being run In Microsoft Windows Explorer, locate the App_Data directory. 2. Right-click App_Data, and then click Properties.3. In the Properties window, click the Security tab. 4.Click Add, type ServerName\ NETWORK SERVICE, and then click OK.
Note Replace ServerName with the name of the Web server. Note Replace NETWORK SERVICE to the account, under which the corresponding Application Pool is being run
5.Under Allow, click to select the Full Control check box, and then click OK. 15 TrustLevelLessThanMedium Servers used for publishing sites must work at least in the Medium Trust mode. See 6 16 DbWritePermissionDenied, DbReadPermissionDenied the sitebuilder.mdb file it should be read\write -accessible to the account, under which the corresponding Application Pool is being run 17 OleDbError OLE DB Provider isn`t installed or works incorrectly 18 OleDbPermissionDenied Request for the permission OleDbPermission failed See 6 19 WebPermissionDenied
Request for the permission WebPermission failed See 6