When web.config is configured, the following error occurs when opening the project →asp.net configuration. Using the ASP.net web Site Administration tool always appears "encountered an error." Please return to the previous page and try again. ”
<?xml:namespace prefix = o ns = "Urn:schemas-microsoft-com:office:office"/>
I put this project on other machines it is normal to use this tool, I think the problem is on the path, the folder name is too long. I changed his middle folder "C # application Example" to "C # example", open the Web site or not. , do not recognize Chinese. No, I shouldn't. I also changed the folder name to "C #", the result is still not. In a rage I changed the folder to ASDFG, and the result was OK. It seems to be really a path problem. Really because there is Chinese so it is not OK. I've created a new folder. "New Folder" creates a Web site in it, and you can use the Web Site Administration tool. , wondering. How can Chinese also ah. Is "#" a ghost. I changed "new folder" to "C # New Folder" and the result management tool was unavailable. It seems 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 created as. @ Wait, OK, the problem is solved.
I believe that the novice who has just contacted C#.net, after watching n many video tutorials or books, all want to practice in vs on their own, if the new project, in order to and other folders to differentiate, will build a "c#***" folder, if the above scene, I hope this article is helpful to beginners.
does the directory name contain "#" ? and other special symbols. This will lead directly to the failure of the website management tool provided by asp.net, such as "c#****"