473,322 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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

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.
Jul 21 '05 #1
0 1112

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Dave Stewart | last post by:
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...
4
by: earwicker | last post by:
I recently deployed a web application which contains a user registration form with the usual fields: name, address, email, password, etc. Each of the TextBoxes uses a validation control to verify...
10
by: dx | last post by:
I have the Microsoft Press: Developing Microsoft ASP.NET Server Controls and Components book. It's starting to shine some light on control development but there is something about composite...
10
by: Umut Tezduyar | last post by:
It seems, it is caching it. The following code is an example for it. How can avoid from this. override void OnLoad (sender and eventargs) { Control control = this.LoadControl (path);...
0
by: Dave Stewart | last post by:
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...
6
by: charliewest | last post by:
In my development environment, the validation controls work fine. (Incidentally, i am using almost all of them). However, when i deploy my ASP.NET application to the live production environment,...
0
by: Dave Stewart | last post by:
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...
3
by: Rudy Ko | last post by:
Hi, I have a long site with SmartNavigation on. It works on my developing machine. When I published to server, it doesn't work on any machine. What do I miss? Anybody know? Thank you for any...
7
by: jmp | last post by:
(I hope this isn't considered too far off-topic.) I work as a developer on a browser product found on handheld devices, and I'm trying to specify behavior for the browser to make it "as...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.