전체 글

전체 글

    윈도우 업데이트 에러 0x80070422

    필요한 서비스가 실행 중이 아닐 경우 이 문제가 발생할 수 있습니다. ~ 2003 이하버전sc config wuauserv start= auto sc config bits start= auto sc config DcomLaunch start= auto net stop wuauserv net start wuauserv net stop bits net start bits net start DcomLaunch vista~ 이상버전 REM 관리자 권한으로 실행 sc config wuauserv start= auto sc config bits start= auto sc config DcomLaunch start= auto net stop wuauserv net start wuauserv net stop bits ..

    IIS7 에서는 일반연결(http) 와 보안연결(https) 간 세션유지가 되지 않습니다.

    IIS7 에서는 일반연결(http) 와 보안연결(https) 간 세션유지가 되지 않습니다.

    기본적으로 IIS7 은 http 연결과 https 연결의 세션을 별도로 관리 합니다. 그렇기 때문에 https 페이지에서 http 페이지로 넘어오게 되면 도메인이 같더라도 세션정보가 보이지 않게됩니다. 일단 해결방법은 다음과 같습니다. 기본적으로 보안 연결(HTTPS) 로의 접속시 세션이 별도의 영역에서 사용되도록 되어 있습니다. 보안 연결(HTTPS) 연결을 사용시에는 일반 연결(HTTP) 과는 별도의 영역으로 분리되어 세션이 서로 다른 사이트처럼 운영이 됩니다. 그렇기때문에 이를 하나의 사이트로 운영하기 위해서는 반드시 보안 연결의 새 ID 를 False 로 설정해야 합니다.

    백업기록 조회

    MSSQL 2005 이상부터 사용이 가능합니다. IF OBJECT_ID('TEMPDB..#TMP_BACKUPHISTORY') IS NOT NULL DROP TABLE #TMP_BACKUPHISTORY SELECT * INTO #TMP_BACKUPHISTORY FROM (select s.server_name, s.database_name, workname = s.name, s.backup_set_id, s.backup_finish_date,mdf_file=f.physical_name , backup_file = m.physical_device_name ,f.file_sizefrom msdb..backupset s, msdb..backupmediafamily m , msdb..backupfile fwhere..