Monday, February 27, 2012

help me!

now i got this error. please help me. i think it is the error of IIS.

Server Error in '/' Application.

String or binary data would be truncated.The statement has been terminated.

Description:Anunhandled exception occurred during the execution of the current webrequest. Please review the stack trace for more information about theerror and where it originated in the code.
Exception Details:System.Data.SqlClient.SqlException: String or binary data would be truncated.The statement has been terminated.
Source Error:

The source code that generated this unhandled exception can only beshown when compiled in debug mode. To enable this, please follow one ofthe below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@. Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
Note that this second technique will cause all files within a givenapplication to be compiled in debug mode. The first technique willcause only that particular file to be compiled in debug mode.
Important:Running applications in debug mode does incur a memory/performanceoverhead. You should make sure that an application has debuggingdisabled before deploying into production scenario.

Apparently your application is trying to store a value into the database that is larger than the target field, as indicated by the detail:
Exception Details:System.Data.SqlClient.SqlException: String or binary data would be truncated. The statement has been terminated.

Try adding the debug statement to your page to help with tracking down exactly where this is taking place.

|||to say the truth: this is no myproblem. this may be the problem of a website. this is an entertainmentside which has download song link. when i download, i face thisproblem. but, when i download it from other computer in the samenetwork, it is ok. So, this is not the problem of website. So, this ismy computer's problem. can u give some advice on that situation?
regards,

No comments:

Post a Comment