ASP.NET½¨Á¢WEBÍøÕ¾Ó¦ÓóÌÐòÖеķþÎñÆ÷´íÎó¡£
ÒÔÒÜϵͳÔËÐкܺõģ¬ÏÖÔÚÁ¬×î¼òµ¥µÄϵͳÔËÐÐÒ²»á³öÏÖÏÂÊö´íÎó£¿
ÕÒ²»µ½·½·¨:¡°Void System.ServiceModel.Diagnostics.EventLogger.UnsafeLogEvent(System.Diagnostics.TraceEventType, System.ServiceModel.Diagnostics.EventLogCategory, System.ServiceModel.Diagnostics.EventLogEventId, Boolean, System.String[])¡±¡£
˵Ã÷: Ö´Ðе±Ç° Web ÇëÇóÆÚ¼ä£¬³öÏÖδ´¦ÀíµÄÒì³£¡£Çë¼ì²é¶ÑÕ»¸ú×ÙÐÅÏ¢£¬ÒÔÁ˽âÓйظôíÎóÒÔ¼°´úÂëÖе¼Ö´íÎóµÄ³ö´¦µÄÏêϸÐÅÏ¢¡£
Òì³£ÏêϸÐÅÏ¢: System.MissingMethodException: ÕÒ²»µ½·½·¨:¡°Void System.ServiceModel.Diagnostics.EventLogger.UnsafeLogEvent(System.Diagnostics.TraceEventType, System.ServiceModel.Diagnostics.EventLogCategory, System.ServiceModel.Diagnostics.EventLogEventId, Boolean, System.String[])¡±¡£
Ô´´íÎó:
Ö´Ðе±Ç° Web ÇëÇóÆÚ¼äÉú³ÉÁËδ´¦ÀíµÄÒì³£¡£¿ÉÒÔʹÓÃÏÂÃæµÄÒì³£¶ÑÕ»¸ú×ÙÐÅϢȷ¶¨ÓйØÒì³£ÔÒòºÍ·¢ÉúλÖõÄÐÅÏ¢¡£
¶ÑÕ»¸ú×Ù:
[MissingMethodException: ÕÒ²»µ½·½·¨:¡°Void System.ServiceModel.Diagnostics.EventLogger.UnsafeLogEvent(System.Diagnostics.TraceEventType, System.ServiceModel.Diagnostics.EventLogCategory, System.ServiceModel.Diagnostics.EventLogEventId, Boolean, System.String[])¡±¡£]
System.Runtime.CompilerServices.RuntimeHelpers.PrepareDelegate(Delegate d) +0
System.AppDomain.add_UnhandledException(UnhandledExceptionEventHandler value) +44
System.ServiceModel.ServiceHostingEnvironment.HookADUnhandledExceptionEvent() +5
Ïà¹ØÎÊ´ð£º
ÎÒ×öÁËÒ»¸öasp.netµÄÍøÒ³£¬µ«½çÃæÌ«ÄÑ¿´£¬ÓÃʲô¹¤¾ß¿ÉÒÔÃÀ»¯Ï£¿
Ò»°ã¾ÍÊÇcssºÍflashÁË.
»òÕßÓÃһЩµÚÈý·½µÄasp.net¿Ø¼þ.
ÎÒµÄÒ³ÃæÔÚ´óÒ»µãµÄÏÔʾÆÁÉϲ»»á×Ô¶¯ÉìËõ£¬Ôõô°ì£¿
ÃÀ¹¤°¡£¬CSS£¬²»»á°É£¬´´½¨Ò ......
ÎÒ×öÁËÒ»¸öasp.netµÄÍøÒ³£¬Àï±ßÓõÄÊÇsqlseverÊý¾Ý¿â£¬ÎÒÏë°ÑËû¹Òµ½¾ÖÓòÍøÉÏ£¬Ôõô°ÑÊý¾Ý¿â°óÉÏÈ¥£¿Ð»Ð»
¸øÄãÒ»¸öÁ¬½Ó×Ö·û´®µÄд·¨ÍøÕ¾£¬×Ô¼ºÕÕ×ÅÑù×Ó¸Ä
www.connectionstrings.com
http://zhidao.baidu.co ......
ÎÒʹÓÃODBCÁ¬½ÓsysbaseÊý¾Ý¿â£¬ÔÚasp.netÖÐÓÃSqlDataSourceÉèÖÃÊý¾ÝÁ¬½Ó£¬¹ý³ÌÖгöÏÖÒ»¸öµ¯³ö¿òûÓÐ˵Ã÷¾ÍÊÇÒ»¸ö¾¯¸æµÄͼ±ê¡¢Ò»¸öÈ·¶¨°´Å¥£¬µã»÷¼ÌÐø£¬Äܹ»Íê³É²éѯ¡£ÔÚä¯ÀÀÆ÷ÉÏÔËÐÐʱ»¹Êǵ¯³öÄǸöµ¯³ö¿ò£¬±ØÐëµã»÷² ......
rt ÎÒÉú³ÉµÄÎļþµÄ±£´æ¶¼ÊÇutf-8 ÈçºÎÄÜÊÖ¶¯¿ØÖƳÉASCII
System.IO.File.WriteAllText(@"c:\a.txt", "hello", Encoding.ASCII);
ÄÇÊ×ÏÈ¿´Äã¶Á½øÀ´µÄÎļþÊǸöʲô±àÂë¸ñʽ,Èç¹ ......
ASP.NET ´íÎó ÎÞ·¨Ê¶±ðµÄ±ê¼Çǰ׺»òÉ豸ɸѡÆ÷¡°asp¡±
´úÂëÈçÏ£º
<%@ Page Language="C#" ContentType="text/xml" AutoEventWireup="true" CodeFile=" ......