Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How To Know If Running ASP.Net 4.5?

I'm trying to get the asp:FileUpload control to work with multiple files and I can't seem to get it to work. It also doesn't recognize HasFiles and PostedFiles in my code behind.

So on the server I check the installed programs and I see "Microsoft .Net Framework 4.5.2. But in the folder where my application exists the only options for the application pool are;

DefaultAppPool
Classic .Net AppPool
MSSharePointAppPool
ASP.NET v4.0
ASP.NET v4.0 Classic

It's set to ASP.NET v4.0

Sorry to be dense but how do I change or make sure that it's using ASP.NET 4.5 so that the file upload will work properly with multiple files?

Andy

like image 688
Andy Avatar asked Jan 26 '26 00:01

Andy


1 Answers

This shouldn't make a difference in the functionality of your program, as .NET 4.5 is just an update for 4.0. See here

How to set .net Framework 4.5 version in IIS 7 application pool

like image 166
Seano666 Avatar answered Jan 28 '26 13:01

Seano666



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!