Home > How To > How To Solve Configuration Error In Asp.net

How To Solve Configuration Error In Asp.net

This error can be caused by a virtual directory not being configured as an application in IIS. (c:\websites\4n6ykg\rgwebsite\web.config line 72) Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.4028 I have tried Note that attribute names are case-sensitive. if statement - short circuit evaluation vs readability Standardisation of Time in a FTL Universe Why can't we use the toilet when the train isn't moving? Runs perfectly when run locally using: http//localhost/RGWebSite/WebForm1.aspx However, after I FTP all components to web host, I get the follow error: http://www.ralphgarn...e/WebForm1.aspx Server Error in '/' Application. http://upintheaether.com/how-to/how-to-solve-b37-error.php

The website is set to the app pool which is the only site using that pool. Case 2 came when I created a new application and my system is setup to use Framework ASP.NET 4.0 In both situations I got the following error But when upload the application ona remote server I am receiving the following error. Parser Error Message: Unrecognized attribute 'targetFramework'. http://stackoverflow.com/questions/15241627/configuration-error-compilation-debug-true-targetframework-4-0-asp-net-mv

You can create or modify configuration settings in the following ways: By using a text editor or an XML editor to change the configuration files. Right click your web project --> Properties --> Build --> and look for the "Platform Target". Is it illegal for regular US citizens to possess or read documents published by WikiLeaks? share|improve this answer answered Mar 12 '13 at 16:20 AwesomeProgrammer 30516 thanks.

This causes IIS to consider your application merely a sub-directory. Configuration Error -- Regards, G.R.Venkadesh Babu, MCA Reply Dalong Zhang... 641 Posts Re: Configuration Error : how to solve the following Error while website host on a server(www.---... For information about compilation, see ASP.NET Compilation Overview. Reply aspnetNovice...

Off . Specifies that custom errors are enabled. The following example shows how to specify a connection string. snomag 2007-04-25 08:18:32 UTC #3 With in your web.config you should get a detailed error message, so be sure to set it properly, than copy

Remove everything on your server under your default website folder. None 0 Points 1 Post Re: Unrecognized attribute 'targetFramework' Feb 25, 2010 03:36 AM|kannanthirumal|LINK I too solved this by setting the Application Pool to ASP.NET v4.0 in the IIS. more hot questions question feed lang-cs about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation The custom errors are shown to the remote clients and to the local host.

MMC could not create the snap-in. https://www.sitepoint.com/community/t/how-can-i-solve-this-web-config-problem/3240 The element 'buildProviders' cannot be defined below the application level. For more information about accessing data sources, see ASP.NET Data Access Options. honeymonster 2007-12-14 09:37:45 UTC #4 What snomag said.

Yes No Additional feedback? 1500 characters remaining Submit Skip this Thank you! Check This Out Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. For more information about modifying configuration settings, see Editing ASP.NET Configuration Files. I INCLUDED IT SO THAT YOU GUYS COULD SUGGEST IF I'M DOING SOMETHING WRONG ON HOW I'M PUBLISHING MY SITE AND COULD BE THE REASON OF THE ERROR ABOVE.

Thanks. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Please review the specific error details below and modify your configuration file appropriately. Source step 7: But now i want to upload my sample web application with MicrosoftReportViewer version on my server like www.sample.com/ssrs [this not exact path] step 8: I got fist error

Publish to your local file system. Below is configuration file: