Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Datbound Controls do not work on production server

Reply
Thread Tools

Datbound Controls do not work on production server

 
 
=?Utf-8?B?RGF2ZSBTdGV3YXJ0?=
Guest
Posts: n/a
 
      03-02-2005
I have two projects I am attempting to publish to a production environment.
When I run the project and\or pages they run fine on my development
machine(the pc with vs.net that the app\pages were written on). When I copy
the project to a production IIS web server, the pages load properly on the
first load for each page. I have multiple list boxes that are databound
programatically on the page load event.

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here

If Not Me.IsPostBack Then
LoadStores()
LoadListBoxes()
End If

End Sub

On any postback event when run from the production server, the list boxes
are cleared out and the app is useless. Why are these clearing out in
production, but not on my dev pc?

If I load the listboxes on every postback, I lose the user selection prior
to postback.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
validators work on localhost, but not on production server Mark Abbott ASP .Net 2 07-24-2006 03:33 PM
Databound controls do not work when published to a production serv Dave Stewart ASP General 1 03-02-2005 11:13 AM
Validators Don't Work after Moving Code to Production Server Mike D ASP .Net 1 12-14-2003 05:51 AM
Ie Web Controls Problem (Not displaying Properly On Production Server) =?Utf-8?B?UmVkZHk=?= ASP .Net 2 10-30-2003 04:41 AM
validation controls not working on production server earwicker ASP .Net 2 10-28-2003 04:30 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57