ASP错误0223 - 找不到TypeLib,断断续续,在IIS重新启动后解析 [英] ASP Error 0223 - TypeLib Not Found, intermittent, resolved after IIS restart

查看:305
本文介绍了ASP错误0223 - 找不到TypeLib,断断续续,在IIS重新启动后解析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在将ASP平台从Windows 2003 R2 IIS 6 Web服务器迁移到Windows 2012 R2 IIS 8.5 Web服务器。我正处于将多个站点迁移到两个独立的2012 Web服务器的阶段,所有这些都看起来很棒,客户端和开发人员都很高兴...但是,在几天之后托管其中一个新服务器。

I'm currently in the process of migrating an ASP platform from Windows 2003 R2 IIS 6 web servers to Windows 2012 R2 IIS 8.5 web servers. I'm at the stage where I've migrated a number of sites across to two separate 2012 web servers, all looked great, clients and developers are happy... However the following error has presented itself after a few days hosting on one of the new servers.

Active Server Pages error 'ASP 0223'

TypeLib Not Found

/jobboard/conf/constants.vbs.inc, line 1

METADATA tag contains a Type Library specification that does not match any Registry entry.

METADATA标记如下:

The METADATA tag is below:

<!--METADATA TYPE="typelib" NAME="Microsoft ActiveX Data Objects 2.8 Library" UUID="{2A75196C-D9EB-4129-B803-931327F72D5C}" VERSION="2.8"-->

在此服务器上重新启动IIS解决了问题(尽管是暂时的)。

Restarting IIS on this server resolved the issue (albeit temporarily).

随后生产中的另一个2012年Web服务器在几天后再次出现相同的错误,再次重新启动IIS并暂时运行。

Subsequently the other 2012 web server in production presented the same error a couple of days later, again, restarted IIS and works for now.

我已经检查了注册表,并且相关标签存在正确的UUID和正确的权限。

I've checked the registry and the relevant tag exists with the right UUID and correct permissions.

它不会影响所有网站上的服务器,仅限特定应用程序池中的所有站点。

It doesn't affect all sites on the server, only all sites in a particular application pool.

应用程序池使用域用户标识,站点分为多个共享池。

The application pools use a domain user identity and sites are split up into a number of shared pools.

推荐答案

我现在已经确定导致上述问题的原因...

I've now determined what was causing the above problem...

我们在IIS上的站点运行在作为域用户运行的许多共享应用程序池中。我们还有一个Windows调度程序作业,它在夜间运行许多脚本,它们也作为同一个域用户运行。

Our sites on IIS run in a number of shared application pools running as a domain user. We also have a Windows scheduler job which runs a number of scripts over night which also run as the same domain user.

似乎有这种调度程序作业运行它的情况干扰IIS工作进程。当它完成并结束其用户会话时,它将卸载内存中的注册表文件,w3wp.exe进程也可以使用该文件。

It seems there are cases when this scheduler job runs it interferes with the IIS worker processes. When it completes and ends its user session it unloads the registry file in memory, which the w3wp.exe processes could also using.

此错误显示在事件日志中。 ..

This error is presented in the Event log...


Windows检测到您的注册表文件仍被其他
应用程序或服务使用。该文件现在将被卸载。保存您的注册表文件的
应用程序或服务可能在之后正常运行
。无需用户操作。

Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards. No user action is required.

以及对当前正在运行的w3wp.exe进程的引用。

Along with references to the w3wp.exe processes currently running.

当我作为域用户终端服务并在一段时间后再次注销时,它被复制了。事件日志显示错误,所有网站都在之后不久遭到轰炸。

It was replicated when I terminal serviced in as the domain user and logged out again after a period of time. The event log presented the error and the sites all bombed shortly afterwards.

以不同的用户身份运行预定作业已为我们解决了这个问题。

Running the scheduled job as a different user has fixed this issue for us.

这篇关于ASP错误0223 - 找不到TypeLib,断断续续,在IIS重新启动后解析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆