Avatar of Alyanto
AlyantoFlag for United Kingdom of Great Britain and Northern Ireland asked on

Changing .Net versions

I have had to change .Net version due to what is installed on the server.  I get the error below.  Any ideas what I can do to solve this?

Error      1      Failed to execute command: ""C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\ResGen.exe" /useSourcePath "/r:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Core.dll" "/r:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Data.DataSetExtensions.dll" /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll/r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Deployment.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll "/r:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Xml.Linq.dll" /compile "My Project\Resources.resx,obj\x86\Debug\File_Archive_Tool.Resources.resources"". The handle is invalid.      C:\Users\csymington\AppData\Local\Temporary Projects\File Archive Tool\TRACKER      File Archive Tool
Visual Basic.NET.NET Programming

Avatar of undefined
Last Comment

8/22/2022 - Mon

Please install the correct .Net version on the server and run aspnet_regiis -i so you can use it in the IIS web server.

Clearly your application requires a specific .Net version and this cannot be willy nilly changed on the fly based on whim.
Nasir Razzaq

What version was your app developed against and what version do you have on server?

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

I was able to solve the problem.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck