Introduce DataBase,Asp.net,JavaScript,Xml,Html,Css,Sql,Php,ASP.NET Controls,AJAX,Tools,HTML,CSS,JavaScript,Open Source Project,WPF,.Net Framework,Linq
Top Recommended Hosting

GoDaddy problems

by the3factory 5/6/2008 8:13:00 AM
Question:

Having problems getting MS Visual Studio Web Developer Express 2008 working on GoDaddy. It's a simple page, no SQL, just images, a button and link to another page. 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: Child nodes not allowed.

Source Error:

Line 78: 		<compilers>
Line 79: 			<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
Line 80:         <providerOption name="CompilerVersion" value="v3.5"/>
Line 81:         <providerOption name="WarnAsError" value="false"/>
Line 82:       </compiler>

 

Any suggestions appreciated.

Theron

 


Answer1:

 Check with GoDaddy.  I am not sure if they have the .net framework 3.5 installed on there servers.


Answer2:

GoDaddy is still on 2.0.

Are you using C# code behind?  If so, then comment out two of the "usings" on every code behind page--the two usings that refer to Linq.

using System;
using System.Collections;
using System.Configuration;
using System.Data;
//using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
//using System.Xml.Linq;

If you are just starting out, by commenting, I mean typing the two forward slashes in front of the line.  This changes the color (letting you know it is now commented out) and the computer will ignore the line.

Let me know if you are using VB (I haven't tried anything there yet, but was planning to soon and this post would be a good point for me to jump into it.


Answer3:

 

The only way I have found to fix this is by changing the build settings:

On the menu bar select WEBSITE, then click on START OPTIONS then click on the Build tree.

Change the Target Framework to .Net Framework 2.0

You may have to start a new project and set this value before you create anything.  It may not work and may cause functionality problems with a completed site.  But try it on your current site first.

Answer4:

GoDaddy has not implemented the 3.5 framework yet.  You need to use the 2.0 framework or wait for GoDadday to implement the 3.5 framework.


Answer5:

You can use .Net 3.5 on Godaddy, but there is a trick...

You can only get it on NEW hosting accounts.

If you have an existing account, what you have to do is set up a new one and specify IIS 7/.Net 3.5, then transfer your stuff and shut down the old account. Godaddy won't tell you this, but they will tell you a new account can get the new stuff.

I wrote up a few blog posts that go step by step through setting up a .Net app on their hosting service:

http://ammonsonline.com/jeffablog/post/GoDaddy-and-ASPNET-apps.aspx

http://ammonsonline.com/jeffablog/post/ASPNET-and-Godaddy2c-part-2.aspx

http://ammonsonline.com/jeffablog/post/ASPNET-and-Godaddy2c-part-3.aspx

 Hope those help.

jeffa


Related posts

Sign up for PayPal and start accepting credit card payments instantly.


Powered by BlogEngine.NET 1.2.0.0