PC Review


Reply
Thread Tools Rate Thread

ASP.NET Controls do not work when published to a production web se

 
 
=?Utf-8?B?RGF2ZSBTdGV3YXJ0?=
Guest
Posts: n/a
 
      1st Mar 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
Rate This Thread
Rate This Thread:

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
Task Form will not run VBScript when published to production mailb =?Utf-8?B?VG9ueSB0aGUgVGVjaGll?= Microsoft Outlook Form Programming 1 23rd Jul 2007 12:21 PM
Validators work on dev box but not in production Mark Abbott Microsoft ASP .NET 2 19th Apr 2006 05:33 PM
Datbound Controls do not work on production server =?Utf-8?B?RGF2ZSBTdGV3YXJ0?= Microsoft ASP .NET 0 2nd Mar 2005 05:39 PM
Ie Web Controls Problem (Not displaying Properly On Production Server) =?Utf-8?B?UmVkZHk=?= Microsoft ASP .NET 2 30th Oct 2003 04:41 AM
validation controls not working on production server earwicker Microsoft ASP .NET 2 28th Oct 2003 04:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:29 AM.