project is not running in other system except my lapy although using same VS 2008 & SQL 2005 version

Posted by Sharmagoldi781 under .NET Framework on 11/29/2013 | Points: 10 | Views : 1433 | Status : [Member] | Replies : 11
Server Error in '/FinalProject' 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: Child nodes not allowed.

Source Error:


Line 99: <compilers>
Line 100: <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
Line 101: <providerOption name="CompilerVersion" value="v3.5"/>
Line 102: <providerOption name="WarnAsError" value="false"/>
Line 103: </compiler>


Source File: C:\Documents and Settings\Administrator\Desktop\Gold\New Folder\FinalProject\FinalProject\web.config Line: 101

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



Error are :child nodes r not allowed.
Error 1 C:\Documents and Settings\Administrator\Desktop\Gold\New Folder\FinalProject\FinalProject\Login.aspx: ASP.NET runtime error: Child nodes not allowed. (C:\Documents and Settings\Administrator\Desktop\Gold\New Folder\FinalProject\FinalProject\web.config line 101) C:\Documents and Settings\Administrator\Desktop\Gold\New Folder\FinalProject\FinalProject\Login.aspx 1 1 C:\...\FinalProject\






Responses

Posted by: Sharmagoldi781 on: 11/29/2013 [Member] Starter | Points: 25

Up
0
Down
its VS 2005 version not 2008.
correction

Sharmagoldi781, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: vishalneeraj-24503 on: 11/29/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
It's related to the configuration. Have you setup all the things in your PC.
Check whether you have set any configuration setting in your Laptop.

Or also check that, your VS2008 has been properly installed in your system?

Sharmagoldi781, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandi on: 11/29/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Refer
http://forums.asp.net/t/1186009.aspx

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Sharmagoldi781, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandi on: 11/29/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
http://www.ironspeed.com/Designer/3.2.4/WebHelp/Part_VI/Parser_Error_Child_nodes_are_not_allowed.htm

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Sharmagoldi781, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandi on: 11/29/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
Line 101: <providerOption name="CompilerVersion" value="v3.5"/


I think Version=2.0.0.0 but trying to compile this using version 3.5
http://www.techques.com/question/1-661309/Configuration-Error
http://www.mojoportal.com/Forums/Thread.aspx?pageid=5&t=2240~-1

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Sharmagoldi781, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sharmagoldi781 on: 11/29/2013 [Member] Starter | Points: 25

Up
0
Down
plz tell me path to change version used by IIS server.
where i cam locate iis server in system

Sharmagoldi781, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandi on: 11/29/2013 [Member] [MVP] Platinum | Points: 25
Posted by: Bandi on: 11/29/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
REfer
http://forums.asp.net/t/1282042.aspx

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Sharmagoldi781, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sharmagoldi781 on: 11/29/2013 [Member] Starter | Points: 25

Up
0
Down
i think i have deployed my project in vs 2008 and now using it in vs 2005.so imcompatible compiler version problem is there.
but i have a question if suppose i am using vs 2008 or 2010 and current default version of .net in IIS in 3.5 or 4.0 and if i need to run a project depolyed in 2.0 version.then is there a need to set .net version to 2.0 every time when there is incompatible version of project and IIS .net version.

Sharmagoldi781, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Allemahesh on: 11/29/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
Yes, you need to set.

See the below link:-

http://msdn.microsoft.com/en-us/library/ff602939(v=vs.110).aspx

Sharmagoldi781, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sharmagoldi781 on: 12/5/2013 [Member] Starter | Points: 25

Up
0
Down
sir now i am using VS 2013..but it shows following error

Error 2 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. D:\Goldi\New Folder\FinalProject\FinalProject\Web.config 49
please assist


Sharmagoldi781, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response