Hi - I am brand spanking new. I am able to see my website in VS 2005 but now I want to transfer it to IIS.

I put it in c:\inetpub\wwwroot

When I type in the computer name in ie I get error

"You are not authorized to view this page"

can someone help me view my page?

Thanks,
DialerJames

Recommended Answers

All 5 Replies

Hi - I am brand spanking new. I am able to see my website in VS 2005 but now I want to transfer it to IIS.

I put it in c:\inetpub\wwwroot

When I type in the computer name in ie I get error

"You are not authorized to view this page"

can someone help me view my page?

Thanks,
DialerJames

this means your web directory needs permission add every one or IWAM_WKS.., IUSR_WKS.., and ASPNET to your directory than it will work fine.

Let me know if you need further clarifications
regards,
Khaled

this means your web directory needs permission add every one or IWAM_WKS.., IUSR_WKS.., and ASPNET to your directory than it will work fine.

Let me know if you need further clarifications
regards,
Khaled

Hi Khaled,

I am able to get to the site to see the files but the actual web page is not coming up. This is what I see when I put hte server name (natsmf04) in the address bar of the browser:

natsmf04 - /

Sunday, August 12, 2007 1:49 AM <dir> App_Code
Sunday, August 12, 2007 1:49 AM <dir> App_Data
Sunday, August 12, 2007 1:49 AM <dir> controls
Thursday, July 26, 2007 11:51 AM 446 Default.aspx
Thursday, July 26, 2007 12:14 PM 380 Default.aspx.cs
Sunday, August 12, 2007 1:49 AM <dir> images
Thursday, July 26, 2007 1:16 PM 9228 Reports.aspx
Thursday, July 26, 2007 1:18 PM 10436 Reports.aspx.cs
Sunday, August 12, 2007 1:49 AM <dir> stylesheets
Saturday, August 04, 2007 11:31 PM 4750 Web.config

did you create a virtual directory for IIS? I think you have to do that before it will actually serve a website.

No I didn't. I think that should do it. Thanks!

No I didn't. I think that should do it. Thanks!

Directories inside of wwroot are by default configured as a Virtual Directories.

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.