asp.net - Page Load only partially fires in production -


i have .aspx file .aspx.vb code behind page working fine in visual studio 2010 not in production.

most disturbing page_load (non postback) working of lines. here code protected sub page_load(byval sender object, byval e system.eventargs) handles me.load

    dim shortages_filter string = ""     if not ispostback    ' next 4 lines work in localhost, don't work in production         alert_label.text = "not postback"         shortages_filter += "(num_short_qty > 0) "          ddl_shortages_list.items.insert(0, new listitem("shortages list filter", "1=1"))         ddl_shortages_list.items.insert(1, new listitem("show shortages list", shortages_filter))    ' next 6 lines work in both environments         pref_datasource.filterparameters.add("user_name_param", replace(system.web.httpcontext.current.request.servervariables("logon_user"), "boumatic\", ""))         pref_datasource.filterparameters.add("current_page_param", me.page.title)          common_functions.add_date_filters(ddl_order_date, "dat_order_date", "order date")         common_functions.add_date_filters(ddl_request_date, "dat_request_date", "request date")          order_search.text = request.querystring("order_num")         part_num_search.text = request.querystring("part_num")      else end if 

any thoughts?
rob

sounds older dll version in production. make sure compile (full build).

hit ctrl + shift + b visual studio, , upload again. while doing so, pay attention if bin folder's files same size.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -