IISÎÞ·¨·ÃÎÊasp£¡Ìáʾ£ºServer Application Error
IISÎÞ·¨·ÃÎÊasp£¡
½â¾ö°ì·¨£¡½ñÌì´ò¿ªµçÄÔ·¢ÏÖIISÎÞ·¨·ÃÎÊaspÒ³Ãæ¡£
Ìáʾ£ºServer Application Error È»ºó¾ÍÓÐÁËÏÂÃæµÄÒ»¶Î»°¡£
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.
ÔÚÍøÉϲéÁ˲é½â¾ö·½°¸ÈçÏÂ:
Ê×ÏÈÊÇasp³ÌÐò£¬ËÀÑ»·£¬ÒªÇ󣺿´Ò»ÏÂÄãµÄÒ³Ã涨ÒåͬÃûrsÊDz»ÊÇÌ«¶àÁË,±ÈÈçSet rs=Server.CreateObject("ADODB.Recordset")
Èç¹ûÌ«¶à,ÓпÉÄÜ»á·þÎñÆ÷±»Ëùס,½â¾ö°ì·¨,
1¡¢È¡²»Ò»ÑùµÄÃû×Ö£¬ÈçSet rs1=Server.CreateObject("ADODB.Recordset")
Set rs2=Server.CreateObject("ADODB.Recordset")
2¡¢°ÑSet rs=Server.CreateObject("ADODB.Recordset")·ÅÔÚÒ³Ãæ×²¿£¬Ã¿¸ö¶¼¿ÉÒÔµ÷Ó㬰ÑÆäËû¶àÓàµÄɾµô
»òÕߣºÔÚÒ³ÃæÖÐÏÔʽµØÊÍ·Å×ÊÔ´£º
rs.close
set rs=nothing
conn.close
set conn=nothing
1¡£ÓÒ¼üÎҵĵçÄÔ--¹ÜÀí--±¾µØÓû§ºÍ×飬¸øIUSR_»úÆ÷ÃûºÍIWAM_»úÆ÷ÃûÁ½¸öÓû§ÉèÖÃÃÜÂ룬ҪһÑù¡£
2¡£¿ªÊ¼--ÔËÐÐ--´òcmd£¬
È»ºócd D:InetpubAdminscripts£¨ÎÒµÄϵͳÔÚDÅÌ£©£¬
È»ºócscript.exe adsutil.vbs set w3svc/wamuserpass ÄãµÄÃÜÂ룬
È»ºócscript.exe adsutil.vbs set w3svc/anonymoususerpass ÄãµÄÃÜÂë
¿´Ò»Ï£¬ÐÐÁËûÓУ¿Èç¹û»¹²»ÐУ¬ÄÇô
cscript.exe synciwam.vbs -v£¬
È»ºóiisreset¡£
¾Ý˵¾Í¿ÉÒÔÁË,µ«Êǵ½×îºóÒ»²¿Ìáʾ8004e00fµÄ´íÎó,´Ë´íÎóÊÇMSDTC·þÎñ²»Õý³£Ôì³ÉµÄ,½â¾ö·½·¨:
Ê×ÏȽøÈë×é¼þ·þÎñ£¬²é¿´×é¼þ·þÎñ/¼ÆËã»ú/ÎҵĵçÄÔ/COM+Ó¦ÓóÌÐò£¬½á¹û±¨´í“COM+ ÎÞ·¨Óë Microsoft ·Ö²¼Ê½ÊÂÎñе÷³ÌÐò½»Ì¸”£¬ÎÞ·¨²é¿´ÀïÃæµÄ¶ÔÏó¡£
2¡¢½øÈëʼþ²é¿´Æ÷£¬·¢ÏÖmsdtc·þÎñûÓÐÕý³£Æô¶¯¡£
3¡¢É¾³ý×¢²á±íÖеļü£º
? HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesMSDTC
? HKEY_LOCAL_MACHINESOFTWAREMicrosoftMSDTC
? HKEY_CLASSES_ROOTCID
4¡¢Í£Ö¹MSDTC·þÎñ£ºnet stop msdtc
5¡¢Ð¶ÔØMSDTC·þÎñ£ºmsdtc -uninstall
6¡¢ÖØа²×°MSDTC·þÎñ£ºmsdtc -install
7¡¢È·ÈÏÔÚʼþ²é¿´Æ÷ÖÐmsdtc·þÎñÒѾÕý³£Æô¶¯[Õâ²½ºÜ¹Ø¼ü£¬Èç¹ûûÓУ¬ÖØÐÂÆô¶¯ÏµçÄÔ¿´¿´]
8¡¢ÖØÐÂÉèÖÃIISµÄIWAMÕ˺ÅÃÜÂë¡£[ÔÚ¼ÆËã»ú¹ÜÀí
Ïà¹ØÎĵµ£º
ASPÓëJSPµÄ±È½Ï
´Ó΢ÈíÍƳöÁËASP(ActiveServerPage)ºó£¬ËüÒÔÆäÇ¿´óµÄ¹¦ÄÜ£¬¼òµ¥Ò×ѧµÄÌصã¶øÊܵ½¹ã´óWEB¿ª·¢ÈËÔ±µÄϲ»¶¡£µ«ÊÇËüÈ´ÓÐ΢Èí²úÆ·µÄͨ²¡,Ö»ÄÜÔÚWindowsƽ̨ÏÂʹÓã¬ËäÈ»Ëü¿ÉÒÔͨ¹ýÔö¼Ó¿Ø¼þ¶øÔÚLINUXÏÂʹÓ㬵«ÊÇÆ书ÄÜ×îÇ¿´óµÄDCOM¿Ø¼þÈ´²»ÄÜʹÓ᣶øSUN¹«Ë¾ÔÚJAVAµÄ»ù´¡Ï¿ª·¢³öµÄJSP(Java ServerPages)ʵÏÖÁ˶ ......
ASPÈçºÎÁ¬½ÓÊý¾ÝÔ´£¿(ϵͳDSN)Öн¨Á¢µÄÊý¾ÝÔ´£¿
ASPÔõô½¨Á¢Á¬½Ó£¬²»ÊÇOLEDB·½Ê½£¬ÓÃODBCÖеēÓû§DSN”½¨Á¢µÄÊý¾ÝÔ´½øÐÐÁ¬½Ó£¿ÈçºÎ²Ù×÷£¿
ÎÊÌâ²¹³ä£ºÎÒµÄÊÇODBCÖеēÓû§DSN”²»ÊǓϵͳDSN”£¬“Óû§DSN”ÔõôÁ¬½Ó£¿¶øÇÒÎÒµÄÊý¾Ý¿âÓÐÃÜÂë¡£
ÌáÎÊÕߣºÄäÃû
×î¼Ñ´ð°¸
Set co ......
HTML:
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
<META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
<META HTTP-EQUIV="expires" CONTENT="0">
PHP£º
header("Expires: Mon, 26 Jul 1997 ......