iisÎÞ·¨ä¯ÀÀaspÎļþ½â¾ö·½·¨
Ò»´óÔçÆðÀ´×°IIS¡£ÏÖÔÚÖÕÓÚ×°ºÃÁË¡£Ê®·Ö¸ÐлÒÔϵIJ©ÎÄ£¬ÌØת¹ýÀ´·ÖÏí :)
תÖÁ£ºhttp://blog.sina.com.cn/s/blog_50070c4c0100bkq6.html
ÿÿװIIS£¬×Ü»áÅöµ½ÕâÑùÄÇÑùµÄÎÊÌ⣬´ÓÄ¿Ç°·´Ó¦Çé¿öÀ´¿´£¬IIS°²×°ºó¿Éä¯ÀÀHTML¾²Ì¬Îļþ£¬È´ÎÞ·¨ä¯ÀÀaspΪºó׺µÄ¶¯Ì¬Ò³Ãæ¡£
ͨ¹ý¼¸´Îµ÷ÊÔºó£¬ÕÒµ½ÒÔϼ¸ÖÖ·½·¨£¬ÕâЩ·½·¨¶¼²Î¿¼ÍøÂç¸÷¸ö½éÉÜ£¬²¢Í¨¹ýÁ˱¾È˵IJâÊÔ¡£Ï£ÍûÄܸø´ó¼Ò¼õÉÙIIS°²×°¹ÊÕÏ´øÀ´µÄ·³ÄÕ¡£
Ò»°ãÀ´Ëµ£¬¶ÔÓڴ˹ÊÕÏͨ³£¶¼·¢ÉúÔÚÕâôһÖÖÇé¿ö£¬¼´windows xp ghost°æ±¾¡£ºÜÈÝÒ×Àí½â£¬ghostÖÆ×÷·½Í¨³£ÎªÁ˸øϵͳ¼õ·Ê£¬°ÑÆÕͨÓû§²»ÐèÒªµÄ·þÎñ¸øÍ£Ö¹ÁË£¬½á¹ûµ¼Öµ±ÎÒÃÇÐèҪʹÓÃһЩ²»³£ÓõķþÎñʱ£¬È´ÔõôҲ²»ÄÜÕý³£¡£ËùÒÔ£¬¶Ô´ó¶àÊý³õѧÕßÀ´Ëµ£¬Èç¹ûÄãÏëʹÓÃIIS£¬ÄÇôÄãʹÓð²×°°æµÄ²Ù×÷ϵͳ±È½Ï·½±ã¡£
¶ÔÓÚaspÎļþÎÞ·¨´ò¿ª£¬htmlÈ´ÄÜÕý³£ä¯ÀÀ£¨Çë×¢Òâ´ËÌØÕ÷£¬²»ÒªÓëÆäËû´íÎó»ìÏý£©£¬Äã¿ÉÒÔ¿¼ÂÇÒÔÏÂÁ½ÖÖÇé¿ö¡£
Ò». ѸÀ×ÈǵĻö¡£
Èç¹ûѸÀ×´ò¿ªÁË£¬IIS¾Í»áʧЧ¡£ÒòΪѸÀ×»áÕ¼ÓÃϵͳ80¶Ë¿Ú£¬¶øIISµÄĬÈ϶˿ھÍÊÇ80£¬ËùÒÔ£¬ÓÐÈ˵±×ÅÄã¼ÒÃÅ¿Ú£¬Ä㵱Ȼ½ø²»È¥ÁË£¬ÊÂÇéºÃ°ì£¬°ÑѸÀ×Í˳ö¾ÍOKÁËÂï¡£
¶þ. windows©¶´²¹¶¡ËùÖ¡£
Ê×ÏÈ£¬Äã¼ì²éÏÂÊÇ·ñ°²×°ÁËKB939373²¹¶¡£¬¸üÐÂÎļþWindowsXP-KB939373-x86-CHS.exe²¹¶¡»áµ¼ÖÂaspÎļþÎÞ·¨Õý³£ÔËÐеġ£½â¾ö·½·¨£¬¿ªÊ¼——¿ØÖÆÃæ°å——Ìí¼Óɾ³ý³ÌÐò °ÑÏÔʾ¸üÐÂÑ¡ÉÏ£¬È»ºóÕÒµ½KB939373,жÔؼ´¿É¡£
KB939373£¬ÓÃÓÚ·ÀÖ¹¹¥»÷Õß¿ÉÄÜ»áÔ¶³ÌÀûÓôËÎÊÌâΣ¼°Ê¹Óà Internet ÐÅÏ¢·þÎñ (IIS) µÄ Windows ϵͳµÄ°²È«²¢»ñÈ¡¶Ô¸ÃϵͳµÄ¿ØÖÆȨµÄ·À·¶£¬µ«Õâ²¹¶¡ºÃÏñ±¾Éí¾ÍÓÐÎÊÌâ¡£
Èý. COM+Ó¦ÓóÌÐò´íÎó£¬Õâ¸öÆäʵÎÒҲûȥŪÇå³þ£¬ÒòΪÎÒÒ²ÊÇ°´ÕÕ±ðÈ˵ķ½·¨°´²½Åųý³öÀ´µÄ¡£ÏÂÃæÊDZðÈ˵IJ½Ö裬ÎÒ½èÓÃһϡ£
IIS·þÎñÆ÷³öÏÖ´íÎóµÄÔÒòºÜ¶à£¬Çë³¢ÊÔÒÔϲÙ×÷£º
1¡¢²é¿´ÍøÕ¾ÊôÐÔ——Îĵµ
¿´¿´ÆôÓÃĬÈÏÎĵµÖÐÊÇ·ñ´æÔÚ£ºindex.asp index.htm index.html (×îºÃÈ«¶¼ÓУ¬Ã»ÓпÉÌí¼Ó)
2¡¢²é¿´ÍøÕ¾ÊôÐÔ——Ö÷Ŀ¼
A¡¢±¾µØ·¾¶ÊÇ·ñÖ¸¶¨ÕýÈ·
B¡¢ÊÇ·ñ¹´Ñ¡“½Å±¾×ÊÔ´·ÃÎ
Ïà¹ØÎĵµ£º
Éý»ªÌṩÖÕÉíÃâ·ÑASP+access PHP+mysqlÐéÄâÖ÷»ú
Ò»£ºÉý»ªÍøÂç¿Æ¼¼ÓÐÏÞ¹«Ë¾,ÓëÉý»ªÍ¬ÔÚÕ¾³¤ÖÕÉíÃâ·Ñ¿Õ¼ä·ö³Ö¼Æ»®.
1¡¢×ð¾´µÄÓû§ÄúºÃ,Ò²ÐíÄú»¹ÔÚΪÿÄêÒ»½»µÄ¿Õ¼ä·ÑÓ÷¢³î,Ò²ÐíÄúÏë»ñµÃÒ»¸ö¸üÓÅÖʵĿռäÈ´²»ÏëͶÈëÌ«¶à,´ÓÏÖÔÚÆð ÕâЩÎÊÌ⽫ÓÈжø½â→Éý»ªÍøÂç←ÓëÉý»ªÍ¬ÔÚÕ¾³¤·ö³Ö¼Æ»®È«ÃæÆô¶¯¡£
2¡¢Ã»ÓÐ×¢²á¹«Ë¾ ......
COM½Ó¿ÚVCʵÏÖ,½Ó¿Ú:
[id(1), helpstring("method Test")] HRESULT Test([in] BSTR strInputA, [in] BSTR strInputB, [out,retval] VARIANT* result);
ASPµ÷Óãº
Set objCompInfo =server.CreateObject("×é¼þÔÚϵͳÖеÄÃû×Ö")
  ......
using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
namespace W ......
¡¡¡¡ÓÃASPʵÏÖËÑË÷²¢·ÖÒ³ÊÇÎÒ¼û´ó¶àÊý³ÌÐòÔ±ºÍ´ó¶àÊýÍøÕ¾³öÏÖÁ˲»ÄÜÕý³£·ÖÒ³µÄÎÊÌ⣬ËÑË÷³öÀ´µÄ½á¹ûµã»÷ÏÂÒ»Ò³Êý¾ÝÓÖÖض¨ÏòΪ³õʼµÄ½á¹û¡£ÊÇʲôÔÒòµ¹ÖÂÕâ¸öÎÊÌâÄØ£¿
¡¡¡¡Õâ¸öÎÊÌâÒ²ÊÇÔÚÎÒÔÚУÕýÔÚѧϰASPµÄʱºòÁ·Ï°ÊµÀýÖÐÓöµ½µÄÎÊÌ⣬³öÏÖÕâ¸öÎÊÌâºó£¬·´¸´µÄµ÷ÊÔ·´¸´µÄ¼ì²é´úÂ룬¿´À´¿´È¥´úÂëûÓв»±¨´íÒ²ÎÞÎó¡£× ......