SQL Server 2016 Master Data Services - sql-server

Can anyone tell me how to change the title of SQL Server 2016 Master Data Services within the web portal. Basically I want to change the "SQL Server 2016" to be my company name.
Can this be achieved?
Many thanks

This is based on my knowledge of SQL Server 2012. 2016 may be slightly different.
If you're referring to the "title" in the top-left corner of every page then that is actually an image. In order to change that to another logo image of your choosing you will have to replace that image on the site in the web server. This is how you can achieve this:-
Log on to (remote desktop to) the Web Server hosting the MDS site. If you have separate DB & Web servers then this is Not the one where the database is hosted.
You now need to go the physical folder where the MDS website is located on the server. If you don't know the exact location then open IIS, locate your MDS site in the tree structure on the left (under sites), right-click on your site & click Explore.
Once you're in the folder, look for a sub-folder named Images. Inside this folder, you will find a file logo.png. This is the file you need to replace. Verify by opening the original file in an image viewer.
Backup the original file, add your png file here, rename your file to logo.png.
You should be set here. In case refreshing the browser page does not bring up the correct logo, then try restarting the site in IIS.
Note: for your new logo image, try to get the same dimensions as the original image on the server (logo.png).

Related

Not able to see the list of Databases in Server Navigation Panel while using Azure Data Studio

Please see the picture below: -
I am not able to find the Database Folder which consists of all the database objects like Tables, Views etc. Instead I am directly getting all the Database Objects without the Database Folder in my Azure Data Studio application.
I am trying to look for the following folder (Sample image given below): -
Please guide on how to make the Database folder visible in the Server Navigation Panel of Azure Data Studio application.
You get the view without the Database folder when you connect to a specific database vs just the server (leaving the setting as < Default >).

SSMS cannot open a folder

I have an MVC app with a database that is saved in C:/Users/USERNAME. I want to open it in SSMS via attach. When I browse in that folder location it appears empty because SSMS can't read it.
How can I give SSMS permission to see that folder or how can I make my MVC app read the database from another folder? I know questions about this have been asked before but they are all from 2012 and vaguely explained so I can't make much use of them.
Or, if it's easier is there another way to open a database that works on my MVC app in SSMS?

DNN theme not loaded after migration

I'm absolutely new to DNN world, and I have to migrate a bunch of websites from a web server to another.
Following my expectations and some "guide" on the web, i did:
Exported SqlServer databases from old server
Imported all databases in new server
Copied the whole c:\inetput\vhosts directory from old server to the new one
Created manually the vhosts entries in IIS to host the websites (setting the vhost on the httpdocs dir and converting to application the subfolder "portal"
After some problem with app pool, user permissions, database user configurations etc. i reached to get websites running.
But what it happens is that the websites seems to load the default "theme" instead of the one that was using in production server. What did I forgot?
There is likely an Error that is being thrown with the current "skin" so you'll need to get into the Event Viewer (under the admin page) if you can get logged in, or into the EventLog table in the database to see what errors are being thrown.
select top 50 * From eventlog order by logcreatedate desc

Upload Images to Azure Storage Using Portal (not programmatically)

I need a SQL Server database that stores images, and their name, category, etc, so the SQL table will have 5 or so columns. I'm using Azure as my SQL Server host. It appears I cannot seem to insert image data into my VARBINARY(MAX) column from SQL Server Management Studio which was my first plan. I cannot do this because I cannot seem to give my user permissions to use BULK LOAD. Azure SQL seems to make this impossible. I think I need to use Azure Storage, and then in the SQL Server database, just store a link to the image.
To be clear, I want the images in the database already, I do not want to add them from within the application I am developing. The application I'm developing will only download the images to the device, not upload them.
So How do I upload the images to Azure Storage using the portal, not using code?
So how do I upload the images to Azure Storage using the portal, not using code?
Short Answer
You cannot. The portal does not have a way to upload an image to a storage container from either the old or the new portal.
Alternative
Use the AzCopy Command-Line Utility by Microsoft. It allows you to do what you want with just two command lines. There is terrific tutorial here.
First, download and install the utility. Second, open a command prompt and navigate to the installation AzCopy install directory. Third, upload a file to your storage account. Here are the second and third steps.
> cd C:\Program Files (x86)\Microsoft SDKs\Azure\AzCopy
> AzCopy /Source:folder /Dest:account /DestKey:key /Pattern:file
And here are what the parameters mean.
Source The folder on your computer that contains the images to upload.
Dest The address of the storage container at which to store the images.
DestKey The primary access key for your storage account.
Pattern The name of the file to upload (or a pattern).
Example
This uploads an image named my-cat.png from the C:\temp folder on my computer to a storage contained called mvp1. If you wanted to upload all the png images in that folder, you could replace my-cat.png with *.png and it work upload them all.
AzCopy /Source:C:\temp /Dest:https://my.blob.core.windows.net/mvp1 /DestKey:tLlbC59ggDdJ+Dg== /Pattern:my-cat.png
You might also what to take a look at the answers to this question: How do I upload some file into Azure blob storage without writing my own program?

find database data

I using webmatrix to build a website.
I use the database which webmatrix sapply, where can I see the database?
In the project folder I see only the source files, but not the database.
Click the Databases button in the left pane to see the data. Go to App_Data form the Files workspace to see the sdf file.

Resources