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
Alyanto
Avatar of dipopo
dipopo
Flag of United Kingdom of Great Britain and Northern Ireland image

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.
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

What version was your app developed against and what version do you have on server?
ASKER CERTIFIED SOLUTION
Avatar of Alyanto
Alyanto
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Alyanto
Alyanto
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

I was able to solve the problem.
.NET Programming
.NET Programming

The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.

137K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo