[Error Message Detail]
at Microsoft.SqlServer.MSXML6.ServerXMLHTTPClass.open(String bstrMethod, String bstrUrl, Object varAsync, Object bstrUser, Object bstrPassword)
I've checked all the registry about this. There's no problems.
I just unregistered the related dll with RegDllView v1.42. After then, I've registered the dll again.
And all the errors about this disappeared now.
I think it might be just wrong the registry path.
'RegDllView' must be very nice tool as I'm thinking.
But I think, it wasn't necessary to solve this problems. Maybe it might be ok by just using Regsvr32 command.
'Professional > ASP.NET' 카테고리의 다른 글
| [Error] Library not registered. (0) | 2011/08/26 |
|---|
하기의 내용은 단순히 본인의 이해를 돕고자 정리/기록한 내용입니다.
Enterprise Libary 3.0 기준
Validation application block(VAB)
Enterprise library 2007 CTP release 에 추가 됨.
Introduction
User 또는 다른 System 으로부터 입력을 받는 Application 은 반드시 그 데이터가 적절한 포맷에 부합하는지 확인해야한다. 예를 들면, 주민등록번호 포맷이라던가 신용 카드 번호, 이메일 주소 등이 그러하다. 이러한 데이터들은 반드시 Database 에 INSERT 되기 전에 검증(Validation Check) 가 선행되어야 하고, 검증이 실패한 경우 무엇이 문제였는지 알리는 에러 메세지가 나타나야 한다.
Enterprise Library - Validation Application Block(VAB)
1. Validator
- VAB 는 Validator 라고 불리는 클래스들로 구성된 라이브러리를 제공한다. 각각의 Validator 는 .NET Framework 데이터 타입을 검증하는 역할을 한다. 예를 들면, 하나의 Validator 는 문자열이 NULL 이 아닌지 여부를 체크하고, 또 다른 Vlidator 는 숫자 값이 특정 범위에 속하는지 체크한다.
- AND 또는 OR 연산을 사용하여 Composite Validators 를 만들어 사용할 수 있다. 또 Vlidators 그룹을 만들어 사용할 수도 있는데 이것을 Rule set 이라고 한다.
- Providing Validator Attrubutes List
- {} Microsoft.Practices.EnterpriseLibrary.Validation.Validators
- AndCompositeValidator
- AndCompositeValidator<T>
- DateRangeVlidatorAttribute
- IgnoreNullsAttribute
- Int32RangeValidatorAttribute
- NotNullValidator
- NotNullValidatorAttribute
- NullValidator
- NullValidatorAttribute
- OrCompositeValidator
- OrCompositeValidator<T>
- RangeBoundaryType
- RangeValidator<T>
- RegexValidator
- RegexVlidatorAttribute
- StringLengthValidator
- StringLengthValidatorAttribute
- StringRangeValidatorAttribute
- ValidatorAttribute
- ValidatorBase
- ValidatorBase<T>
- ValidatorCompositionAttribute
- ValidNumberValidator
- ValueAccessValidator
2. Including adapters for
ASP.NET
Windows Forms
AJAX
Windows Communications Framework(WCF)
Windows Presentation Framework(WPF)
3.Using VAB
① Validator Attribute Class 를 이용한 Validation
- 사용하고자 하는 Validator Attribute 를 Class에 추가하여, 이를 Validation Facade Class(Or Validation Factory Class) 에서 체크 한다.
- Validator Attribute 는 Library 에서 제공할 수도 있고 필요에 따라 만들어 사용할 수도 있다.
- 각각의 Validator Attribute 는 Ruleset name 으로 일종의 Grouping 이 가능하다. 즉, 하나의 Validator Class 는 여러개의 Validator Attribute 를 가질 수 있는데 이것을 필요에 따라 Ruleset name 으로 묶어서 Validation 이 가능하다.
더보기
② XML Configuration file(App.config, Web.config) 를 이용한 Validation
- App.config 또는 Web.config 파일에 XML 로 Validator 를 정의하고 이를 Validation Facade Class(Or Validation Factory Class) 에서 체크 한다.
- XML 은 Enterprise Library 에서 제공하는 [Enterprise Library Configuration] 을 이용하여 작성할 수도 있고, 직접 작성할 수도 있다.
- Ruleset name 으로 Grouping 이 가능하다. 즉, 하나의 Ruleset 은 여러개의 Property 또는 Feild, Method 속성을 가질 수 있고, 각각의 속성들은 다시 여러개의 Validator 를 가질 수 있다.
더보기
* ① 과 ② 는 Validation Facade Class(Or Validation Factory Class) 에서 Validation Type 을 어떻게 지정하느냐에 따라, 따로 또 같이 사용될 수 있다. 이러한 Validator Class 가 포함하고 있는 Validator 들 중에서도 어떤 Ruleset 을 쓸 것인가를 지정하여 사용할 수 있다.
'Professional > Enterprise Libary' 카테고리의 다른 글
| Microsoft Validation Application Block(VAB) (0) | 2010/10/28 |
|---|
So, I thought this program can alert me by email. Because I'm using smart phone, I can check my server status anywhere, anytime.
If you run this program, it'll make a folder on your computer.
The full path is "C:\Documents and Settings\%USERNAME%\My Documents\ServerStatus\Log" in Windows XP.
When the program save log file with .txt, It'll be a default path. If you want to change the path, you can select the path by using 'Search' button.
Put your IP address, Email and Log file path.
Once you click 'Start' button, you can not change anythings. The only when the program is stopped, you can change the items.
When you start this program, it'll send a ping to IP address which you setted.
In case of success, this program will keep sending a ping per a few minutes. Default interval is 60 minutes.
(You can set the interval on the program. Just put the number on the box by the minute.)
In case of fail, it'll stop the loop and send a mail to your Email address by your local SMTP server.
This is developed by .NET C#. And if you want to run this program, you should set your local SMTP server.
The way which you can set the local SMTP server makes reference to this.
You may don't need this, because this is made only for my convenience. But if there is anyone who wants this, I hope that I'll help them. So, If you have any questions or would like anything, don't hesitate to let me know. I'll be glad to receive feedback.
CheckingPing.exe

