Authentication Error

M

Morten Snedker

I'm running XP Pro for testing:

When placing a site in wwwroot, everytring works fine.

Now, instead of exchanging the content of wwwroot, when testing sites,
I've made a frontpage with nothing but links - and then a subfolder
for each site. E.g:

localhost/site1/default.aspx
localhost/site2/default.aspx

However, now I get an authentication error:

Parser Error Message: It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This
error can be caused by a virtual directory not being configured as an
application in IIS.

on

Line 46: <authentication mode="Forms">


Copying the content of a subfolder back to wwwroot, and it works.


I've googled alot and can see alot have had similar problem. I've
tried some of the resolutions, but they don't seem to apply to me.

Any help is greatly appreciated.


Regards /Snedker
 
G

Guest

Snedker,
I'm assuming you have IIS installed on your box. Start IIS manager right
click on the website folders... Make web applications.

Good Luck
DWS
 

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

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,268
Latest member
AshliMacin

Latest Threads

Top