473,807 Members | 2,853 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2790
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***@toccionl ine.com> wrote in message
news:jb******** ***********@twi ster.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.e xe utility.

Does that information help?

Thanks

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

Ray at work

"Dominic Tocci" <nn***@toccionl ine.com> wrote in message
news:jb******** ***********@twi ster.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******@NOyah oo.SPAMcom> wrote in message
news:OZ******** ******@TK2MSFTN GP11.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******@NOyah oo.SPAMcom> wrote in message
news:OZ******** ******@TK2MSFTN GP11.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***@toccionl ine.com> wrote in message
news:jb******** ***********@twi ster.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***@toccionl ine.com> wrote in message
news:9B******** *************@t wister.nyc.rr.c om...
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***@toccionl ine.com> wrote in message
news:jb******** ***********@twi ster.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.l db) 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.publi c.dotnet.framew ork.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***@toccionl ine.com> wrote in message
news:9B******** *************@t wister.nyc.rr.c om...
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***@toccionl ine.com> wrote in message
news:jb******** ***********@twi ster.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

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

Similar topics

6
609
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 sometimes save information to a text file on my server like c:\invoices\customername.txt for batch processing later... I use the FSO commands and it all works slick. Now, I have a new project: A client wants us to log in to their website on another...
7
2933
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, and have some prelimary proof of concept stuff working. Then I started to search around on the web for similar works. There seem to be quite a few people with the same idea. The following is an example. However as far as I can tell, nobody...
10
19366
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 able to fill that one out just fine. The second form is multipart/form-data. Unfortunately, I haven't been able to fill that out in a way that makes the server happy. I set up a copy of this form at my web site so that I could see exactly what a...
4
2304
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, submit the form, and then have a javascript function that checks to see if data is entered, and if not, have an alert window tell the user which field to enter data into and then revert back to that same page. If all data is entered, it would...
1
1857
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 about 80 records from the Orders table. 80 out of a 1000 records. Now our data entry form shows our customer addresses, but not customer order history. When looking at all of the tables, customer, payments, orders, they still have all of the...
2
1815
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 so that I cannot watch as it gets filled up). When it is done it saves the Excel file. I find that if I go into another program while it's trying to work on the Excel spreadsheet that not all of the data appears (missing data!). If I click...
4
2821
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, PrintDialog, etc. but none seem to address the issue of printing directly from the form. They all talk about printing from a text file. Can someone tell me how to print the form and maybe direct me on which to use PrintPage, PrintDialog....which?
17
3311
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 app will ultimately be web-farmed, so I resisted using either session variables. Second, what I'm trying to do is easy. What I'm trying to prevent seems impossible.
25
4079
by: Neo Geshel | last post by:
This works: <form> <asp:TextBox id="name" /> <%= name.ClientID %> </form> But this DOES NOT work: <form>
0
1191
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 have a problem. When I use a 32-bit build of the CGI script, everything works swimmingly. But when I use a 64-bit build of the CGI script, GetEnvironmentVariable() throws a System.Security.SecurityException saying it doesn't have permission to...
0
9720
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10372
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10112
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9193
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6879
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5546
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5685
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4330
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 we have to send another system
3
3011
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.