3

Hi I'm trying to deploy an ASP.NET MVC application to the IIS server and I get the following error:

Web deployment task failed. (The account 'ASPNET' does not appear to be valid. The account was obtained from this location: 'AspNetWorkerProcessIdentityName'.)

Does anyone know what the problem could be?

Many thanks

Seymour
  • 7,043
  • 12
  • 44
  • 51
Kimmy
  • 3,787
  • 5
  • 22
  • 20
  • Your server OS?WinServer 2003? Do you have an account 'ASPNET' on this server? – ValidfroM Jul 04 '13 at 14:56
  • Im using WinServer 2008, i might not have ASPNET on the server.... – Kimmy Jul 04 '13 at 15:01
  • Do you have the permission to create one ? or check this link http://social.technet.microsoft.com/Forums/windowsserver/en-US/ad736b21-e963-4cfd-98a4-916d98ccff58/aspnet-user-not-found-in-windows-2008-what-should-i-do-in-place-of-them – ValidfroM Jul 04 '13 at 15:07
  • Where is the error actually coming from and how are you using web deploy? – Mike Cheel Jul 04 '13 at 15:10

3 Answers3

5

I know this is an old post, but in case someone landed here recently trying to find a solution to this, try referencing this SO post:

For me it was just a matter of closing Visual Studio and reopening it again.

Community
  • 1
  • 1
Ryan
  • 3,452
  • 4
  • 23
  • 20
3

This might be a late answer, but just in case somebody encounter this. In my situation, just as Ryan mentioned I just had to close and open Visual Studio again.

Jed
  • 1,054
  • 1
  • 15
  • 34
0

I solved this issue by updating the Process Model Identity in the relevant Application Pool

Paul
  • 1
  • 1
  • 1
    Welcome on SO. Thanks for sharing. Can you give more details to your answers? You may want to take a look at [How to write a good answer](https://stackoverflow.com/help/how-to-answer). – wp78de Oct 09 '17 at 03:30