티스토리 툴바



Restart없이 IIS 재설정 하는 방법입니다.

 

ASP.NET Ver. 2.0에서 4.0으로 변경하기 위해서는

 

Command 창에서 닷넷 4.0이 설치가 되어있는 경로로 이동을 합니다.

 

C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319/

 

 

우선 웹 서버의 Meta ID를 이용해서 변경이 가능합니다. Meta ID를 확인하기 위해서는 아래와 같은 명령어로

 

등록된 웹서버의 Meta ID를 확인 할 수 있습니다.

 

 

C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319>aspnet_regiis lk

  

 

그러면 웹서버의 재 시작 없이 ASP.NET의 버전을 변경하기 위해서는 아래의 명령을 실행시키시면 됩니다.

 

 

C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319>aspnet_regiis -s w3svc/250310143/root -norestart

 

 

그러면 웹서버의 닷넷 버전이 4.0으로 변경되었음을 확인하실 수 있습니다.

 

 

 

참조 사이트 : http://www.mywindowsclub.com/resources/4487-How-change-NET-Framework-version-IIS.aspx

top

Trackback Address :: http://whiteblank.tistory.com/trackback/123 관련글 쓰기

  1. 유진상 2011/11/24 18:08 댓글주소 | 수정/삭제 | 댓글

    덕분에 버전이 아무리 해도 안바꿔졌는데

    감사합니다.

  2. 유진상 2011/11/24 18:12 댓글주소 | 수정/삭제 | 댓글

    한가지 더

    ASP.NET 웹 사이트에 관심이 많은데

    다른 사이트들은 업데이트가 이루어질 때는 어떻게 하나요?

    제가 해보면

    자주 사용되는 웹 페이지(include 되는 페이지들) 또는

    bin 폴더 안에 파일이 변경/추가/삭제 되면 엄청 오랫동안 접속을 못받아요

    이같은 문제를 최소화 할 수있는 방법은 없을까요? ㅠㅠ

    아니면 다른 웹 싸이트 들은 어떻게 하나요?

    제가 생각하고 잇는건 미러 웹 사이트로 일정 시간 호스팅을

    대신하다가 업데이트 한뒤 다시 돌려놓는건데 이거 말고

    더 뭔가 좋고 스페셜하며 퀄리티 있으며 특별한 아~ 그 뭐~

    말로 설명하기 어려운 환상적인거 없을까요?

Write a comment



top

Trackback Address :: http://whiteblank.tistory.com/trackback/122 관련글 쓰기

Write a comment



top

Trackback Address :: http://whiteblank.tistory.com/trackback/121 관련글 쓰기

  1. 2011/08/25 09:25 댓글주소 | 수정/삭제 | 댓글

  2. 2011/08/25 09:25 댓글주소 | 수정/삭제 | 댓글

Write a comment



http://www.coderun.com/ide/  

정말 최고네요~!!
top

Trackback Address :: http://whiteblank.tistory.com/trackback/120 관련글 쓰기

Write a comment


string currency = "USD" 


RegionInfo
regionInfo = (from culture in CultureInfo.GetCultures(CultureTypes.InstalledWin32Cultures)

                                 where culture.Name.Length > 0
                                 let region = new RegionInfo(culture.LCID)
                                 where String.Equals(region.ISOCurrencySymbol, currency, StringComparison.InvariantCultureIgnoreCase)

string currencySymbol = regionInfo.CurrencySymbol;


if currency = "USD" Then currencySymbol = "$"
if currency = "KRW" Then currencySymbol = "₩"
.......



화폐 약자를 입력하면 해당하는 화폐 심볼 기호를 얻게 되는 코드이다.

꽤 괜찮은 코드인듯.^^/

top

Trackback Address :: http://whiteblank.tistory.com/trackback/119 관련글 쓰기

Write a comment



자바스크립트에서 변수명을 일정하게 생성하기 위해서 eval을 열심히 사용했지만 선언되지 않은 변수라고 에러가 팍팍팍팍!!!

결국 구글링신의 힘을 빌려 알아낸 결과. window[] 라는 것을 알게 되었다.

역시 구글!!!!

Today I was looking for a decent way to have variable variables in . Because I work with a whole bunch of particularly bright people*, the answer to any question is always near. I figured I'd share today's little insight! First let's look about how we'd do this in PHP:

Suppose you have a variable named $i containing a numeric value. In this example it's 1 but it could be anything. You want to create a new variable named name1. In PHP you'd use the double $ way:

  1. $i=1;
  2. ${'name'.$i} = 'Marco';
  3. echo "got ".$name1;

When doing the same thing in Javascript, the dreaded eval() comes to mind:

  1. var i=1;
  2. eval('name' + i + ' = "Marco"');
  3. document.write('got ' + name1);

Nasty. We don't want to use eval() if we can avoid it. And most of the time we actually can! Here's a much more proper way of doing it, using the fact that all global variables are held in the window array.

  1. var i=1;
  2. window['name' + i] = 'Marco';
  3. document.write('got ' + name1);

There we go! Nice, clean and no eval() necessary.

* It's absolutely delightful to work with people who all excel in what they do without the often associated 'arrogant prick attitude'. I love my job! =)

출처 : http://www.i-marco.nl/weblog/archive/2007/06/14/variable_variables_in_javascri

top

Trackback Address :: http://whiteblank.tistory.com/trackback/118 관련글 쓰기

Write a comment


스트링 배열의 값을 Split으로 분리하고 이것을 다시 다른 구문자로

통합시키기 위해서 아래와 같은 코드를 사용하면 된다.

string.join(구분자, Array)


C# 코드


    string str = "test1/test2/test3";

    string[] arr = str.Split('/');

    string join = string.Join(",", arr);

    Response.Write(join);




결과 화면
=> test1,test2,test3

top

Trackback Address :: http://whiteblank.tistory.com/trackback/117 관련글 쓰기

Write a comment


Table없이 Div많으로 사이트 레이아웃을 설정하는 방법을 잘 정리된 Codeproject 사이트 페이지입니다.

http://www.codeproject.com/KB/HTML/webpage_layout_no_tables.aspx

top

Trackback Address :: http://whiteblank.tistory.com/trackback/116 관련글 쓰기

Write a comment




VS2008, VS2010에서 사용이 가능하며, 사이트로 예제가 구성되어 있다.

차트 종류 및 설정 등에 대한 설명이 잘되어 있으며, 특히 예제 소스가 있어서

개발하는데 많은 도움이 될 듯하다.^^/


top

Trackback Address :: http://whiteblank.tistory.com/trackback/115 관련글 쓰기

Write a comment



저번주 인수 받고 오늘 드디어 차량 이전 등록을 하였다.

등록대행업자들 참내 거기 직원인듯냥 달라붙어서 살살 도와주는 척하면서

돈달랜다..ㅡㅡ;; 콱마!!

아무튼 서류 모두 제출하고 취득록세 내고.. 취득록세 이거 참 무시 못할 돈이다.

제일 아까운 돈이라고 할 수 있지.. 공채는 무슨 매입도 안했는데 무슨 수수료까지 떼어가고 도독놈들.!!

아무튼 내 앞으로 된 라프를 보면서 참 뿌듯해 하는데

이참에 번호판도 바꿔 버릴까 하는 생각도 했는데 뭐 지금 있는 번호도 괜찮은 번호라 그냥 두기로 했다.

정말 한순간에 돈이 쓩 빠져나가니 정신이 하나도 없다..ㅜㅜ

아끼자 아껴!!!!!!!!!!!!

우선 이번주는 강촌으로 중거리 한번 뛰어주고

다음주는 부산으로 장거리 뛰어 줘야겠다..ㅋㅋㅋ 요고요고!! 힘 좀 써봐라.
top

Trackback Address :: http://whiteblank.tistory.com/trackback/114 관련글 쓰기

Write a comment


◀ PREV : [1] : [2] : [3] : [4] : [5] : ... [12] : NEXT ▶