Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 01:41 PM
Adrian Manic
Guest
 
Posts: n/a
Default ASP Response Object Error - but works fine in a Virtual Directory

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


  #2  
Old July 19th, 2005, 01:41 PM
Aaron [SQL Server MVP]
Guest
 
Posts: n/a
Default Re: ASP Response Object Error - but works fine in a Virtual Directory

> 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.)


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles