Anywhere Access broken again - no reason.
attempt repair:
there error in web server settings.
there problem web server settings cannot repaired automatically.
please contact product support.
attempted fix found on these forums:
a quick workaround, can unzip linked file, , use these files replace wrong web.config changed sfc.
note there 6 web.config files, in different sub folders under c:\program files\windows server\bin\webapps, please follow file folder structure replace each of them"
repair said succeeded.
now error:
server error in '/remote' application.
runtime error
description: an application error occurred on server. current custom error settings application prevent details of application error being viewed remotely (for security reasons). could, however, viewed browsers running on local server machine.
details: enable details of specific error message viewable on remote machines, please create <customerrors> tag within "web.config" configuration file located in root directory of current web application. <customerrors> tag should have "mode" attribute set "off".
<!-- web.config configuration file -->
<configuration>
<system.web>
<customerrors mode="off"/>
</system.web>
</configuration>
notes: current error page seeing can replaced custom error page modifying "defaultredirect" attribute of application's <customerrors> configuration tag point custom error page url.
<!-- web.config configuration file -->
<configuration>
<system.web>
<customerrors mode="remoteonly" defaultredirect="mycustompage.htm"/>
</system.web>
</configuration>
attempted this:
- run following windows powershell commands administrator. run each command separately , in following order:
1.
$bindir = [system.environment]::expandenvironmentvariables("%programfiles%\windows server\bin")
2.
$webdir = [system.environment]::expandenvironmentvariables("%programfiles%\windows server\bin\webapps")
3.
$webdir = get-childitem $webdir –recurse
4.
$list = $webdir | {$_.name -eq "web.config"}
5.
foreach($listitem in $list){ if($listitem.directoryname -match "macwebservice") {continue;} ($a= get-content $listitem.fullname); $a = $a -replace "%sbsproductbinplaceholder%", $bindir; remove-item $listitem.fullname; $f = [io.path]::combine($listitem.directoryname, "web.config"); $a >> $f}
then ran repair, said succeeded.
same results.
unfortunately technet subscriptions aren't coming back, sorry folks :-(
Windows Server > Windows Server 2012 Essentials
Comments
Post a Comment