如题所述
Windows 7 ç IIS ä¸åå¸ webserviceæä½å¦ä¸ï¼
ãã1ãå¨æ§å¶é¢æ¿->ç¨åºååè½->æå¼æå ³éWindowsåè½.æ¾å° "Internet ä¿¡æ¯æå¡",并å°å ¶åéå ¨é¨æä¸å¾ï¼å¼å¯äº IIS åè½ã
ãã2ãå¨å¼å¯ IIS å,å° æ§å¶é¢æ¿->管çå·¥å ·->Internetä¿¡æ¯æå¡(IIS)管çå¨,åå»æå¼ä¸ä¸ªæ°çæ§å¶é¢æ¿ã
ãã3ãæ¾å°ç½ç«->Default Web Site->æ·»å åºç¨ç¨åºï¼
ãã4ãå¡«ååºç¨ç¨åºçå«å,åºç¨ç¨åºæ± é»è®¤å°±å¯ä»¥,ç©çè·¯å¾éæ©ä¸ç¯æç« ä¸å»ºç«Webserviceæ¶æä¿åçè·¯å¾ï¼ç¶åç¹å» "è¿æ¥ä¸º" æé®ï¼
ãã5ãéæ©ç¹å®ç¨æ·, ç¹å»å³è¾¹ç "设置" æé® , å¡«åçµèçç¨æ·åè·å¯ç ,ç¨æ·åä¸è¬é»è®¤é½æ¯ administratorï¼
ãã6ãå¡«å好è¯æ®å,ç¹å» "æµè¯è®¾ç½®" æé®. å¨æµè¯è¿æ¥éé¢,å¦æ "身份éªè¯"è·"ææ"åé¢é½æäºç»¿è²çå¾,é£ä¹è¯´æé ç½®æåï¼è¿ä¸æ¥æ¯å¯¹äº IIS 访é®æéçé ç½®ãä¹å°±æ¯è·å¾ç³»ç»ç®¡çåæéã
ãã7ãæ¾å° IIS é项éé¢ç "ç®å½æµè§" , åå»æå¼æ°é¢æ¿ã
ãã8ãç¹å»éæ©æå³è¾¹ä¾§é¢ç "å¯ç¨" æé®ã
ãã9ãè¿éçå¯ç¨å¯ä»¥è®©æ们ææµè§åºç¨ç¨åºå é¨æ件ç®å½çæéï¼
ãã10ãç¹å»å³ä¾§çæµè§åºç¨ç¨åºï¼å¨åé¢å ä¸æ们ä¸ä¸ç¯æç« éæ°æ·»å ç "ä¸è¬å¤çç¨åº" Handler1.ashxå°±å¯ä»¥è®¿é®å°ååå¸å° IIS çç½ç«ã
ãã1ãå¨æ§å¶é¢æ¿->ç¨åºååè½->æå¼æå ³éWindowsåè½.æ¾å° "Internet ä¿¡æ¯æå¡",并å°å ¶åéå ¨é¨æä¸å¾ï¼å¼å¯äº IIS åè½ã
ãã2ãå¨å¼å¯ IIS å,å° æ§å¶é¢æ¿->管çå·¥å ·->Internetä¿¡æ¯æå¡(IIS)管çå¨,åå»æå¼ä¸ä¸ªæ°çæ§å¶é¢æ¿ã
ãã3ãæ¾å°ç½ç«->Default Web Site->æ·»å åºç¨ç¨åºï¼
ãã4ãå¡«ååºç¨ç¨åºçå«å,åºç¨ç¨åºæ± é»è®¤å°±å¯ä»¥,ç©çè·¯å¾éæ©ä¸ç¯æç« ä¸å»ºç«Webserviceæ¶æä¿åçè·¯å¾ï¼ç¶åç¹å» "è¿æ¥ä¸º" æé®ï¼
ãã5ãéæ©ç¹å®ç¨æ·, ç¹å»å³è¾¹ç "设置" æé® , å¡«åçµèçç¨æ·åè·å¯ç ,ç¨æ·åä¸è¬é»è®¤é½æ¯ administratorï¼
ãã6ãå¡«å好è¯æ®å,ç¹å» "æµè¯è®¾ç½®" æé®. å¨æµè¯è¿æ¥éé¢,å¦æ "身份éªè¯"è·"ææ"åé¢é½æäºç»¿è²çå¾,é£ä¹è¯´æé ç½®æåï¼è¿ä¸æ¥æ¯å¯¹äº IIS 访é®æéçé ç½®ãä¹å°±æ¯è·å¾ç³»ç»ç®¡çåæéã
ãã7ãæ¾å° IIS é项éé¢ç "ç®å½æµè§" , åå»æå¼æ°é¢æ¿ã
ãã8ãç¹å»éæ©æå³è¾¹ä¾§é¢ç "å¯ç¨" æé®ã
ãã9ãè¿éçå¯ç¨å¯ä»¥è®©æ们ææµè§åºç¨ç¨åºå é¨æ件ç®å½çæéï¼
ãã10ãç¹å»å³ä¾§çæµè§åºç¨ç¨åºï¼å¨åé¢å ä¸æ们ä¸ä¸ç¯æç« éæ°æ·»å ç "ä¸è¬å¤çç¨åº" Handler1.ashxå°±å¯ä»¥è®¿é®å°ååå¸å° IIS çç½ç«ã
温馨提示:答案为网友推荐,仅供参考