icacls X:\KATALOG /grant BUILTIN\Users:(OI)(CI)(Rc,S)
-
Nadanie uprawnien Read Permissions dla lokalnych uzytkownikow
-
Pokazywanie błędów pod IIS7 dla ASP Classic
%windir%\system32\inetsrv\appcmd set config -section:asp -scriptErrorSentToBrowser:true Ewentualnie dodatkowo: %windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpErrors -errorMode:Detailed lub w pliku web.config w gałęzi system.webServer dodać: <httpErrors existingResponse="PassThrough" />
-
Szyfrowanie sekcji connectionStrings w pliku web.config
C:\Windows\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis.exe -pe "connectionStrings" -site IDSTRONY -app "/"
-
ASP.NET state service - The system cannot find the file specified.
Rozwiazanie: Go to command prompt and type regedit When regedit opens, locate HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state ImagePath Data was %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\aspnet_state.exe so altered to %SystemRoot%\Microsoft.NET\Framework64\v2.0.50727\aspnet_state.exe Go to Services and start ASP.NET State Service Źródło: http://thelittlewolfsadventuresindotnet.blogspot.com/2010/03/aspnet-state-service-system-cannot-find.html...
-
Generowanie pliku certyfikatu PFX z certyfikatu domeny, certyfikatu posredniego oraz klucza prywatnego
Trzeba sciagnac OpenSSL: http://www.openssl.org/related/binaries.html openssl pkcs12 -export -out certificate.pfx -inkey privatekey.txt -in certificate.txt -certfile intermediate.txt Źródło: http://nickstips.wordpress.com/2010/09/08/sql-ssl-and-sql-server-2008-creating-the-certificate/
-
Włączenie pokazywania błędów PHP (FastCGI) w IIS7
c:\windows\system32\inetsrv\appcmd.exe set config "{sitename}" -section:system.webServer/httpErrors /existingResponse:"PassThrough" /commit:apphost Źródło: http://serverfault.com/questions/69839/show-php-error-message-on-iis-7 Można też dodać w galęzi system.webServer w pliku web.config wpis: <httpErrors existingResponse="PassThrough" />
-
Dostęp do plików konfiguracyjnych IISa na systemie x64 z poziomu aplikacji x86
Nalezy utworzyc symlinki: mklink /H C:\Windows\SysWOW64\inetsrv\config\administration.config C:\Windows\System32\inetsrv\config\administration.config mklink /H C:\Windows\SysWOW64\inetsrv\config\applicationHost.config C:\Windows\System32\inetsrv\config\applicationHost.config mklink /H C:\Windows\SysWOW64\inetsrv\config\redirection.config C:\Windows\System32\inetsrv\config\redirection.config
-
Obsłużenie nieznanych typów MIME
Należy dodać do typów MIME rozszerzenie "*" z typem application/octet-stream
-
Ustawianie dynamicIdleThreshold
%windir%\system32\inetsrv\appcmd set config -section:system.applicationHost/webLimits -dynamicIdleThreshold:130
-
Przenoszenie certyfikatów SSL między serwerami
Here are the steps you should follow to export to the cert on the existing server: 1) Go to Start -> Run and enter MMC 2) From the menu bar, select Console -> Add Remove Snap In 3) Click the "Add" button. Select the Certificates snap in, and then click "Add" again 4) Choose the "Computer Account". Click Next. 5) Select "Local Computer" Click Finish. 6) Now click "Close" and then "OK" 7) Now expand the "Certificates" object in the MMC and drill down to Personal -> Certificates. 8) You should see your existing cert. listed...
