Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

Posted
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?
Posted (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 by Xtremer
Posted
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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...