독까의 이야기

Microsoft VBScript 런타임 오류 오류 '800a0046' 사용 권한이 없습니다.

/어디/무슨.asp 몇번째 줄


이렇게 나오면 해당 소스 뒤진 다음
     Set fso = server.CreateObject("Scripting.FileSystemObject")
     fileName = "DB_CON_LOG_"&date()
     filePath = home_dir2 & "Logs"

빨간 줄 쳐진 부분처럼 파일을 찾아서 해당 폴더에 "쓰기" 권한을 넣어준다.
filepath 의 "Logs" 라는 말은 해당 웹사이트의 디렉토리 중에 Logs 폴더를 말한다.

따라서, 해당 폴더에 IUSR 쓰기 권한 부여하면 사이트 정상으로 열린다.


서버 개체 오류 'ASP 0177 : 800401f3'

Server.CreateObject 실패


소스 확인하면 


Set Jpeg = Server.CreateObject("Persits.Jpeg") 


구글에 검색

Problem Description

When trying to create an instance of a Persits component, the line of code

Set obj = Server.CreateObject("Persits. <ProgID> ")

generates the following error (Windows NT/IIS4)

Server object error 'ASP 0177 : 800401f3' 
Server.CreateObject Failed 
Invalid class string

On Windows 2000/IIS5, the error message is

Server object, ASP 0177 (0x800401F3) 
Invalid ProgID.

Solution

This error means that either the component has not been registered on the server or the ProgID passed to the Server.CreateObject method is misspelled. On Windows 2003 and XP, it may also mean a permission problem on a system registry key.

Make sure the component DLL is present on the server. The exact physical location of the DLL is not important. To register the component on the server, open MS DOS prompt and type

c:\> regsvr32 c:\path\aspupload.dll

(you must use your component's appropriate path and file name).

The correct Persits component ProgID's and file names are listed in the following table:

NameFileProgID
AspEmailaspemail.dll"Persits.MailSender"
AspEncryptaspencrypt.dll"Persits.CryptoManager"
AspGridaspgrid.dll"Persits.Grid"
AspJpegaspjpeg.dll"Persits.Jpeg"
AspUploadaspupload.dll"Persits.Upload"
AspUseraspuser.dll"Persits.AspUser"
XUploadxupload.ocx"Persits.XUpload"
AspPDFasppdf.dll"Persits.PDF"

On Windows 2008, 2003 and XP, this error may also mean the component's ProgID key in the system registry has been assigned insufficient permissions. Run regedt32, open the key HKEY_CLASSES_ROOT\ProgID, select Permissions from the Edit menu, and grant the "Everyone" account Full Control over the key. See the table above for the correct ProgID values.


이렇듯 해당 모듈이 설치가 되어 있지 않아서 나오는 에러이다.

다운로드해서 설치해야 하는데 해당 모듈은 유료 프로그램으로 확인된다.