Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 305021
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T07:20:05+00:00 2026-05-12T07:20:05+00:00

I am using VS 2008, SQL Server 2008, IIS 6.0 Manager on an XP

  • 0

I am using VS 2008, SQL Server 2008, IIS 6.0 Manager on an XP OS. I developed my very first C# project in VS 2008 and it runs correctly in VS. But now I need to publish this project on my website. This project also involves an SQL Server 2008 Adventureworks database on this same computer.

I will use this same computer to host the website and house this database. I know HTML but not how to add a .NET project to a web site, especially one that also uses SQL Server. Can u offer me tips as to how to proceed? This is not a Windows Form Application, so I am pretty sure it is a Web Application.

I started by right-clicking the project and selecting “Convert to Web Application” and then I selected the URL for my site. But then when I went to this URL, it still shows the original image.

Then I opened IIS6 Manager, Default Web Site, and I added a new virtual directory. I typed an alias and pointed the path to the folder containing my web application (this folder has a bin, App_Data, obj, and Properties folder in it. It also contains all of the .CS files).

Next I reviewed the MS documentation at

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/fc473b0b-162b-4146-932c-2a9a50c52ecb.mspx?mfr=true.

But this didn’t help much. All I learned from this documentation was to copy the DLL to the C:\Inetpub\wwwroot[MyApp]\bin directory. Also I copied the web.config, global.asax, and default.aspx files to the C:\Inetpub\wwwroot[MyApp] directory. And then I changed the App’s Properties via the IIS6 Manager as follows: Virtual Directory tab I selected new Local Path pointing to C:\Inetpub\wwwroot\AFS\bin directory instead of the native VS project directory (C:\Documents and Settings\New Owner\My Documents\Visual Studio 2008\Projects\AddFileToSQL\AddFileToSQL).

The only difference between these two directories I see is that the name of my application in VS and folders is “AddFileToSQL”, but name I gave this folder under C:\Inetpub\wwwroot\ was “AFS”. Does this matter?

When I navigate to my website, 192.168.2.2, it still shows me the default web page. However when I go to http://192.168.2.2/AddFileToSQL, it prompts me to enter password. Which password and is this right? And is this the correct URL to enter?

There are so many tabs and options in this IIS Properties window that I’m not sure if I configured it properly. I also see many Property options in VS 2008 for this project. Right now everything in these two Properties windows is set to default. Do I need to make any changes to any of these properties?

Yes I know I have XP. Target and development server are the same. This XP is the only machine I have. Are u sure IIS 6 only works with Server 2003? Cause I know that I’m able to configure the IIS6 Manager.

I’m not sure if it is Cassini or not, but from VS when I run this application, it does open a web browser and does what I want it to. I ran the aspnet_regiis command u suggested. It looks like maybe that was not installed cause it took a few minutes to install.

Now which URL should I go to to test this app? I opened the Properties window and it said Virtual Directory Local Path is C:\Inetpub\wwwroot\AFS\bin. Next I right-clicked this app from IIS6 Manager and chose “Browse”. But this caused it to produce output: “The website declined to show this webpage”. I feel like I am very close to the solution, but still not there yet. Do u have other suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T07:20:05+00:00Added an answer on May 12, 2026 at 7:20 am

    The easiest way to deploy a web app is to use Publish by right clicking on the web app and selecting “Publish”, you can specify either an HTTP path or a fully qualified drive path or a fileshare locaton for this.

    Typically the username/password prompt will be displayed when you have Integrated Windows authentication enabled and anonymous disabled, I believe that if your windows user is part of a domain, your NT credentials should flow through the browser(typically it does in IE) , if you are hitting the site using a Mozilla based browser such as Firefox you may have to enter your credentials.

    Also, if you are not using SQL authentication(UserID/Password in Web.config) then you would need to grant access to the account under whose identity your web site is running under(by default(on XP) web apps run under Network Service)

    Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 226k
  • Answers 227k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Core Data will mainly help in the auxiliary facets of… May 13, 2026 at 1:17 am
  • Editorial Team
    Editorial Team added an answer You don't necessarily need to use jQuery for that. Simply… May 13, 2026 at 1:17 am
  • Editorial Team
    Editorial Team added an answer A function that takes a function as its argument is… May 13, 2026 at 1:17 am

Related Questions

I am developing a web application using ASP .NET 2.0, VS 2008 and SQL
I want to create 3D reports which have a good look and feel. I
I am using VS 2008 and trying to step into a stored procedure on
I am using VS 2008 and trying to step into a stored procedure on

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.