Category: Quick note

1

Installing Cassandra on Linux – Ubuntu

First, you should install Oracle Java from PPA Repository with following commands sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer Verify installed version java -version Install the package setting environment variables sudo apt-get install oracle-java8-set-default Now we’are ready...

0

Sql Server Reset Table Identity Value

If you want to reset identity value, just execute this command declare @tableName varchar(100) = ‘tableName’; declare @value int = 0; DBCC CHECKIDENT (tableName , reseed, @value) The next value will be 1, but you can choose any natural number.

0

404 Not Found Error when using IIS (7.5)

While deploying a mvc5 application on Windows server 2008 r2, I had an annoying 404 error. The solution was re-register ASP.NET with aspnet_regiis -i with the command prompt: c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i Works like a charm!