Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Security issue using QVS with IIS

Our customer is testing to embed QV Server (v9 SR5 x64) access point in his own software. We've installed QV Server on a Win2008 machine with IIS as webserver. During Qlikview installation the QV Webserver component was deselected, so the QV web server service wouldn't be installed. In QMS we've configured QV Server to use NTFS authentication. The Qlikview admin account is used for testing and has full access on all QV document folders.

But, when we try to open the portal by browsing to http://localhost/qlikview, we receive the messige 'authentication failed'. When we add QV webserver to the Qlikview installation and browse again to the QV portal, all documents are shown.

Is it possible to use QV Webportal without the QV webserver service installed? If not, why? If yes, how do we configure this?

Thanks in advance.

Kind regards,

Patrick Strooij - Provelu

9 Replies
Bjorn_Wedbratt
Former Employee
Former Employee

Hi Patrick,
It is possible to run QVS with IIS, without installing QVWS so you're on the right track. You don't need to install QVWS, even though I know many do, and then stop the service. Personally I rather go for a clean installation as possible (i.e. no services should be installed if not required).

After completing the installation, first verify the creation of virtual folders in IIS manager. There should be a bunch of them, /qlikview, /QvAJAXZfc etc.
The next step would be to check the security settings for the virtual folders in IIS. I prefer to do this on the root-folder for the web site and set it to IWA (Integrated Windows Authentication) and disable Anonymous access. I then make sure the security settings are inherited to each virtual folder.

Now you need to create a new application pool in IIS. The account used for the application pool identity must be a member of the local QlikView Administrators group.
Move the virtual folder /QvAJAXZfc to the new application pool (see QVS ref. manual for a complete description depending on version of IIS).

Once set up correctly, go into the virtual folder /QvAJAXZfc and select the file AccesspointSettings.aspx. Make sure you can browse this file in IE, without being prompted for credentials. If you do get prompted, notice the active zone in IE. It should be Local Intranet, not Internet (as IWA is not supported in the Internet zone). If the zone is wrong, add the site to the Local intranet zone in IE.

Now, go into QEMC and the tab for the services settings (QVS, DS, DSC, QVWS). Expand web servers and select your QlikView Web Server. In the right pane you will see the default URL to the QVWS. Change this URL to http://localhost/QvAJAXZfc/AccesspointSettings.aspx. If everything is set up properly you will see that settings for Accesspoint etc will be available.

You're done, now you should be able to configure Accesspoint settings etc from QEMC. As a side-note, the settings will be written into the same config-file as for QVWS (%programdata%\Qlikview\QlikViewWebServer).

raghavsurya
Partner - Specialist
Partner - Specialist

Hi Bjorn Wedbratt,

Your suggestion helped us resolve few of the server installations issues we faced recently.

Thanks and Regards,

Raghav

sparur
Specialist II
Specialist II

Hello, Bjorn.

I'm using your manual, but have some problems yet.

I use:

QV 9.0 SR7

Windows Server 2003  R2 SP2 x64

section  "Add IIS as a webserver"

In QEMC goto SystemSetup.
Select QlikView Web Servers in theleft pane.
In the right pane, change the URL to http://localhost/QvAJAXZfc/AccessPointSettings.aspx
Press Apply.

When I done it, I can't connect to the webserver and I can't see tabs  for AccessPoint, Ajax andWeb.

QVWS_error.png

Is it normal for Windows Server 2003 or I should something change in the settings?

StefanBackstrand
Partner - Specialist
Partner - Specialist

If you open the AccessPointSettings.aspx page in a new browser, when you are logged in as the user running the QlikView services - what do you get in response?

sparur
Specialist II
Specialist II

Hello, Stefan.

I have 2 different situation:

1) When both web servers (IIS and QVWS) are running.:

when I open link: http://localhost/QvAJAXZfc/AccessPointSettings.aspx

I get message:

The page cannot be found

2) When only IIS is running:

I get this message:

<Root>POST request without contents, can't process!</Root>

StefanBackstrand
Partner - Specialist
Partner - Specialist

You should not have both QvWebServer and IIS running at the same time. Shut down QvWebServer and restart IIS and all QlikView services. Then try again.

sparur
Specialist II
Specialist II

Thanks. Stefan.

I done it and I see good picture in QEMC - I see  tabs for AccessPoint, Ajax and Web in the Qlikview Web Servers settings.

but  I got another problem - my users can not open qvw documents through AccessPoint now. AP doesn't accept their user credentials (login / password). I think problems in IIS settings, but I don't know what I should change.

P.S. When both web servers are running. Users don't have any problems

StefanBackstrand
Partner - Specialist
Partner - Specialist

The reason why it works when running both servers is that QvWebServer will override IIS and take the requests. That will work just fine for the Accesspoint, but if QvWebServer gets a URL request to an aspx page (which it cannot process, or find, for that matter) error occurs. If running IIS - don't run QvWebServer.

Make sure you have set the web site in IIS to have Windows Authentication = Enabled, and Anonymous Authentication = Disabled.

sparur
Specialist II
Specialist II

Stefan, I checked security settings on IIS once again and I see that

Windows Authentication = Enabled, and Anonymous Authentication = Disabled.

I don't know why users cann't get access into AP. Can you help me?