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.
Friday, October 19, 2012
ORA-38104: Columns referenced in the ON Clause cannot be updated
I was giving multiple criteria in ON clause of merge query, and was also trying to update a column which I have mentioned in ON clause. Once I remove that column from update clause of merge query, it executed successfully.
I hope that this will also works for you.
In case if this post help you, then please comment on it.
Thanks.
uncaught TypeError: Property href of object is not a function
I face this problem in a web application build in .aspx. It mainly occurs when you are performing some action with javascripting or Jquery. In my case, I was using javascript. It was working fine in IE (Internet Explorer) but was unable to perform any action in chrome.
If you read subjected error message carefully, it tells you that you are accessing an object as function which is not a function at all.
In my case, I mistakenly access window.href as a function. for example, I wrote it as
window.href('www.google.com');
which is wrong and that is why it was not functioning properly in chrome. The correct method is
window.href= 'www.google.com';
I hope that after reading my post, you will able to understand that where you are doing mistake and correct it.
If this post help you then post your comments so that others can also consider this as a worth information.
Thanks.
Tuesday, August 7, 2012
Could not find any resources appropriate for the specified culture or the neutral culture. Make sure resources was correctly embedded or linked into assembly at compile time, or that all the satellite assemblies required are loadable and fully signed.
1) Check Project Namespace by going to properties of project. (Right click on project and select properties)
2) Resources.resx file in Properties folder of project might not contain same name which you mentioned in project namespace.
3) Remove all files from "bin" folder inside project and re-build your project again.
All methods I tried, but of no use.... Then I find out that I include following two folders which were excluded from project and these were
1) Bin
2) Obj
out of that when I again exclude obj folder from my project. It start work fine. This solution worked for me and I hope that it will also help you.
If this solution help you then please write your comments so that other find it as a valuable content.
Thanks.
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).
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...