Why does my fresh Klocwork 9.2 installation display a blank Product Portal web page? - klocwork

I installed Klocwork 9.2.1.7276 on a fresh Windows Server 2008 x86 system. During the installation, I selected all Klocwork components to be installed (database server, licence server, Klocwork server) and ensured that all three servers were running in the Klocwork Management Console. I ran kwauthconfig and set the authentication scheme to None.
However, when I attempt to visit the Klocwork Product Portal (Start > Programs > Klocwork 9.2 > Klocwork Product Portal), Internet Explorer opens and displays a blank web page served from port 8080 on the local machine (http://klocwork:8080). If I change the URL to http://klocwork:8080/portal/Portal, I get the expected page. However, when I click on the links to Klocwork Review (http://klocwork:8080/review) or Klocwork Inspect (http://klocwork:8080/codereview), I get similarly blank web pages.
My production server (installed years ago by someone who has since left the company) performs as expected, but I need to move it from Windows XP to Windows Server 2008. I have read through the Klocwork 9.2 documentation, and don't think I've missed any configuration steps. This is the third time I have attempted this installation on a clean machine, each time with the same result. On one of these occasions, I ran a Klocwork build (using kwinject, kwadmin, kwbuildproject, and kwadmin load) but was not able to view the build because KW Review and Inspect don't work.
Does anyone know how to get a fresh install of Klocwork 9.2 in a state where Review and Inspect will function? Thanks in advance to anyone who can offer some advice.

The cause of this problem turned out to be a combination of Windows Server 2008's Windows Firewall and Internet Explorer Enhanced Security Configuration (IE-ESC) -- both of which are enabled by default in Windows 2008, and neither of which I disabled before installing Klocwork.
Disabling the Windows Firewall and IE-ESC after Klocwork was installed did not fix the problem.
However, I reverted the machine to a snapshot taken just before I originally installed Klocwork, disabled both Windows Firewall and IE-ESC, installed Klocwork, turned off authentication with kwauthconfig, and now the Klocwork Review and Klocwork Inspect login screens load as expected (and http://klocwork:8080 now redirects to http://klocwork:8080/portal/Portal).

Related

Server Manager not available/accessible after removing .Net feature in widows server 2019

I have removed .Net Framework feature from "Server Manager -> Remove Roles and features Wizard".
(This image is from a different server)
Later I noticed that this activity has affected many windows features (Server manager, IIS Manager, Turn on off windows features etc..).
After removed .Net Framework feature I was not able to find the Server Manager application.
I tried answer in this link and able to restore ServerManager.exe but once I try to load the server manager it's giving below error,
I may be able to resolve this if I can re enable .Net frame work feature. But not sure how to do that without using server manager(since I cannot open sever manager).
Appreciate any solutions or suggestions regarding this.
Finally able to re enable .Net feature and access server manager by following below steps,
Open command prompt
Run the command: dism /online /enable-feature /featurename:NetFx4ServerFeatures /ALL and press return.
Type PowerShell and press enter.
Run the command: Install-WindowsFeature PowerShellRoot,PowerShell,PowerShell-ISE.
Restart the server.
Credit belongs to this blogger:
https://glennopedia.com/2020/02/14/why-you-shouldnt-remove-net-in-windows-server/
This kind of errors are caused due to lack of .NET framework on your machine or if you installed old version of framework. You need to install an appropriate .NET Framework on your computer.
Updating .NET framework on your computer will solve your problem maximum.
Install it from the Microsoft website.
Run as Administrator , the server manager will open.
Now you can try to add.

How to run eclipse on AWS

I have successfuly run rStudio on Amazon Web Services and it is extremely useful.
I want to run eclipse on AWS as well. When I type this in to google most tutorials are about the eclipse plugin. That's not what I want. I want to run eclipse on AWS.
I tried setting up an instance on EC2 which allowed me to run windows server 2012 but I couldn't install anything because of various internet explorer configuration issues and anyway I hat windows. I also tried a remote linux installation but its not really what I want. I want to run eclipse so that I can access it from a public DNS in the same way that I have managed to do with rStudio. Is this possible. Are there other (even non-AWS) ways?
I presume that by "AWS" you are actually referring to Amazon EC2 virtual machines.
Installing software on an Amazon EC2 instance is no different to installing on any other computer -- it's the same copy of Microsoft Windows you would use elsewhere.
The difficulties you mention of running Internet Explorer on Windows 2012 is entirely part of Microsoft's (rather strange) security settings that discourage using Internet Explorer as a system administrator, in order to combat security weaknesses that people try to exploit. Windows 2012 will no longer be supported by Microsoft in 2018.
I recommend using Windows 2016, which does not seem to impose such restrictions. It's also a newer, supported operating system that matches Windows 10.
Then, just install the software as normal and things will work a lot better for you.
Update:
You're right -- IE has problems on Windows 2016 but they are different to what is happening on Windows 2012 (last time I looked).
To get around the silly Microsoft IE security:
Run Server Manager
Go to Local Server
Click IE Enhanced Security Configuration ("On")
Turn both settings off
Internet Explorer then works and you can install Eclipse.

SCCM 2012 R2 client deployment

I just installed SCCM 2012 R2 (thx Internet for tips) on a 2012 R2 server and i have a new problem to solve.
How can i deploy correctly agents on all clients of my lab ? 'cause when i click on "Install client" everything's good i can finish the installation but i see any changes on the Console Configuration Manager and on my server (i tried to install just on one server).
I tried to reboot all my servers, to change my installation mode :
"Allow the client software to be installed on domain controllers"
"Always install the client software"
"Install the client software from a specified site"
No change...
If someone has a tips for me to solve this problem i'll be recognizing.
Thx
Based on your description, you want to install Configuration Manager clients by using Client Push Installation.
First, you need to add an user account to install client.
Then you Install Configuration Manager clients using Client Push Installation Wizard.
On the server side, The ccm.log records client push installation activities.
On the client side, if the ccm.log not report error, after few minutes when you login to client machine and look at the process tab in task manager you will see the ccmsetup.exe is running.
You can view the ccmsetup.log file on the client machine to check the log messages and monitor the client installation process.
When the installation is finished, you can see the Configuration Manager icon in the Control Panel.

Error - Eclipse client trying to reconnect to TFS - "LocationWebService"

When eclipse tries to reconnect to TFS (username.visualstudio.com) the 'authentication window' is replaced by a window that seems to describe available services and the authentication process stops here.
The content of this window is as follows:
LocationWebService
The following operations are supported. For a formal definition, please review the Service Description.
ConfigureAccessMapping
Connect
QueryServices
RemoveAccessMapping
RemoveServiceDefinitions
SaveServiceDefinitions
SetDefaultAccessMapping
With VS2010 I can still connect to TFS without problems.
Also, both with eclipse and VS2010 I can connect to codeplex (tfs).
Clearing cookies and/or cache from IE or Chrome doesn't help.
Everything is fresh installed, so I assume it's up to date.
How can I resolve this issue with Eclipse - TFS - username.visualstudio.com?
I had to reinstall the 2013 version (https://www.microsoft.com/en-us/download/details.aspx?id=40785) and everything started working. It's either a bug in an older version or mismatch with the server version being connected to.
I have this issue too. It only happens when I try to connect myuser.visualstudio.com, with my domain TFS it can authenticate without any problem.
I see that you are running Windows 7, in my case the eclipse TFS stop working with Windows 8.

Sql Server 2008 R2 Web setup throws application error when starting FixSqlRegistryKey_x86.exe

I have Windows 7 64bit. I had Sql Server 2008 R2 Express installed. I unistalled it and then I tried to install Sql Server 2008 R2 Web. Unfortunatelly on the Setup Support Rules page for 'Consistency validation for SQL Server registry keys' I got 'Failed'. I spent half of a day trying to solve it, but then I assumed that there must be realy something wrong with registry keys and it will be faster just to reinstall Windows.
After formatting the disk and reinstalling Windows 7, rebooting dozen of times I installed all Windows upadtes as well. I also did install some programs like Skype, Thundirbird etc. which has no influence on Sql Server setup.
And then I tried again to install Sql Server 2008 R2 Web. And again an error. A bit different one. Now when the setup is on the Setup Support Rules page I get an error message box with the title "FixSqlRegistryKey_x86 - Application Error" and content: The application was unable to start correctly (0xc000007b). Click OK to close the application. 'Consistency validation for SQL Server registry keys' gets 'Failed' status as well.
My team mate has exactly the same machine as mine. He had no problem with installation (he didnt even need to reinstall Windows).
I run the setup as administrator, from a local folder. I even tried to use the setup files copied from my team mate, for a case if my copy is corrupted. In the setup options I have chosen the 'x64' version.
Any ideas what can be the reason of the problem?
Problem solved.
Someone suggested to me that Web edition should not be installed on Win 7 (just on Windows Server). So perhaps installing a different version would work. My team mate perhaps succeeded acidentially - due to having sql server installed already in express edition... but it is just a guess.
Before I tried to install another edition of SqlServer, I downloaded 2008 Express version and I started the install. From the temporary folder created by the express edition I copied FixSqlRegistryKey_x86.exe file and I had overwritten the problematic file in the Web setup with this file.
I started the setup again. It passed the verification this time. But has crashed on a later point - setup unpacks the installation files to C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2 and runs from it. So I needed to again overwrite the problematic file in this location. Now the installation succeeded.