Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 4.x > Installation and deployment > Problems with Site Wizard View modes: 
User avatar
Member
Member
major - 5/27/2009 8:20:26 AM
   
Problems with Site Wizard
Hello Everyone!
I have problems with New site wizard.
I have instalation on shared server.
After instalation I go to CMS Site Manager -> Sites -> New site wizard.
In Step1 I choose "Use web site template".
In Step2 I choose "Personbal Site"
In Step3 I click "Next" and then I have Error:
[ImportWizard.ImportSettings]: Import settings has been lost.
System.Exception: [ImportWizard.ImportSettings]: Import settings has been lost.
...

Sometimes it happens in Step4 or Step5.

Please help me with this problem.
Sorry for my English :)

Best Regards

Marcin

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 5/27/2009 1:48:55 PM
   
RE:Problems with Site Wizard
Hello,

We would need more detail information on this issue:

1) Are you running your site in medium trust environment?

2) Do you have any error messages regarding your issue in your event log?

3) Have tried it in another browser?


However, you can still try to perform alternative approach:

1. Backup your development database and restore it on the production server.

2. Copy the web project folder into the root of your production web site.

3. Update the CMSConnectionString value in the web.config file.

Best regards
Ondrej Vasil

User avatar
Member
Member
edmontommer-gmail - 12/8/2009 6:58:30 PM
   
RE:Problems with Site Wizard
I'm having exactly the same error:

[ImportWizard.ImportSettings]: Import settings has been lost.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Exception: [ImportWizard.ImportSettings]: Import settings has been lost.

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

<%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:


[Exception: [ImportWizard.ImportSettings]: Import settings has been lost.]
CMSImportExport_NewSiteWizard.get_ImportSettings() +99
CMSImportExport_NewSiteWizard.Page_Load(Object sender, EventArgs e) +579
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
CMS.ExtendedControls.AbstractUserControl.OnLoad(EventArgs e) +47
CMS.UIControls.CMSUserControl.OnLoad(EventArgs e) +73
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

--------------------------------------------
What to do???

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 12/9/2009 6:18:48 AM
   
RE:Problems with Site Wizard
Hi,
Which site template was selected? Could you please turn the debug mode on as described in the error message so we can see more details? Thank you.

Best Regards,
Juraj Ondrus

User avatar
Member
Member
edmontommer-gmail - 12/9/2009 10:21:54 AM
   
RE:Problems with Site Wizard
I tried with different templates (corporate, community) & browsers (IE8, Chrome), and the same happened.

I added a "Debug=true" directive to default.aspx and install.aspx, because in the error information doesn't specify the file that generated this error. The second option that browser gives is to add some a program section to the configuration file, but web.config is the configuration file? Or there is other one?

Thanks for your help.

Regards,

ET

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 12/14/2009 7:11:05 AM
   
RE:Problems with Site Wizard
Hello,

Yes, it suppose to be added to the web.config file in the root of your project folder. Please let us know the whole stack trace after enabling the debug mode.

Best regards
Ondrej Vasil

User avatar
Member
Member
edmontommer-gmail - 12/14/2009 4:58:07 PM
   
RE:Problems with Site Wizard
Now:

Server Error in '/' 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: 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.

Source Error:


Line 47: <error statusCode="404" redirect="~/CMSPages/handler404.aspx" />
Line 48: </customErrors>
Line 49: <authentication mode="Forms">
Line 50: <forms loginUrl="CMSPages/logon.aspx" defaultUrl="Default.aspx" name=".ASPXFORMSAUTH" timeout="60000" slidingExpiration="true" />
Line 51: </authentication>



User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 12/15/2009 9:02:58 AM
   
RE:Problems with Site Wizard
Hello,

Thank you for the stack trace with the exact error. It seems to be an issue either related to the IIS settings or web.config file. Please take a look at the following forum: http://forums.asp.net/t/769696.aspx. Hope you'll be able to resolve your issue with the hints provided there.

Best regards
Ondrej Vasil