appharbor sqlserver setup help - creating a database gets permission denied in database master - appharbor

I am trying to set up my sql server database on harbor. I added Shared Microsoft SQL Server as a service. I connected to the db using ms sql server management studio.
Whenever i am trying to create a database locally I get permission denied in database master.
I tried to search on your Appharbor site and stackoverflow for answers but I am stuck.
Can you please help?

You can't create new databases other that the one you start with. If you've deleted that, please remove and re-add the add-on.

Related

Oracle create link between local xe and remote database in SQL Developer

I'm trying to create a link between my local database and my oracle 11g school database. I've finished the link creating between two databases and I tried to run a simple statement from my local database and to see if I can access the data from the remote database. However, there was an error message keep showing on the output section.
I've tried to google the error, but none of the solutions helps.
Can anyone help me with this issue?

Oracle Cloud ATP database missing from cloud account

when i tried accessing one of my APEX applications I developed on oracle cloud.
I get this error
The database service named: |ocid1.tenancy.oc1..aaaaaaaacwex5sqkhi7kwsb5s664n6brmhrjvhhsxduw35l2rzahhsa7pyaa-tmohammedb|re| does not exist
And When I logged into my Oracle Cloud account, to my dismay, My oracle ATP database is not more available. I didn't get notification either from Oracle support.
Under My resources the database is listed as stopped.
But when i Click on it it shows "Error retrieving values"
Can anyone help me with recovering the database.
Regards
Looking into this, I came across a thread you created via Cloud Customer Connect where your question was answered. I'd recommend reviewing and following up there - https://cloudcustomerconnect.oracle.com/posts/44c1ada213
TLDR - your database environment is up and running .. but it will go away for sure since you are not using the free tier database. You should get your data out of that system, it will go away. Please give this the appropriate priority

Unable to connect to Oracle on Azure Data Factory

I'm trying to connect to my on-premise Oracle database in order to migrate and copy some tables over to Azure SQL, but am not able to do so despite making sure all the connection parameters match the provided values in tnsnames.
Am I missing something? The error says the socket is closed but haven't gotten any useful information other than this prior issue, but doesn't contain any solution. I currently use Oracle 11.2.0.3 so the ADF connector should support this version.
Not sure what else I need to check. Any thoughts would be greatly appreciated!
Your screenprint shows you are using the AutoResolveIntegrationRuntime but as you say your Oracle db is on-premises you would need a Self-hosted Integration runtime (SHIR) as per this article. You would still need an SHIR for an IaaS Oracle db. Ideally the SHIR should be 'close' to the datasource so probably on-premises in the same network.
Do you have any proxy or firewall configured?
Have you tried creating the linked service and then testing the connection? Sometimes it occurred to me that I failed to test the connection of a new linked service but when creating it and retesting the connection is successful ...

Unable to connect to Oracle using SSMA for Oracle

I'm trying use Microsoft SSMA for Oracle to migrate a database onto Azure SQL, but I can't get it going. I've double checked the server name, server port, Oracle SID, password... everything. No matter the type of entry screen I use, I can't get it to connect to the on-premise Oracle instance.
I'm pretty sure the login information is all correct, and I should have a working connector to Oracle since I connect to it from TOAD on a daily basis. I tried installing Oracle libraries per previous posts but not sure if I did it successfully because the issues still remains.
What are the troubleshooting steps I should take in order to make this work?
Log in screen:
      
Error 1:
Unable to find specified provider.
Compatible Oracle Data Access Connectivity libraries were not found on the machine. You can install them from Oracle product media or download it from Oracle web site.
Error 2:
Connection to Oracle failed.
ORA-01017: invalid username/password; logon denied
Error 3:
Connection to Oracle failed.
Network Naming: No LDAP server detected or configured
After a few more days of debugging, I was finally able to get SSMA to work. This answer helps to document my solution for personal use, as well as hopefully answer anyone else's question in the future.
After looking at the list of prerequisites to have SSMA running, I saw that I needed to have a correct Oracle client running. After some internal discussion, it was likely that the Oracle client SSMA needed was different than the one my computer already had for TOAD. The .Net provider for the TOAD connectors was probably not useful for SSMA.
We run Oracle 11g but I had to install Oracle 12c because 11g did not support Windows 10 apparently. Not too much of a roadblock here.
I found this guide to install Oracle client 12c pretty helpful. Shoutout to my alma mater.
Unfortunately the installer kept freezer, but using this former post, I was able to bypass it with the windows command:
setup.exe -ignoreprereq -J"-Doracle.install.client.validate.clientSupportedOSCheck=false"
After that, I saw different error messages when trying to connect SSMA. I kept trying different options with my logins until it worked. Provider: OLEDB Provider, Mode: Standard.
After being granted the appropriate permissions, I was finally able to access our internal tables and objects.
It was a pretty annoying question with a lot of rabbit holes along the way, but it was definitely worth it, being able to translate all our Oracle schemas to Azure SQL with a few clicks. Hope this helps!
Make sure to validate all steps mentioned below before going to install Microsoft SQL Server Migration Assistant for Oracle.
Make sure you have already installed SQL Server instance that will host the migrated database. Also keep in mind that you are not installing SQL Server Express edition to host the migrated database.
You must have sysadmin account to install SQL Server Migration Assistant for Oracle.
Make sure to install SSMA for Oracle on the server that will host newly migrated database on SQL Server.
It is recommended to install Oracle client software on your target system where SQL Server Instance is running.
Make sure your windows server has Microsoft Windows Installer 3.1 or a later version. Port 1434 should be open.
For more details, You can reference: How to Install SSMA for Oracle to Migrate Oracle Database to SQL Server.
Here's the Azure Database Migration Guide: Migrate Oracle to Azure SQL Database. As you prepare for migrating to the cloud, verify that your source environment is supported and that you have addressed any prerequisites. This will help to ensure an efficient and successful migration.
Connect to Oracle with Oracle Client Provider.
Azure also has other way can help you migrate Oracle database to Azure SQL database, such as with Azure Data Factory. If you still has the connect error. I think you can try to use it. Please reference this tutorial: Copy data from and to Oracle by using Azure Data Factory.
Hope this helps.

nopcommerce 3.40 Deployment cant create database

I installed on localhost with a local database. I compiled in Release mode - Any CPU. I have recopied the file system set from publish to the root folder as always.
I am taken directly to the install page. I try to install using my websites database server name. Ive tried reconnecting to an existing database.
I get the error message (Ive tried both connection methods):
Setup failed: Sequence contains more than one element
So i tried to just create a new database. i get error:
Setup failed: An error occurred while creating the database: CREATE DATABASE permission denied in database 'master'.
I have checked to make sure my username and password are correct for the database. I think maybe i need to reset the install files some how? I have tried everything from delete to editing the settings.txt file in the App_data folder. still cant get passed the install
You don't have permission to create a new database using these credentials. You should configure SQL Server to allow it
Most shared hosting doesn't allow you to create database from code. To overcome this, do:
Manually create database on your host
Get the connection string / connection info
Enter the info in [2] during installation, make sure you uncheck "create database if it doesn't exist"
The nopCommerce install never creates a database. If you so choose... nopCommerce will create tables.
Edit: I am marking this the answer because this concept helped solve both new database creation and connecting to existing databases.

Resources