Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Databound controls do not work when published to a production serv

Reply
Thread Tools

Databound controls do not work when published to a production serv

 
 
Dave Stewart
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
 
 
 
 
Bob Barrows [MVP]
Guest
Posts: n/a
 
      03-02-2005
Dave Stewart wrote:
> 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


There was no way for you to know it, but this is a classic asp newsgroup.
While you may be lucky enough to find a dotnet-savvy person here who can
answer your question, you can eliminate the luck factor by posting your
question to a group where those dotnet-savvy people hang out. I suggest
microsoft.public.dotnet.framework.aspnet.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


 
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
Passed 70-649 : TS:Upgrading MCSE on Wndws Serv 2003 to Wndws Serv 2008 Harvey Colwell Microsoft Certification 2 03-30-2008 03:28 PM
databound custom controls vs composite databound custom controls rodchar ASP .Net 0 11-26-2007 03:51 PM
ASP.NET Databound controls and connection pools --> How does it work? Tom ASP .Net 2 09-13-2007 05:34 AM
templated databound control problem - not showing databound Manu ASP .Net Web Controls 0 05-22-2006 09:46 AM
Datbound Controls do not work on production server =?Utf-8?B?RGF2ZSBTdGV3YXJ0?= ASP .Net 0 03-02-2005 05:39 PM



Advertisments