简体   繁体   中英

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM