lsimpson
 Nuke Newbie Posts:8

 |
| 11/23/2009 11:30 AM |
|
As a total beginner I have battled through to the end of installing files on ftp and making the required changes to the web.config file. I have tried to solve the configuration problem but as a total novice to html, I don't want to play around with the web.config too much. Any advice would be very gratefully received! The error is:
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: The 'sectionGroup' start tag on line 22 does not match the end tag of 'configSections'. Line 30, position 5.
Source Error:
Line 28:
Line 29:
Line 30:
Line 31:
Line 32: | Source File: c:\domains\malvykuttylou.com\wwwroot\web.config Line: 30
This is the web.config file, lines 21 to 31
< sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
< sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
< section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
< sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
< section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
< section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
< section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
< section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
sectionGroup>
configSections>
< connectionStrings> |
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
|
lsimpson
 Nuke Newbie Posts:8

 |
| 11/24/2009 12:40 AM |
|
Hey there Joe
I followed the tutorial and made the changes to the connectionstrings from that. I'm not sure why there is is a mismatch between lines 22 and 30 as I haven't changed them....! any advice would be very gratefully received
Best
Lou
|
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
| 11/24/2009 9:30 AM |
|
I am assuming that this is a new installation. If so, I'd recommend that you reinstall and use the Installation Wizard. It will take care of all of the modifications needed in web.config. You won't have to do anything manually. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
lsimpson
 Nuke Newbie Posts:8

 |
| 11/24/2009 10:13 AM |
|
Dear Joe
Yes, this is a new installation.
I used the installation wizard for the installation to local host but then followed the tutorial to move to the live site which included changes to the web.config file...
Are you recommending installing direct to live site... if so, is there a tutorial for this?
Many thanks |
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
| 11/24/2009 2:44 PM |
|
Moving to the live site should follow the tutorial. - Add the live portalalias to the database
- Move the database
- Move the web directory
- Edit web.config and change only the two connection strings for the database. (Hopefully, you won't be changing SQL Server types, i.e. Express to standard. If you are, the connection string change will be a bit more.)
That should be it. You should also verify file permissions for the live web directory, IIS configuration, etc. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Joseph Craig DNN MVP Posts:11667

 |
| 11/24/2009 2:45 PM |
|
It almost looks like your web.config may have been mangled when moved. You might want to start with a new copy from your localhost.
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Joseph Craig DNN MVP Posts:11667

 |
| 11/24/2009 5:07 PM |
|
It's possible that the error message is pointing in the right direction. Often, problems in the connection string show up other places.
Can you attach an edited version of web.config (edit server, user, password)?
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
lsimpson
 Nuke Newbie Posts:8

 |
| 11/25/2009 1:24 PM |
|
Hey there Joe
Many thanks for your suggestions.
I have since removed all files on ftp and c:\drive and reinstalled Dnn 05.01.04 to the c:\drive and have been successful in running the install wizard on localhost and setting up the portal alias.
I am using
Sqlserver 2005 express
Asp.Net 2
IIS7
I have successfully backed up the database and copied backup to the c:\drive and then copied to the ftp of my site (except for the App_Data folder).
I haven't made any changes to the web.config file as I am running sqlserver 2005 express - should I have?
Now I get the following error message when I open the site
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
| Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
| I have made the changes but still get errors. Any suggestions would be gratefully received. Many thanks Lou |
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
| 11/25/2009 7:21 PM |
|
The first thing to do is make that change to web.config so that you can get more detail regarding the error. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
lsimpson
 Nuke Newbie Posts:8

 |
| 11/26/2009 12:24 AM |
|
Hey there Joe
As I said, I have added the code, but beign new to this I guess I have added in the wrong place. Any advice on where it would work?
Thanks again |
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
| 11/26/2009 10:18 AM |
|
You should have edited web.config and changed "ReadOnly" to "Off". Then, browse back to your site.
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
lsimpson
 Nuke Newbie Posts:8

 |
| 11/26/2009 1:37 PM |
|
Dear Joe
Many thansk for your patience and perserverance with me!
I have now successfully accessed the wizrd, but now get the message that the DotNetNuke application cannot access a valid SQL Server database.
Should I have changed a connectionstring? I am using SQL Server 2005 Express and have uploaded the 3 database files in App-Data to wwwroot as well as the database backup.
Apologies for the basic questions!
Many thanks again
Lou |
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
| 11/27/2009 4:06 PM |
|
Not connecting to the database is more than a major problem!
Which database server were you using on localhost? What are you using on your live site?
When you say that you have uploaded 3 files, I'm going to assume that you used SQL Server Express on your localhost site. If that is right, and you have SQL Server on your live site, moving the database will require that you make a BACKUP on localhost, and then RESTORE the database on the live site. Any, you'll need to change the connection string from one that works with Express to one that works with SQL Server.
Check the tutorials on "localhost to live" migration for some details.
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|