Friday, March 06, 2009

วิธีแก้ไข Silverlight Error #2104 Could not download the silverlight application in IIS6

1. Adjust the Content Expiration Setting

You should adjust the content expiration setting to 1 minute. The following procedure outlines how to do this with IIS.

  1. Right-click  your Web Site and select Properties from the context menu.

  2. Select the HTTP Headers tab and click "Enable Content Expiration".

  3. Set the content to expire after 1 minute.

2. Register MIME Types and File Extensions

You must register some MIME types and file extensions so that the browser on the client's system can load the correct handler. You need to add the following types:

Extension

MIME Type

.xap

application/octet-stream

.xaml

application/xaml+xml

The .xap needs to have that mime type, in order to be able to be downloaded.

3. Execute permissions must be Scripts Only.

  1. Right-click  your Web Site and select Properties from the context menu.

  2. Select the Directory tab and change "Execute Permissions" to Script only.

http://weblogs.asp.net/javiervillarreal/archive/2008/06/14/silverlight-error-2104-could-not-download-the-silverlight-application-in-iis6.aspx

posted on Friday, March 06, 2009 6:51:25 PM (SE Asia Standard Time, UTC+07:00)  #    Comments [0]
 Friday, October 17, 2008

เข้าไปที่ command ของเครื่องที่ติดตั้ง Team Foundation Server

เข้าไปยัง directory "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE"

เรียกคำสั่ง TFSDeleteProject /server:ชื่อเครื่องserver ชื่อProject

แล้วให้ยืนยันอีกที (กด y)

เสร็จเรียบร้อย

posted on Friday, October 17, 2008 4:50:17 PM (SE Asia Standard Time, UTC+07:00)  #    Comments [1]
 Thursday, October 09, 2008
ใน Visual Studio 2008 จะไม่มี Template Project สำหรรับ Mobile Web เหมือนใน Visual Studio 2003 แต่สามารถ Download Template เพิ่มเติมได้จากที่นี่
http://blogs.msdn.com/webdevtools/archive/2007/09/17/tip-trick-asp-net-mobile-development-with-visual-studio-2008.aspx
posted on Thursday, October 09, 2008 5:24:07 PM (SE Asia Standard Time, UTC+07:00)  #    Comments [0]
 Wednesday, October 01, 2008

แหล่งรวม Tools สำหรับ Developer รวบรวมโดย Scott Hanselman

http://www.hanselman.com/blog/ScottHanselmans2007UltimateDeveloperAndPowerUsersToolListForWindows.aspx

 

posted on Wednesday, October 01, 2008 10:10:14 AM (SE Asia Standard Time, UTC+07:00)  #    Comments [0]
 Monday, August 25, 2008

HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\

PortNumber     REG_DWORD

posted on Monday, August 25, 2008 5:40:24 PM (SE Asia Standard Time, UTC+07:00)  #    Comments [0]
 Wednesday, May 28, 2008

วิธีป้องกัน SQL Injection ใน ASP.Net

MSDN:How To: Protect From SQL Injection in ASP.NET

MSDN:How To: Protect From Injection Attacks in ASP.NET

MSDN:Anti-Cross Site Scripting

posted on Wednesday, May 28, 2008 10:52:52 PM (SE Asia Standard Time, UTC+07:00)  #    Comments [0]