Configuration error  
Author Message
cwillson





PostPosted: Tue Mar 22 11:02:30 CST 2005 Top

Frontpage Programming >> Configuration error Can anyone tell me what to do about this? I tried "true" and "false". Get
same error message. Thanks

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='MachineOnly' beyond machine.config.

Source Error:

Line 11: debugging ASP.NET files.
Line 12: -->
Line 13: <compilation defaultLanguage="vb" debug="false" />
Line 14:
Line 15: <!-- CUSTOM ERROR MESSAGES

Source File: d:\webs\dsull3\genealogyweb\web.config Line: 13

Web Programming456  
 
 
Kevin





PostPosted: Tue Mar 22 11:02:30 CST 2005 Top

Frontpage Programming >> Configuration error You can change "true" and "false" all day long, and it won't accomplish
anything. The error message indicates that you are using a config file in a
subfolder of your web app, and that the config file (web.config) has
sections in it which are "MachineOnly" sections. They should not be there.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
What You Seek Is What You Get.

"Dan" <EMail@HideDomain.com> wrote in message
news:EMail@HideDomain.com...
> Can anyone tell me what to do about this? I tried "true" and "false". Get
> same error message. Thanks
>
> 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='MachineOnly' beyond machine.config.
>
> Source Error:
>
> Line 11: debugging ASP.NET files.
> Line 12: -->
> Line 13: <compilation defaultLanguage="vb" debug="false" />
> Line 14:
> Line 15: <!-- CUSTOM ERROR MESSAGES
>
> Source File: d:\webs\dsull3\genealogyweb\web.config Line: 13
>
>
>


 
 
Dan





PostPosted: Tue Mar 22 11:57:22 CST 2005 Top

Frontpage Programming >> Configuration error OK but I am still lost. I did add a database connection string to the
WebConfig file which includes
....Data Source=c:\genealogyweb\genealogytables.mdb"

I am sure that I need to change this when I publish the site. Is this the
problem? What do I change it to? just "genealogytables.mdb"?

Thanks for the help.

dan

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



"Kevin Spencer" <EMail@HideDomain.com> wrote in message
news:EMail@HideDomain.com...
> You can change "true" and "false" all day long, and it won't accomplish
> anything. The error message indicates that you are using a config file in
> a subfolder of your web app, and that the config file (web.config) has
> sections in it which are "MachineOnly" sections. They should not be there.
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> What You Seek Is What You Get.
>
> "Dan" <EMail@HideDomain.com> wrote in message
> news:EMail@HideDomain.com...
>> Can anyone tell me what to do about this? I tried "true" and "false". Get
>> same error message. Thanks
>>
>> 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='MachineOnly' beyond machine.config.
>>
>> Source Error:
>>
>> Line 11: debugging ASP.NET files.
>> Line 12: -->
>> Line 13: <compilation defaultLanguage="vb" debug="false" />
>> Line 14:
>> Line 15: <!-- CUSTOM ERROR MESSAGES
>>
>> Source File: d:\webs\dsull3\genealogyweb\web.config Line: 13
>>
>>
>>
>
>


 
 
Kevin





PostPosted: Tue Mar 22 12:24:30 CST 2005 Top

Frontpage Programming >> Configuration error No problem, dan. Everything you need to know is here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconASPNETConfiguration.asp

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
What You Seek Is What You Get.

"Dan" <EMail@HideDomain.com> wrote in message
news:EMail@HideDomain.com...
> OK but I am still lost. I did add a database connection string to the
> WebConfig file which includes
> ....Data Source=c:\genealogyweb\genealogytables.mdb"
>
> I am sure that I need to change this when I publish the site. Is this the
> problem? What do I change it to? just "genealogytables.mdb"?
>
> Thanks for the help.
>
> dan
>
> -----------------------------------
>
>
>
> "Kevin Spencer" <EMail@HideDomain.com> wrote in message
> news:EMail@HideDomain.com...
>> You can change "true" and "false" all day long, and it won't accomplish
>> anything. The error message indicates that you are using a config file in
>> a subfolder of your web app, and that the config file (web.config) has
>> sections in it which are "MachineOnly" sections. They should not be
>> there.
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> .Net Developer
>> What You Seek Is What You Get.
>>
>> "Dan" <EMail@HideDomain.com> wrote in message
>> news:EMail@HideDomain.com...
>>> Can anyone tell me what to do about this? I tried "true" and "false".
>>> Get same error message. Thanks
>>>
>>> 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='MachineOnly' beyond machine.config.
>>>
>>> Source Error:
>>>
>>> Line 11: debugging ASP.NET files.
>>> Line 12: -->
>>> Line 13: <compilation defaultLanguage="vb" debug="false" />
>>> Line 14:
>>> Line 15: <!-- CUSTOM ERROR MESSAGES
>>>
>>> Source File: d:\webs\dsull3\genealogyweb\web.config Line: 13
>>>
>>>
>>>
>>
>>
>
>


 
 
Jens





PostPosted: Tue Mar 22 13:32:24 CST 2005 Top

Frontpage Programming >> Configuration error This is a multi-part message in MIME format.

------=_NextPart_000_0054_01C52F1E.41B284F0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

This error usually comes because the virtual directory isn't set to be
an asp.net application. You do this with the IIS manager.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

> -----Original Message-----
> From: Dan [mailto:EMail@HideDomain.com]
> Posted At: 22. marts 2005 17:25
> Posted To: microsoft.public.frontpage.programming
> Conversation: Configuration error
> Subject: Configuration error
>
>
> Can anyone tell me what to do about this? I tried "true" and
> "false". Get same error message. Thanks
>
> 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='MachineOnly' beyond machine.config.
>
> Source Error:
>
> Line 11: debugging ASP.NET files.
> Line 12: -->
> Line 13: <compilation defaultLanguage="vb" debug="false" />
> Line 14:
> Line 15: <!-- CUSTOM ERROR MESSAGES
>
> Source File: d:\webs\dsull3\genealogyweb\web.config Line: 13
>
>
>

------=_NextPart_000_0054_01C52F1E.41B284F0
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7036.0">
<TITLE>Re: Configuration error</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>This error usually comes because the virtual directory =
isn't set to be an asp.net application. You do this with the IIS =
manager.</FONT></P>

<P><FONT SIZE=3D2>Regards Jens Peter Karlsen. Microsoft MVP - Frontpage. =
</FONT>
</P>

<P><FONT SIZE=3D2>&gt; -----Original Message-----</FONT>

<BR><FONT SIZE=3D2>&gt; From: Dan [<A =
HREF=3D"mailto:EMail@HideDomain.com">mailto:EMail@HideDomain.com</A>] </FONT>

<BR><FONT SIZE=3D2>&gt; Posted At: 22. marts 2005 17:25</FONT>

<BR><FONT SIZE=3D2>&gt; Posted To: =
microsoft.public.frontpage.programming</FONT>

<BR><FONT SIZE=3D2>&gt; Conversation: Configuration error</FONT>

<BR><FONT SIZE=3D2>&gt; Subject: Configuration error</FONT>

<BR><FONT SIZE=3D2>&gt; </FONT>

<BR><FONT SIZE=3D2>&gt; </FONT>

<BR><FONT SIZE=3D2>&gt; Can anyone tell me what to do about this? I =
tried &quot;true&quot; and </FONT>

<BR><FONT SIZE=3D2>&gt; &quot;false&quot;. Get same error message.&nbsp; =
Thanks</FONT>

<BR><FONT SIZE=3D2>&gt; </FONT>

<BR><FONT SIZE=3D2>&gt; Configuration Error</FONT>

<BR><FONT SIZE=3D2>&gt; Description: An error occurred during the =
processing of a </FONT>

<BR><FONT SIZE=3D2>&gt; configuration file required to service this =
request. Please </FONT>

<BR><FONT SIZE=3D2>&gt; review the specific error details below and =
modify your </FONT>

<BR><FONT SIZE=3D2>&gt; configuration file appropriately.</FONT>

<BR><FONT SIZE=3D2>&gt; </FONT>

<BR><FONT SIZE=3D2>&gt; Parser Error Message: It is an error to use a =
section </FONT>

<BR><FONT SIZE=3D2>&gt; registered as allowDefinition=3D'MachineOnly' =
beyond machine.config.</FONT>

<BR><FONT SIZE=3D2>&gt; </FONT>

<BR><FONT SIZE=3D2>&gt; Source Error:</FONT>

<BR><FONT SIZE=3D2>&gt; </FONT>

<BR><FONT SIZE=3D2>&gt; Line =
11:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
debugging ASP.NET files.</FONT>

<BR><FONT SIZE=3D2>&gt; Line 12:&nbsp;&nbsp;&nbsp;&nbsp; --&gt;</FONT>

<BR><FONT SIZE=3D2>&gt; Line 13:&nbsp;&nbsp;&nbsp;&nbsp; &lt;compilation =
defaultLanguage=3D&quot;vb&quot; debug=3D&quot;false&quot; /&gt;</FONT>

<BR><FONT SIZE=3D2>&gt; Line 14:</FONT>

<BR><FONT SIZE=3D2>&gt; Line 15:&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--&nbsp; =
CUSTOM ERROR MESSAGES</FONT>

<BR><FONT SIZE=3D2>&gt; </FONT>

<BR><FONT SIZE=3D2>&gt; Source File: =
d:\webs\dsull3\genealogyweb\web.config&nbsp;&nbsp;&nbsp; Line: 13</FONT>

<BR><FONT SIZE=3D2>&gt; </FONT>

<BR><FONT SIZE=3D2>&gt; </FONT>

<BR><FONT SIZE=3D2>&gt; </FONT>
</P>

</BODY>
</HTML>
------=_NextPart_000_0054_01C52F1E.41B284F0--

 
 
Dan





PostPosted: Tue Mar 22 22:20:18 CST 2005 Top

Frontpage Programming >> Configuration error Lots of good stuff but I still don't see how to build the connection string
on the remote website.

dan

============================
"Kevin Spencer" <EMail@HideDomain.com> wrote in message
news:EMail@HideDomain.com...
> No problem, dan. Everything you need to know is here:
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconASPNETConfiguration.asp
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> What You Seek Is What You Get.
>
> "Dan" <EMail@HideDomain.com> wrote in message
> news:EMail@HideDomain.com...
>> OK but I am still lost. I did add a database connection string to the
>> WebConfig file which includes
>> ....Data Source=c:\genealogyweb\genealogytables.mdb"
>>
>> I am sure that I need to change this when I publish the site. Is this the
>> problem? What do I change it to? just "genealogytables.mdb"?
>>
>> Thanks for the help.
>>
>> dan
>>
>> -----------------------------------
>>
>>
>>
>> "Kevin Spencer" <EMail@HideDomain.com> wrote in message
>> news:EMail@HideDomain.com...
>>> You can change "true" and "false" all day long, and it won't accomplish
>>> anything. The error message indicates that you are using a config file
>>> in a subfolder of your web app, and that the config file (web.config)
>>> has sections in it which are "MachineOnly" sections. They should not be
>>> there.
>>>
>>> --
>>> HTH,
>>>
>>> Kevin Spencer
>>> Microsoft MVP
>>> .Net Developer
>>> What You Seek Is What You Get.
>>>
>>> "Dan" <EMail@HideDomain.com> wrote in message
>>> news:EMail@HideDomain.com...
>>>> Can anyone tell me what to do about this? I tried "true" and "false".
>>>> Get same error message. Thanks
>>>>
>>>> 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='MachineOnly' beyond machine.config.
>>>>
>>>> Source Error:
>>>>
>>>> Line 11: debugging ASP.NET files.
>>>> Line 12: -->
>>>> Line 13: <compilation defaultLanguage="vb" debug="false" />
>>>> Line 14:
>>>> Line 15: <!-- CUSTOM ERROR MESSAGES
>>>>
>>>> Source File: d:\webs\dsull3\genealogyweb\web.config Line: 13
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>


 
 
Dan





PostPosted: Wed Mar 23 11:36:39 CST 2005 Top

Frontpage Programming >> Configuration error This is a multi-part message in MIME format.

------=_NextPart_000_0010_01C52F8B.D0702FE0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Re: Configuration errorAlready done on my machine but I don't know about =
the remote website........have to look into that. Thanks
"Jens Peter Karlsen[FP MVP]" <EMail@HideDomain.com> wrote in message =
news:EMail@HideDomain.com...
This error usually comes because the virtual directory isn't set to be =
an asp.net application. You do this with the IIS manager.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.=20

> -----Original Message-----=20
> From: Dan [mailto:EMail@HideDomain.com]=20
> Posted At: 22. marts 2005 17:25=20
> Posted To: microsoft.public.frontpage.programming=20
> Conversation: Configuration error=20
> Subject: Configuration error=20
>=20
>=20
> Can anyone tell me what to do about this? I tried "true" and=20
> "false". Get same error message. Thanks=20
>=20
> Configuration Error=20
> Description: An error occurred during the processing of a=20
> configuration file required to service this request. Please=20
> review the specific error details below and modify your=20
> configuration file appropriately.=20
>=20
> Parser Error Message: It is an error to use a section=20
> registered as allowDefinition=3D'MachineOnly' beyond machine.config. =

>=20
> Source Error:=20
>=20
> Line 11: debugging ASP.NET files.=20
> Line 12: -->=20
> Line 13: <compilation defaultLanguage=3D"vb" debug=3D"false" />=20
> Line 14:=20
> Line 15: <!-- CUSTOM ERROR MESSAGES=20
>=20
> Source File: d:\webs\dsull3\genealogyweb\web.config Line: 13=20
>=20
>=20
>=20

------=_NextPart_000_0010_01C52F8B.D0702FE0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Re: Configuration error</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2604" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Already done on my machine but I don't =
know about=20
the remote website........have to look into that. Thanks</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Jens Peter Karlsen[FP MVP]" &lt;<A=20
href=3D"mailto:EMail@HideDomain.com">EMail@HideDomain.com</A>&gt; wrote in =
message=20
<A=20
=
href=3D"news:EMail@HideDomain.com">news:uPVThXxLFHA.580@T=
K2MSFTNGP15.phx.gbl</A>...</DIV><!-- Converted from text/plain format =
-->
<P><FONT size=3D2>This error usually comes because the virtual =
directory isn't=20
set to be an asp.net application. You do this with the IIS =
manager.</FONT></P>
<P><FONT size=3D2>Regards Jens Peter Karlsen. Microsoft MVP - =
Frontpage.=20
</FONT></P>
<P><FONT size=3D2>&gt; -----Original Message-----</FONT> <BR><FONT =
size=3D2>&gt;=20
From: Dan [<A =
href=3D"mailto:EMail@HideDomain.com">mailto:EMail@HideDomain.com</A>]=20
</FONT><BR><FONT size=3D2>&gt; Posted At: 22. marts 2005 17:25</FONT> =
<BR><FONT=20
size=3D2>&gt; Posted To: microsoft.public.frontpage.programming</FONT> =
<BR><FONT=20
size=3D2>&gt; Conversation: Configuration error</FONT> <BR><FONT =
size=3D2>&gt;=20
Subject: Configuration error</FONT> <BR><FONT size=3D2>&gt; =
</FONT><BR><FONT=20
size=3D2>&gt; </FONT><BR><FONT size=3D2>&gt; Can anyone tell me what =
to do about=20
this? I tried "true" and </FONT><BR><FONT size=3D2>&gt; "false". Get =
same error=20
message.&nbsp; Thanks</FONT> <BR><FONT size=3D2>&gt; </FONT><BR><FONT=20
size=3D2>&gt; Configuration Error</FONT> <BR><FONT size=3D2>&gt; =
Description: An=20
error occurred during the processing of a </FONT><BR><FONT =
size=3D2>&gt;=20
configuration file required to service this request. Please =
</FONT><BR><FONT=20
size=3D2>&gt; review the specific error details below and modify your=20
</FONT><BR><FONT size=3D2>&gt; configuration file =
appropriately.</FONT>=20
<BR><FONT size=3D2>&gt; </FONT><BR><FONT size=3D2>&gt; Parser Error =
Message: It is=20
an error to use a section </FONT><BR><FONT size=3D2>&gt; registered as =

allowDefinition=3D'MachineOnly' beyond machine.config.</FONT> =
<BR><FONT=20
size=3D2>&gt; </FONT><BR><FONT size=3D2>&gt; Source Error:</FONT> =
<BR><FONT=20
size=3D2>&gt; </FONT><BR><FONT size=3D2>&gt; Line=20
11:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
debugging=20
ASP.NET files.</FONT> <BR><FONT size=3D2>&gt; Line =
12:&nbsp;&nbsp;&nbsp;&nbsp;=20
--&gt;</FONT> <BR><FONT size=3D2>&gt; Line 13:&nbsp;&nbsp;&nbsp;&nbsp; =

&lt;compilation defaultLanguage=3D"vb" debug=3D"false" /&gt;</FONT> =
<BR><FONT=20
size=3D2>&gt; Line 14:</FONT> <BR><FONT size=3D2>&gt; Line=20
15:&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--&nbsp; CUSTOM ERROR MESSAGES</FONT> =

<BR><FONT size=3D2>&gt; </FONT><BR><FONT size=3D2>&gt; Source File:=20
d:\webs\dsull3\genealogyweb\web.config&nbsp;&nbsp;&nbsp; Line: =
13</FONT>=20
<BR><FONT size=3D2>&gt; </FONT><BR><FONT size=3D2>&gt; =
</FONT><BR><FONT=20
size=3D2>&gt; </FONT></P></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0010_01C52F8B.D0702FE0--