Exception on Uploading website [Resolved]

Posted by Sushant under ASP.NET on 4/6/2013 | Points: 10 | Views : 715 | Status : [Member] | Replies : 3
Plz help
on local no it was no error/exception on my website
when i put on line its giving exception
"System.Data.Common.DataRecordInternal.get_Item(System.String) "


After some study on net in webconfig file i chenged trusted level medium
"<trust level="Medium"/>"
After that its giving exception on one of datalist value "<%#Eval("[TotalArea]")%>"
"System.Data.Common.DataRecordInternal.get_Item(System.String) "


if any one know solution respond as early as possible

thanks

Sushat


Responses

Posted by: Sushant on: 4/8/2013 [Member] Starter | Points: 25

Up
0
Down

Resolved
To all
My Prob is resolved
It was data reader prob...
I did little change, loaded data reader in datatabel after that binded to datatabel
Thanks every one for your sincere help...........


Sushat

Sushant, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jayakumars on: 4/6/2013 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi
post your code

Mark as Answer if its helpful to you

Sushant, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Pawansoftit on: 4/6/2013 [Member] Starter | Points: 25

Up
0
Down
Hai Sushant,
It seems that the issue is with the code which you are using for setting the values.
You can go through the below link for some work around:
http://stackoverflow.com/questions/4409784/checkboxlist-binding-error-system-data-common-datarecordinternal
Hope it will be helpful to you.

Regards,
Pawan Awasthi
pawansoftit@gmail.com
+91 8123489140(WhatsApp)

Sushant, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response