Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old September 14th, 2007, 09:34 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
Default IIS7, Front Page Server Extentions, Vista

Hi all,

Trying to use Visual Web Developer 2005 to create a web site in IIS 7 on a machine running Vista. Get a message that the Front Page Server extensions aren't installed.

Downloaded and ran the intallation program from:

http://www.iis.net/downloads/default...=34&i=1460&g=6

Get same error message. Front Page extensions didn't seem to be available as an installation option in IIS 7 as they were in IIS 6.

Any thoughts?

Bob



  #2 (permalink)  
Old September 15th, 2007, 01:53 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Bob,

How are you trying to create the site? Through File | New Web Site or through the New Project dialog?

Are you running VS 2005 in Administrative Mode under Vista?

Have you tried creating the site in IIS first and then opening it in VS 2005, or isn't that what you're after?

Cheers,

Imar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
  #3 (permalink)  
Old September 16th, 2007, 05:15 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
Default

Hi Imar,

Thanks for the reply. Oh, and congrats on the imminent release of your new book!! 3.5 already, makes my head spin.

I'm just trying to create a web app in Visual Web Developer Express by doing:

File --> New Web Site --> and at Location, selecteing HTTP, and entering and address like http://localhost/website1.

The error message I get is:

"Unable to create 'http://localhost/website1'. The web server does not appear to have the Front Page server extensions installed.

...which is correct, IIS 7.0 does not have the Front Page server extensions installed, nor do the Front Page server extensions ship as part of Vista/IIS 7.0. Makes almost as much sense on Microsoft's part as shipping SQL Server 2005 Express with no DTS capability (i.e., there is no way to import existing databases!!@$%^#@*).

But back to the matter at hand. I thought I had found some help here:

http://www.iis.net/articles/view.asp...ensions?Page=3

This article states that:

"Unlike previous versions of the FrontPage Server Extensions, the installation process will only create the "MSSharePointAppPool" application pool and the FrontPage Server Administration Web site (also called the Microsoft SharePoint Administration Web site). Therefore no Web sites will have the FrontPage Server Extensions installed after you have completed the installation process."

"After you set up FrontPage 2002 Server Extensions (FPSE 2002) on your server, you must extend a Web site or virtual server with FPSE 2002 before you can open the Web site using an authoring tool."

The article than provides two means of "extending" the Default Web Site on IIS. I tried both, neither worked. The "Microsoft SharePoint Administrator" route simply timed-out on me. The owsadm.exe –o install –p <port> -u <username> route gave the following error:

'Error: The server instance specified was not found. Please specify the server address and port. I had just run a .bat file (after moving owsadm.exe and some supporting .dlls to C:\) that looks like:

C:\owsadm.exe -o install -u ELIOT -P 80.

I tried a variety of address configurations.

I miss XP Pro. I'm tired. I want to go home.

There you have it. Thanks.

And and congrats on the imminent release of your new book!!!!!

Bob





  #4 (permalink)  
Old September 17th, 2007, 01:41 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Imminent, Imminent ..... Hmmmm, a lot of work still needs to be done... ;)

Anyway, two things you can trey:

1. Start VS elevated (e.g. as an Administrator)

2. Create the site in IIS first and then open it in VS

I know option 2 is a bit of a cheat, but it may work for you.

It took me a while to get used to Vista, but now I wouldn't want to go back. Maybe you should try again when you're not tired.... ;)

Good luck!

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
  #5 (permalink)  
Old September 17th, 2007, 05:46 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
Default

Hi Imar,

I created a website on ISS 7. I'm doing all this on my personal lap top, and I have only one account on it which is the administratior account. I don't know a lot about Vista security issues yet. When I attempt to access the site via Files --> Open a Web Site --> Local IIS
I get the following message:

You must be a member of the administrators group on the local computer to access the IIS metabase.

I thought I was the administrator? Do I need to do something else? How does one start VS "elevated" as an Administrator?

Thanks...

Bob

  #6 (permalink)  
Old September 17th, 2007, 01:38 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Vista is based on something called UAC, or User Account Control where even Admin accounts cannot do everything at al times. You need to grant specific permissions for things that affect the system (like hook into IIS for creating web sites or debugging purposes).

(UAC used to be called LUA for Least-privilege User Account but people mistook it for Least Understood Acronym ;) ).

You can start any application elevated by right-clicking the short cut in the start menu and choosing Run as Administrator.

Alternatively, open up the short cut for VS 2005, click the Advanced button and choose Run as Administrator. That way, it is always started as an elevated Administrator.

The thing is, even if you are an Admin, you aren't really. For "scary things" Windows still asks you for elevation permissions. You can turn it off if you like, but I decided to live with it because it has been invented for a reason. I have come to terms with it now, and hardly find it annoying anymore.

But, it's yet another thing to discover and learn about before you can use or work around it.... ;)

Hope this helps,

Imar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
  #7 (permalink)  
Old September 17th, 2007, 07:29 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
Default

Hi Imar,

Please forgive this latest barrage of questions. The infantry is advancing, and the shells should cease falling soon. Meanwhile, I was able to start a web app on IIS using the security info from your last post. Thanks very much. However, I am unable to start debugging the app. I get this:

'Unable to start debugging on the web server. Debugging failed because integrated Windows authentication is not enabled.'

(complilation debug is set to true in my web config file.)

Bob

  #8 (permalink)  
Old September 18th, 2007, 01:10 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

No problem...

There are a couple if things you need to do / look at:

http://www.iis.net/articles/view.asp...005-on-Windows
http://weblogs.asp.net/scottgu/archi...t-on-iis7.aspx

These describe a hot fix to resolve this issue.

Additionally, for your web site in IIS, choose Authentication and then make sure that Windows Authentication is set to Enabled.

If I recall correctly, that fixed it for me. I think you're going through the same process as I went, making one step at a time trying to make this work. Eventually, it will work, and you'll appreciate how much easier IIS 7 is (having multiple websites for example).

Don't know if you need to run classic ASP as well, but then you'll run into even more issues.... ;)

Good luck!

Imar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
  #9 (permalink)  
Old September 18th, 2007, 05:56 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
Default

Hi Imar,

Initially, simply enabling the authentication seems to do the trick. I'll have a look at the other link when I have some time to study it.

All-in-all I'd say I'm tentatively up and running (with a few knocks on a few piecs of wood).

As always, thank you for your generosity. I'll keep exploring the "getting FPSE installed on IIS 7.0", and when I stumble upon the solution I'll post it here.

Oh, and did I mention?, congrats on the imminent release of your new book!!! :)

Bob

  #10 (permalink)  
Old September 18th, 2007, 01:29 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

You're welcome....

Oh, and did I mention?, it's not so imminent? Months will go by before the book is available.... Thanks anyway; I'll keep you posted .... ;)

Imar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004




Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista/IIS7 Setup hyarmion BOOK: Beginning ASP 3.0 0 November 3rd, 2008 01:33 AM
Connecting with SQL Server on Windows Vista aehb ASP.NET 1.0 and 1.1 Basics 3 June 16th, 2008 01:09 PM
IIS7 and Vista makintosh BOOK: Beginning ASP 3.0 2 January 31st, 2008 06:06 PM
Front Page server extension error NWilson Assembly Language 1 January 17th, 2006 01:55 PM
SQL server with excel as front-end Stanny SQL Server 2000 0 February 12th, 2005 07:05 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.