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"

pasted <http://social.technet.microsoft.com/forums/windowsserver/en-us/6946b2f1-283d-4a09-b939-40acb3cafdfa/anywhere-access-has-stopped-working>

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.


did sfc /scannow on server?

unfortunately technet subscriptions aren't coming back, sorry folks :-(



Windows Server  >  Windows Server 2012 Essentials



Comments

Popular posts from this blog

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

Disconnecting from a Windows Server 2012 R2 file sharing session on a Windows 7,8,10 machine

Event ID 64,77,1008 Certificates Events Windows Server 2008, 2008R2