Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • mkn 6 posts 27 karma points
    Dec 08, 2011 @ 14:10
    mkn
    0

    Error

    Hey,

    I have installed Umbraco and Tea Commerce for the first time, so excuse me if I am a complete newbie.

    I see many ran into issues when installing Tea Commerce, but solved it by setting "customerror" to "off". Doing this on my website does not give me an answer, it continues to claim that I have not set the mode to "off" so I can get an error message.

    Any ideas?

     

    I have this:

    Umraco 4.7.1

    Tea C. 1.4.1.2

     

    Thanks

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Dec 08, 2011 @ 14:58
    Jan Skovgaard
    0

    Hi Mkn and welcome to our :)

    Could you paste the <customError> element in here so we can see if it might be a typo? It should really give you an explanation on what's wrong...unless some weird behaviour has been made that perhaps could overvrite it on the server level?

    /Jan

  • mkn 6 posts 27 karma points
    Dec 08, 2011 @ 15:06
    mkn
    0

    Hello Jan (Your name is very Danish, then we can do this in Danish instead ;-))

    Here it is - line 62 in the "web.config" placed in the main folder:

        <customErrors mode="off" />

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Dec 08, 2011 @ 15:56
    Jan Skovgaard
    0

    Hi mkn

    Yeah it's danish indeed :)

    But let's keep things in english since many other nationalities can benefit from our conversation. Also it's easier for all the other bright heads to have their say on what the problem is.

    I must admit I can't remember if it's case sensitive so try writing "Off" instead of "off" like above.

    /Jan

  • mkn 6 posts 27 karma points
    Dec 08, 2011 @ 20:10
    mkn
    0

    Good point - "Off" made no difference - could it be a conflict in versions in Umbraco and Tea?

  • Anders Burla 2560 posts 8256 karma points
    Dec 08, 2011 @ 23:29
    Anders Burla
    0

    Hi Mkn

    Sounds like your IIS is not setup correctly - This is not a Tea Commerce specific error but more a general Umbraco/IIS setup one. Try and check you folder permissions
    http://our.umbraco.org/wiki/reference/files-and-folders/permissions

    Which IIS version do you use. Local or at a server? Which windows OS? .Net 4? How is your apppool setup?

    Kind regards
    Anders

  • mkn 6 posts 27 karma points
    Dec 08, 2011 @ 23:46
    mkn
    0

    Hi Anders,

    It is currently hosted at Unoeuro, which advertise the abilty to host Umbraco on Asp.net 4 (which has been confirmed mine is running on) and ISS 7.5.

    I ran the pemission check, which there was a link to on the URL you suggested and got a good response, I would say:

    Your permission settings are perfect!

  • Anders Burla 2560 posts 8256 karma points
    Dec 08, 2011 @ 23:50
    Anders Burla
    0

    Try to upload a basic asp.net website with just 1 page and see if that works. If it says that the mode isnt set to off and you have done that in your web.config - it doesnt read your web.config file and something is wrong with the basic setup - just dont remember how to fix that issue - its a standard .Net thing - but cant remember :)

  • mkn 6 posts 27 karma points
    Dec 13, 2011 @ 21:51
    mkn
    1

    Hi Anders,

    Success - I finally got the system to give me an error message.

    With Google I found the reason - I am runing on MySQL currently - requirements for Tea Commerce states use of MSSQL.

    Rookie mistake :-/

    Thank you for your help Anders.

     

    Server Error in '/' Application.


    Keyword not supported: 'datalayer'.

    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.ArgumentException: Keyword not supported: 'datalayer'.

    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace: 

    [ArgumentException: Keyword not supported: 'datalayer'.]
       System.Data.Common.DbConnectionOptions.ParseInternal(Hashtable parsetable, String connectionString, Boolean buildChain, Hashtable synonyms, Boolean firstKey) +5110868
       System.Data.Common.DbConnectionOptions..ctor(String connectionString, Hashtable synonyms, Boolean useOdbcRules) +98
       System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) +64
       System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) +24
       System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(String connectionString, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) +150
       System.Data.SqlClient.SqlConnection.ConnectionString_Set(String value) +59
       System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) +4
       System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Initialize(IDataServices dataServices, Object connection) +248
       System.Data.Linq.DataContext.Init(Object connection, MappingSource mapping) +229
       System.Data.Linq.DataContext..ctor(String fileOrServerOrConnection, MappingSource mapping) +36
       TeaCommerce.Data.DB.TCContextFactory.GetContext() +67
       TeaCommerce.Data.OrderStatus.<GetOrderStatusesDictionary>b__10() +31
       Tea.Web.Extension.CacheTools.GetOrAdd(Cache cache, String key, Func`1 retriveValue, CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan relativeExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback) +97
       Tea.Web.Extension.CacheTools.GetOrAdd(Cache cache, Func`1 retriveValue, TimeSpan ttl, String key) +96
       TeaCommerce.Data.OrderStatus.GetOrderStatusesDictionary() +139
       TeaCommerce.Data.OrderStatus.GetOrderStatuses() +11
       TeaCommerce.Admin.Umbraco.plugins.TeaCommerce.Dashboard.SectionRedirect.OnLoad(EventArgs e) +147
       System.Web.UI.Control.LoadRecursive() +74
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

  • Anders Burla 2560 posts 8256 karma points
    Dec 13, 2011 @ 22:09
    Anders Burla
    1

    Ahh - glad you found the problem :)

    If you could mark your own answer as the solution it would help others to easily find the solution. Thanks in advance

    Kind regards
    Anders

  • mkn 6 posts 27 karma points
    Dec 13, 2011 @ 22:20
    mkn
    0

    Done - I love this "lets help each other" spirit within Our :-)

  • Anders Burla 2560 posts 8256 karma points
    Dec 13, 2011 @ 22:21
    Anders Burla
    0

    Yes - its the main spirit of the umbraco community - help each others and share your knowledge - the umbraco community is the BEST!

Please Sign in or register to post replies

Write your reply to:

Draft