Delphi2005 discussion

xiaoxiao2021-03-06  38

Delphi2005 develops the problem and related solutions encountered by the ASP.NET program

problem:

When you create a new project, select the ASP.NET Web Application, and then all press the default setting, then click Run, click the Browser error "This page cannot be displayed", close the browser to return the Delphi2005 development environment error message as follows:

http://blog.9cbs.neet/mzyp2002/gallery/image/44292.aspx

Solution process:

Due to the newly installed system, you can see the default web server is IIS, install IIS, run, and fault;

View Delphi2005 Help file See also Cassini Web Server, download Cassini Web Server and install, modify Tools-> Options-> HTML / ASP.NET OPTIONS-> ASP.NET Cassini Web Server port is changed to other ports, such as 8087, Then modify the project-> options-> debugger-> asp.net-> host with web server-> server is Cassini Web Server, try again, in the browser error "This page cannot be displayed", close the browser to return Delphi2005 development environment The error message is as follows: http://blog.9cbs.Net/mzyp2002/gallery/image/44293.aspx

Change into other port numbers, the error message is similar, but the 8087 in the error message has changed to the changed port number, and has to give up the Cassini Web Server try; (if there is a high person understand, hope to enlighten, not grateful)

Open IIS, select the default website, right click, browse, see IIS test web pages, prove that IIS itself has no problem. Select the new project to automatically generate virtual directory WebApplication1, right click, browse, prompt "You do not want to view this page", right-click WebApplication1-> Properties -> Document -> Add-> WebForm1.aspx-> OK -> Move (up) To move this file to the first place) -> OK, select WebApplication1 right click, browse, error "This page cannot be displayed".

Search ST_WP.EXE is the sacredness, it is not enough to install .Net and IIS. Net and IIS are not enough, you need to add / delete components -> application server, click more, and add asp.net, really , But also make such a low-level mistake!

Open IIS, select WebApplication1 right click, browse, um, finally showed normal.

I have been very good, I can use Delphi2005 to open the test run, in the browser, "I can't find the web page", close the browser to return the Delphi2005 development environment error message actually failure! ! !

I'm sick, http://localhost/webapplication31/webform1.aspx is changed to http://192.1/webform1.aspx maybe it is, so it is true. That http: //localhost/webapplication31/webform1.aspx why not, then the DNS domain name is resolved? So configure DNS, DHCP, WINS, and find an error when configuring DNS. Current DNS server has no domain name. Its DNS name is a single tag host name, no domain (such as "Host" instead of "host.microsoft.com"). You may forget to configure the primary DNS domain for the server computer. For more information, see "DNS Server Log Reference" or "Configuring the main DNS suffix for the client computer" in the online help. - Then there is a related method. (Microsoft is doing well in this area.) Follow the above processing method, rename the machine name, after restart, DNS finally no longer reports. Other related services are normal.

However, Delphi2005 opens the test run just now, in the browser error "can't find the webpage", close the browser to return to the Delphi2005 development environment, the error is still there! ! !

Open IIS, select WebApplication1 right click, browse, and report the error "Can't find the webpage". Inist, I just changed from IIS testing to the IP address in the website identity in the default website attribute to this machine IP192.168.0.5, and change it back, that is, (all unassigned).

Yeah, this world is quiet .........

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

New Post(0)