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

4
  • Your server OS?WinServer 2003? Do you have an account 'ASPNET' on this server? Commented Jul 4, 2013 at 14:56
  • Im using WinServer 2008, i might not have ASPNET on the server.... Commented Jul 4, 2013 at 15:01
  • Do you have the permission to create one ? or check this link social.technet.microsoft.com/Forums/windowsserver/en-US/… Commented Jul 4, 2013 at 15:07
  • Where is the error actually coming from and how are you using web deploy? Commented Jul 4, 2013 at 15:10

3 Answers 3

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.

Sign up to request clarification or add additional context in comments.

Comments

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.

Comments

0

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

1 Comment

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.