473,508 Members | 2,382 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Configuration problem in ASP.net Website

Hi all,

I am developing a simple one page application in ASP.NET which takes an
input in a text box and print in a label. But when i uploaded it to the
website i get the following error:

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='MachineToApplication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS.

Source Error:
Line 36: "Passport" and "None"
Line 37: -->
Line 38: <authentication mode="None" />
Line 39:
Line 40: <!-- APPLICATION-LEVEL TRACE LOGGING

Source File: E:\webroot\xxxx\xxxx\xxxx.com\www\WebApplication2\ web.config
Line: 38

----------------------------------------------------------------------------
----

Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573
I have checked other authentication mode as well but unable to resolve this
problem. Please help.

Thanks,

Arsalan.
Nov 18 '05 #1
5 1591
the directory that you uploaded the aspx files to is not marked as virtual
directory.
if it is your server then configure that directory to be a virtual
directory.
alternatively contact the host and enquire / request that the directory be
made a virtual directory.

--
Regards,
HD
Once a Geek.... Always a Geek
"Arsalan Ahmad" <ar*****@hotmail.com> wrote in message
news:e6****************@TK2MSFTNGP10.phx.gbl...
Hi all,

I am developing a simple one page application in ASP.NET which takes an
input in a text box and print in a label. But when i uploaded it to the
website i get the following error:

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='MachineToApplication' beyond application level. This
error
can be caused by a virtual directory not being configured as an
application
in IIS.

Source Error:
Line 36: "Passport" and "None"
Line 37: -->
Line 38: <authentication mode="None" />
Line 39:
Line 40: <!-- APPLICATION-LEVEL TRACE LOGGING

Source File: E:\webroot\xxxx\xxxx\xxxx.com\www\WebApplication2\ web.config
Line: 38

----------------------------------------------------------------------------
----

Version Information: Microsoft .NET Framework Version:1.1.4322.573;
ASP.NET
Version:1.1.4322.573
I have checked other authentication mode as well but unable to resolve
this
problem. Please help.

Thanks,

Arsalan.

Nov 18 '05 #2
Hi,

Thanks for the reply. After declaring virtual directory now I am getting
this error when i try to access the page.
Server Error in '/WebApplication2' Application.
----------------------------------------------------------------------------
----

Could not find a part of the path "C:\".
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.IO.DirectoryNotFoundException: Could not find a
part of the path "C:\".

Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
Stack Trace:
[DirectoryNotFoundException: Could not find a part of the path "C:\".]
System.IO.__Error.WinIOError(Int32 errorCode, String str) +287
System.IO.Directory.InternalCreateDirectory(String fullPath, String path)
+489
System.IO.Directory.CreateDirectory(String path) +195
System.Web.Compilation.PreservedAssemblyEntry.DoFi rstTimeInit(HttpContext
context) +85

[HttpException (0x80004005): Failed to create temporary files directory
'C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempor ary ASP.NET
Files\webapplication2\7946c32d\10312955'. Access denied.]
System.Web.Compilation.PreservedAssemblyEntry.DoFi rstTimeInit(HttpContext
context) +142

System.Web.Compilation.PreservedAssemblyEntry.Ensu reFirstTimeInit(HttpContex
t context) +97

System.Web.Compilation.PreservedAssemblyEntry.GetP reservedAssemblyEntry(Http
Context context, String virtualPath, Boolean fApplicationFile) +29
System.Web.UI.TemplateParser.GetParserCacheItemFro mPreservedCompilation()
+91
System.Web.UI.TemplateParser.GetParserCacheItemInt ernal(Boolean
fCreateIfNotFound) +148
System.Web.UI.TemplateParser.GetParserCacheItemWit hNewConfigPath() +125
System.Web.UI.TemplateParser.GetParserCacheItem() +88
System.Web.UI.ApplicationFileParser.GetCompiledApp licationType(String
inputFile, HttpContext context, ApplicationFileParser& parser) +171
System.Web.HttpApplicationFactory.CompileApplicati on(HttpContext context)
+43
System.Web.HttpApplicationFactory.Init(HttpContext context) +485
System.Web.HttpApplicationFactory.GetApplicationIn stance(HttpContext
context) +170
System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest wr) +414


----------------------------------------------------------------------------
----

Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573

Please reply,

Thanks,

Arsalan.
"Hermit Dave" <he************@CAPS.AND.DOTS.hotmail.com> wrote in message
news:e7**************@TK2MSFTNGP11.phx.gbl...
the directory that you uploaded the aspx files to is not marked as virtual
directory.
if it is your server then configure that directory to be a virtual
directory.
alternatively contact the host and enquire / request that the directory be
made a virtual directory.

--
Regards,
HD
Once a Geek.... Always a Geek
"Arsalan Ahmad" <ar*****@hotmail.com> wrote in message
news:e6****************@TK2MSFTNGP10.phx.gbl...
Hi all,

I am developing a simple one page application in ASP.NET which takes an
input in a text box and print in a label. But when i uploaded it to the
website i get the following error:

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='MachineToApplication' beyond application level. This
error
can be caused by a virtual directory not being configured as an
application
in IIS.

Source Error:
Line 36: "Passport" and "None"
Line 37: -->
Line 38: <authentication mode="None" />
Line 39:
Line 40: <!-- APPLICATION-LEVEL TRACE LOGGING

Source File: E:\webroot\xxxx\xxxx\xxxx.com\www\WebApplication2\ web.config Line: 38


--------------------------------------------------------------------------

--
----

Version Information: Microsoft .NET Framework Version:1.1.4322.573;
ASP.NET
Version:1.1.4322.573
I have checked other authentication mode as well but unable to resolve
this
problem. Please help.

Thanks,

Arsalan.


Nov 18 '05 #3
open your IIS console and check whether the directory you have specified is
indeed marked as virtual directory and that its path is valid. you should be
able to browse from within iis just to check it

--
Regards,
HD
Once a Geek.... Always a Geek
"Arsalan Ahmad" <ar*****@hotmail.com> wrote in message
news:ud****************@TK2MSFTNGP09.phx.gbl...
Hi,

Thanks for the reply. After declaring virtual directory now I am getting
this error when i try to access the page.
Server Error in '/WebApplication2' Application.
----------------------------------------------------------------------------
----

Could not find a part of the path "C:\".
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.IO.DirectoryNotFoundException: Could not find a
part of the path "C:\".

Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
Stack Trace:
[DirectoryNotFoundException: Could not find a part of the path "C:\".]
System.IO.__Error.WinIOError(Int32 errorCode, String str) +287
System.IO.Directory.InternalCreateDirectory(String fullPath, String
path)
+489
System.IO.Directory.CreateDirectory(String path) +195

System.Web.Compilation.PreservedAssemblyEntry.DoFi rstTimeInit(HttpContext
context) +85

[HttpException (0x80004005): Failed to create temporary files directory
'C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempor ary ASP.NET
Files\webapplication2\7946c32d\10312955'. Access denied.]

System.Web.Compilation.PreservedAssemblyEntry.DoFi rstTimeInit(HttpContext
context) +142

System.Web.Compilation.PreservedAssemblyEntry.Ensu reFirstTimeInit(HttpContex
t context) +97

System.Web.Compilation.PreservedAssemblyEntry.GetP reservedAssemblyEntry(Http
Context context, String virtualPath, Boolean fApplicationFile) +29

System.Web.UI.TemplateParser.GetParserCacheItemFro mPreservedCompilation()
+91
System.Web.UI.TemplateParser.GetParserCacheItemInt ernal(Boolean
fCreateIfNotFound) +148
System.Web.UI.TemplateParser.GetParserCacheItemWit hNewConfigPath() +125
System.Web.UI.TemplateParser.GetParserCacheItem() +88
System.Web.UI.ApplicationFileParser.GetCompiledApp licationType(String
inputFile, HttpContext context, ApplicationFileParser& parser) +171
System.Web.HttpApplicationFactory.CompileApplicati on(HttpContext
context)
+43
System.Web.HttpApplicationFactory.Init(HttpContext context) +485
System.Web.HttpApplicationFactory.GetApplicationIn stance(HttpContext
context) +170
System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest wr) +414


----------------------------------------------------------------------------
----

Version Information: Microsoft .NET Framework Version:1.1.4322.573;
ASP.NET
Version:1.1.4322.573

Please reply,

Thanks,

Arsalan.
"Hermit Dave" <he************@CAPS.AND.DOTS.hotmail.com> wrote in message
news:e7**************@TK2MSFTNGP11.phx.gbl...
the directory that you uploaded the aspx files to is not marked as
virtual
directory.
if it is your server then configure that directory to be a virtual
directory.
alternatively contact the host and enquire / request that the directory
be
made a virtual directory.

--
Regards,
HD
Once a Geek.... Always a Geek
"Arsalan Ahmad" <ar*****@hotmail.com> wrote in message
news:e6****************@TK2MSFTNGP10.phx.gbl...
> Hi all,
>
> I am developing a simple one page application in ASP.NET which takes an
> input in a text box and print in a label. But when i uploaded it to the
> website i get the following error:
>
> 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='MachineToApplication' beyond application level. This
> error
> can be caused by a virtual directory not being configured as an
> application
> in IIS.
>
> Source Error:
>
>
> Line 36: "Passport" and "None"
> Line 37: -->
> Line 38: <authentication mode="None" />
> Line 39:
> Line 40: <!-- APPLICATION-LEVEL TRACE LOGGING
>
>
>
> Source File: E:\webroot\xxxx\xxxx\xxxx.com\www\WebApplication2\ web.config > Line: 38
>
>
>


--------------------------------------------------------------------------

--
> ----
>
> Version Information: Microsoft .NET Framework Version:1.1.4322.573;
> ASP.NET
> Version:1.1.4322.573
>
>
> I have checked other authentication mode as well but unable to resolve
> this
> problem. Please help.
>
> Thanks,
>
> Arsalan.
>
>



Nov 18 '05 #4
Hi,

Yes it is marked as virtual directory on my PC and i have also marked it as
virtual directory now on the host server. Any thoughts.

Thanks,

Arsalan.
Nov 18 '05 #5
sorry wasnt around... nah cant think of much,, see what others say... have
to run for work now...

--
Regards,
HD
Once a Geek.... Always a Geek
"Arsalan Ahmad" <ar*****@hotmail.com> wrote in message
news:ea***************@TK2MSFTNGP11.phx.gbl...
Hi,

Yes it is marked as virtual directory on my PC and i have also marked it
as
virtual directory now on the host server. Any thoughts.

Thanks,

Arsalan.

Nov 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1559
by: Maellic | last post by:
Hi, I'm having real trouble locating configuration settings on an existing website. Details follow: I've recently taken over a website developed with ASP.NET. Unfortunately the original...
1
2835
by: Ramanfromoz | last post by:
Hi, Developing a new we application. Everything okay on my local WIN XP PROFESSIONAL, IIS 5.0 running locally. The website is running smoothly. Now, the same code I am copying over to a...
5
2569
by: NoNickname | last post by:
Basically, how do I know that the release versions of all components are being published? The Build | Configuration Manager is confusing me a little in VS2005. I have three projects in my...
1
1593
by: Philipp Lenz | last post by:
I'm completely new to ASP.Net 2.0 and I'm baffled about what to do to get this to work. FYI, I'm not new at this, I've used asp.net 1.1 for allmost 4 years now. I'm running a development...
2
1561
by: Erland | last post by:
Hi all, I have developed an asp.net( 1.1) website using vb.net and Microsoft Access and my hosting company does support asp.net1.1. Now I've FTP'd the website , but whenever i try to access the...
1
2975
by: kurt sune | last post by:
I am having trouble publishing a website for RELEASE. 1. web.config: <compilation defaultLanguage="vb" debug="false"> 2. in Configuration manager I set the configuration to Release for the...
3
15502
by: mrajanikrishna | last post by:
Hi friends, I've designed an application in my local system using VS.NET 2003. (VB.NET and ASP.NET) Its working fine. Now, I want to publish to my ISPs server. I've FTP account. How can I...
5
3316
by: Dariusz Tomon | last post by:
Hello I have no idea how to deploy my website to another server (in virtual folder I cannot see dlls file). Is thate any simple and quick manner to deploy web site to another servers? Best...
1
2297
rahulephp
by: rahulephp | last post by:
Hi all, First of all I am new with server using. Below my virtual private server details: Processor : 2.8 GHz Dual Core Processor Cores: 2 RAM Memory : 4GB
1
2328
by: Peter Zoomers | last post by:
Hello, I have a question about my Joomla website. I builded this site completely. It was a SSL website. I changed the domainname and now I want to go on with getting a new SSL certificate. After the...
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7115
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7321
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7377
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5624
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1547
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
414
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.