Thursday, March 18, 2010

Asp.net in visual studio

If you get difficulty setting asp.net website project, follow this link..might help

1) http://msdn.microsoft.com/en-us/library/aa964620(VS.85).aspx

Running Web Applications on Windows Vista with Visual Studio 2005

You can use Visual Studio to create and work with ASP.NET Web sites (which are also known as Web applications) in a variety of configurations: local Internet Information Services (IIS) sites, file-system sites, File Transfer Protocol (FTP)–deployed sites, and remote sites. For guidelines to help you decide when to use each type of Web site, see Types of Web Sites in Visual Web Developer.

After installing IIS, you can configure Visual Studio to run and debug local ASP.NET Web sites in IIS instead of the built-in ASP.NET Development Server. When you create a local IIS Web site, the pages and folders for your site are stored in a folder under the default IIS folder for Web sites, which is located at LocalDrive:\Inetpub\Wwwroot. Visual Studio also creates the appropriate IIS configuration so that the Web site is recognized by IIS as an application.

To create and work with ASP.NET Web sites without installing IIS, you can create a file-system Web site. For more information about file-system Web sites, see Types of Web Sites in Visual Web Developer.

Installing IIS and ASP.NET on Windows Vista
Installing the ASP.NET component of IIS 7.0 on the Windows Vista operating system will enable ASP.NET Web applications to run as local IIS Web sites. You must have administrative privileges to install IIS 7.0.

To install IIS and ASP.NET on Windows Vista
1.In Windows Vista, open Control Panel and then click Programs and Features.

2.In the right pane, click Turn Windows features on or off.The Windows Features dialog box opens.

3.Select the Internet Information Services check box.

4.Double-click (or expand) Web Management Tools, double-click IIS 6 Management Compatibility, and then select the IIS 6 Metabase and IIS 6 Configuration Compatibility check box.

5.Double-click (or expand) World Wide Web Services, double-click Application Development Features, and then select the ASP.NET check box.

Note
The related options that are necessary for Web application development will automatically be selected.

6.Click OK to start the IIS and ASP.NET installation process.


2) and then RUN visual studio with ADMINISTRATIVE access..i.e. Run as Administrator.