Yesterday, a teacher came to me to say that when he was doing asp.net, that Web site management tool always can not use! When you open the error! "Encountered an error. Please return to the previous page and try again. "He made a half-day also not, I originally said last night to him to see, the result to forget!" (^_^ have a bad memory!) )
I went to the early this morning, I looked, he said that the previous directory can use ASP.net Web application management, but the new site is not used, I searched the internet, all said is the issue of permissions, I use the administrator login can not exist this problem, But I put the full control of the folder to everyone, regardless of the use, I think is not the path of the problem? I created a website in the root directory website1, found no problem, management tools can run, I think the problem is on the path, folder name is too long? I changed his middle folder "C # application Example" to "C # example", open the website or not! , do not recognize Chinese? No, I shouldn't! I changed the folder name to "C #", the result is still not! In a rage I changed the folder to ASDFG, the result is OK! It seems to be a path problem! Is it really because you have Chinese so you can't? I have created a new folder "New Folder" in which to create a Web site, you can use the Web Site Administration tool! , I was puzzled! How Chinese can also ah! Is "#" a ghost! I changed "new folder" to "C # New Folder", the result management tool is not used! It seems that the culprit is really "#", I changed a few with special characters folder is not wrong, I would like to create a special character with the site results with "#" Do not let create, but individual special character RP create such as! @ Wait, OK, problem solved!
I see a lot of friends have such a problem, is not your project path also has the "#" number? I also do not know, at least my problem is caused by "#", hope to be useful to everyone!