I have created this blog to place some of important things on it for my personal use and also to help others. Now a days I am doing job as Software Engineer in a company. I have completed my graduation in Computer Science from University of Sindh, Jamshoro, Pakistan.
Sunday, March 25, 2012
wamp server turn to yellow color
1) Stop IIS Server (type inetmgr.exe in run command)
2) Locate httpd.config file (default path is C:\wamp\bin\apache\Apache2.2.21\conf)
3) Locate below lines
#Listen 12.34.56.78:80
Listen 80
and change them with
#Listen 12.34.56.78:8080
Listen 8080.
Save httpd.config file and restart wamp services. You can see that it will be now changed into green color.
Please comment if this post is helpful for you.
Wednesday, February 1, 2012
Cannot use the special principal 'sa'. (Microsoft SQL Server, Error: 15405)
Cannot use the special principal 'sa' (Microsoft SQL Server, Error: 15405)
After doing some google, I found out the solution which I am sharing so that others can get all the possible solutions from this article.
The titled message mean that your sa user is disabled. To enable it, you have to follow below mentioned steps:
1) you have to change the authentication mode: go to Management Studio and open Object Explorer. Connect to your server and right-click on the server name, then select Properties. Go to Security tab and under Server Authentication select "SQL Server and Windows Authentication Mode".
2) Also, after you follow the directions above, you will also need to explicitly enable the sa account as well. Go to Security->Logins. Right-click on the "sa" account, select "Properties". In the list on the left, select "Status" and under "Login" on the right, make sure "Enable" is selected.3) exec sp_changedbowner 'sa','true' in query editor after selecting the database whom you want to assign user sa.
4) You can also change the password of sa (it's better to change the password).
After performing all above mentioned changes, Exit with SQL Management Studio. Restart Sql Service from services.msc.
Open Management Studio again and try to login "sa". Hopefully, it works. Enjoy!
(Please comment if it work for you).
Thursday, September 30, 2010
EXTRACT DATA FROM XLS AND XLSX FILE FORMAT
Thursday, July 15, 2010
SQL Statement OpenDataSource
Saturday, May 1, 2010
The credentials you provided for the SQL server Agent service are invalid. To continue, provide valid account and password for the SQL server Agent Se
FORMATTING NUMBERS IN SQL
Thursday, July 30, 2009
HOW TO REMOVE PRINTER DRIVER
1. Go to Printers & Faxes
2. Delete the printer configuration in question. (For safety's sake, you may want to consider deleting all printer configurations to ensure that you aren't still using some element of the driver in another configuration somewhere. Remember that a driver is often times more than just a single file. It may involve shared libraries in use by multiple printer configurations.)
3. Go to File --> Server Properties
4. Go to the Drivers tab. You will be presented with a list of drivers.
5. Select a Driver and press the "Remove" button.
Docker Tutorial
I have listed all the necessary commands of Docker below. In case if any is missing or if any improvement required, please share in comment...
-
In my case, this error pertains to Oracle Merge query . After 30 minutes of time wastage and a lot of hunting on different forums, I come to...
-
Above problem occur when you have not added a group (of which User try to login) in your local policy login. To resolve the issue, follow t...
-
Dear Readers, I face this problem in a web application build in .aspx. It mainly occurs when you are performing some action with javascrip...