473,387 Members | 1,899 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

form data missing

When I submit a form to an asp page, the request.form is not getting the
data. This only happens on my local copy of IIS, and not on my web host.
It's a simple request.form, so I know it's not a coding issue.

The pages all load fine and access the MSAccess database perfectly. However,
when I submit a form
(even the login form) to another asp page, the data is not received by the
target page.

Why would this happen locally and not on the internet server? Is some
security setting causing this? I have Windows XP Pro SP2 running IIS 6.

Thanks,
Dominic
Jul 22 '05 #1
15 2759
Dominic Tocci wrote:
When I submit a form to an asp page, the request.form is not getting
the data. This only happens on my local copy of IIS, and not on my
web host. It's a simple request.form, so I know it's not a coding
issue.

The pages all load fine and access the MSAccess database perfectly.
However, when I submit a form
(even the login form) to another asp page, the data is not received
by the target page.

Why would this happen locally and not on the internet server? Is some
security setting causing this? I have Windows XP Pro SP2 running IIS
6.

Thanks,
Dominic


Does this page run:

test.asp

<%
Response.Write "test"
%>

If not, you need to be aware that ASP is turned off by default in IIS6. You
need to go into IIS Manager and turn it on:
http://www.aspfaq.com/show.asp?id=2147
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jul 22 '05 #2
Possibly this? http://support.microsoft.com/?id=308074

Ray at work

"Dominic Tocci" <nn***@toccionline.com> wrote in message
news:jb*******************@twister.nyc.rr.com...
When I submit a form to an asp page, the request.form is not getting the
data. This only happens on my local copy of IIS, and not on my web host.
It's a simple request.form, so I know it's not a coding issue.

The pages all load fine and access the MSAccess database perfectly. However, when I submit a form
(even the login form) to another asp page, the data is not received by the
target page.

Why would this happen locally and not on the internet server? Is some
security setting causing this? I have Windows XP Pro SP2 running IIS 6.

Thanks,
Dominic

Jul 22 '05 #3
Thanks, Ray. Unfortunately that doesn't seem to be the cause. I'm not using
any authentication and already have IE6. I thought it might be something
with SP2, because I recall this working in the past before I installed it.
Either that or it could be because I recently fixed my asp.net mappings by
running the Aspnet_regiis.exe utility.

Does that information help?

Thanks

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:ev**************@TK2MSFTNGP09.phx.gbl...
Possibly this? http://support.microsoft.com/?id=308074

Ray at work

"Dominic Tocci" <nn***@toccionline.com> wrote in message
news:jb*******************@twister.nyc.rr.com...
When I submit a form to an asp page, the request.form is not getting the
data. This only happens on my local copy of IIS, and not on my web host.
It's a simple request.form, so I know it's not a coding issue.

The pages all load fine and access the MSAccess database perfectly.

However,
when I submit a form
(even the login form) to another asp page, the data is not received by
the
target page.

Why would this happen locally and not on the internet server? Is some
security setting causing this? I have Windows XP Pro SP2 running IIS 6.

Thanks,
Dominic


Jul 22 '05 #4
Ha! That's pretty funny. Asp is definitely turned on. All the asp code on
the pages works except for retrieving the form data. And, again, it's only
on my local copy of IIS that this happens. The code itself works on my
webserver.

Thanks for the response anyway.

"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:OZ**************@TK2MSFTNGP11.phx.gbl...
Dominic Tocci wrote:
When I submit a form to an asp page, the request.form is not getting
the data. This only happens on my local copy of IIS, and not on my
web host. It's a simple request.form, so I know it's not a coding
issue.

The pages all load fine and access the MSAccess database perfectly.
However, when I submit a form
(even the login form) to another asp page, the data is not received
by the target page.

Why would this happen locally and not on the internet server? Is some
security setting causing this? I have Windows XP Pro SP2 running IIS
6.

Thanks,
Dominic


Does this page run:

test.asp

<%
Response.Write "test"
%>

If not, you need to be aware that ASP is turned off by default in IIS6.
You
need to go into IIS Manager and turn it on:
http://www.aspfaq.com/show.asp?id=2147
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Jul 22 '05 #5
Well, I wasn't trying to be funny.

Can you create a small repro of your problem? A short html page with a form
containing one testbox that submits to an asp page that simply writes the
request.form data? Show us the source for both pages.

Bob Barrows

Dominic Tocci wrote:
Ha! That's pretty funny. Asp is definitely turned on. All the asp
code on the pages works except for retrieving the form data. And,
again, it's only on my local copy of IIS that this happens. The code
itself works on my webserver.

Thanks for the response anyway.

"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:OZ**************@TK2MSFTNGP11.phx.gbl...
Dominic Tocci wrote:
When I submit a form to an asp page, the request.form is not getting
the data. This only happens on my local copy of IIS, and not on my
web host. It's a simple request.form, so I know it's not a coding
issue.

The pages all load fine and access the MSAccess database perfectly.
However, when I submit a form
(even the login form) to another asp page, the data is not received
by the target page.

Why would this happen locally and not on the internet server? Is
some security setting causing this? I have Windows XP Pro SP2
running IIS 6.

Thanks,
Dominic


Does this page run:

test.asp

<%
Response.Write "test"
%>

If not, you need to be aware that ASP is turned off by default in
IIS6. You
need to go into IIS Manager and turn it on:
http://www.aspfaq.com/show.asp?id=2147
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get
a quicker response by posting to the newsgroup.


--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jul 22 '05 #6
Well it is fixed... kind of. This seems to be a minor symptom of a larger
problem. I believe the error may have had something to do with memory
resources, because suddenly it could not even read the local database. I
restarted and database access was restored, as was form submission behavior.
So that's good, right? Well, kind of...

Then it started giving me an error about not being able to update the
database because it is read-only. It wasn't read-only and the permissions
are the same that they've always been when it used to work. However, when I
gave full control of the MSAccess files to the Internet Guest Account things
started working again.

So things work now... but I'm still rather confused as to why things stopped
working in the first place.

Is there a difference in the security settings for ASP.Net or SP2 that might
have caused this? Maybe there's something wrong with my IIS installation or
ODBC?
"Dominic Tocci" <nn***@toccionline.com> wrote in message
news:jb*******************@twister.nyc.rr.com...
When I submit a form to an asp page, the request.form is not getting the
data. This only happens on my local copy of IIS, and not on my web host.
It's a simple request.form, so I know it's not a coding issue.

The pages all load fine and access the MSAccess database perfectly.
However, when I submit a form
(even the login form) to another asp page, the data is not received by the
target page.

Why would this happen locally and not on the internet server? Is some
security setting causing this? I have Windows XP Pro SP2 running IIS 6.

Thanks,
Dominic

Jul 22 '05 #7
Crap. I'm back to square one. Now the form submission data is not appearing
again. I guess I'll restart and try again...

Any ideas?

"Dominic Tocci" <nn***@toccionline.com> wrote in message
news:9B*********************@twister.nyc.rr.com...
Well it is fixed... kind of. This seems to be a minor symptom of a larger
problem. I believe the error may have had something to do with memory
resources, because suddenly it could not even read the local database. I
restarted and database access was restored, as was form submission
behavior. So that's good, right? Well, kind of...

Then it started giving me an error about not being able to update the
database because it is read-only. It wasn't read-only and the permissions
are the same that they've always been when it used to work. However, when
I gave full control of the MSAccess files to the Internet Guest Account
things started working again.

So things work now... but I'm still rather confused as to why things
stopped working in the first place.

Is there a difference in the security settings for ASP.Net or SP2 that
might have caused this? Maybe there's something wrong with my IIS
installation or ODBC?
"Dominic Tocci" <nn***@toccionline.com> wrote in message
news:jb*******************@twister.nyc.rr.com...
When I submit a form to an asp page, the request.form is not getting the
data. This only happens on my local copy of IIS, and not on my web host.
It's a simple request.form, so I know it's not a coding issue.

The pages all load fine and access the MSAccess database perfectly.
However, when I submit a form
(even the login form) to another asp page, the data is not received by
the target page.

Why would this happen locally and not on the internet server? Is some
security setting causing this? I have Windows XP Pro SP2 running IIS 6.

Thanks,
Dominic


Jul 22 '05 #8
Dominic Tocci wrote:
work. However, when I gave full control of the MSAccess files to the
Internet Guest Account things started working again.

If you have multiple users, you need to grant read/write (not full) access
to the folder containing the Access files, not just to the Access files
themselves. Each user in the database needs to be able to create, modify and
delete a lock file (databasename.ldb) which controls multiuser activity.

Full access is definitely NOT needed.

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jul 22 '05 #9
You mentioned asp.net ... is this a .net application? If so, you should try
posting on a dotnet group (this group is for classic asp). Specifically:
microsoft.public.dotnet.framework.aspnet

Bob Barrows
Dominic Tocci wrote:
Crap. I'm back to square one. Now the form submission data is not
appearing again. I guess I'll restart and try again...

Any ideas?

"Dominic Tocci" <nn***@toccionline.com> wrote in message
news:9B*********************@twister.nyc.rr.com...
Well it is fixed... kind of. This seems to be a minor symptom of a
larger problem. I believe the error may have had something to do
with memory resources, because suddenly it could not even read the
local database. I restarted and database access was restored, as
was form submission behavior. So that's good, right? Well, kind
of...

Then it started giving me an error about not being able to update the
database because it is read-only. It wasn't read-only and the
permissions are the same that they've always been when it used to
work. However, when I gave full control of the MSAccess files to
the Internet Guest Account things started working again.

So things work now... but I'm still rather confused as to why things
stopped working in the first place.

Is there a difference in the security settings for ASP.Net or SP2
that might have caused this? Maybe there's something wrong with my
IIS installation or ODBC?
"Dominic Tocci" <nn***@toccionline.com> wrote in message
news:jb*******************@twister.nyc.rr.com...
When I submit a form to an asp page, the request.form is not
getting the data. This only happens on my local copy of IIS, and
not on my web host. It's a simple request.form, so I know it's not
a coding issue.

The pages all load fine and access the MSAccess database perfectly.
However, when I submit a form
(even the login form) to another asp page, the data is not received
by the target page.

Why would this happen locally and not on the internet server? Is
some security setting causing this? I have Windows XP Pro SP2
running IIS 6.

Thanks,
Dominic


--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jul 22 '05 #10
Dominic Tocci wrote:
When I submit a form to an asp page, the request.form is not getting the
data. This only happens on my local copy of IIS, and not on my web host.
It's a simple request.form, so I know it's not a coding issue.

The pages all load fine and access the MSAccess database perfectly. However,
when I submit a form
(even the login form) to another asp page, the data is not received by the
target page.

Why would this happen locally and not on the internet server? Is some
security setting causing this? I have Windows XP Pro SP2 running IIS 6.

Thanks,
Dominic


Does request.querystring work on your local machine?
Jul 22 '05 #11
Hi Bob,

I've done that. The interesting bit is that now it all works, as I've
mentioned. I don't know how long it will work though, as the problem
resurfaced the last time.

Here's the test I made:

test.asp
<%
mytest = request.form("test")
Response.Write mytest
%>

test2.asp
<form method="post" action="test.asp">
<input name="test" value="123">
<input type="submit">
</form>
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:eK**************@TK2MSFTNGP14.phx.gbl...
Well, I wasn't trying to be funny.

Can you create a small repro of your problem? A short html page with a
form
containing one testbox that submits to an asp page that simply writes the
request.form data? Show us the source for both pages.

Bob Barrows

Dominic Tocci wrote:
Ha! That's pretty funny. Asp is definitely turned on. All the asp
code on the pages works except for retrieving the form data. And,
again, it's only on my local copy of IIS that this happens. The code
itself works on my webserver.

Thanks for the response anyway.

"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:OZ**************@TK2MSFTNGP11.phx.gbl...
Dominic Tocci wrote:
When I submit a form to an asp page, the request.form is not getting
the data. This only happens on my local copy of IIS, and not on my
web host. It's a simple request.form, so I know it's not a coding
issue.

The pages all load fine and access the MSAccess database perfectly.
However, when I submit a form
(even the login form) to another asp page, the data is not received
by the target page.

Why would this happen locally and not on the internet server? Is
some security setting causing this? I have Windows XP Pro SP2
running IIS 6.

Thanks,
Dominic

Does this page run:

test.asp

<%
Response.Write "test"
%>

If not, you need to be aware that ASP is turned off by default in
IIS6. You
need to go into IIS Manager and turn it on:
http://www.aspfaq.com/show.asp?id=2147
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get
a quicker response by posting to the newsgroup.


--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Jul 22 '05 #12
I have dotnet running on the same IIS installation, but this application is
just asp classic. The problem happened after I installed SP2 and then
reinstalled the dotnet framework.
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:eL**************@TK2MSFTNGP15.phx.gbl...
You mentioned asp.net ... is this a .net application? If so, you should
try
posting on a dotnet group (this group is for classic asp). Specifically:
microsoft.public.dotnet.framework.aspnet

Bob Barrows
Dominic Tocci wrote:
Crap. I'm back to square one. Now the form submission data is not
appearing again. I guess I'll restart and try again...

Any ideas?

"Dominic Tocci" <nn***@toccionline.com> wrote in message
news:9B*********************@twister.nyc.rr.com...
Well it is fixed... kind of. This seems to be a minor symptom of a
larger problem. I believe the error may have had something to do
with memory resources, because suddenly it could not even read the
local database. I restarted and database access was restored, as
was form submission behavior. So that's good, right? Well, kind
of...

Then it started giving me an error about not being able to update the
database because it is read-only. It wasn't read-only and the
permissions are the same that they've always been when it used to
work. However, when I gave full control of the MSAccess files to
the Internet Guest Account things started working again.

So things work now... but I'm still rather confused as to why things
stopped working in the first place.

Is there a difference in the security settings for ASP.Net or SP2
that might have caused this? Maybe there's something wrong with my
IIS installation or ODBC?
"Dominic Tocci" <nn***@toccionline.com> wrote in message
news:jb*******************@twister.nyc.rr.com...
When I submit a form to an asp page, the request.form is not
getting the data. This only happens on my local copy of IIS, and
not on my web host. It's a simple request.form, so I know it's not
a coding issue.

The pages all load fine and access the MSAccess database perfectly.
However, when I submit a form
(even the login form) to another asp page, the data is not received
by the target page.

Why would this happen locally and not on the internet server? Is
some security setting causing this? I have Windows XP Pro SP2
running IIS 6.

Thanks,
Dominic


--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Jul 22 '05 #13
Hi Paxton,

Thanks for replying.

Good question. As of right now they both work, making things very difficult
to debug. I believe request.querystring was working even when request.form
was not though. This indicates that the form data is simply not making it
to the asp page, but when I pass a variable in the querystring it is right
there in the URL.

Thanks

"Paxton" <paxtonend@[nospamthanyouverymuch]hotmail.com> wrote in message
news:47******************@fe1.news.blueyonder.co.u k...
Dominic Tocci wrote:
When I submit a form to an asp page, the request.form is not getting the
data. This only happens on my local copy of IIS, and not on my web host.
It's a simple request.form, so I know it's not a coding issue.

The pages all load fine and access the MSAccess database perfectly.
However, when I submit a form
(even the login form) to another asp page, the data is not received by
the target page.

Why would this happen locally and not on the internet server? Is some
security setting causing this? I have Windows XP Pro SP2 running IIS 6.

Thanks,
Dominic


Does request.querystring work on your local machine?

Jul 22 '05 #14
Dominic Tocci wrote:
Hi Paxton,

Thanks for replying.

Good question. As of right now they both work, making things very difficult
to debug. I believe request.querystring was working even when request.form
was not though. This indicates that the form data is simply not making it
to the asp page, but when I pass a variable in the querystring it is right
there in the URL.

Thanks

"Paxton" <paxtonend@[nospamthanyouverymuch]hotmail.com> wrote in message
news:47******************@fe1.news.blueyonder.co.u k...
Dominic Tocci wrote:
When I submit a form to an asp page, the request.form is not getting the
data. This only happens on my local copy of IIS, and not on my web host.
It's a simple request.form, so I know it's not a coding issue.

The pages all load fine and access the MSAccess database perfectly.
However, when I submit a form
(even the login form) to another asp page, the data is not received by
the target page.

Why would this happen locally and not on the internet server? Is some
security setting causing this? I have Windows XP Pro SP2 running IIS 6.

Thanks,
Dominic


Does request.querystring work on your local machine?


I had a similar problem with POSTing forms, while GETting worked fine.
The cause of the problem appeared to be having Mozilla Firefox set as a
default browser. I'm still trying to find out why.
Jul 22 '05 #15
"Paxton" <paxtonend@[nospamthankyouverymuch]hotmail.com> wrote in message
news:Lu*******************@fe2.news.blueyonder.co. uk...
Dominic Tocci wrote:
Hi Paxton,

Thanks for replying.

Good question. As of right now they both work, making things very
difficult to debug. I believe request.querystring was working even when
request.form was not though. This indicates that the form data is simply
not making it to the asp page, but when I pass a variable in the
querystring it is right there in the URL.

Thanks

"Paxton" <paxtonend@[nospamthanyouverymuch]hotmail.com> wrote in message
news:47******************@fe1.news.blueyonder.co.u k...
Dominic Tocci wrote:

When I submit a form to an asp page, the request.form is not getting the
data. This only happens on my local copy of IIS, and not on my web host.
It's a simple request.form, so I know it's not a coding issue.

The pages all load fine and access the MSAccess database perfectly.
However, when I submit a form
(even the login form) to another asp page, the data is not received by
the target page.

Why would this happen locally and not on the internet server? Is some
security setting causing this? I have Windows XP Pro SP2 running IIS 6.

Thanks,
Dominic

Does request.querystring work on your local machine?


I had a similar problem with POSTing forms, while GETting worked fine. The
cause of the problem appeared to be having Mozilla Firefox set as a
default browser. I'm still trying to find out why.


Thank you, Paxton. This could have been the cause, as firefox was another
piece of software that I installed between when it used to work reliably and
now.

I tried opening and closing firefox and then going back to the local website
but I can't get the errors to reproduce. Undoubtably they'll turn up again
when I'm rushing to get something done, as Murphy's Law dictates. Anyway, I
never had firefox as my default browser, at least not that I know of. When
it asked I always said "no" but who knows what might have happened behind
the scenes.

Thanks for the input and keeping with this thread.

Dominic
Jul 22 '05 #16

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Kevin Ingram | last post by:
Ok, this is probably a silly question but I just keep hitting a brick wall here. I usually develop my sites entirely in ASP and use a database for data storage, works great for me. I also...
7
by: Ed Lai | last post by:
A few weeks ago I have the idea of converting XML instance data to a HTML form, using tags as the label and the resulting form can be used to edit the XML data. So I started to play around with it,...
10
by: Gregory A Greenman | last post by:
I'm trying to write a program in vb.net to automate filling out a series of forms on a website. There are three forms I need to fill out in sequence. The first one is urlencoded. My program is...
4
by: Rick | last post by:
Hello, I'm having trouble with submitting my form when checking to see if data is present in the user-inputted fields. What I want to happen is for the user to input various pieces of data,...
1
by: KC | last post by:
Hello, I am using Access 2002. WinXP, Template from MS called Orders Mgmt DB. I have tweaked this DB to work for our small co. It has worked pretty well up until I made the mistake of deleting...
2
by: JM | last post by:
Hi I have created a Windows Form that takes input. When the Run button is pressed the form is disabled and the code checks some files and inputs the data into an Excel worksheet (that is hidden...
4
by: CsharpNewcommer | last post by:
Hi I have designed a form containing data and I want to print that form and the data as it appears in the Windows Form. I am a beginner with C# and I have read several "help"s on PrintPage,...
17
by: Jim Little | last post by:
Hello, I'm driving myself crazy either because I'm missing something about ASP.NET, or what I'm trying to do simply can't be done. First, I am not using session variables to track state. My...
25
by: Neo Geshel | last post by:
This works: <form> <asp:TextBox id="name" /> <%= name.ClientID %> </form> But this DOES NOT work: <form>
0
by: Graham | last post by:
I'm trying to write a CGI script in C#; it receives data from an HTML form via the POST method, and tries to read the form data using System.Environment.GetEnvironmentVariable(). Which is where I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.