Score:0

How can I know which version of .Net is using an application in IIS?

se flag

We have migrated an application from Net version 3.5 to 4.8. The truth is that we are encountering many problems. Everything seems right, but it doesn't seem to work returns a 500 error without any more information. My approach is that it is not running with the correct version of Net. Therefore, install version 4.8 of the following link: Net 4.8 Framework for Windows Server 2016. It still don´t working. I still have my doubts, how can I know which version of Net 4.8 is using my application, considering that I do not have access to Windows Features?

Could you check this information from here?

Configuration APP

Score:1
cn flag

No, you cannot verify it from there. That is the Common Language Runtime (CLR) version. All versions of .NET 4 have the same CLR version, 4.0.30319. Note that the CLR version is separate from the .NET release version. A system can have only one version of .NET 4.

To control if your application uses .NET 3 or .NET 4, you may use the supportedRuntime element of the startup element of the app.config file, AKA .config. Example:

<?xml version="1.0"?>
<configuration>
  <startup>
    <!--supportedRuntime version="v2.0.50727"/-->
    <supportedRuntime version="v4.0.30319"/>
  </startup>
</configuration>
Kenzo_Gilead avatar
se flag
Thanks for your response. Where is allocated this file? I only can see a web.config in my application. Thanks again.
cn flag
@Kenzo_Gilead: web.config is another name for the file.
Kenzo_Gilead avatar
se flag
My application has different web.config. I choose the first one, in parent folder. It doesnt have startup section so I added under configuration but the issue still happens... Any other idea to try? :)
cn flag
@Kenzo_Gilead: Idea for what? That is the one and only way to specify the runtime vesion.
Kenzo_Gilead avatar
se flag
Ah, ok. I meant if you have any random idea to try to resolve the issue itlsef. Sorry again. I rate your answer.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.