Life is good

Sharing is better

Free is the best!

Windows Events log showing "database starting up "database name" constantly

When you check the events, you see the annoying event pops up every few minutes. I finally figured out how to solve it.

The reason was caused by Microsoft for some reason setup the Auto Close option to default. So the database wasn't used for a while, it will be closed automatically. Once programm call it, it will up again.

To turn it off, following these steps:

With your SQL Server Studio:

  1. Open SQL Management Studio and connect to the instance that hosts the WebMarshal database.
  2. In the left pane expand Databases, right-click the WebMarshal database, and select Properties.
  3. From the Properties window, select Options.
  4. Under the heading Automatic, change  "Auto Close" from True to False.
  5. Click OK to apply the change.

Or you can run a query to set it:

ALTER DATABASE [your database name] SET AUTO_CLOSE OFF WITH NO_WAIT

Notes:

This is not the error in event.

Send Mails in .NET

This site provides a good explanation on how to use Mail component in the .NET infrastructure.

http://www.c-sharpcorner.com/1/send_mai1l.asp

System.Web.Mail FAQ

System.Web.Mail FAQ

Advanced Programming Samples
3.1 How do I send non US-ASCII emails?
3.2 How do I send a web page?
3.3 How do I embed images in an email?
3.4 How do I email a website exception
3.5 How do I encrypt messages using s/mime or pgp?
3.6 How do I send multipart/related emails?
3.7 How do I send multipart/alternative emails?
3.8 How do I authenticate to send an email?

http://www.systemwebmail.com/faq/3.1.aspx

DirectShow for C#

I found a guy who developed a very useful library DirectShow to capture video.

A list of extended projects using this library are available at his URL:

http://www.limegreensocks.com/DShow/

Other related web site here:
http://www.dnzone.com/ShowDetail.asp?NewsId=224

Character Set Recognition

CharsetFriendlyName CharSet Value Aliases
Arabic (ASMO 708) ASMO-708  
Arabic (DOS) DOS-720  
Arabic (ISO) iso-8859-6 arabic, csISOLatinArabic, ECMA-114, ISO_8859-6, ISO_8859-6:1987, iso-ir-127
Arabic (Mac) x-mac-arabic  
Arabic (Windows) windows-1256 cp1256
Baltic (DOS) ibm775 CP500
Baltic (ISO) iso-8859-4 csISOLatin4, ISO_8859-4, ISO_8859-4:1988, iso-ir-110, l4, latin4
Baltic (Windows) windows-1257  
Central European (DOS) ibm852 cp852
Central European (ISO) iso-8859-2 csISOLatin2, iso_8859-2, iso_8859-2:1987, iso8859-2, iso-ir-101, l2, latin2
Central European (Mac) x-mac-ce  
Central European (Windows) windows-1250 x-cp1250
Chinese Simplified (EUC) EUC-CN x-euc-cn
Chinese Simplified (GB2312) gb2312 chinese, CN-GB, csGB2312, csGB231280, csISO58GB231280, GB_2312-80, GB231280, GB2312-80, GBK, iso-ir-58
Chinese Simplified (HZ) hz-gb-2312  
Chinese Simplified (Mac) x-mac-chinesesimp  
Chinese Traditional (Big5) big5 cn-big5, csbig5, x-x-big5
Chinese Traditional (CNS) x-Chinese-CNS  
Chinese Traditional (Eten) x-Chinese-Eten  
Chinese Traditional (Mac) x-mac-chinesetrad  
Cyrillic (DOS) cp866 ibm866
Cyrillic (ISO) iso-8859-5 csISOLatin5, csISOLatinCyrillic, cyrillic, ISO_8859-5, ISO_8859-5:1988, iso-ir-144, l5
Cyrillic (KOI8-R) koi8-r csKOI8R, koi, koi8, koi8r
Cyrillic (KOI8-U) koi8-u koi8-ru
Cyrillic (Mac) x-mac-cyrillic  
Cyrillic (Windows) windows-1251 x-cp1251
Europa x-Europa  
German (IA5) x-IA5-German  
Greek (DOS) ibm737  
Greek (ISO) iso-8859-7 csISOLatinGreek, ECMA-118, ELOT_928, greek, greek8, ISO_8859-7, ISO_8859-7:1987, iso-ir-126
Greek (Mac) x-mac-greek  
Greek (Windows) windows-1253  
Greek, Modern (DOS) ibm869  
Hebrew (DOS) DOS-862  
Hebrew (ISO-Logical) iso-8859-8-i logical
Hebrew (ISO-Visual) iso-8859-8 csISOLatinHebrew, hebrew, ISO_8859-8, ISO_8859-8:1988, ISO-8859-8, iso-ir-138, visual
Hebrew (Mac) x-mac-hebrew  
Hebrew (Windows) windows-1255 ISO_8859-8-I, ISO-8859-8, visual
IBM EBCDIC (Arabic) x-EBCDIC-Arabic  
IBM EBCDIC (Cyrillic Russian) x-EBCDIC-CyrillicRussian  
IBM EBCDIC (Cyrillic Serbian-Bulgarian) x-EBCDIC-CyrillicSerbianBulgarian  
IBM EBCDIC (Denmark-Norway) x-EBCDIC-DenmarkNorway  
IBM EBCDIC (Denmark-Norway-Euro) x-ebcdic-denmarknorway-euro  
IBM EBCDIC (Finland-Sweden) x-EBCDIC-FinlandSweden  
IBM EBCDIC (Finland-Sweden-Euro) x-ebcdic-finlandsweden-euro  
IBM EBCDIC (Finland-Sweden-Euro) x-ebcdic-finlandsweden-euro X-EBCDIC-France
IBM EBCDIC (France-Euro) x-ebcdic-france-euro  
IBM EBCDIC (Germany) x-EBCDIC-Germany  
IBM EBCDIC (Germany-Euro) x-ebcdic-germany-euro  
IBM EBCDIC (Greek Modern) x-EBCDIC-GreekModern  
IBM EBCDIC (Greek) x-EBCDIC-Greek  
IBM EBCDIC (Hebrew) x-EBCDIC-Hebrew  
IBM EBCDIC (Icelandic) x-EBCDIC-Icelandic  
IBM EBCDIC (Icelandic-Euro) x-ebcdic-icelandic-euro  
IBM EBCDIC (International-Euro) x-ebcdic-international-euro  
IBM EBCDIC (Italy) x-EBCDIC-Italy  
IBM EBCDIC (Italy-Euro) x-ebcdic-italy-euro  
IBM EBCDIC (Japanese and Japanese Katakana) x-EBCDIC-JapaneseAndKana  
IBM EBCDIC (Japanese and Japanese-Latin) x-EBCDIC-JapaneseAndJapaneseLatin  
IBM EBCDIC (Japanese and US-Canada) x-EBCDIC-JapaneseAndUSCanada  
IBM EBCDIC (Japanese katakana) x-EBCDIC-JapaneseKatakana  
IBM EBCDIC (Korean and Korean Extended) x-EBCDIC-KoreanAndKoreanExtended  
IBM EBCDIC (Korean Extended) x-EBCDIC-KoreanExtended  
IBM EBCDIC (Multilingual Latin-2) CP870  
IBM EBCDIC (Simplified Chinese) x-EBCDIC-SimplifiedChinese  
IBM EBCDIC (Spain) X-EBCDIC-Spain  
IBM EBCDIC (Spain-Euro) x-ebcdic-spain-euro  
IBM EBCDIC (Thai) x-EBCDIC-Thai  
IBM EBCDIC (Traditional Chinese) x-EBCDIC-TraditionalChinese  
IBM EBCDIC (Turkish Latin-5) CP1026  
IBM EBCDIC (Turkish) x-EBCDIC-Turkish  
IBM EBCDIC (UK) x-EBCDIC-UK  
IBM EBCDIC (UK-Euro) x-ebcdic-uk-euro  
IBM EBCDIC (US-Canada) ebcdic-cp-us  
IBM EBCDIC (US-Canada-Euro) x-ebcdic-cp-us-euro  
Icelandic (DOS) ibm861  
Icelandic (Mac) x-mac-icelandic  
ISCII Assamese x-iscii-as  
ISCII Bengali x-iscii-be  
ISCII Devanagari x-iscii-de  
ISCII Gujarathi x-iscii-gu  
ISCII Kannada x-iscii-ka  
ISCII Malayalam x-iscii-ma  
ISCII Oriya x-iscii-or  
ISCII Panjabi x-iscii-pa  
ISCII Tamil x-iscii-ta  
ISCII Telugu x-iscii-te  
Japanese (EUC) euc-jp csEUCPkdFmtJapanese, Extended_UNIX_Code_Packed_Format_for_Japanese, x-euc, x-euc-jp
Japanese (JIS) iso-2022-jp  
Japanese (JIS-Allow 1 byte Kana - SO/SI) iso-2022-jp _iso-2022-jp$SIO
Japanese (JIS-Allow 1 byte Kana) csISO2022JP _iso-2022-jp
Japanese (Mac) x-mac-japanese  
Japanese (Shift-JIS) shift_jis csShiftJIS, csWindows31J, ms_Kanji, shift-jis, x-ms-cp932, x-sjis
Korean ks_c_5601-1987 csKSC56011987, euc-kr, iso-ir-149, korean, ks_c_5601, ks_c_5601_1987, ks_c_5601-1989, KSC_5601, KSC5601
Korean (EUC) euc-kr csEUCKR
Korean (ISO) iso-2022-kr csISO2022KR
Korean (Johab) Johab  
Korean (Mac) x-mac-korean  
Latin 3 (ISO) iso-8859-3 csISO, Latin3, ISO_8859-3, ISO_8859-3:1988, iso-ir-109, l3, latin3
Latin 9 (ISO) iso-8859-15 csISO, Latin9, ISO_8859-15, l9, latin9
Norwegian (IA5) x-IA5-Norwegian  
OEM United States IBM437 437, cp437, csPC8, CodePage437
Swedish (IA5) x-IA5-Swedish  
Thai (Windows) windows-874 DOS-874, iso-8859-11, TIS-620
Turkish (DOS) ibm857  
Turkish (ISO) iso-8859-9 csISO, Latin5, ISO_8859-9, ISO_8859-9:1989, iso-ir-148, l5, latin5
Turkish (Mac) x-mac-turkish  
Turkish (Windows) windows-1254 ISO_8859-9, ISO_8859-9:1989, iso-8859-9, iso-ir-148, latin5
Unicode unicode utf-16
Unicode (Big-Endian) unicodeFFFE  
Unicode (UTF-7) utf-7 csUnicode11UTF7, unicode-1-1-utf-7, x-unicode-2-0-utf-7
Unicode (UTF-8) utf-8 unicode-1-1-utf-8, unicode-2-0-utf-8, x-unicode-2-0-utf-8
US-ASCII us-ascii ANSI_X3.4-1968, ANSI_X3.4-1986, ascii, cp367, csASCII, IBM367, ISO_646.irv:1991, ISO646-US, iso-ir-6us
Vietnamese (Windows) windows-1258  
Western European (DOS) ibm850  
Western European (IA5) x-IA5  
Western European (ISO) iso-8859-1 cp819, csISO, Latin1, ibm819, iso_8859-1, iso_8859-1:1987, iso8859-1, iso-ir-100, l1, latin1
Western European (Mac) macintosh  
Western European (Windows) Windows-1252 ANSI_X3.4-1968, ANSI_X3.4-1986, ascii, cp367, cp819, csASCII, IBM367, ibm819, ISO_646.irv:1991, iso_8859-1, iso_8859-1:1987, ISO646-US, iso8859-1, iso-8859-1, iso-ir-100, iso-ir-6, latin1, us, us-ascii, x-ansi
This table is taken from http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/charsets/charset4.asp

Prev    1 2 3 4 5 6 7 8 9     Next >>
 
Home| Articles | Gallery | Resources| About | Contact

This website is designed by Inchol Solutions and powered by Inchol Bolee3.0 CMS   Copyright © wenjunw.com All rights reserved