Jump to content

3KyNoX

Members
  • Posts

    12
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by 3KyNoX

  1. While passing step by step, it return configuration informations included inside web.config (server host, database login, database password, database name, etc...) so yes it get inside web.config.

    realmdConnectionString = "Database=realmd;Data Source=IP....;User Id=root;Password=password_masked;Pooling=False;Max Pool Size=500;Min Pool Size=1;Connection Lifetime=30; Allow Zero Datetime=true"

    mySQLCOnnection realmdCS object got all that it need and connect correctly.

  2. 1. Applied FULL 7.5 sql file to empty database without error and in order, files u told me to apply to database :

    2009-01-03_configuration.sql return 2 errors ( / 3 queries) :

    [Err] 1136 - Column count doesn't match value count at row 1
    [Err] INSERT INTO `configuration` VALUES
    ('MangosLogs', NULL);
    [Err] 1136 - Column count doesn't match value count at row 1
    [Err] INSERT INTO `configuration` VALUES
    ('MangosCrashLogs', NULL);
    [Msg] Finished - Unsuccessfully
    --------------------------------------------------

    2009-02-24_configuration.sql return same errors ( / 3 queries) :

    [Err] 1136 - Column count doesn't match value count at row 1
    [Err] INSERT INTO `configuration` VALUES
    ('DownloadIcons','FALSE');
    [Err] 1136 - Column count doesn't match value count at row 1
    [Err] INSERT INTO `configuration` VALUES
    ('IconPath',NULL);
    [Msg] Finished - Unsuccessfully
    --------------------------------------------------

    2009-03-05_configuration.sql return 1 error ( / 2 queries) :

    [Err] 1054 - Unknown column 'Item' in 'field list'
    [Err] INSERT INTO `configuration` (`Item`,`Value`) VALUES
    ('CreateGMLevel',0);
    [Msg] Finished - Unsuccessfully
    --------------------------------------------------

    ================================================================

    About the first problem to access Web.config file, i replaced that code :

    Dim rootWebConfig As Configuration
               rootWebConfig = System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration("~/")
               Dim micromanagerConnString As New ConnectionStringSettings
               micromanagerConnString = rootWebConfig.ConnectionStrings.ConnectionStrings("micromanager")
               Dim micromanagerCS As New MySqlConnection(micromanagerConnString.ToString())

    by this one :

    Dim micromanagerConnString As New ConnectionStringSettings
               micromanagerConnString = System.Configuration.ConfigurationManager.ConnectionStrings("micromanager")
               Dim micromanagerCS As New MySqlConnection(micromanagerConnString.ToString())

    ConfigurationManager itself locate Web.config.

    i did the same for realmd, mangos, etc....

    But... When i launch the solution and login, i got no errors but screen freeze on loading. I tried follow process step by step (F11) and it connect correctly with mySQL.

    I'll check the database for that freeze problem.

    Thanks.

  3. yes it is, i put sources files directly in my VS2008\\Projects folder. Virtual Path is correct, i tried to use Server.Mapath method and givin full way to the directory, result is the same.

    It's really look like a permission problem.

    I tried also givin permission to system and current logged user to that specific path but no way.

  4. Is this while running the site via Visual Studio? If so, are you using VS on Vista, 2008, Win7, or 2008 R2?

    The localization files are in /App_GlobalResources. Specifically, you'll want to make a copy of Resource.resx in the same folder with the LCID you want to translate for (e.g. Resource.de-DE.resx is German/Germany). A complete listing of LCIDs is at http://msdn.microsoft.com/en-us/library/0h88fahh(VS.85).aspx.

    Yes, it appear while running inside VS. And using Win7 Enterprise. Thx for localization details.

  5. There should be more to that error -- can you provide it?

    Yes, all of the updates in en_US and Global_Updates are needed.

    Thanks for your answer, exact error message is :

    ConfigurationErrorsException was unhandled by user code
                An error occurred loading a configuration file: Failed to map the path '/'.

    Appear in App_Code/SQLCode.vb in line :

    rootWebConfig = System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration("~/")

    It occurs when logging in. I tried change path (~/) to full path (C:\\...) that point to web.config and checked database connection parameters but no changes.

    If i get this work, just tell me where localized files are, i'll work on it. Never used asp.net localisation but got some documentation.

    Thanks.

  6. Hello rilex,

    got some time (maybe) these days, session state services launched correctly and last problem don't occur.

    I just put new sources (33576) on my VS and got error after config and launching in debug mode;

    in AppCode/SqlCode.vb :

    ConfigurationErrorsException

    rootWebConfig = System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration("~/")

    Strange, path seem to be correct to access web.config file ("~/").

    Another question is, whith that sources, should i apply all sql files in Updates\\en_US and Updates\\Global_Updates directory ?

    Thanks for answer.

  7. Hi rilex,

    just installed last sources on my VS (33240).

    I'm ready to make some translations and help with new features.

    When launching solution inside my VS got a nice session state error. (maybe web.config parameter to set ?

    Maybe some explanation to first set up here would be good.

    Thanks.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use