In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the relevant knowledge of "what are the relevant skills of Visual Studio debugging". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
My IIS is obviously open! In the case of CPU100%, I had the patience to reopen IIS to check, and restart IIS and hundreds of related materials on another machine at the same time. Some people said that I should set the access permission of wwwroot folder to everyone, which didn't work, because my folder was originally shared (of course, it may be for different problems). The method is:
Permission problem. Asp.net users may not have write operations to wwwroot,
Solution: try:
Control Panel-Administrative tools-computer Management-Local users and groups
Then add the aspnet user to the administrators group,
After all this torture, I just rebooted the machine again to see if there were any new adverse reactions to the VS2003.Net. Hey, there was a new error prompt.
Home directory of IIS default website; local path setting
Set to "C:\ Inetpub\ wwwroot", on the local area network, the client can use "http://localhost/Mydir/index.aspx" access, in order to facilitate client access, I set IIS by default"
Confirm that the home directory > local path of the website is set to "C:\ Inetpub\ wwwroot\ Mydir". At this point, the client can access it with "http://localhost/index.aspx", but when I open this project (MyWeb) in the VS.NET 2003 development environment, the following problems occur:
Unable to get project file from Web server, unable to open Web project "MyWeb", file path "C:\ Inetpub\ wwwroot\ Mydir" does not match URL "http://localhost/Mydir"", both need to be mapped to the same server location,
HTTP error 404: Not Found
There are two options for Visual Studio debugging:
What do you want to do:
1 retry with a different folder sharing path
two。 Try to open the project through the FrontPage server extension
I think this problem should be a problem on the virtual path. Facing the path prompted by it, I opened IIS and found that the default site path C:\ Inetpub\ wwwroot\, and the path of my project is also correct. Inadvertently found that CPU does not account for 100%, it seems that the original problem is solved, but the new problem comes out again, that is, there is no discount, first CSDN the community to see if there are similar problems, fortunately, a lot of methods
Method 1. Go to IIS- > default website-> right click "Properties"-> Directory Security-> Authentication and access Control-> Edit-> change your anonymous login account to Administrator and enter your password
Method 2: reinstall IIS
Open the Windows components wizard,
Click Application Server in components, and then click details,
In the Application Server dialog box, under subcomponents of the Application Server, click Internet Information Services (IIS), and then click details,
In the Internet Information Services (IIS) dialog box, under subcomponents of Internet Information Services (IIS), do any of the following
Action:
To add optional components, select the check box next to the component you want to install,
To delete an optional component, clear the check box next to the component you want to delete,
Click OK until you return to the Windows components Wizard,
Click next, and then click finish
Method 3: select "File" menu-- > "Open Project on Web", then find the disk where you put the project (such as e:\ webfile), and open the .vbproj extension (the same for cs projects). Note: do not open .sln.
Then regenerate the solution.
I tried this, but it didn't seem to work, because the new project didn't work, and the original one couldn't be opened.
This is the method I used to solve the Visual Studio debugging problem.
Method 4:
A:
1. Open the IIS manager,
2. Right-click "Default Web Site" and select Properties.
3. Click "Http Header".
4. Click "MIME Types".
5. Click "New"
6. In Extension, enter ".tmp". (no quotation marks required)
7. In MIME Type, enter "Temp". (no quotation marks required)
Alas, after doing it for a long time, we finally got it! We are puzzled by some mistakes in VS.net2003. In order to make you have some tricks in the face of these problems, I have searched out some common problems by the way. Dismissal is helpful to you.
Problem 1: unable to create web application
Source: http://dev.csdn.net/develop/article/19/19725.shtm
Draft Visual Studio 2008 performance description and analysis
A detailed overview of the Visual Studio 2003.NET description process
About introducing the problems of Visual Studio.NET2003 Analysis
Summarize and draft the principles of Visual Studio 2005 website construction
The interpretation of Visual Studio .NET components in the IT world
1. When the home directory of the site does not create an application:
To establish WEBAPP by means of FP extension + virtual directory, the steps are as follows:
(1) right-click the site-all tasks-configure the server extension
(2) create a virtual directory and configure the application
(3) create a WEB project in VS, which is also named *
(4) establish WEB through FP extension
2. When the home directory of the site creates the application:
* method-- FP extension:
(1) right-click the site-all tasks-configure the server extension
(2) set up a WEB project in VS and choose its own name.
(3) establish WEB through FP extension
The second method-WEB sharing:
(1) change the IP address to all unassigned in IIS
(2) change the address to 127.0.0.1 or LOCALHOST
3. If it cannot be established, try the following methods:
(1) "site"-right-click-"Properties"-"all tasks"-"recalculate hyperlinks on Web"
Then create it through the frontpage server extension under vs.net
(2) indicates that you want to access the project files on the Web server directly through file sharing; there is no need to install the FrontPage server extension,
When installing Visual Studio .NET, a user group of "VS Developers" (VS developers) is created and granted read / write access to the inetpub\ wwwroot folder, anyone who wants to create a Web project using file sharing on your computer needs to be added to the "VS Developers" (VS developers) user group, and the new "VS Developers" (VS developers) group does not have any members, so even users who install Visual Studio You must also manually add yourself to this group,
If you do not want to install Visual Studio on the server, you can install only the server components through the Visual Studio installer to create the "VS Developers" (VS developers) group,
(3) under win2003
In VS.NET, in order to test URL and UNC, VS.NET generates a .tmp file under the directory, and then requests the file through HTTP, but in IIS 6, for security reasons, the tmp file is not registered, by default, it will be block and then generate a HTTP 404error.
To solve the problem of Visual Studio debugging, please refer to the following method:
1. Open the IIS manager,
2. Right-click "Default Web Site" and select Properties.
3. Click "Http Header".
4. Click "MIME Types".
5. Click "New"
6. In Extension, enter ".tmp". (no quotation marks required)
7. In MIME Type, enter "Temp". (no quotation marks required)
This is the end of the content of "what are the skills related to Visual Studio debugging". Thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.