Connecting to database error .....
Benjammin
Posts: 4
Connecting to database error & more.
Today I got an email notification of a crash with one of my applications. So I went into SmartAssembly to see the Report, but nothing appeared. Tried to download but nothing seemed to work and no reports showed, so next I saw an update was available, so I did update to the current version 6.11.1.354.
So now when I start Smart Assembly I get a message titled: “Problem connecting to databaseâ€, with a message of “Database server not configuredâ€
When I click on “View Error Reports†I get a message titled “Problem loading reports list†with a message with these 4 lines and it is displayed twice.
“Unable to connect to the database for the following reason: “
“Database server not configuredâ€
“If the database is on a network, please verify the network connection.
“If the problem persists, restart Smart Assembly and try again.â€
Then I get an error titled “Error downloading reports†with a message of :
Unable to connect to the database for the following reason:
Database server not configured
If the database is on a network, please verify the network connection.
If the problem persists, restart SmartAssembly and try again (occurred once).
Is this a serious error that should be reported to Red Gate?
I see no way to configure a database, not sure what database we are speaking of and or how to correct. All help is appreciated.
Today I got an email notification of a crash with one of my applications. So I went into SmartAssembly to see the Report, but nothing appeared. Tried to download but nothing seemed to work and no reports showed, so next I saw an update was available, so I did update to the current version 6.11.1.354.
So now when I start Smart Assembly I get a message titled: “Problem connecting to databaseâ€, with a message of “Database server not configuredâ€
When I click on “View Error Reports†I get a message titled “Problem loading reports list†with a message with these 4 lines and it is displayed twice.
“Unable to connect to the database for the following reason: “
“Database server not configuredâ€
“If the database is on a network, please verify the network connection.
“If the problem persists, restart Smart Assembly and try again.â€
Then I get an error titled “Error downloading reports†with a message of :
Unable to connect to the database for the following reason:
Database server not configured
If the database is on a network, please verify the network connection.
If the problem persists, restart SmartAssembly and try again (occurred once).
Is this a serious error that should be reported to Red Gate?
I see no way to configure a database, not sure what database we are speaking of and or how to correct. All help is appreciated.
Tagged:
Comments
The reason why this error is coming up is that SmartAssembly used to allow you to use either an mdb database (the default option) or a SQL Server database to store information about your builds (as well as your error and feature reports), but the latest version only allows the SQL Server database option, which is more robust. The error that you're getting though means that the SQL Server hasn't yet been specified.
To specify the SQL Server to use as well as migrate the data from your mdb database to that SQL Server, can you kindly take a look at the documentation here: https://documentation.red-gate.com/disp ... ase+to+SQL
I hope that info helps but please let us know if any issues persist!
Jessica Ramos | Product Support Engineer | Redgate Software
Have you visited our Help Center?
Can I go back to a version that does not require this? If so what version & how would I do this?
Ben
You can indeed go back to the previous version that still provides the mdb option, available for download here: ftp://support.red-gate.com/patches/Smar ... 26Nov2015/.
(It may be worth noting that with the latest version, the SQL Server doesn't need to be on the same machine that SmartAssembly is running on- you can connect to any server on your network.)
Jessica Ramos | Product Support Engineer | Redgate Software
Have you visited our Help Center?
I don't want to install SQL server just to run Smart Assembly!
How on earth can you release this without including this as part of the upgrade process leaves me speechless.
@manlyboy could you clarify what else you would have wanted in the process?
We've included a database migration tool in the install, documented how to use it, and provided any necessary information in the Release Notes. I understand that not everyone reads release notes but I'm not sure what else we could have done, other than an automatic migration? This in itself has several issues though, not least of which is we would have had to make an assumption about what kind of SQL database people wanted to use. Then you have a whole myriad issues with actually getting that database installed, not to mention potential licensing pitfalls.