in

dashCommerce

An ASP.NET Open Source e-Commerce Application

Parser Error

Last post 04-10-2008 5:13 PM by Dipesh. 13 replies.
Page 1 of 1 (14 items)
Sort Posts: Previous Next
  • 04-07-2008 6:30 PM

    Parser Error

    Follow the destructions and got this.  Thoughts?

    Server Error in '/dashCommerce' Application.

    Parser Error

    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: Data at the root level is invalid. Line 1, position 1.

    Source Error:

    Line 1:  ?<?xml version="1.0" encoding="utf-8"?>
    Line 2:  <root>
    Line 3:    <!-- 

    Source File: /dashCommerce/App_GlobalResources/regionCode.pt-PT.resx    Line: 1


    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

  • 04-07-2008 6:43 PM In reply to

    Re: Parser Error

    Never mind, I see the problem (extra ?).  Also - blowing up all over the PT-pt globalization stuff.  Ripping it all out.

  • 04-07-2008 7:53 PM In reply to

    Re: Parser Error

    Answer

    I just uploaded the corrected files into a new zip download. The extra ?'s came in from the patch file. Sorry 'bout that.

    --
    Chris
    Filed under:
  • 04-10-2008 5:57 AM In reply to

    Re: Parser Error

    help!  i cant find this zip file Sad

  • 04-10-2008 6:27 AM In reply to

    • berndt
    • Top 25 Contributor
    • Joined on 02-12-2008
    • In the north
    • Posts 50

    Re: Parser Error

    Answer

    Hi Dipesh

    It's not a special zip file.

    You have to download the dashCommerce_3_0_RC1.zip one more time.

  • 04-10-2008 3:19 PM In reply to

    Re: Parser Error

    lol..ooops sorry about that... i have doenloaded the new file and have build the solution again now i have this... i cant see way it would fail....Sad

    Login failed for user 'IUSER'.

    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.Data.SqlClient.SqlException: Login failed for user 'IUSER'.

    Source Error:

    Line 96:       Validator.ValidateStringArgumentIsNotNullOrEmptyString(configurationSectionName, CONFIGURATION_SECTION_NAME);
    Line 97: 
    Line 98:       ConfigurationDatumCollection configurationDatumCollection = new ConfigurationDatumCollection().
    Line 99:         Where(ConfigurationDatum.Columns.Name, configurationSectionName).
    Line 100:        Load();

    Source File: C:\dashCommerce\Core\Controllers\ConfigurationDatumController.cs    Line: 98

    Stack Trace:

    [SqlException (0x80131904): Login failed for user 'IUSER'.]
       System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +435
       System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
       System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
       System.Data.SqlClient.SqlConnection.Open() +111
       SubSonic.SqlDataProvider.CreateConnection(String newConnectionString) +34
       SubSonic.SqlDataProvider.CreateConnection() +22
       SubSonic.AutomaticConnectionScope..ctor(DataProvider provider) +56
       SubSonic.SqlDataProvider.GetReader(QueryCommand qry) +40
       SubSonic.AbstractList`2.Load() +404
       MettleSystems.dashCommerce.Core.ConfigurationDatumController.FetchConfigurationByName(String configurationSectionName) in C:\dashCommerce\Core\Controllers\ConfigurationDatumController.cs:98
       MettleSystems.dashCommerce.Core.Configuration.DatabaseConfigurationProvider.FetchConfigurationByName(String configurationSectionName) in C:\dashCommerce\Core\Configuration\DatabaseConfigurationProvider.cs:121
       MettleSystems.dashCommerce.Store.SiteSettings.Load() in C:\dashCommerce\Core\SiteSettings.cs:136
       MettleSystems.dashCommerce.Store.Web.SiteMasterPage.get_SiteSettings() in C:\dashCommerce\Store\Web\SiteMasterPage.cs:96
       MettleSystems.dashCommerce.Web._default.OnInit(EventArgs e) in C:\dashCommerce\Web\default.aspx.cs:103
       System.Web.UI.Control.InitRecursive(Control namingContainer) +321
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +834
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

  • 04-10-2008 3:37 PM In reply to

    Re: Parser Error

    You have to setup you connection string.

    Q.) How do I get started?

    A.) Once you have downloaded the file, unzip it and you will find a ReadMe.txt and a ReleaseNotes.txt. These will give you a running start on installing the product.

    Find a bug? Create a Work Item for a fast response.. Want to help? Create a patch for us!
  • 04-10-2008 4:42 PM In reply to

    Re: Parser Error

    i have installed all the tables and that in the database now i get this

     

    Login failed for user 'IUSER'.

    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.Data.SqlClient.SqlException: Login failed for user 'IUSER'.

    Source Error:

    Line 96:       Validator.ValidateStringArgumentIsNotNullOrEmptyString(configurationSectionName, CONFIGURATION_SECTION_NAME);
    Line 97: 
    Line 98:       ConfigurationDatumCollection configurationDatumCollection = new ConfigurationDatumCollection().
    Line 99:         Where(ConfigurationDatum.Columns.Name, configurationSectionName).
    Line 100:        Load();

    Source File: C:\dashCommerce\Core\Controllers\ConfigurationDatumController.cs    Line: 98

    Stack Trace:

    [SqlException (0x80131904): Login failed for user 'IUSER'.]
       System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +435
       System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
       System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
       System.Data.SqlClient.SqlConnection.Open() +111
       SubSonic.SqlDataProvider.CreateConnection(String newConnectionString) +34
       SubSonic.SqlDataProvider.CreateConnection() +22
       SubSonic.AutomaticConnectionScope..ctor(DataProvider provider) +56
       SubSonic.SqlDataProvider.GetReader(QueryCommand qry) +40
       SubSonic.AbstractList`2.Load() +404
       MettleSystems.dashCommerce.Core.ConfigurationDatumController.FetchConfigurationByName(String configurationSectionName) in C:\dashCommerce\Core\Controllers\ConfigurationDatumController.cs:98
       MettleSystems.dashCommerce.Core.Configuration.DatabaseConfigurationProvider.FetchConfigurationByName(String configurationSectionName) in C:\dashCommerce\Core\Configuration\DatabaseConfigurationProvider.cs:121
       MettleSystems.dashCommerce.Store.SiteSettings.Load() in C:\dashCommerce\Core\SiteSettings.cs:136
       MettleSystems.dashCommerce.Store.Web.SiteMasterPage.get_SiteSettings() in C:\dashCommerce\Store\Web\SiteMasterPage.cs:96
       MettleSystems.dashCommerce.Web.site.Page_Load(Object sender, EventArgs e) in C:\dashCommerce\Web\site.master.cs:115
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       System.Web.UI.Control.LoadRecursive() +47
       System.Web.UI.Control.LoadRecursive() +131
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

  • 04-10-2008 4:44 PM In reply to

    Re: Parser Error

    You have to put in your connection string into web\connectionString.config file

     

    From the install
    Before proceeding, please copy and paste the connection string below into the connectionString.config file. Simply replace the line that has:

    <add name="dashCommerce" connectionString="SOMETEXT" providerName="System.Data.SqlClient" />

    with the following:

    Your Connection String

    Find a bug? Create a Work Item for a fast response.. Want to help? Create a patch for us!
  • 04-10-2008 4:48 PM In reply to

    Re: Parser Error

    do we have to add this in two places?

     

  • 04-10-2008 4:53 PM In reply to

    Re: Parser Error

    Nop just one

    From where are you getting two places?

    Find a bug? Create a Work Item for a fast response.. Want to help? Create a patch for us!
  • 04-10-2008 4:56 PM In reply to

    Re: Parser Error

    no i was just asking as there are few things in the web.config file and has connection string written everwhere so i was not sure which one needs replacing, is there a specific where i need to put this in?

  • 04-10-2008 5:04 PM In reply to

    Re: Parser Error

    Please see the post above
    http://dashcommerce.org/forums/p/493/1669.aspx#1670

    Is there anything that you didn't understand about it.

    Find a bug? Create a Work Item for a fast response.. Want to help? Create a patch for us!
  • 04-10-2008 5:13 PM In reply to

    Re: Parser Error

    sorry am so silly i was looking in the wrong file...

     Thank you for all your help

Page 1 of 1 (14 items)