Data Access Worldwide Knowledge Base
Article ID 2301 Article Title ERRORS: WebApp Error 317; Failed to initialize application event log Article URL http://www.dataaccess.com/kbasepublic/KBPrint.asp?ArticleID=2301 KBase Category WEB APPLICATIONS Date Created 04/03/2007 Last Edit Date 04/05/2007
Article Text
PROBLEM:
In my Windows Event log (Application Branch) I find the following error;
Event Type: Error
Event Source: Visual DataFlex 11.1 Web Application Server
Event Category: None
Event ID: 317
Date: 3-4-2007
Time: 8:42:15
User: N/A
Computer: MYLAPTOP
Description:
Failed to initialize application event log: Unable to open C:\DemoApp\Programs\webapp.log. Error 0x80030021
I tried to solve it by stopping the web server service, removed the webapp.log file from disk and started the server again. However that did not help. How can I solve it?
ANSWER:
The error code mentioned is they key to the problem. The error 0x80030021 equals to STG_E_LOCKVIOLATION which is described as "Access denied because another caller has the file open and locked."
This means that you probably have another web application (possibly even in another version of web application server) that uses the very same log file.
Contributed By:
Vincent Oorsprong
Company: Data Access Worldwide
email: vincent.oorsprong@dataaccess.eu
Web Site: http://www.dataaccess.eu
Email this Article
Email this Article to a Colleague
Send Feedback on this Article to Data Access Worldwide
Copyright ©2010 Data Access Corporation. All rights reserved.
The information provided in the Data Access Technical Knowledge Base is provided "as is" without warranty of any kind. Data Access Corporation disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Data Access Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Data Access Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.