I have prepared a .NET site on one machine, but when I
try to move it to the server, I have problems. If I use a
default.htm file, there is no problem. But with an
aspx.htm file I get an error from the authentication
section of the webconfig file. The error reads, "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 configureed as an appliccation in IIS."
As nearly as I can tell, IIS is set up identically on
both machines. Any ideas?

Thanks

Re: asp.net error by Ken

Ken
Wed Oct 29 19:38:41 CST 2003

Is the folder you moved the application into set as an Application Root?

(in the IIS MMC Snapin, right-click on the folder. On the "Home Directory"
tab, is there an application name listed?0

Cheers
Ken


"Buz" <bwaitz@sbcglobal.net> wrote in message
news:048b01c39e7f$ef3d8f10$a501280a@phx.gbl...
: I have prepared a .NET site on one machine, but when I
: try to move it to the server, I have problems. If I use a
: default.htm file, there is no problem. But with an
: aspx.htm file I get an error from the authentication
: section of the webconfig file. The error reads, "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 configureed as an appliccation in IIS."
: As nearly as I can tell, IIS is set up identically on
: both machines. Any ideas?
:
: Thanks



Re: asp.net error by Buz

Buz
Wed Oct 29 20:32:53 CST 2003

the application blank reads "default application"

>-----Original Message-----
>Is the folder you moved the application into set as an
Application Root?
>
>(in the IIS MMC Snapin, right-click on the folder. On
the "Home Directory"
>tab, is there an application name listed?0
>
>Cheers
>Ken
>
>
>"Buz" <bwaitz@sbcglobal.net> wrote in message
>news:048b01c39e7f$ef3d8f10$a501280a@phx.gbl...
>: I have prepared a .NET site on one machine, but when I
>: try to move it to the server, I have problems. If I
use a
>: default.htm file, there is no problem. But with an
>: aspx.htm file I get an error from the authentication
>: section of the webconfig file. The error reads, "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 configureed as an appliccation in IIS."
>: As nearly as I can tell, IIS is set up identically on
>: both machines. Any ideas?
>:
>: Thanks
>
>
>.
>

Re: asp.net error by Kristofer

Kristofer
Thu Oct 30 04:10:20 CST 2003

Hello,

Have you created an application on the web server? Right click the root
folder in IIS Manager, and click Properties. Then on the Directory tab,
click the Create button.

--
Regards,
Kristofer Gafvert - IIS MVP
http://www.ilopia.com - FAQ & Tutorials for Windows Server 2003, and SQL
Server 2000
Reply to newsgroup only. Remove NEWS if you must reply by email, but please
do not.

Problems with spam and viruses? See
http://www.ilopia.com/security/newsposting.aspx


"Buz" <bwaitz@sbcglobal.net> wrote in message
news:048b01c39e7f$ef3d8f10$a501280a@phx.gbl...
> I have prepared a .NET site on one machine, but when I
> try to move it to the server, I have problems. If I use a
> default.htm file, there is no problem. But with an
> aspx.htm file I get an error from the authentication
> section of the webconfig file. The error reads, "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 configureed as an appliccation in IIS."
> As nearly as I can tell, IIS is set up identically on
> both machines. Any ideas?
>
> Thanks