Well, if your application would be only one on that server or site you could
use wwwroot folder (Default Web Site's folder) or some other site's folder
because it's application folder by default. It doesn't need to be created
explicitly.
Means that you put web.config, bin/"assemblys" on wwwroot or site's root
folder and still your application somewhere else under those folders for
example that D:\dotnet\PontoNetPT. Application then uses assemblys and
web.config from parent directory (root in this case) because it isn't
application itself.
But I suppose this is quite theoretical and might be difficult to get it
done. Especially if there isn't even permissions to create virtual
directory.
Teemu Keiski
-----Original Message-----
From: Martin Chan [mailto:martinchan852@h...]
Sent: 5. kesäkuuta 2002 11:15
To: ASPX_Professional
Subject: [aspx_professional] RE: virtual directory error
Is there any workaround for not add vir dir in iis? I need t deploy in
public web host (http://www.brinkster.com ) which not allowed to create
vir dir.
regards,
Martin
> Use the IIS management console to add a virtual directory to
> "D:\dotnet\PontoNetPT\web".
>
> Your application is failing on line 11 because .NET uses IIS for some of
> its authentication features.
>
>
> -----Original Message-----
> From: RBFigueira@m... [mailto:RBFigueira@m...]
> Sent: Friday, December 07, 2001 1:06 AM
> To: ASPX_Professional
> Subject: [aspx_professional] virtual directory error
>
>
> Friends,
>
> What i have to do to fix this :
>
>
> Server Error in '/dotnet' Application.
> ------------------------------------------------------------------------
> ----
> ----
>
> Configuration Error
> Description: An error occurred during the processing of a configuration
> file
> required to service this request. Please review the specific error
> details
> below and modify your configuration file appropriately.
>
> Parser Error Message: It is an error to use a section registered as
> allowDefinition=3D'MachineToApplication' beyond application level. This
> error
> can be caused by a virtual directory not being configured as an
> application
> in IIS.
>
> Source Error:
>
>
> Line 9: <system.web>
> Line 10: <compilation debug=3D"true" />
> Line 11: <authentication mode=3D"Forms">
> Line 12: <forms name=3D".ASPXAUTH"
> loginUrl=3D"login.aspx" protection=3D"All" timeout=3D"60" />
> Line 13: </authentication>
>
>
> Source File: D:\dotnet\PontoNetPT\web\web.config Line: 11
>
>
> ------------------------------------------------------------------------
> ----
> ----
> Version Information: Runtime Build:1.0.2914.16; ASP.NET
> Build:1.0.2914.16
>
>
> Best resgards,
>
> Ricardo Figueira (RBFIGUEIRA)
> Moderador Lista PontoNetPT (ASP.NET e VB.NET)
> http://groups.yahoo.com/group/PontoNetPT
> *** PORTUGUESE LANGUAGUE***
>