By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,288 Members | 3,027 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,288 IT Pros & Developers. It's quick & easy.

ASP Response Object Error - but works fine in a Virtual Directory

P: n/a
H

We have a strange problem which I can not get my head around

The entry point of the application is a file called home.asp. First it includes some files that define constants, then is resets / creates a Cookie called PROCAT and then outputs a basic HTML page. The Body tag has an OnLoad event that gets called on the Client Side which does some processing and then loads the main page. The application uses COM components and SQL Server but home.asp is just a plain simple ASP file

On our Client's Test site the application works fine if it is a Virtual Directory. However as soon as it is moved to the root of the website problems occur - on loading home.asp we get the error ' 8004005 unspecified error line 25'. Line 25 happens to be the one that resets / creates an empty cookies

Response.Cookie("PROCAT") = "

The settings appear to be the same is IIS for both the Web Site and Virtual Directory and the physcial files are one and the same. It also seems to work fine if we jump into the application (i.e. straight to the main page) where cookie's are set at a later point

I can not reproduce this error on our development system - the application works fine wherever it is put

Thank

Adria
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
> Response.Cookie("PROCAT") = ""

Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'Response.Cookie'

???

Did you try Response.CookieS("PROCAT") = ""

--
http://www.aspfaq.com/
(Reverse address to reply.)
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.