posted by 준치 2008. 9. 1. 13:11
VMWare에 윈도우 비스타를 깔고 문제가 생겨 컴퓨터를 강제로 종료시킨 적이 있었다. 그런데 그 다음부터 VMWare로 설치 되어 있는 운영체제를 구동시키려고 하니 다음과 같은 에러가 뜨면서 실행이 되질 않았다.

Could not open virtual machine: E:\My Virtual Machinez\Windows Vista\Windows Vista.vmx. This virtual machine appears to be in use.

Configuration file: E:\My Virtual Machinez\Windows Vista\Windows Vista.vmx

가상머신이 현재 사용중이기 때문에 또 다른 가상머신을 띄울 수 없다는 메세지인데 VMWare를 띄운적이 없으므로 당연히 사용중인 가상운영체제는 존재하지 않는다. 혹시나 해서 윈도우를 껐다켜보고 VMware를 재시작 해봐도 역시 같은 메세지가 뜨고..

사용자 삽입 이미지

아무런 가상운영체제를 동작시키고 있지 않는데도 위와 같은 메세지가 뜬다면..?


결국 우리 구글씨에게 물어보니 첫페이지 첫번째 글에 적혀있는 답변을 찾아 주셨다..

해결법은 가상운영체제가 설치되어 있는 폴더로 가서 확장자가 .lck로 끝나는 모든 폴더와 파일을 삭제하면 된다.

그러면 다음과 같이 아무런 이상 없이 정상적으로 구동 될 것이다.

사용자 삽입 이미지
posted by ekfn 2008. 8. 31. 00:26
'type'을(를) 인식할 수 없습니다. 팁n해결

2008/07/18 13:25

복사 http://blog.naver.com/tateru78/120053994725

'/' 응용 프로그램에 서버 오류가 있습니다.
--------------------------------------------------------------------------------

구성 오류
설명: 이 요청을 제공하는 데 필요한 구성 파일을 처리하는 동안 오류가 발생했습니다. 아래의 오류 정보를 확인한 다음 구성 파일을 적절하게 수정하십시오.

파서 오류 메시지: 특성 'type'을(를) 인식할 수 없습니다.

소스 오류:


<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
   <section name="##.###.########.######.Web.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
  </sectionGroup>


--------------------------------------------------------------------------------
버전 정보: Microsoft .NET Framework 버전:1.1.4322.2300; ASP.NET 버전:1.1.4322.2300


->

ASP.NET 버전을 2.0 으로 변경해야함 

posted by 알 수 없는 사용자 2008. 8. 28. 14:37

시스템의 밀리초 구하기.(국제표준시각(UTC, GMT) 1970/1/1/0/0/0 으로부터 경과한 시각)
------------------------------------------------------------------
//밀리초 단위(*1000은 1초), 음수이면 이전 시각
long time = System.currentTimeMillis ( );
System.out.println ( time.toString ( ) );
------------------------------------------------------------------

현재 시각을 가져오기.
------------------------------------------------------------------
Date today = new Date ();
System.out.println ( today );
결과 : Sat Jul 12 16:03:00 GMT+01:00 2000
------------------------------------------------------------------

경과시간(초) 구하기
------------------------------------------------------------------
long time1 = System.currentTimeMillis ();
long time2 = System.currentTimeMillis ();
system.out.println ( ( time2 - time1 ) / 1000.0 );
------------------------------------------------------------------
 
Date를 Calendar로 맵핑시키기
------------------------------------------------------------------
Date d = new Date ( );
Calendar c = Calendar.getInstance ( );
c.setTime ( d );
------------------------------------------------------------------

날짜(년/월/일/시/분/초) 구하기
------------------------------------------------------------------
import java.util.*;
import java.text.*;

SimpleDateFormat formatter = new SimpleDateFormat ( "yyyy.MM.dd HH:mm:ss", Locale.KOREA );
Date currentTime = new Date ( );
String dTime = formatter.format ( currentTime );
System.out.println ( dTime );
------------------------------------------------------------------
 
날짜(년/월/일/시/분/초) 구하기2
------------------------------------------------------------------
GregorianCalendar today = new GregorianCalendar ( );
int year = today.get ( today.YEAR );
int month = today.get ( today.MONTH ) + 1;
int yoil = today.get ( today.DAY_OF_MONTH );
GregorianCalendar gc = new GregorianCalendar ( );
System.out.println ( gc.get ( Calendar.YEAR ) );
System.out.println ( String.valueOf ( gc.get ( Calendar.MONTH ) + 1 ) );
System.out.println ( gc.get ( Calendar.DATE ) );
System.out.println ( gc.get ( DAY_OF_MONTH ) );
------------------------------------------------------------------

날짜(년/월/일/시/분/초) 구하기3
------------------------------------------------------------------
DateFormat df = DateFormat.getDateInstance(DateFormat.LONG, Locale.KOREA);
Calendar cal = Calendar.getInstance(Locale.KOREA);
nal = df.format(cal.getTime());
------------------------------------------------------------------