hi..
i have developed a web application using asp.net2005. my purpose is to run this application in another windows system with the help of url.. we will install only sql server2000 and dot net framework,and finally we will install the deployment "msi" file.. so how can i do this...

Dani AI

Generated

correctly points out that a WebBrowser control can open a page inside a Windows app, but that alone does not make your ASP.NET site available at a network URL. For to let other Windows machines open the site by URL you must host the site on a web server (IIS) that other machines can reach, and ensure the installer (MSI) or your setup steps put the site into IIS and configure the database and permissions.

  • Install the matching .NET Framework on the target machine.
  • Enable IIS and the ASP.NET feature, then create a website or virtual directory and set the application root and app pool to the correct .NET version.
  • Copy your compiled site files into the IIS site folder and give the app pool identity NTFS access to that folder.
  • Install/attach the SQL Server database on the machine (or point the connection string to a central DB server). Create the necessary SQL logins or Windows accounts and update the web.config connection string.
  • Open the HTTP port (80) in the host firewall and bind the desired host name or IP in IIS; use DNS or the hosts file so the URL resolves.
  • Test first with on the host, then from another PC by IP or host name.

Common failures: 401/403 (permissions), HTTP 500 (wrong .NET version or missing assemblies), and DB login failures. Check IIS logs and Windows Event Viewer, confirm the SQL Service is running and remote connections are allowed, and verify the app pool identity has database access. For older ASP.NET versions you may need to register ASP.NET with IIS (for example aspnet_regiis -i on classic setups).

If you plan to deploy to many machines, consider hosting on one server and letting clients browse to that URL instead of installing the MSI everywhere. If you keep the MSI path, make sure it automates IIS site creation, file copy, DB attach, and connection-string updates.

Recommended Answers

All 3 Replies

Hi you can use webbrowser control in the windows application.

Best Regards,
Phani

Hi you can use webbrowser control in the windows application.

Best Regards,
Phani

can u tell me briefly ... how is it possible?

simply take a windows application and in that from the toolbox just drag and drop a webbrowser control. You can specify navigate property for webbrowser control as "your webpage link:".

The following is the some code snippet.

private void Form1_Load(object sender, EventArgs e)
        {
            
            webBrowser1.Navigate("WWW.YAHOO.COM");
        }

try it...

Best Regards,
Phani

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.