session101 Posted June 9, 2006 Posted June 9, 2006 I have a ASP.NET web application written in C#. THe events (buttons, dropdown) worked when I had my machine as the webhost; however, when I deployed the web app to the web server, none of the events are working. My dropdown list is not being populated nor are my buttons working. When I try to click a button, I get this in the URL: http://webserver.page.aspx?__EVENTTARGET=&__EVENTARGUMENT=&__LASTFOCUS=&__VIEWSTATE=%2FwEPDwUKLTc3MzM4NTUwNQ9kFgICAQ9kFgQCAQ8QZA8WAWYWARBlZWcWAWZkAgQPEGQPFgFmFgEQZWVnFgFmZBgBBR5fX0NvbnRyb2xzUmVxdWlyZVBvc3RCYWNrS2V5X18WAQUMSW1hZ2VCdXR0b24x&DropDownList1=&DropDownList2=&Button1=Approved+Master+Bond+List&__EVENTVALIDATION=%2FwEWCALtgbbgCwKd5I%2FlCgKd5I%2FlCgK7q7GGCAKe5I%2FlCgKe5I%2FlCgKM54rGBgLSwpnTCA%3D%3D Any thoughts? TIA. Quote
Administrators PlausiblyDamp Posted June 9, 2006 Administrators Posted June 9, 2006 Does the webserver have the .Net framework installed? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
session101 Posted June 9, 2006 Author Posted June 9, 2006 The web server currently has .NET 2.0. I created my project with .NET 2003 so I need .NET 1.1. I assumed that 2.0 would have everything. Do I need to remove 2.0 first, then install 1.1 and reinstall 2.0? Quote
session101 Posted June 9, 2006 Author Posted June 9, 2006 Yes, I have .NET 1.1 installed. However, I am still having the same issues. Any ideas? TIA. Quote
Xtremer Posted June 12, 2006 Posted June 12, 2006 (edited) IIS can run 1.1 and 2.0 at the same time, so you have to set the framework version for each Web Application. Maybe you still have to do this. In IIS consolle select your application's folder, right click and choose Properties from contextual menu. Now select ASP.NET tab. Here you can set the framework version you want for your application (1.1.4322 I suppose) Edited June 12, 2006 by Xtremer Quote
session101 Posted June 12, 2006 Author Posted June 12, 2006 IIS can run 1.1 and 2.0 at the same time, so you have to define the framework version for each Web Application. Maybe you still have to do this. In IIS consolle select your arrplication's folder, right click and choose Properties from contextual menu. Now select ASP.NET tab. Here you can set the framework version you want for your application (1.1.4322 I suppose) I have it pointed to 1.1.4322, but it still doesn't work. It is very odd. Quote
Xtremer Posted June 12, 2006 Posted June 12, 2006 Did you deployed all files? (I mean also \bin contents) and are them the right versions (released or debug)? Quote
session101 Posted June 12, 2006 Author Posted June 12, 2006 Ah ha! My app wasn't working correctly because it could not find a network path. Thanks for your help! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.