473,396 Members | 2,070 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,396 software developers and data experts.

search textbox

hey all,
i have a search textbox on my page and when the user hits the search button
i create a parameterized query to get the results.

when i enter a search criteria on the page that has angle brackets i get the
following error message:

System.Web.HttpRequestValidationException: A potentially dangerous
Request.Form value was detected from the client (TxtFindSubject="%<src=%").

can someone please tell me how to prevent this error?

thanks,
rodchar
Jul 11 '07 #1
1 1163
On Tue, 10 Jul 2007 20:18:02 -0700, rodchar
<ro*****@discussions.microsoft.comwrote:
>hey all,
i have a search textbox on my page and when the user hits the search button
i create a parameterized query to get the results.

when i enter a search criteria on the page that has angle brackets i get the
following error message:

System.Web.HttpRequestValidationException: A potentially dangerous
Request.Form value was detected from the client (TxtFindSubject="%<src=%").

can someone please tell me how to prevent this error?

thanks,
rodchar
Already answered in this very same newsgroup only 10 hours prior to you
post.

From: "David Wier" <da*******@davidwier.nospam.com>
Subject: Re: how to prevent application stops?
Date: Tue, 10 Jul 2007 12:29:42 -0500
Message-ID: <uM**************@TK2MSFTNGP06.phx.gbl>
Jul 11 '07 #2

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

Similar topics

8
by: Steph | last post by:
Hi. I'm very new to MS Access and have been presented with an Access database of contacts by my employer. I am trying to redesign the main form of the database so that a button entitled...
0
by: Arun Nair | last post by:
Hi, I have an Employerregistration pagethat is used to add new Empoyers to a table. I also have another form search.aspx used to search the employers(based on their id) and edit the employer...
1
by: ratnakarp | last post by:
Hi, I have a search text box. The user enters the value in the text box and click on enter button. In code behind on button click i'm writing the code to get the values from the database and...
1
by: Imran Aziz | last post by:
Hello All, I have an option of search on my web page coded as under <p>Search Bookmarks: <asp:TextBox ID="txtSearch" runat="server" class="texta" ></asp:TextBox><asp:Button ID="btnSearch"...
7
by: John | last post by:
hi, i have created a search form, and i want to search for a specific item in a field. e.g. i have a field called colour, which has record1 = 'red, blue, green' and another record2 = 'red' ...
3
by: Beany | last post by:
Hi, ive got 50% of the search engine working................. i have a textbox and a bigger textbox underneath it. The bigger textbox shows 3 fields (provider, site, tel with the rest hidden)...
1
by: vHTML | last post by:
hello everyone :) I am trying to make a page which would take a "entered" on search query from the previous page and display results in google with that query in an <iframe> in the results.htm...
6
by: cassey14 | last post by:
Hi i hope someone help me on this..Im doing a search form..In my search form I have 7 fields to search these are: caseID case Summary Resolution Summary Status Summary Escalated To Date...
5
by: Dave Rado | last post by:
Hi I have been the following code by Freefind to use on my search page: <form action="http://search.freefind.com/find.html" method="get" accept-charset="utf-8" target="_self"> <input...
9
by: weirdguy | last post by:
Hello, Just for anyone information, there is a similar title "Search in Listbox" but it is via Combo Box. In case, anyone need it, I put a link to here. Please let me know if I break any rules...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
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,...

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.