gridview - Sandboxed code execution request failed while storing data in list -
i developing sandbox webpart office 365.
i having 5 row in grid.
this grid having 3 drop-down , 2 text-box in each row.when save grid data sharepoint list, works fine.
but when rows of grid increased 5 gives me error of sandboxed code execution request failed.
i facing issue on pre-production , production office 365 site.
how can store data , resolve issue ?
any suggestion welcome , appreciable.
first: sorry english, learn internet.
the "sandboxed code execution request failed." general error.
if have error in code, error.
i have 2 way solve errors:
1, make new "log" list, , make try-catch bloks in code. if catch exception, write "log" list, see problem.
2, webpart it's fine, cant add web. open shareoint designer, , give webpart manual.
- first make empty web part. (it easy add web, add instead of mywebpartname).
- then open web in sharepoint designer, page(aspx). on page search empty web part, , replace "typefullname" attribute emtpy mywebpartname.
- if not work, sure problem in code.
edit: 3, the simple way:
- make feedback div. (simple div, custom id.)
- catch error, , write ex.message div.
it's work me.
Comments
Post a Comment