Frequently asked questions and errors installed under .NET.

xiaoxiao2021-03-06  147

Installing VS.NET with common problems encountered when debugging ASP.NET, I hope to have a relaxed solution to friends who have just contacted .NET, if you encounter such problems and have been solved My friends who haven't posted here hop hope that you can post your questions and solutions, making this post into a very good solution for installing, debugging, and a very good solution, thank you. stand by! ! ! Q: An error occurred when new projects: Visual Studio .NET has detected that the specified web server is not running is not ASP.NET version 1.1. You will not be able to run an ASP.NET web application or service. A:

http://support.microsoft.com/default.aspx?scid=kb;n-us;817267

-------------------------------------------------- -------------------------------------------------- ----------------------------- Q: About unable to create a solution to the APS.Web project A:

http://www.9cbs.net/develop/read_article.asp?id=19725

-------------------------------------------------- -------------------------------------------------- ----------------------------- Q: ASPX project can not debug a: 1, have started a debug process (both open two Project, and there is a debug): can only start one; 2. Debug = "false" in the configuration file: change to true; 3, the virtual directory does not establish an application (or the name is empty): in the virtual directory "Application" in the property Click Create 4, the project is configured to Release: Point menu "Generate" - configuration, select "Debug" 5, "You don't debug server permissions": Modify IE security settings, "automatically use the current username and password Login "If you can't still do, refer to MS solution: Check your error message, you should find a solution in this document.

Http://www.gotdotnet.com/team/csharp/learn/whitepapers/howtosolvedebuggerproblems.doc

-------------------------------------------------- -------------------------------------------------- ---------------------------- Q: Deploy the .NET program to the machine where the .NET FRAMWORK is installed.

http://www.microsoft.com/china/community/program/originalarticles/techdoc/deploynetApp.mspx

-------------------------------------------------- -------------------------------------------------- ----------------------------- Q: When installing vs.net 2003, encounter "Unable to access Windows Installer Components" Error A: According to the prompt, you should have a problem with Windows Installer. Need to reinstall Windows Installer. Perform the following: First, use MSIEXEC / UnregServer to stop Windows Installer service. Second, download INSTMSIW.EXE, unzip it with WinRAR. Enter the directory. Third, right-click MSI.INF and click Install. Fourth, install vs.net 2003 ------------------------------------------------------------------------------------------------------------------- -------------------------------------------------- ------------------------------------ Q: VC software package is not available or unregistered A: Symptoms: When a WinForms application is established, the following error message is received: "VC software package is not available or not registered". This error will even appear after it looks at a successful installation. Cause: If the Visual Studio.net installer discovers Some TLB files and DLL files already exist, will not register these files again in the computer, so there is a prompt that "VC software package is not available or unregistered". In most cases, the old version of Visual Studio .NET is easy to cause this error, especially the old version is installed under another operating system. Solution: To solve this problem, you need to run the Visual Studio .NET repair. Since the repair is enforced to register without being registered in some installations The project can be solved more effectively. Follow the steps below: In the Start, point to Settings, click the Control Panel, then click Add / Remove Programs; in the list of installed programs, Click Visual Studio .NET, then click "Change / Remove"; click on the Visual Studio .NET installation dialog 1 2 3 The second item in the project; click "Repair / Replace", follow the screen prompt. More related information : Reproduce this problem to reproduce this problem, preferably two operating systems that are installed on separate partitions. Two Windows XP Professional will reach this. Install Visual Studio .NET under an operating system; The Visual Studio .NET, the installation process is changed during the installation process to match the path to the first installation. The two installation results will be successful. Then start the second installed Visual Studio .NET (you will This problem will be found. This installation form is never recommended, even if the installation option is exactly the same, and you will save disk space, this method has a potential problem. If a Visual Studio .net changes files and registration options, these changes will not be recorded in another Visual Studio .NET, resulting in potential hazards that have unpredictable results. Heads: http://zhuonline.51.net / blog S / Archives / 000045.html

Http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/q320/4/27.asp

& NoBcontent = 1 ----------------------------------------------- -------------------------------------------------- ------------------------------ q: Can't start debugging, catastrophic error (debug ASP in Visual Studio .NET Common errors that occur when .NET applications) A: http: //support.microsoft.com/?id = 306172

-------------------------------------------------- -------------------------------------------------- ---------------------------- Q: Receive "Unrecoverable Build Error" when generating and deploying projects (unrecoverable generation Error) Error message A:

http://support.microsoft.com/?id=329214

Automation server cannot create an object: Javanow has been using a good VS.NET editor. Suddenly one day, when I have created a new project, when I have been in half, I will pop up "Automation server can't create objects", and then stopped . I have an "automation" keyword to "Automation" keyword, I found that there are many friends who have met, and most of the friends who answer most of the questioner ask the question when IE parsing the XML file (see

Http://www.9cbs.net/expert/topic/757/757297.xml

I saw a few questions, I have encountered this problem, and their answer is: I have no effect in reloading VS.NET, and finally reloading the operating system will solve this problem. I want to install the operating system to be my life, so I have always used the Copy & Paste project document to reach the purpose of the new project. Until one day, I accidentally clicked vs_setup.msi to add a help document for VS.NET (later, I know that I should click Setup.exe to add). VS_SETUP.MSI is halfway, it is also wrong, look at the debug results, it is FileSystemObject creation failure (thank God, the error message here is finally friendly). VS.NET's error "Automation server can't create objects" is it? I suddenly remembered, I heard online in the first few months, I can ban the FileSystemObject object, I have forgotten how to do it, anyway, when I fell, I have forgotten, from there, I have never been there. I used FileSystemObject in my program. Search on Google and find that there is three ways to prohibit FileSystemObject (

http://www.sometips.com/faqs/315.htm

) The first method: Modify the registry ([HKEY_LOCAL_MACHINE / SOFTWARE / Classes / CLSID / {0D43FE01-F093-11CF-8940-00A0C9054228} / ProgID] @ = "Scripting.FileSystemObject"), will be changed to an arbitrary FileSystemObject Name, only users who know the name can create this object. I check the registry, the name of the site is still scripting.filesystemObject. So why is my FSO can't be used? I suddenly remembered that I used to use the second method, "Run Regsvr32 Scrrun.dll / u, all users can't create FILESystemObject." It was really too embarrassed at the time. Runregs Regsvr32 Scrrun.dll quickly. I tried to create a project with vs.net, a play prompt, no longer the damn "Automation server can't create objects" other solutions related posts: http: //yj.sxedu.com.cn/bk/downloadsoft.asp McLASS = 14

& sclass = 29 & id = 125 & keyword =

http://www.9cbs.net/develop/Article/14/14928.shtm

Http://support.microsoft.com/default.aspx?scid=kb;n-us;q323885

Q: Unable to start debugging on the Web Servera: If you encounter these errors, you need to consider the following questions: Web applications you want to check on the remote server store in Visual SourceSafe and use the FrontPage server to extend web applications Manually attach the content to be checked If you get "unable to start debugging on the web server" error, try check the following: Are you running a Windows version that allows the Visual Studio debugger to automatically attach to a web application? If not, you need to start the application without debugging, and then attach it to it manually. (For more information, see Manual Addition and ASP.NET Debug: System Requirements.) Does your web application have a web.config file? Whether the web.config file enables debug mode by setting the debug property to True? For more information, see the debug mode in the ASP.NET application. Does web.config contain any syntax errors? You can check if there is a syntax error by running a web application without debugging. (From the "Debug" menu, select "Start (not debug)".) If there is a syntax error in the web.config, the details are displayed. Are you a member of the debugger user (Debugger users)? If you log in as an administrator, is the administrator in this group? Are you creating a project by specifying a specific IP address (such as 100.20.300.400)? Debug web server requires NTLM authentication. By default, the IP address is assumed to be part of the Internet, and NTLM authentication is not performed on the Internet. To correct this question: When you create an item, specify the name of your computer on the intranet. - or - put the IP address (

http://100.20.300.400

) Add to a trusted site list on your computer. (From Internet Explorer's Tools menu, select "Internet Options" and select the Security tab). Does the computer running the IIS server have installed Visual Studio .NET remote components? Is IIS installed on a local computer (ie computer running Visual Studio .NET) after installation of Visual Studio .NET installed? IIS should be installed before installing Visual Studio .NET. If it is later installed, you may need to fix the .NET framework. Repair the .NET framework into the Visual Studio .NET disc and run : / DotNetFramework / DotNetfx.exe / T: C: / Temp / C :"msiexec.exe / Fvecms C: /Temp/netfx.msi " Does the URL of the project start page correctly? Is the extension and project directory correct? Do IIS security settings correctly? To verify this, check the Default Web Site settings. Check the IIS Security settings of the Default Web Site From the Start menu, select Programs and Administrative Tools in turn, then click Internet Service Manager (Windows 2000) or "Internet Information Services" (Windows XP ). In the Internet Service Manager or the Internet Information Services dialog box, click Tree Control for your computer. In the Web Site folder, find the Default Web Site. Right click on "Default Web Site" and select Properties. In the Default Web Site Properties window, select the Directory Security tab and click Edit. In the Authentication Method dialog box, select "Anonymous Access" and "Integrated Windows Authentication" (if you haven't selected). Click OK to close the Internet Service Manager or the Internet Information Services dialog. Click OK. For the ATL Server application, verify that the debug predicate is associated with your ISAPI extension. For ASP.NET applications, make sure that the application's virtual folder has an "application name" set in "Internet Service Manager" or "Internet Information Service". Specifying a virtual folder from the Web Application From the Start menu, select Programs and Administrative Tools, and then click Internet Service Manager (Windows 2000) or "Internet Information Services" (Windows XP). In the Internet Service Manager or the Internet Information Services dialog box, click Tree Control for your computer. In the Web Site folder, find this web application. Right click on "Default Web Site" and select Properties. In the Default Web Site Properties window, select the Directory tab. Under Application Settings, click Create. The application name appears in this box. Click "OK" to close the Properties dialog. Click OK to close the Internet Service Manager or the Internet Information Services dialog.

Web applications on remote servers If the web application is on the remote server, check the following: Will you run the correct installer to install the ASP.NET/atl Server and Remote Debugger Components on the server? Are you a member of the debugger user (Debugger user "group on the server? Do you have access privileges necessary to debug the process running under the system account? According to the security settings, the ASP.NET application may run under the INetInfo.exe (IIS process), or it is possible to run in the ASP secondary process aspnet_wp.exe. By default, the ASPNET_WP.EXE process runs as a System. To debug applications running under ASPNET_WP.EXE, you need to have administrator privileges or edit the machine.config file for ASPNET_WP.exe so that ASPNET_WP.EXE is running under user accounts. To debug an application running under inetinfo.exe, you must be an administrator on a computer that runs in inetinfo.exe. According to the security settings, the ATL Server application may run under inetinfo.exe or run under the ATL assist process Dllhost.exe. To debug an application running under inetinfo.exe, you must be an administrator on the computer that runs INetInfo.exe, or uses the public language Runtuance Application setting to configure DLLHOST to run as a specific user. Are you using the Terminal Server try to debug a web application on a remote computer? Under Windows XP, you support the use of "Terminal Server" to remotely debug the native web application. It is not supported in Windows 2000 or Windows NT. WEB applications stored in Visual SourceSafe and extended using FrontPage Server If the web application stores in Visual SourceSafe and uses FrontPage Server Extensions as its web access mode: Visual SourceSafe is located with the FrontPage server / web server On the same computer? If so, you can use "Integrated Authentication" to debug. (To check "Integrated Authentication" settings, see this procedure to check the "default Web site" IIS security settings.) Solving another method of this problem is to change the web access mode from FrontPage to file sharing File Share). Change the web access mode to File Share In the Solution Explorer, right-click the project name, then select Properties from the shortcut menu. In the Properties Page dialog box, open the General Properties folder and select "Web Settings". Under "Web Server Connection", click Web Access Mode and select File Sharing from the list box. Click OK to close the Properties Page dialog. Manual Additional If the corresponding operation is performed in accordance with these troubleshooting steps, the error message is still received when starting debugging, and you may need to try to debug the application by manually attach. Manually attach the launch application without debugging. (From the "Debug" menu, select "Start (not debug)".) Additional IIS processes or auxiliary processes. By default, for the ATL Server application for inetinfo.exe; for the ASP.NET application as ASPNET_WP.EXE.

Use the following procedure to determine which process is running under the ASP.NET or ATL Server application. Check which procedure running under the ASP.NET application Using the Visual Studio .NET or other text editor opens the application's Machine.config file. Find the following process model properties: enable If the enable is set to True, the application runs under ASPNET_WP.EXE (this is also the default setting.) If the enable is set to false, the application runs under inetinfo.exe. Check which process of the ATL Server application runs in the Solution Explorer, right-click the project name, and then select "Properties" from the shortcut menu. In the Properties Page dialog box, open the Web Deploy folder and select "General". View Application Protection settings. If this is set to "IIS Process)", the application runs under inetinfo.exe. If this is set to "Medium (Pool)", the application runs under the DLLHost.exe process (same as those in the Pool). If this is set to "High (independent)", the application runs under the DLLHOST.EXE process (different from other ATL Server applications). Click OK to close the Properties Page dialog. See debug scripts and web: errors and troubleshooting Q: Web Access Failed This item's default web access mode is set to file sharing, but cannot open from Path "D: / INETPUB / BWEB" to open "http: // localhost / bWeb" Place

Project folder, returned error is: Unable to open the web project "BWEB". File path "D: / INETPUB / BWEB" with URL "

http: // localhost / bWeb "does not match. These two needs

Transfer to different server locations. HTTP error 404: NOT FOUNDA: 1. Open IIS Manager. 2. Right click on "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) 7. In MIME TYPE, enter "Temp". (No quotation marks) Q: vs.net debug Issues A: Regarding a series of questions that appear in VisualStudio.net, for example, there is no permission debug web server, not a debugger user group, unable Commissioning, etc., can be at the VS7 Debugger Doesn't Work. What Can I Do (

http://blogs.msdn.com/mkpark/Articles/86872.aspx

This article finds the answer. I have encountered no permissions to debug on the web server. Later, I later selected IE Internet options -> Security -> intranet-> Custom Level -> User Validation "Automatic User and Password Login" to solve unable Commissioning problem. How can I think that VS.NET cannot debug and modify IE options?

转载请注明原文地址:https://www.9cbs.com/read-127394.html

New Post(0)