asp.net ´òÓ¡ ¾Ü¾ø·ÃÎÊ
²Î¿¼ http://topic.csdn.net/t/20040510/19/3051316.html
¿ªÊ¼
ÔËÐÐ
dcomcnfg
×é¼þ·þÎñÒ»ÏîÖÐÑ¡ÔñDcomÅäÖã¬ÕÒµ½Microsoft excelÓ¦ÓóÌÐò£¬²ì¿´ÊôÐÔ
°²È«Ñ¡ÏÖУ¬Æô¶¯È¨Ï޺ͷÃÎÊȨÏÞ£¬Èç¹ûΪÁË·½±ã£¬¿ÉÒÔÌí¼ÓEvery one(»òASPNET)µÄÓû§
¸³ÓèȨÏÞ£¬±êʶѡÏÖÐÑ¡Ôñ½»»¥Ê½Óû§
ÁíÍâ ÔÚWeb.configÖÐ Ìí¼ÓÄ£ÄâÓû§ <identity impersonate= "true "/>
Íê±ÏºóÖØÐÂÆô¶¯»úÆ÷
Ïà¹ØÎĵµ£º
asp.netÖе¼³öExeclµÄ·½·¨£º
ÔÚasp.netÖе¼³öExeclÓÐÁ½ÖÖ·½·¨£¬Ò»ÖÖÊǽ«µ¼³öµÄÎļþ´æ·ÅÔÚ·þÎñÆ÷ij¸öÎļþ¼ÐÏÂÃ棬Ȼºó½«ÎļþµØÖ·Êä³öÔÚä¯ÀÀÆ÷ÉÏ£»Ò»ÖÖÊǽ«ÎļþÖ±½Ó½«ÎļþÊä³öÁ÷д¸øä¯ÀÀÆ÷¡£ÔÚResponseÊä³öʱ£¬t·Ö¸ôµÄÊý¾Ý£¬µ¼³öexeclʱ£¬µÈ¼ÛÓÚ·ÖÁУ¬nµÈ¼ÛÓÚ»»ÐС£
1¡¢½«Õû¸öhtmlÈ«²¿Êä³öexecl
´Ë·¨½«htmlÖÐËùÓеÄÄÚÈÝ£ ......
HttpContext.Current.Request.Url.ToString() ²¢²»¿É¿¿¡£
Èç¹ûµ±Ç°URLΪ
http://localhost/search.aspx?user=http://csharp.xdowns.com&tag=%BC%BC%CA%F5
ͨ¹ýHttpContext.Current.Request.Url.ToString()»ñÈ¡µ½µÄÈ´ÊÇ
http://localhost/search.aspxuser=http://csharp.xdowns.com&tag=¼&fra ......
ѧϰASP.NETÖеÄApplication¡¢Session¡¢Cookie
1.Application½¨Á¢µÄ±äÁ¿£¬ÔÚϵͳÄÚ²¿Èκεط½¶¼¿ÉÒÔ·ÃÎÊ£¬Í¨³£ÍøÕ¾µØ·ÃÎÊͳ¼Æ¿ÉÄÜ»áÓõĽ϶ࡣÈç¹ûÒªÓõ½ApplicationÊ×ÏÈÔÚVS2005Öн¨Á¢Ò»¸öglobal.asaÎļþ¡£ÀýÈçÎÒÃÇҪдһ¸öÍøÕ¾·ÃÎÊÊýÁ¿µÄͳ¼ÆµÄ»°£¬ÔÚglobal.asaÖÐÏÈÉùÃ÷±äÁ¿iCount¡£ÈçÏÂËùʾ£º
  ......
protected void Page_Load(object sender, EventArgs e)
{
}
#region OnPreInit µÚÒ»²½
protected override void OnPreInit(EventArgs e)
{
//¼ì²é ......