Doubt about iis 6 with Asp.net mvc

Asked

Viewed 103 times

0

I have an application developed in Asp.net mvc 5 in framework 4.5. I saw a comment here that iis 6 does not support framework 4.5, only 4.0, does it proceed ? If yes, how do I convert the application from 4.5 to 4.0 ?

  • Wouldn’t it be better to update IIS? Staying with old versions is a big problem.

  • @bigown is kind of tricky here at the expensive company, the guys don’t want that option.

  • 1

    Yeah, I know how it is, people prefer the hard way, the way that will give more trouble, more work, more cost. One day the market will have better professionals.

  • True @bigown .. rs

1 answer

1


Yes, the . NET 4.5 cannot be installed on windows server 2003.

but as Voce said there, there is a way to change the version of your project.

If you use visual studio, do the following: Open the Solution explorer ( ctrl + alt + L) then right click on the project name and go to properties After you open the project property, go to the tab Application and change the Target Framework for .NET Framework 4. Save your changes and a rebuild to Solution. inserir a descrição da imagem aqui

  • i did that and iis6 still doesn’t open my project dude. : S

  • when you try to run your project, what does Voce get back? some error msg or something like?

  • As I was seeing there your application is MVC 5, and to use the MVC5 the server must support . NET 4.5 or higher. Two solutions is you try to change server, or develop your APP in MVC 4

  • Yeah, I figured that was it. You know if you can get back the version of mvc pro 4?

  • I don’t know if it’s possible. I saw a colleague creating a new project in mvc4 and taking advantage of the controls the views and the models... he managed to take advantage of almost everything.

  • I started doing this too, let’s see if it works. Thanks @Rafael Cabral

Show 1 more comment

Browser other questions tagged

You are not signed in. Login or sign up in order to post.