VS Studio 2008 Express sp1

A

Arne Garvander

I am running vs Studio Express sp1 on a Windows 2003 server.
I get this error
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.
C:\WebSiteBetter\images\web.config 52
I commented out line 52 but the problem did not go away,
What can I do?
 
G

Guest

I am running vs Studio Express sp1 on a Windows 2003 server.
I get this error
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.
C:\WebSiteBetter\images\web.config      52
I commented out line 52 but the problem did not go away,
What can I do?  

Arne, is the virtual directory configured as an application?
 
J

Juan T. Llibre

re:
!> C:\WebSiteBetter\images\web.config

Why is your web.config located in the images directory ?
It should be located in your application's root.
 
A

Arne Garvander

I found an extra copy of web.config in a sub folder of the application. That
seems to have been the source of the problem.
 
A

Arne Garvander

That is right.
--
Arne Garvander
(I program VB.Net for fun and C# to get paid.)


Juan T. Llibre said:
re:
!> C:\WebSiteBetter\images\web.config

Why is your web.config located in the images directory ?
It should be located in your application's root.
 

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

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,705
Latest member
Stefkari24

Latest Threads

Top