Saturday, September 15, 2007 3:16 PM HosamKamel

Resolving 'Error Creating Control -xxx' in Web Application Project.

If you face this error while trying to open a web application project

Error Creating Control - control_Name

'/LM/W3SVC/1/Root/Project_Name' is not a valid IIS application.

error

You can resolve this error by following the below steps , the root cause of this error is the incorrect mapping between web application project and the virtual directory in your IIS.

To Resolve this error , follow the following steps:

1-Right click - you web application project and select Properties -> Web

2- in the server section choose Use IIS Web Server -> then click Create Virtual.

3- Clean your project and compile again.

done :)

Filed under: ,

Comments

# "error creating control" "is not a valid IIS application"

Friday, September 28, 2007 4:31 AM by Tuba

In my web application on aspx pages, the controls were not loaded, they had boxes on them with the error...

# re: Resolving 'Error Creating Control -xxx' in Web Application Project.

Friday, September 28, 2007 4:55 AM by tuba

Thanks a lot, that is great

# re: Resolving 'Error Creating Control -xxx' in Web Application Project.

Sunday, September 30, 2007 4:26 AM by HosamKamel

Tuba, can you post what the error says, Thanks a lot.

# re: Resolving 'Error Creating Control -xxx' in Web Application Project.

Tuesday, June 24, 2008 5:50 AM by Aarti

Thanks a lot for such a great help:-)

# re: Resolving 'Error Creating Control -xxx' in Web Application Project.

Wednesday, August 13, 2008 10:46 AM by UnitesWebDev

Thanks for the post - My AJAX controls were randomly causing this. Now all works fine.

# re: Resolving 'Error Creating Control -xxx' in Web Application Project.

Monday, August 25, 2008 7:28 PM by Matt

Its amazing how microsoft has not fixed this bug yet.  I run into it all the time. Especially when moving projects around.

# re: Resolving 'Error Creating Control -xxx' in Web Application Project.

Tuesday, August 26, 2008 8:20 AM by Abdullah

Thanks a lot, for this solution

# re: Resolving 'Error Creating Control -xxx' in Web Application Project.

Wednesday, November 05, 2008 12:59 PM by Ron

How do I get to step one.

Leave a Comment

(required) 
(required) 
(optional)
(required)