java, c# , linux, program devloper: asp,asp.net 카테고리 글 목록http://blog1.phps.kr/blog.visualp.com2024-03-21T12:03:57+09:00Textcube 1.10.7 : Tempo primo윈도우 기반 , service 삭제 명령어java, tomcat, c#http://blog1.phps.kr/6392014-02-06T19:28:45+09:002014-02-06T19:28:43+09:00[원문]<A href="http://blog.naver.com/PostView.nhn?blogId=bamb99&logNo=100047208685&redirect=Dlog&widgetTypeCall=true"><BR>http://blog.naver.com/PostView.nhn?blogId=bamb99&logNo=100047208685&redirect=Dlog&widgetTypeCall=true</A><BR><BR>cmd>sc delete service_name<BR><BR>원문 참조 할 것 , 더 다양한 옵션들이 정리 되어 있음<p><strong><a href="http://blog1.phps.kr/639?commentInput=true#entry639WriteComment">댓글 쓰기</a></strong></p>iis 응용 프로그램 풀 (튜닝) cpu 점유율 관련 하여java, tomcat, c#http://blog1.phps.kr/6372014-02-03T17:01:26+09:002014-02-03T17:01:24+09:00[원문]<A href="http://blog.naver.com/mua2145/80141232258"><BR>http://blog.naver.com/mua2145/80141232258</A><BR><BR><BR><BR><p><strong><a href="http://blog1.phps.kr/637?commentInput=true#entry637WriteComment">댓글 쓰기</a></strong></p>asp, connection poolingjava, tomcat, c#http://blog1.phps.kr/6322014-01-23T18:08:23+09:002014-01-23T18:08:21+09:00<P>If you want to change it, you need to do this on the client, as Remus already mentioned. The client is creating the connection pool.</P>
<P>You can specify the connection pooling properties in your connection string that you use to connect to SQL Server. The most important properties are:</P>
<UL>
<LI><STRONG>Pooling</STRONG> : which can be true or false - use pooling or not
<LI><STRONG>MinPoolSize</STRONG> : minimum size of connection pool; default is 10
<LI><STRONG>MaxPoolSize</STRONG> : maximum size of connection pool; default is 100 </LI></UL>
<P>So if you want to enable pooling and have min. 20, max. 250 connections, you could use this connection string:</P><PRE class="lang-sql prettyprint prettyprinted" sizset="0" sizcache042194520241952904="3"><CODE><SPAN class=pln>server</SPAN><SPAN class=pun>=</SPAN><SPAN class=pln>MyServer</SPAN><SPAN class=pun>;</SPAN><SPAN class=kwd>database</SPAN><SPAN class=pun>=</SPAN><SPAN class=pln>MyDatabase</SPAN><SPAN class=pun>;</SPAN><SPAN class=pln>Pooling</SPAN><SPAN class=pun>=</SPAN><SPAN class=pln>True</SPAN><SPAN class=pun>;</SPAN><SPAN class=pln>Min Pool Size</SPAN><SPAN class=pun>=</SPAN><SPAN class=lit>25</SPAN><SPAN class=pun>;</SPAN><SPAN class=pln>Max Pool Size</SPAN><SPAN class=pun>=</SPAN><SPAN class=lit>250</SPAN></CODE></PRE>
<P>For more details, see the MSDN docs or check out the <A href="http://www.connectionstrings.com/" rel=nofollow>Connection Strings</A> web site.</P>
<P>Marc</P><p><strong><a href="http://blog1.phps.kr/632?commentInput=true#entry632WriteComment">댓글 쓰기</a></strong></p>iis 접속자 수 확인하기java, tomcat, c#http://blog1.phps.kr/6312014-01-23T18:01:56+09:002014-01-23T18:01:54+09:00<P>netstat -an | find "80" | find /c "ESTABLISHED"<BR><BR>80 is port number<BR><BR>if i set port number , i get total of port number !</P><p><strong><a href="http://blog1.phps.kr/631?commentInput=true#entry631WriteComment">댓글 쓰기</a></strong></p>대용량 파일 다운로드java, tomcat, c#http://blog1.phps.kr/5332012-11-20T17:43:39+09:002012-11-20T17:43:37+09:00<BR>홈페이지(Homepage)를 방문한 Client에게 대용량의 파일(File)을 다운로드할 수 있게 하려면 다음과 같이 구현합니다.<BR><BR>
<DIV style="TEXT-ALIGN: center; CLEAR: both" class="imageblock center"><SPAN rel="lightbox" target="_blank"><IMG alt="" src="http://cfile6.uf.tistory.com/image/186C87484D64554B019236" width=576 height=132></SPAN></DIV><BR>보통 WriteFile보다는 메모리 버퍼(Buffer)를 통하지 않는 TransmitFile가 더 나은 성능을 나타냅니다.<p><strong><a href="http://blog1.phps.kr/533?commentInput=true#entry533WriteComment">댓글 쓰기</a></strong></p>asp,dateadd,날자 관련함수java, tomcat, c#http://blog1.phps.kr/5252012-10-23T18:17:24+09:002012-10-23T18:17:21+09:00<P>[원문] - <A href="http://www.chrishardy.co.uk/asp/tutorials/dateadd.asp">http://www.chrishardy.co.uk/asp/tutorials/dateadd.asp</A><BR><BR><%<BR> sDate = Now()<BR> sNewDate = DateAdd("m", 1, sDate)<BR> sMonthNext = Monthname(Month(sNewDate))<BR>%></P><PRE>s - Second
n - Minute
h - Hour
d - Day
y - Day of year
w - Weekday
ww - Week of year
m - Month
q - Quarter
yyyy - Year
</PRE><p><strong><a href="http://blog1.phps.kr/525?commentInput=true#entry525WriteComment">댓글 쓰기</a></strong></p>mssql date 타입 시간차 계산java, tomcat, c#http://blog1.phps.kr/5182012-10-11T10:27:22+09:002012-10-04T12:20:14+09:00<DIV style="FONT-FAMILY: '957287_9'; FONT-SIZE: 9pt" class=view _cssquery_UID="32">
<P>[원문] : <A href="http://blog.naver.com/PostView.nhn?blogId=hhth1115&logNo=140155762500">http://blog.naver.com/PostView.nhn?blogId=hhth1115&logNo=140155762500</A><BR><BR><BR>declare @i datetime, @j datetime -- 시작 시간, 완료시간</P>
<P>set @i='2002-01-02 10:22:22'<BR>set @j ='2002-01-03 22:23:24'</P>
<P>declare @z int<BR>select @z=DATEDIFF(SECOND, @i,@j) -- 시작시간과 완료시간의 차이(초)</P>
<P>select right('0' + convert(varchar, @z/(60*60)),2) + ':'<BR>+ right('0' + convert(varchar,@z % (60*60) /60),2) + ':'<BR>+ right('0' + convert(varchar,(@z % (60*60))%60),2)</P>
<P>결과<BR>--------------------------------------<BR>36:01:02<BR><BR>핵심은 : <FONT color=#ff0000><STRONG>DATEDIFF 함수를 사용 한다는 것과 , 초로 변환된 값을 가지고 , 시간차를 계산 한다는 부분 입니다. </STRONG></FONT></P></DIV><p><strong><a href="http://blog1.phps.kr/518?commentInput=true#entry518WriteComment">댓글 쓰기</a></strong></p>asp + ajax (외부 파일 ajax)java, tomcat, c#http://blog1.phps.kr/5152012-09-11T17:17:00+09:002012-09-11T17:16:57+09:00Response.AppendHeader("Access-Control-Allow-Origin", "*");<p><strong><a href="http://blog1.phps.kr/515?commentInput=true#entry515WriteComment">댓글 쓰기</a></strong></p>윈도우 2003 권한 설정 문제java, tomcat, c#http://blog1.phps.kr/5112012-08-31T10:48:45+09:002012-08-31T10:48:41+09:00[원문]http://smilestory.net/151<BR><BR>1. WWWROOT의 기본 권한 설정
<P>- 인터넷 게스트 계정(IIS-서버이름) = 쓰기 권한 거부<BR>(업로드 컴퍼넌트 사용시 업로드 폴더만 쓰기권한 부여 하시면 됩니다.)</P>
<P>- USERS 그룹계정 과 II_WPG(IIS 작업자 프로세스 그룹) = 읽기 및 실행, 폴더내용보기, 읽기 권을 부여하시고</P>
<P>- ADMINISTRATORS, SYSTEM = 모든 권한 부여 하시며</P>
<P>- CREAT OWNER = 루드에서 상속받은 권한 그대로 두시면됩니다.(잠금된 상태,특정권한)</P><BR>
<P>2. 업로드 폴더 문제</P>
<P>- 2003에서도 해당 폴더에서 인터넷 게스트 계정에 쓰기 권한을 주시면 됩니다. <BR><BR>권한을 상속받은 것이므로 먼저 상속 포기하신 후 고급탭 - 복사 하신 후 <BR><BR>돌아오셔서 쓰기 권한 거부에 체크 된 것을 없애고 쓰기에 허용을 체크 하시면 되겠죠.</P><p><strong><a href="http://blog1.phps.kr/511?commentInput=true#entry511WriteComment">댓글 쓰기</a></strong></p>php nusoap + .net webservice 연동시 한글 파라메터 처리java, tomcat, c#http://blog1.phps.kr/5102012-08-29T20:01:14+09:002012-08-29T20:01:11+09:00<P>[원문] : <A href="http://www.devpia.com/MAEUL/Contents/Detail.aspx?BoardID=7&MAEULNo=5&no=61939&ref=61382">http://www.devpia.com/MAEUL/Contents/Detail.aspx?BoardID=7&MAEULNo=5&no=61939&ref=61382</A><BR><BR><BR>snuoap.php의 <FONT color=blue>parseResponse</FONT> function 에서</P>
<P>아래와 같이 $this->xml_encoding setting하는 부분을 모두 주석처리하고,</P>
<P>항상 'ISO-8859-1'로 되도록 수정했습니다.</P>
<P>/*<BR>if (strpos($headers['content-type'], '=')) {</P>
<P>$enc = str_replace('"', '', substr(strstr($headers["content-type"], '='), 1));</P>
<P>$this->debug('Got response encoding: ' . $enc);</P>
<P>if(eregi('^(ISO-8859-1|US-ASCII|UTF-8)$',$enc)){</P>
<P>$this->xml_encoding = strtoupper($enc);</P>
<P>} else {</P>
<P>$this->xml_encoding = 'US-ASCII';</P>
<P>}</P>
<P>} else {</P>
<P>// should be US-ASCII for HTTP 1.0 or ISO-8859-1 for HTTP 1.1</P>
<P>$this->xml_encoding = 'ISO-8859-1';</P>
<P>}</P>
<P>*/</P>
<P><FONT color=blue>$this->xml_encoding = 'ISO-8859-1'; </FONT></P>
<P>그리고 .NET으로 만든 웹서비스에서 return되어 온 값은 </P>
<P>php의 iconv함수를 이용해서 아래와같이 변환을 하니</P>
<P>한글이 제대로 처리되었습니다.</P>
<P><FONT color=blue>iconv("UTF-8", "EUC-KR", 리턴값);</FONT></P>
<P>혹, 저처럼 php에서 nusoap.php를 이용해서 .NET 으로 개발된 웹서비스와 연동을 할 경우가</P>
<P>생기는 분이 계실까봐 자문 자답을 올립니다.</P><p><strong><a href="http://blog1.phps.kr/510?commentInput=true#entry510WriteComment">댓글 쓰기</a></strong></p>