Click here to Skip to main content
15,889,872 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Develop Enterpise Applicattions with ASP.NET Pin
wikizhao15-Jul-12 16:29
wikizhao15-Jul-12 16:29 
Questioncannot convert dataview t0 dataset Pin
sumeet kumar Attri12-Jul-12 21:13
sumeet kumar Attri12-Jul-12 21:13 
AnswerRe: cannot convert dataview t0 dataset Pin
Sandeep Mewara12-Jul-12 23:04
mveSandeep Mewara12-Jul-12 23:04 
QuestionFormView/ObjectDataSource Insert Problem Pin
Darren Dickerson12-Jul-12 5:36
Darren Dickerson12-Jul-12 5:36 
Questionload pages from database Pin
abdulwahed sallam11-Jul-12 23:10
abdulwahed sallam11-Jul-12 23:10 
AnswerRe: load pages from database Pin
R. Giskard Reventlov12-Jul-12 5:53
R. Giskard Reventlov12-Jul-12 5:53 
AnswerRe: load pages from database Pin
Sandeep Mewara12-Jul-12 9:37
mveSandeep Mewara12-Jul-12 9:37 
Generalhow to solve the ScriptResource.axd exception problem? Pin
mohammad ehsan11-Jul-12 21:13
mohammad ehsan11-Jul-12 21:13 
hello.

I have design a form with asp.net4 which is binded to Sqlserver 2008r2 , my form is made by Asp.Net formview that has to insert data into the database . i have also included my formview inside an UpdatePanel , but when press the insert button this exception in the is generated:

HTML
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format.


this exception occures in a locked dynamic page: ScriptResource.axd

but whenever i remove the UpdatePanel from my form this exception doesn't occure again , but the other Unhandled exception occures :
(in fact i don't want to remove UpdatePanel)

HTML
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

 <div style="display: block;" id="premain0" class="pre-action-link" width="100%">[FormatException: Input string was not in a correct format.] System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +9591147 System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +119 System.String.System.IConvertible.ToInt32(IFormatProvider provider) +46 System.Convert.ChangeType(Object value, TypeCode typeCode, IFormatProvider provider) +297 System.Web.UI.WebControls.Parameter.GetValue(Object value, String defaultValue, TypeCode type, Boolean convertEmptyStringToNull, Boolean ignoreNullableTypeChanges) +126 System.Web.UI.WebControls.Parameter.GetValue(Object value, Boolean ignoreNullableTypeChanges) +63 System.Web.UI.WebControls.SqlDataSourceView.AddParameters(DbCommand command, ParameterCollection reference, IDictionary parameters, IDictionary exclusionList, String oldValuesParameterFormatString) +550 System.Web.UI.WebControls.SqlDataSourceView.ExecuteInsert(IDictionary values) +306 System.Web.UI.DataSourceView.Insert(IDictionary values, DataSourceViewOperationCallback callback) +89 System.Web.UI.WebControls.FormView.HandleInsert(String commandArg, Boolean causesValidation) +377 System.Web.UI.WebControls.FormView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) +612 System.Web.UI.WebControls.FormView.OnBubbleEvent(Object source, EventArgs e) +95 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37 System.Web.UI.WebControls.FormViewRow.OnBubbleEvent(Object source, EventArgs e) +112 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37 System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +125 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +167 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563</div>

someone said to me i should convert string datatype to int, but i don't know how & where should i modify the code ?
Frown | :(
GeneralRe: how to solve the ScriptResource.axd exception problem? Pin
Parwej Ahamad12-Jul-12 2:14
professionalParwej Ahamad12-Jul-12 2:14 
GeneralRe: how to solve the ScriptResource.axd exception problem? Pin
KSaiPrasad12-Jul-12 3:28
KSaiPrasad12-Jul-12 3:28 
GeneralRe: how to solve the ScriptResource.axd exception problem? Pin
PIEBALDconsult12-Jul-12 3:59
mvePIEBALDconsult12-Jul-12 3:59 
Questionweb app places you on logon page after 3 minutes Pin
dcof11-Jul-12 12:21
dcof11-Jul-12 12:21 
AnswerRe: web app places you on logon page after 3 minutes Pin
R. Giskard Reventlov11-Jul-12 12:32
R. Giskard Reventlov11-Jul-12 12:32 
GeneralRe: web app places you on logon page after 3 minutes Pin
dcof11-Jul-12 16:08
dcof11-Jul-12 16:08 
GeneralRe: web app places you on logon page after 3 minutes Pin
Parwej Ahamad12-Jul-12 2:40
professionalParwej Ahamad12-Jul-12 2:40 
AnswerRe: web app places you on logon page after 3 minutes Pin
jkirkerx12-Jul-12 8:13
professionaljkirkerx12-Jul-12 8:13 
QuestionPanel to look like tab control Pin
byka11-Jul-12 8:47
byka11-Jul-12 8:47 
AnswerRe: Panel to look like tab control Pin
R. Giskard Reventlov11-Jul-12 10:46
R. Giskard Reventlov11-Jul-12 10:46 
AnswerRe: Panel to look like tab control Pin
Rahul Rajat Singh12-Jul-12 1:02
professionalRahul Rajat Singh12-Jul-12 1:02 
Questionhi Pin
ashokaru11-Jul-12 0:43
ashokaru11-Jul-12 0:43 
AnswerRe: hi Pin
Sandeep Mewara11-Jul-12 1:51
mveSandeep Mewara11-Jul-12 1:51 
AnswerRe: hi Pin
Abhinav S11-Jul-12 16:15
Abhinav S11-Jul-12 16:15 
AnswerRe: hi Pin
zhxhdean11-Jul-12 19:23
zhxhdean11-Jul-12 19:23 
AnswerRe: hi Pin
Rahul Rajat Singh12-Jul-12 0:58
professionalRahul Rajat Singh12-Jul-12 0:58 
AnswerRe: hi Pin
meeram39518-Jul-12 1:06
meeram39518-Jul-12 1: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.