These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

Market Discussions

 
  • Topic is locked indefinitely.
 

EMMA - Update to work with new style API keys - version 1.6

Author
Vaerah Vahrokha
Vahrokh Consulting
#21 - 2012-03-06 23:29:52 UTC
The real revolution on EMMA will happen when it will drop that massive failure called MS SQL server. It's only good at filling in hard disks, creating security holes, requiring massively huge patches and eating lots of memory.

Oh, and best of all, at making it an hell to maintain / remote assist the softwares that use it.
Ambo
Rattini Tribe
Minmatar Fleet Alliance
#22 - 2012-03-07 18:24:56 UTC
Quite. That's wky the next version is fluent nhibernate on SQLite. :)
Ambo
Rattini Tribe
Minmatar Fleet Alliance
#23 - 2012-03-27 19:36:49 UTC
Just put out an update that upgrades the database to the latest static data dump from CCP - Thanks once again to Lost Hamster for converting it to work with EMMA.

Also, just read about the new 3rd party licenses (https://forums.eveonline.com/default.aspx?g=posts&t=84730&find=unread) and it seems that 3rd party developers will still not be allowed to charge real money for their work.
Understandable but somewhat frustrating from my point of view.

I'm going to carry on working on EMMA 2.0 because I've enjoyed if and I've learnt a lot doing it. However, I will have less motivation to spend time on it so it's not going to be around any time soon - I'm expecting at least 6 months to a year. If ever.

Still, the CREST stuff looks very interesting so by the time I get that far down the line it may well require a complete redesign to make use of the new cool stuff anyway. :)
Thibault Etienne
#24 - 2012-03-30 00:12:26 UTC
Tried an update today
got
problem downloading the file 'EveData_log.ldf'
The remote server returned an error (404)not found
Ambo
Rattini Tribe
Minmatar Fleet Alliance
#25 - 2012-03-30 16:35:45 UTC
Thanks, will take a look and see what I missed.
Thibault Etienne
#26 - 2012-03-30 19:23:04 UTC
I'm updated in and a happy bunny.
Thanks mate
Peri Phusis
Sebiestor Tribe
Minmatar Republic
#27 - 2012-04-16 02:54:47 UTC  |  Edited by: Peri Phusis
Greetings fellow Warlords:



I have many problems. And yes, I’m getting counseling. But perhaps you can help as well.


Why is C:\Documents and Settings\user\Application Data\EMMA\logging\Exceptionlog.txt
Actually file:///C:/Documents%20and%20Settings/user/Application%20Data/EMMA/logging/Exceptionlog.txt

Inner Exception: A network-related or “instance-specific error” occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

What is an “instance-specific error?”

How do I find out what instance name is? Or if it is correct?

How do I configure SQL server to allow remote conflicts?

Why did I go to “SQL Server Configuration and enable everything in Protocols for MSSQLSERVER? (and why didn’t it work?)

And last but not least, how do I fix the problem so that I can log on?

Thanks,

Peri
Ambo
Rattini Tribe
Minmatar Fleet Alliance
#28 - 2012-04-19 17:28:28 UTC
Hi Peri,

Obviously this is some sort of problem that EMMA is having connecting to SQL and there are many possible causes and solutions.

I'm afraid I can't give you a specific thing that will fix it but perhaps this will help: http://www.sqlmusings.com/2009/03/11/resolving-a-network-related-or-instance-specific-error-occurred-while-establishing-a-connection-to-sql-server/

Otherwise, just old fashioned googling and trying things is the way to go. Sorry I can't be more helpful!
Jaang Mei
Center for Advanced Studies
Gallente Federation
#29 - 2012-04-29 03:32:20 UTC
Ok so with a fresh install of EMMA and SQL2008 I'm getting a connection error.

=====================================================================================
EXCEPTION REPORT
=====================================================================================
4/28/2012 10:18:01 PM Critical - EveMarketMonitorApp.Common.EMMAException - Error connecting to database
Inner Exception: Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed.
Stack Trace: at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at EveMarketMonitorApp.DatabaseClasses.Updater.WaitForAcknowledge()
at EveMarketMonitorApp.GUIElements.Main.waitForSQLAcknowledge()
=====================================================================================
EXCEPTION REPORT
=====================================================================================
4/28/2012 10:18:01 PM Critical - EveMarketMonitorApp.Common.EMMAException - EMMA is unable to connect to the database.
Ambo
Rattini Tribe
Minmatar Fleet Alliance
#30 - 2012-04-29 07:11:36 UTC
Try deleting the instance data folder. It's something like %appdata%/Microsoft/Microsoft SQL server/SQLEXPRESS that will usually fix this problem.
Mr Sterling
OMEGA DAWN TRADING COMPANY
#31 - 2012-07-12 13:51:39 UTC  |  Edited by: Mr Sterling
Yet another Exception report, but I have deleted the SQLEXPRESS file and still nothing, added it to the SQL Server Management Studio Database (Recovery Pending) Even changed the string line in EveMarketMonitorApp.exe.config with my pc name . Getting frustrated, Help Please. Thank you


=====================================================================================
EXCEPTION REPORT
=====================================================================================
7/12/2012 9:43:17 AM Error - EveMarketMonitorApp.Common.EMMAException - Problem detecting SQL installation
Inner Exception:
Stack Trace: at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at System.Management.ManagementObjectCollection.get_Count()
at EveMarketMonitorApp.Common.SQLExpressChecks.GetSQLVersion()
at EveMarketMonitorApp.GUIElements.Main.isSQLExpressInstalled()

name="EveMarketMonitorApp.Properties.Settings.EMMA_DatabaseConnectionString"
connectionString="Data Source=PC Name;AttachDbFilename="|DataDirectory|\Data\EMMA Database.mdf";Integrated Security=True;User Instance=True"
providerName="System.Data.SqlClient
name="EveMarketMonitorApp.Properties.Settings.ebs_DATADUMPConnectionString"
connectionString="Data Source=PC Name;AttachDbFilename=|DataDirectory|\Data\EveData.mdf;Integrated Security=True;User Instance=True"
providerName="System.Data.SqlClient
Ambo
Rattini Tribe
Minmatar Fleet Alliance
#32 - 2012-07-14 12:55:14 UTC
Looks like yet another SQL express installation issue. Afraid I don't have any specific advice beyond uninstall/reinstall and google :/
Lost Hamster
Hamster Holding Corp
#33 - 2012-07-16 09:43:46 UTC
If you are sure that the SQL is running then, change the EveMarketMonitorApp.exe.config
Look for the entry: setting name="SkipExpressCheck"
And change it to: True

I wanted to copy the whole config file, however It seems the new forum do not like the sign, < >
Thanatois
Reblier Innovations
#34 - 2012-07-19 13:35:39 UTC
I sent my 100 mil but have not heard from Ambo. Tossed him an evemail and still no reply. It's been 2 days. Did I do something incorrectly?
Ambo
Rattini Tribe
Minmatar Fleet Alliance
#35 - 2012-07-19 16:46:53 UTC
Sorry, just hadn't checked anything for a few days, will get it sorted.
Thanatois
Reblier Innovations
#36 - 2012-07-20 04:27:59 UTC
Thanks for getting at me. I put in the key and managed to update all the files through the updater. I'm still getting these persistent errors, however:

Quote:
EXCEPTION REPORT
=====================================================================================
7/20/2012 12:24:44 AM Error - EveMarketMonitorApp.Common.EMMAException - Failed to contact api.eveonline.com
Status - TimedOut
=====================================================================================
EXCEPTION REPORT
=====================================================================================
7/20/2012 12:24:49 AM Error - EveMarketMonitorApp.Common.EMMAException - Failed to contact www.eve-central.com
Status - TimedOut
=====================================================================================
EXCEPTION REPORT
=====================================================================================
7/20/2012 12:24:52 AM Error - EveMarketMonitorApp.Common.EMMAException - Failed to contact www.eve-metrics.com
Status - TimedOut
=====================================================================================
EXCEPTION REPORT
=====================================================================================
7/20/2012 12:24:54 AM Error - EveMarketMonitorApp.Common.EMMAException - Failed to contact www.eve-files.com
Status - TimedOut
=====================================================================================
EXCEPTION REPORT
=====================================================================================
7/20/2012 12:24:56 AM Error - EveMarketMonitorApp.Common.EMMAException - Failed to contact www.starfreeze.com
Status - TimedOut
=====================================================================================
EXCEPTION REPORT
=====================================================================================
7/20/2012 12:25:21 AM Critical - EveMarketMonitorApp.Common.EMMAEveAPIException - No XML document to process


Judging from how quickly the errors happen I would gander that your code is assuming I have a very low latency and is timing out the connections if they don't get a more or less instant answer. Unfortunately, I'm running a horribly high latency connection.

If I am correct, is there any way to extend the time that it is looking for the api connection? If I am not correct, what else should I be doing? Thanks.

Ambo
Rattini Tribe
Minmatar Fleet Alliance
#37 - 2012-07-20 17:28:43 UTC
Go to where you installed (probably somthing like C:\program files\emma) and open 'EveMarketMonitorApp.exe.config' in notepad.

Find this setting: setting name="SkipConnectionCheck"

and change the value to 'True'
That will skip the checks, not sure if the rest of the system will work or not if you have unusually high latency
Thanatois
Reblier Innovations
#38 - 2012-07-21 15:52:27 UTC
Ambo wrote:
Go to where you installed (probably somthing like C:\program files\emma) and open 'EveMarketMonitorApp.exe.config' in notepad.

Find this setting: setting name="SkipConnectionCheck"

and change the value to 'True'
That will skip the checks, not sure if the rest of the system will work or not if you have unusually high latency



I still get the popup errors on start up but the program seems to work now and I've been able to download my market api info so thanks. Any idea what is causing that besides latency?
Ambo
Rattini Tribe
Minmatar Fleet Alliance
#39 - 2012-07-22 12:22:16 UTC
The only thing that comes to mind wouldb a firewall that blocks ping messages
Shinya Shazih
Markarian Society
#40 - 2012-07-23 19:37:30 UTC  |  Edited by: Shinya Shazih
Hello,

I tried to use the update feature under General Settings, but Emma is telling me she is missing summary.xml and/or summary.zip

Quote:
Problem downloading file 'summary.xml'
External name could not be retrieved 'summary.zip'