How can I start my sql server? - sql-server-2012-localdb

Hi Please I stopped my sql server in order to attach a database and unknowingly I closed the sql studio and now i cant connect to the instance again because I can't start the server

This is not really a programming question, but try this from your command line:
C:\> SqlLocalDb start "MyInstance"
Where "MyInstance" would be your instance name.
Taken from this article, which has a good lot of info about setting up and working with SQL LocalDB.

Well I got it fixed. For record Purpose, I opened the ms sql management studio, clicked on the view menu, select Registered Servers, this will open the Database engine on the left panel, click and expand the Database engine, expand Local Server Groups and right click on the server name under the local server groups, select Service control and then click start, follow the prompt message and start the server and then you can login to your instance. Thats all though no programming.

Related

Cannot connect in Oracle SQL Developer

I have a problem with just installed Oracle SQL Developer. In the column 'Connections' I don't have any button to add connection and there is no possibility to connect in the other way. I used the SQL Developer before and I have never had a problem like that.
I don't know why you don't have any buttons, but - you do have the "File" menu which lets you choose "New" and "Connection".
BTW, I hope you also have a database to connect to; SQL Developer itself doesn't install any database.
to solve the problem in windows follow following step
1.first install oracle software and sqldeveloper saperately and have same versions.
type about your pc in search bar
find device name
then go into homes folder which created in user name folder .local disk c>app>james>product>21c>homes>oradb21home1>network>admin>listner file
change host name to device name and save it.
come into sqldeveloper app and while creating the new connection ,change localhost name to device name.
app will work

Using smart view in OBIEE 12C

I was going to use smart view (which is downloaded, installed and added as a tab to Microsoft's products ex. Execl) and connect it to OBIEE 12.2.1.4. So I have downloaded 11.1.2.5 version.
According to my searching on the internet, I have found that in order to create a private connection, it should be done be selecting 'Oracle BI EE' connection provider, whilst I have not this option now. As a result, I fail to connect to OBIEE. I mean like below image:
As an additional INFO, I have found this URL, http://epmstream.blogspot.com/2013/06/how-to-set-up-obiee-access-through.html , which had a same problem and solved. But in my case, I couldn't unfortunately download 11.1.2.2.310 version
Could anyone help me with this issue?
You're not providing much info, but with any fresh installation of SmartView you just click SmartView -> Panel -> Private Connection and then at the very bottom "Create new connection".
There probably was something messed up on the Windows/Excel side during install (it's Windows after all...) or you had some Office product running whle installing SmartView.
You have to close all Office products completely, then find JBIPSProviderInstaller.svext on your file system (Normally C:\Oracle\SmartView). Right-click it -> Open With -> Oracle Smart View for Office.
You should get a message saying it's installed.

User mycomputer\myloginName does not have required permissions

I am trying to access the report manager url for SSRS. But, I keep on getting the error below -
User mycomputer\myloginName does not have required permissions. Verify that sufficient permissions have been granted and Windows User Account Control (UAC) restrictions have been addressed.
I tried to run my browser as admin as described here - User '' does not have required permissions, SSRS 2008 on Windows 8
with no success. I also don't see the 'site settings' on top-right corner as mentioned by so many people. Also, I cannot go through the pain of reinstalling SQL server all over again. I don't want to disable UAC.
I am unable to do anything because of this problem.
How do I fix this problem?
This solution is for Internet Explorer. I don't know how it can be done for firefox or chrome.
Link 1 -
http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/9b5a8763-84ce-46d0-b011-067ad39223d1/
See the solutions by Chirag Shah. Follow only up to step 13. I could not follow Step 14 because I found no home dialog box.
In the steps Chirag talks about some URL's. I don't really understand the meaning of any of those URL's. So, I used the URL under "Report Manager URL" in "Reporting Services Configuration Manager". It was
http://localhost:8080/MyReportServer.
The 8080 is a port number.
Once you finished this, go to the link below and follow all the steps -
http://www.soheib.com/technical-knowledge/sql-server-2012-reporting-services-uac-user-access-control/
In the 7th step, I saw a lot of check boxes. I selected all of them.
Finally, I can rest in peace. Hope it works for you too.
Also, when making the accounts described in the above link, you might see "BUILTIN\Administrators" account. Ignore it - thats what i did.
**END OF POST**
Steps taken from Chirag Shah's post -
Configure the report server for local administration. To access the report server and Report Manager locally, follow these steps:
Start Windows Internet Explorer.
On the Tools menu, click Internet Options.
Click Security.
Click Trusted Sites.
Click Sites.
Under Add this Web site to the zone, type http://ServerName. If you are not using HTTPS for the default site, click to clear the Require server certification (https:) for all sites in this zone check box.
Click Add.
Repeat step 7f and step 7g to add the http localhost URL, and then click Close.
Note This step enables you to start Internet Explorer and open either the localhost or the network computer name of the server for both the Report Server application and the Report Manager application.
Create role assignments that explicitly grant you access together with full permissions. To do this, follow these steps:
Start Internet Explorer together with the Run as administrator option. To do this, click Start, click All Programs, right-click Internet Explorer, and then click Run as administrator.
Open Report Manager. By default, the Report Manager URL is http://ServerName/reports. If you use SQL Server Express with Advanced Services SP2, the Report Manager URL is http://ServerName/reports$sqlexpress. If you use a named instance of Reporting Services, the Report Manager URL is http://ServerName/reports$InstanceName
i was receiving blank page after i was logging exactly 3 times on my report server URL.
i've Turn Off Internet Explorer Enhanced Security. On different OS's it is in different location. find the location and turn it off.
I hope this will help you.

What is wrong with my SQL Server Compact Toolbox?

I have just installed SQL Server Compact Toolbox in VS2012, but when I open my password protected db, and expand the Tables node in the toolbox treeview, it seems to get stuck just showing "Loading..." under Tables. I wasn't asked for a password and don't see any place to provide one.
If I connect to the same database jusing Server Explorer, all is find and I can examine the tables.
What am I doing wrong with the Toolbox?

VS 2010 Server Explorer Database Showing No Tables

I'm working on a .Net application that needs to read from an Oracle 10g database behind Siebel. In VS 2010 Server Explorer, I've created a connection using the OracleClient type connector with a reference to the Oracle TNS service name as the "server name." The "Test Connection" button shows that the connection is successful. However, in the Server Explorer, when I go to expand the Tables, no tables are shown. I know for a fact that there are 3000+ tables in the database (thanks Siebel). Anyone know what's happening here? I'd like to create an Entity Framework 4.0 Entity Data Model...
Thanks for the help!
Andy
I've had the hardest time trying to solve this issue myself. There's very little useful documentation on the subject. Once you create a data connection and tested the connection click "Ok" then open up the server explorer window. Right click on the new oracle data connection and select "Change View". By default "My Objects" are selected, try selecting "User Objects" or "All Objects". Once you do, you should be able to see all of the objects under the data connection sub categories.
Right click on connections, go to Filters, the "displayed schemas" property by default, it's your logon name to the connection. Change the schemas to dbo schema and update the property. Then you should see all the tables. It worked for me :)
Do you have privileges on the schema and/or tables?
Don't know VS2010 but it sounds to me like there's a setting to show you only your schema by default.
UPDATE: Oracle just announced a new ODAC version, 11.2.0.1.1 Beta with support for VS 2010. You might give that a shot.
The same situation occurred for me, however this was with SQL Server 2008. Somehow the sql user account I was connecting with lost both read and write privileges. Once the account was given back those privileges I was able to access everything as expected.

Resources