Web App with IIS

G

Guest

I posted the following over the holidays and had one person try to help.
Unfortunately, I made no progress and still need assistance:

I'm a beginner and trying to learn. I have a half dozen websites that I first
configured in just html. Then I converted them to ASP.Net and it took help
from Microsoft to get IIS to recognize the applications.

Then I lost my server and had to rebuild. Now that I have, I continue to
have the following problem:

The website I have under the default website oon IIS works fine. However,
the others, which I defined, each as their own website, fail to run. I get a
configuration error that "It is an error to use a section registered as
allowDefiniteion='MachineToApplication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS." Then it displays the authentication section, whether forms or none.

I have gone into IIS and reset the website applications several times. There
appear to be no real differences between the virtual directory I defined for
the default website and those I defined for other websites. And indeed, IIS
seems to have no trouble finding the correct webconfig files each time.

Can anyone help? I've spent a couple of days trying to puzzle through this
and am completely stumped. Thanks!
 
G

Guest

I appreciate the suggestion, and I did try, but with no luck. Partly because
this seems to be a problem somewhat unique to .Net and partly because I'm
using IIS under Windows Server 2003 and partly because I'm a novice at IIS, I
guess. At any rate, no one seems very helpful on this but I know the problem
is not uncommon. I see other posts in this group about it. I just don't see
any good answer for me. I've tried all the things I've seen suggested and am
surprised that no one seems to have a better handle on it.
 
N

Nick Malik [Microsoft]

Hi Buz,

Me again. I have a question. You said: "Then I converted them to ASP.Net
and it took help
from Microsoft to get IIS to recognize the applications. "

Can you give details? What do you mean by "it took help from Microsoft"?
Did you call Product Support?
What did they do for you?
Did you write down the steps?

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
 
G

Guest

Hi Nick,

I had product support calls with an MSDN subscription. In fact, I had one
left and it just expired... rats!

Anyway, the first time, they had me clear the application information in IIS
and recreate it. Worked great. I tried that first this time. No go.

What puzzles me is that the default site seems to work fine, but not the
other sites. I'm still trying to find any differences.

Thanks

Nick Malik said:
Hi Buz,

Me again. I have a question. You said: "Then I converted them to ASP.Net
and it took help
from Microsoft to get IIS to recognize the applications. "

Can you give details? What do you mean by "it took help from Microsoft"?
Did you call Product Support?
What did they do for you?
Did you write down the steps?

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
 
N

Nick Malik [Microsoft]

I assume that you have followed the directions in this posting
http://dotnetjunkies.com/WebLog/shaunakp/archive/2005/03/25/61363.aspx

This one may also be useful
http://aspnet_harish.blogspot.com/2004/12/you-may-receive-error-it-is-error-to.html


--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
Buz said:
Hi Nick,

I had product support calls with an MSDN subscription. In fact, I had one
left and it just expired... rats!

Anyway, the first time, they had me clear the application information in
IIS
and recreate it. Worked great. I tried that first this time. No go.

What puzzles me is that the default site seems to work fine, but not the
other sites. I'm still trying to find any differences.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top