简体   繁体   English

Microsoft VBScript运行时错误'800a01a8'

[英]Microsoft VBScript runtime error '800a01a8'

I'm typically a java developer but was asked to "tweak" a small ASP app my organization has. 我通常是Java开发人员,但被要求“调整”的小ASP应用我组织了。 It basically accepts user input into a form and then emails the data. 它基本上接受用户输入表单,然后通过电子邮件发送数据。 In my sendmail.asp file I set a session attribute ( Session("emailText") = message ) and then redirect to page printResults.asp. 在我sendmail.asp文件我设置会话属性( Session("emailText") = message ),然后重定向到页面printResults.asp。

That page is basically an HTML page with a single line of VBScript code at line 21: <%Response.Write(Session.Contents("emailText")) %> . 该页面基本上是一个HTML页面,在第21行有一行VBScript代码: <%Response.Write(Session.Contents("emailText")) %>

This all works on my local IIS server but when I deployed it to the host server to test & demo it I got this error: 这一切都可以在我的本地IIS服务器上使用,但是当我将其部署到主机服务器以进行测试和演示时,出现了此错误:

Microsoft VBScript runtime 
error '800a01a8' 
Object required: '' 
/sub3/printResults.asp, line 21 

Since I am new to ASP I have no clue why this would work locally but not on the host server. 由于我是新来的ASP我不知道为什么会在本地而不是工作在主机服务器上。 Any ideas or suggestions would be most helpful. 任何想法或建议将是最有帮助的。

Is it possible that Session State has been disabled either in IIS or elsewhere in code? 是否有可能在IIS或代码中的其他地方禁用了会话状态?

When you redirect to printResults.asp are you staying in the same domain and sub-domain (session state will not be maintained between domain/sub-domains) and not switching between HTTP/HTTPS (sessions may have been set to HTTP only)? 当您重定向到printResults.asp时,您是停留在相同的域和子域中(会话状态将不会在域/子域之间保持)并且不在HTTP / HTTPS之间切换(会话可能仅设置为HTTP)?

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Microsoft VBScript运行时错误&#39;800a01a8&#39;:必需的对象 - Microsoft VBScript runtime error '800a01a8' : object required 是什么导致Microsoft VBScript运行时错误&#39;800a01a8&#39; - What's causing Microsoft VBScript runtime error '800a01a8' ASP ADO连接Microsoft VBScript运行时错误&#39;800a01a8&#39; - asp ADO connection Microsoft VBScript runtime error '800a01a8' 正在获取“ Microsoft VBScript运行时错误&#39;800a01a8&#39;” - Getting “Microsoft VBScript runtime error '800a01a8'” 创建对象时的经典ASP Microsoft VBScript运行时错误&#39;800a01a8&#39; - Classic ASP Microsoft VBScript runtime error '800a01a8' when Creating Object 为什么我在从第 3 方 API 加载 XML 时收到“800a01a8”Object 必需错误? - Why am I getting a '800a01a8' Object required error when loading XML from 3rd party API? 如何在VBScript(经典ASP)中解决运行时错误(&#39;800a01a8&#39;)? - How to resolve runtime error ('800a01a8' ) in VBScript (classic ASP)? VBScript运行时错误&#39;800a01a8&#39;所需对象: - VBScript runtime error '800a01a8' Object required: VBScript运行时错误&#39;800a01a8&#39;,所需对象:使用WScript.Quit时 - VBScript runtime error '800a01a8', Object required: '' when using WScript.Quit 将经典ASP站点移至新服务器,现在在Conn.Execute中返回“ VBScript运行时错误&#39;800a01a8&#39;对象必需” - Moved a Classic ASP site to a new server, now “VBScript runtime error '800a01a8' Object required” returned on Conn.Execute
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM