473,569 Members | 2,652 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET buttons suddenly stopped working.

143 New Member
Last night while I was working on my project, all the buttons in my solution stopped working. I was moving the project from my local machine to my schools server.

Does anyone know what I can do about this?

What causes it?

How do I fix it?

Thanks.
Nov 13 '07 #1
8 1809
nateraaaa
663 Recognized Expert Contributor
Did you build your project once you moved it? You may not have any dlls for the new project yet. This would cause your buttons not to work because there is no dll for the postback events. Are you able to debug on the school servers? If so insert a breakpoint in either the Page_Load event or a button click event and verify that the breakpoint is hit.

Nathan
Nov 13 '07 #2
teddarr
143 New Member
I did rebuild. Same problem.

On your advice, I also set break points on the page_load event anf the button click event. Neither on fires.

I can post some code if you would like to see if there's something I forgot.
Nov 13 '07 #3
r035198x
13,262 MVP
I did rebuild. Same problem.

On your advice, I also set break points on the page_load event anf the button click event. Neither on fires.

I can post some code if you would like to see if there's something I forgot.
It would seem therefore that your buttons are no longer associated with their respective event handlers.
Nov 13 '07 #4
Plater
7,872 Recognized Expert Expert
I would wonder if your school's server is IIS and your application is configured to run on it?
Nov 13 '07 #5
teddarr
143 New Member
Yes, the school is set up to handle it. The project was working great for the last 2 weeks and even up until an hour before I discovered the problem.
Nov 13 '07 #6
nateraaaa
663 Recognized Expert Contributor
Is there a dll in your bin folder on the school's server (probably in the Inetpub folder/VirtualDirector yName/bin)? If so what is the date of the dll in that bin folder? If it is not the same time as the last time that you built the project you need to update your dll in the bin with the most recent code base.

Nathan
Nov 13 '07 #7
Plater
7,872 Recognized Expert Expert
Perhaps the difference between copy/pasting files to the server versus using the PUBLISH website from the dev environment?
Nov 13 '07 #8
teddarr
143 New Member
OK, We located the culprit. My project partner and I were updating the website close to the same time and we were not exactly testing all the code as thoroughly as we should.

What happened was that he added a search feature to the website that can be accessed from any page. So, logically, it went onto the master page. Well, the search textbox was inside a form...inside the main form on the page. Well...apparent ly that's against the law and causes a short circuit.

Three little lines of code brought a whole website and 2 databases to a screeching halt. End of story.

Thank all of you for your insight. I will remember those ideas in case something similar happens again.
Nov 14 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

2
3168
by: allenj | last post by:
DB2 UDB 7.2 WSE Fixpak 9 Linux Red Hat 7.3 A very strange thing just happened w/ my DB2 server. I am on Linux and using NIS - the instance owner is in the servers /etc/passwd file. Suddenly, DB2 would not authenticate any NIS-based logins, but it *would* authenticate the local non-NIS instance owner. This was happening not only w/...
12
1723
by: melanieab | last post by:
Hi, I have a button that, when clicked, saves all the info entered. It worked fine until suddenly it didn't, and I have no idea why. I get the error An unhandled exception of type 'System.Xml.XmlException' occurred in system.xml.dll Additional information: System error. I found that this sometimes happens when there's some unrecognized...
2
4140
by: Nils Hedström | last post by:
Today my stateserver (running at the same computer at the web-server) suddenly stopped responding (after 10 days working perfectly). I did not see any entry in the eventlog indicating that the service stopped responding. This is the entry in web.config --- <sessionState mode="StateServer" stateConnectionString="tcpip=localhost:42424"...
3
3916
by: d3vkit | last post by:
I've been using apache and php to create clean urls for a while, and suddenly the other day it just stopped working. My host is godaddy.com and I think this might be the source of my trouble, but I'm not sure what exactly that trouble is. Here is my .htaccess file: AddHandler x-httpd-php5 .php AddHandler x-httpd-php .php4 <FilesMatch...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8125
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7676
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7974
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6284
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5513
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3642
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1221
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.