473,466 Members | 1,397 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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
Jul 19 '05 #1
1 2325
> 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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: JR | last post by:
Hi, I'm migrating my website to an IIS 6.0 server and all the asp pages work fine except for the ones that reference include files, even though I have "Enable parent paths" enabled in the...
12
by: Brett Robichaud | last post by:
Is anyone familiar with this error? I have this running just fine on my local machine but when I pushed it out to our development server I get this error. I have no idea what it is saying. Any...
6
by: Binoy | last post by:
Hello, I am getting this error once in a while from my web sites. When I will refresh web browser, it goes off and sites are working fine. Directory structures and file names are as below- ...
4
by: caa | last post by:
We are intermittently getting the infamous Configuration error: "It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be...
8
by: Øyvind Isaksen | last post by:
Hello! I have made an asp.net application, and it works fine on my local computer. But when I transfer it to my webserver (here: http://dev1.softmaker.no/ld/), I get this error message: ...
0
by: Peter D. Dunlap | last post by:
I've got a site I'm working on that works fine using the VS2005 internal browser. I need to test it from another machine on the network, so I set up a new virtual directory in IIS (on Windows XP...
2
by: tshad | last post by:
I have set up a Virtual Directory underneath my normal Web Site in IIS 6 for 2 of our sites. One of them works file. The other one is giving me an error:...
1
by: =?ISO-8859-1?Q?Lasse_V=E5gs=E6ther_Karlsen?= | last post by:
I get the above error in some of the ASP.NET web applications on a server, and I need some help figuring out how to deal with it. This is a rather long post, and I hope I have enough details that...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.