Click here to Skip to main content
15,881,588 members
Home / Discussions / C#
   

C#

 
QuestionProblem in inserting large data in database! Pin
Affan Toor6-Apr-07 3:45
Affan Toor6-Apr-07 3:45 
AnswerRe: Problem in inserting large data in database! Pin
Not Active6-Apr-07 5:01
mentorNot Active6-Apr-07 5:01 
QuestionRe: Problem in inserting large data in database! Pin
Affan Toor6-Apr-07 5:19
Affan Toor6-Apr-07 5:19 
AnswerRe: Problem in inserting large data in database! Pin
Not Active6-Apr-07 5:27
mentorNot Active6-Apr-07 5:27 
QuestionDisabling any particular property form the Property List at Design Time Pin
Arijit Majumder6-Apr-07 2:20
Arijit Majumder6-Apr-07 2:20 
AnswerRe: Disabling any particular property form the Property List at Design Time Pin
Not Active6-Apr-07 3:17
mentorNot Active6-Apr-07 3:17 
QuestionHelp in HTML tags entry in SQL server Pin
EEmaan6-Apr-07 2:01
EEmaan6-Apr-07 2:01 
AnswerRe: Help in HTML tags entry in SQL server Pin
Not Active6-Apr-07 3:06
mentorNot Active6-Apr-07 3:06 
The exception is being thrown is a SqlException? Or is it from the page? It is more likely the exception is being thrown from the page as a HttpRequestValidationException. Setting ValidateRequest=true on the page will stop this, however it opens you potentially dangerous attacks.

ValidateRequest
Indicates whether request validation should occur. If true, request validation checks all input data against a hard-coded list of potentially dangerous values. If a match occurs, an HttpRequestValidationException exception is thrown. The default is true.

This feature is enabled in the machine configuration file (Machine.config). You can disable it in your application configuration file (Web.config) or on the page by setting this attribute to false.

Note
This functionality helps reduce the risk of cross-site scripting attacks for straightforward pages and ASP.NET applications. An application that does not properly validate user input can suffer from many types of malformed input attacks, including cross-site scripting and Microsoft SQL Server injection attacks. There is no substitute for carefully evaluating all forms of input in an application and making sure that they are either properly validated or encoded, or that the application is escaped prior to manipulating data or sending information back to the client.




only two letters away from being an asset

GeneralRe: Help in HTML tags entry in SQL server Pin
EEmaan6-Apr-07 5:42
EEmaan6-Apr-07 5:42 
QuestionAccess violation writing location 0x00000000 Pin
Farhan Ali6-Apr-07 1:50
Farhan Ali6-Apr-07 1:50 
AnswerRe: Access violation writing location 0x00000000 Pin
rp_suman6-Apr-07 2:12
rp_suman6-Apr-07 2:12 
GeneralRe: Access violation writing location 0x00000000 Pin
Farhan Ali6-Apr-07 2:22
Farhan Ali6-Apr-07 2:22 
GeneralRe: Access violation writing location 0x00000000 Pin
CPallini6-Apr-07 3:12
mveCPallini6-Apr-07 3:12 
GeneralRe: Access violation writing location 0x00000000 Pin
Luc Pattyn6-Apr-07 4:21
sitebuilderLuc Pattyn6-Apr-07 4:21 
QuestionHow to enerate random numbers in C# Pin
Test2703076-Apr-07 1:26
Test2703076-Apr-07 1:26 
AnswerRe: How to enerate random numbers in C# Pin
V.6-Apr-07 1:49
professionalV.6-Apr-07 1:49 
AnswerRe: How to enerate random numbers in C# Pin
CPallini6-Apr-07 1:52
mveCPallini6-Apr-07 1:52 
QuestionHow to use Windbg for windows Pin
Farhan Ali6-Apr-07 0:37
Farhan Ali6-Apr-07 0:37 
AnswerRe: How to use Windbg for windows Pin
rp_suman6-Apr-07 2:18
rp_suman6-Apr-07 2:18 
QuestionConfiguration error! Pin
Nafiseh Salmani5-Apr-07 23:55
Nafiseh Salmani5-Apr-07 23:55 
AnswerRe: Configuration error! Pin
SABhatti6-Apr-07 6:00
SABhatti6-Apr-07 6:00 
QuestionGDIPlus Thread safeness Pin
a.mulay5-Apr-07 23:34
a.mulay5-Apr-07 23:34 
QuestionHelp for Window Service. Pin
blue_arc5-Apr-07 23:07
blue_arc5-Apr-07 23:07 
QuestionUsing a C++ function (defined in a dll) with char* param [modified] Pin
jozsurf5-Apr-07 22:35
jozsurf5-Apr-07 22:35 
AnswerRe: Using a C++ function (defined in a dll) with char* param Pin
CPallini6-Apr-07 2:06
mveCPallini6-Apr-07 2:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.