Installing Microsoft SQL Server 2008 Management Studio Express
Microsoft SQL server 2008 Management Studio Express offers management tools for Microsoft SQL Server 2008 Express, Express with Advanced Services and Compact editions. If your database is hosted on an SQL 2005 Express server, install Microsoft SQL Server Management Studio Express. SQL server 2008 Management Studio Express runs on Windows 7, Windows Vista service pack 1 and Windows XP service packs 2 and 3, Windows server 2003 service pack 2, Windows server 2008 and Windows Server 2008 R2.
This article includes instructions for installing all of the necessary prerequisites. Each installation will be different depending upon the operating system, patch level and previous software installations on the computer. You must log in to the computer with administrative rights to install software.
Install Windows Installer
- Download the appropriate installation file for your version of Microsoft Windows from the Microsoft Download Center.
- http://www.microsoft.com/download/en/details.aspx?id=8483 is the 4.5 Installer for SQL 2008 Studio!
- Open the Windows installer file.
- Click “Next” when presented with the “Software Update Installation Wizard.”
- Select the option beside “I agree” to answer the licensing agreement query.
- Click the “Next” button.
- Press “Finish.”
Install the .NET Framework
- Download the current version of the .NET Framework for your operating system from the Microsoft Download Center.
- Open the .NET Framework installation file.
- Select the option button for “I have read and accept the terms of license agreement” to agree to the licensing terms.
- Press “Install.”
- Click “Exit” when the message that the setup has completed appears.
Install Windows PowerShell
- Download Windows PowerShell for Windows XP or for Windows 2003 Server from Microsoft's download center.
- Execute the Windows PowerShell setup file.
- Click “Next” in the Software Update Installation” window.
- Select “I Agree” to accept the licensing agreement. Click “Next.”
- Press “Finish” when the installation has completed successfully.
Install Microsoft SQL Server 2008 Management Studio
- Download Microsoft SQL Server 2008 Management Studio Express from the Microsoft Download Center.
- Double-click the Microsoft SQL Server 2008 Management Studio Express executable file.
- Choose “Installation” in the SQL Server Installation Center window.
- Click on the link to “New SQL Server stand-alone installation or add features to an existing installation.”
- Check for warnings and errors in the “Setup Support Rules” pane.
- Resolve any failures before clicking the “OK” button.
- Click “Install.”
- Check for warnings and errors in the “Setup Support Rules” pane.
- Resolve any failures before clicking the “Next” button.
- Select “Perform a new installation of SQL Server 2008.” Click “Next” and “Next.”
- Check the box beside “I accept the license terms.” Click “Next.”
- Check the box beside “Management Tools – Basic” beneath the shared features.
- Click “Next” and “Next.”
- Accept the defaults in the “Error and Usage Reporting” screen and click “Next.”
- Select the “Next” button and click “Install.”
- Click “Next” and “Close” when you see the message that the setup process is complete.
Microsoft SQL 2008 Server Management Studio Express simplifies management of SQL 2008 Server Express and Compact editions. Authorized users and administrators can run scripts, create tables, assign rights, schedule backups, replicate, shrink and restore databases from the Object Explorer window. While a long process, installation of the prerequisites and the software will save you time and effort when administering your SQL databases.
Copyright from Maria Montoya’s suite 101 site: Installing Microsoft SQL Server 2008 Management Studio Express | Suite101.com
If you want to switch on the Trace log for MSAccess linked tables to SQL Server then set the following registry key to 1. If you can't see the key then create a new REG_DWORD key and set the value to 1. The log file will be called sqlout.txt and it will be produced in the Default database folder as indicated in MSAccess Tools->Options->General->Default database folder.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engines\ODBC] TraceSQLMode
Hope this helps! Also don't forget to switch it off when you don't need it.
When I was trying to deploy the SharePoint 2010 Web Part on a server using PowerShell, I got this error when I tried to run the Install -SPSolution command saying that:
Install-SPSolution: Admin SVC must be running in order to create deployment timer job
So all I needed to do was to go to the Services and look for the service called SharePoint 2010 Administration. It woill not be running so I switched it to Automatic and then started it. Then I was able to re-run my Installation script!
This is how to list all Tables and Fields in an Access Database Project (ADP).
Option Compare Database
Option Explicit
Public Sub ListTablesAndFieldsADP()
'---------------------------------------------------------------------
'Reference is needed for: Microsoft ADO Ext. 2.x for DDL and Security
'---------------------------------------------------------------------
Dim cat As New ADOX.Catalog
Dim tbl As ADOX.Table
Dim col As ADOX.Column
Dim fs As Object
Dim output As Object
Set fs = CreateObject("Scripting.FileSystemObject")
Set output = fs.CreateTextFile("c:\Tables_Views_And_Fields.txt", True)
Set cat.ActiveConnection = CurrentProject.Connection
For Each tbl In cat.Tables
If Left(tbl.Type, 6) <> "SYSTEM" Then
output.WriteLine tbl.Name & " (" & tbl.Type & ")"
For Each col In tbl.Columns
output.WriteLine " " & col.Name
Next
output.WriteLine
End If
Next
Set col = Nothing
Set tbl = Nothing
Set cat = Nothing
End Sub
This is how to list all LINKED Tables and Fields in an MS Access Database.
To list Local Tables, remove Len(tdfCurrent.Connect) > 0
Public Sub ListTablesAndFields()
Dim fld As DAO.Field
Dim tdfCurrent As DAO.TableDef
Dim dbCurrent As DAO.Database
Set dbCurrent = CurrentDb
Dim fs As Object
Dim output As Object
Set fs = CreateObject("Scripting.FileSystemObject")
Set output = fs.CreateTextFile("c:\Tables_Views_And_Fields.txt", True)
For Each tdfCurrent In dbCurrent.TableDefs
If Len(tdfCurrent.Connect) > 0 And Left(tdfCurrent.Name, 4) <> "~TMP" Then
output.WriteLine tdfCurrent.Name
For Each fld In tdfCurrent.Fields
output.WriteLine " " & fld.Name
Next
output.WriteLine
End If
Next
End Sub
If you are annoyed at the IIS timeouts when running .NET code via Visual Studio then you'll want you know how to fix that problem!
You can do 1 of 2 things.
* Go to the Application Pool for the Web Application you are working with. Select the Advanced Settings. Set the Ping Enabled property to False. This will allow you debugging to run forever.
* If you prefer to allow IIS to continue the monitoring process then change the Ping Maximum Response Timeout value to something larger than 90 seconds (default value).
If you're getting this error when running backups via Central Admin in SharePoint 2010 then the most likely cause is that the SQL Server, where your Site Collections are, does not have access to the folder you are backing up to. Meaning, your Farm configuration is on multiple machines. Mine is on 2 machines. A Web Front End (where I run the backups from) and a SQL Server machine.
You probably configured the back-up to write to a lettered drive on the Web Front End. Don't worry, I did this too then I realized that it would be best to make a Shared Folder that has the correct permission so thet BOTH machines have access to write to the same location. Then it worked.
Recently I was setting up a new website and came across this error! DON'T be fooled by this error, it does not mean switch on Directory Browsing.
My OS is Windows 2008, IIS 7.0 and the new site is running on .NET 4.0
This is what you need to do to correct the issue.
1.) Run a command prompt as Administrator.
2.) Copy and paste the following text “C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i”
I hope this helps someone else out there.
Server Error in Application "DEFAULT WEB SITE/TESTSITE"
Internet Information Services 7.0
Error: Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository being crawled is a SharePoint repository, verify that the account you are using has "Full Read" permissions on the SharePoint Web Application being crawled.
If you get this error in your Crawl search log then the problem is directly related to the infamous loopback Issue as described below.
You can also read more about this issue on another post located here: http://blog.dafran.ca/post/2011/07/04/Cant-log-into-SharePoint.aspx
The OFFICIAL Microsoft KB article describes the 2 different ways to resolve this issue.
http://support.microsoft.com/kb/896861
The following is copied from the KB link above.
There are two methods to work around this issue, use one of the following methods, as appropriate for your situation.
Method 1: Specify host names (Preferred method if NTLM authentication is desired)
To specify the host names that are mapped to the loopback address and can connect to Web sites on your computer, follow these steps:
- Set the DisableStrictNameChecking registry entry to 1. For more information about how to do this, click the following article number to view the article in the Microsoft Knowledge Base:
281308 (http://support.microsoft.com/kb/281308/ ) Connecting to SMB share on a Windows 2000-based computer or a Windows Server 2003-based computer may not work with an alias name
- Click Start, click Run, type regedit, and then click OK.
- In Registry Editor, locate and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
- Right-click MSV1_0, point to New, and then click Multi-String Value.
- Type BackConnectionHostNames, and then press ENTER.
- Right-click BackConnectionHostNames, and then click Modify.
- In the Value data box, type the host name or the host names for the sites that are on the local computer, and then click OK.
- Quit Registry Editor, and then restart the IISAdmin service.
Method 2: Disable the loopback check (less-recommended method)
The second method is to disable the loopback check by setting the DisableLoopbackCheck registry key.
To set the DisableLoopbackCheck registry key, follow these steps:
- Set the DisableStrictNameChecking registry entry to 1. For more information about how to do this, click the following article number to view the article in the Microsoft Knowledge Base:
281308 (http://support.microsoft.com/kb/281308/ ) Connecting to SMB share on a Windows 2000-based computer or a Windows Server 2003-based computer may not work with an alias name
- Click Start, click Run, type regedit, and then click OK.
- In Registry Editor, locate and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
- Right-click Lsa, point to New, and then click DWORD Value.
- Type DisableLoopbackCheck, and then press ENTER.
- Right-click DisableLoopbackCheck, and then click Modify.
- In the Value data box, type 1, and then click OK.
- Quit Registry Editor, and then restart your computer.
I hope this helps someone out there!
After installing and configuring Search Server Express 2010 on Foundation I was unable to open the Search Service Application I had created in order to configure the crawling. To fix this problem you need to do the following.
- Go To Central Administration
- Under Application Management, click Manage Service Applications
- Highlight the Search Service Application Service that you can't get access to.
- Click on Administrators in the ribbon
- Add your account to the list of Administrators and then check the Full Control Check Box.
- Click OK
Now you should be able to click on the Service Application and Administer it.
Hope this helps!