There are two servers, one is app and one is Db both hosted on AWS separate EC2. App server have an IIS and logged in with service account to communicate with DB server. Application is using Trusted_Connection option in connection string so that not have to specify credentials and communicate as logged in user. While communicating App server hits with below error, IIS app was configured with default AppPoolIdentity –
System.Data.SqlClient.SqlException: Login failed for user ‘DOMAIN\MACHINENAME$’.
Node-sass is one of famous library used by Node Js projects now days. Node–sass is a library that provides binding for Node.js to LibSass, the C version of the popular stylesheet preprocessor,Sass. It allows you to natively compile .scss files to css at incredible speed and automatically via a connect middleware. When you install this library it download binary as per the machine on which you are running it.
Like if you are on a windows machine 64 bit architecture, it will try to download “win32-x64-57_binding.node” and different binary in case of other OS.
It works all fine when you are on a machine where you have no internet restrictions in term of opening a site like in this case these binaries are located on GITHUB. So if you have access to github you will see ‘npm install’ going smooth.
But what if your organization mandates to use private artifactory solution like JFrog and have no access to Github ??
Don’t worry we have solution for this =)
I am going to tell you two ways to tackle this situation, one for old version of node-sass like firstname.lastname@example.org (it was in my case) and one is for latest versions which are more configurable.
Recently I was working on performance testing for one of my application and came across this issue where all of my call failing in JMeter.
I started analyzing and found it was a wizard where series of calls were on same page using ASYNC Ajax calls which were complaining “The page is performing an async postback but the ScriptManager.SupportsPartialRendering property is set to false. Ensure that the property is set to true during an async postback” due to which my main POST was failing with error “Invalid postback or callback argument”.
The strange thing was all of this was working fine when run via UI. Then started reading about when this error occurs and came across one discussion on a forum where they mentioned about SupportsPartialRenderingis not supported by every browser.
Here I am going to explain, how to enable Key and Password based authentication in linux instances of Google Cloud. This can be applied on other Cloud or standalone Linux instances. But do check manuals 🙂
When i say Key + Password, I am not referring passphrase which we give while created Private/Publich SSH key. I am referring to multiple auth methods where system will be first authenticated via PubKey and then via Password.
If your Pubkey is not matching it won’t allow you to login. If password not matching then also it won’t allow you to login. You must use exact same credentials which you configured.
I am not explaining here how to create SSH keys or password, I am assuming you already know that.
Last week i was working on TFSBuild using TFS Buildserver to build a java project and there was one major challenge managing TFSBuild.proj file created when build definition was done. You can only have one proj file and you can’t use it in flexible way by changing lifecycle based build files, drop location etc.
ADD/ENABLE constraint exception like ORA-02437, ORA-02299 etc
Today while working on one assignment I came across situation where I have to enable a unique key constraint on the table which some one disabled and forget due to which many duplicate records get entered and started creating problem for the application.
Now challenge is to find out all those records there are ways to find duplicates by writing some queries but this is easiest and faster way by using Oracle Exceptions table.
I was working today on one production issue where a requirement came to restore files from a archive directory in batch of 250, so i created this command to run in unix, have a look might be helpful for you.
When I tried this I faced “reject HostKey” error. Reason of error was server was not listed in my known hosts list. So in order to fix this you have two options either add that server to known host list or