The service account for NPrint does not have access to the QVW you are attempting to load. Grant Access to the document.
This can be via Section Access Management or by making the User a member of the “QlikView Administrators” or “QlikView Document Administrator” group and re-publish the document.
Please note that if you create a new service account and change the Service Account for NPrintingService and experience the above error message. NPrinting will not function correctly until documents are republished. Republished documents will have the required rights to access the documents.
We also had this problem after logging out of the session and windows and then logging back into the computer permissions were restored. Curious if a windows session can be corrupted leading to incorrect permissions / errors when loading documents.
Sample code showing how to convert the run_duration column from msdb.dbo.sysjobhistory to seconds.
,j.name as job_name
-- , s.command
,dbo.agent_datetime(run_date, 0) as step_start_date
,dbo.agent_datetime(run_date, run_time) as step_start_date_time
,run_duration/10000 as run_duration_hours_only --hours
,run_duration/100%100 as run_duration_minutes_only --minutes
,run_duration%100 as run_duration_seconds_only --seconds
,(run_duration/10000 * 60 * 60) + -- hours as seconds
(run_duration/100%100 * 60) + --minutes as seconds
(run_duration%100 ) as run_duration_total_seconds --seconds
-- , h.*
from msdb.dbo.sysjobs j inner join
msdb.dbo.sysjobsteps s on j.job_id = s.job_id inner join
msdb.dbo.sysjobhistory h on s.job_id = h.job_id and s.step_id = h.step_id
and j.name like 'syspolicy_purge_history'
order by h.instance_id desc
I have used Hamachi for years, and while it does not seem to be heavily marketed, if you are an IT Pro, I do not know how you live with out this software.
I recently configured a server with Ubuntu 16.04 LTS, and wanted to have remote access to my server from my mobile phone / other computers while on the phone.
When I tried to install LogMeIn Hamachi for Linux (Beta) on Ubuntu 16.04 LTS. The installation failed. As lsb-core was not available. The documentation on Hamachi clearly states that lsb 3.0 or greater is required.
LogMeIn Hamachi for Linux (Beta)
Please make sure you have the LSB 3.0 (or above) package installed prior to attempt installing the product. If you had an older version of Hamachi for Linux, please make sure you uninstall it prior to attempt installing the latest software and read the README file located in the download package. Make sure that you have an ARMv4T or better processor and tun/tap driver installed before running Hamachi for Linux with ARM support.
Do the following to install the LogMeIn Hamachi Client.
# The following are a list of commands you are run to install Hamachi in one step
# go to downloads folder
# download hamachi client (64 bit)
# download hamachi client (32 bit)
# install lsb from Ubuntu 14.04
# Out of desperation I've downloaded and installed the lsb-core package for Ubuntu 14.04,
sudo add-apt-repository "deb http://cz.archive.ubuntu.com/ubuntu trusty main" && sudo apt-get update && sudo apt-get install lsb-core -y
# install hamachi client
dpkg -i ./logmein-hamachi_188.8.131.52-1_amd64.deb
# join network
hamachi do-join 000-000-000
Update the last line of code with your appropriate network id before running this.
Then go to your LogMeIn Central and approve the network join request.
**It Worked** Connected to Linux Server from My iPhone 6 Plus
The two apps I tested this with are:
Reflection for UNIX – SSH Client
Upon being greeted with the following logs, I started investigating the issue.
I found the issue to be caused by the database being closed, and not any major underlying disk issue.
Check if your database has auto_close enabled.
select @@SERVERNAME AS server_name,getutcdate() as report_date_utc,name as database_name, is_auto_close_on , state_desc, user_access_desc
where is_auto_close_on = 1
order by name asc
If autoclose is on, switch this database to no longer use auto_close.
Before making any changes, check the integrity of the database. If there are no errors generated by this command, then move on to changing the auto_close option.
alter database [database_name] set offline with rollback immediate;
alter database [database_name] set online;
alter database [database_name] set AUTO_CLOSE OFF;
Download the Microsoft from here
Save the files to a convenient location: I chose C:\jdbc\sqljdbc_4.0\
Many posts show the class name as “com.microsoft.jdbc.sqlserver.SQLServerDriver” this is incorrect.
SQLServerDriver # incorrect class name
com.microsoft.sqlserver.jdbc.SQLServerDriver # correct class name
My Machine Setup:
- Windows 7 Enterprise – 64 Bit
- R Studio Version 0.97.551
- R version 3.0.1 (2013-05-16), platform x86_64-w64-mingw32
- Microsoft SQL Server 2008, 2012 Installed
If you use a tool like 7-zip to explode the jar file you will notice the class files are located at:
# reference document on RJDBC
drv <- JDBC("com.microsoft.sqlserver.jdbc.SQLServerDriver" , "C:/jdbc/sqljdbc_4.0/enu/sqljdbc4.jar" ,identifier.quote="`")
conn <- dbConnect(drv, "jdbc:sqlserver://SERVERNAME:55158;databaseName=master", "sa", "password")
d <- dbGetQuery(conn, "select * from sys.databases where database_id <= 4 ")
You can download this script from here
I also tested using the Microsoft Driver and connecting to the same SQL Server using Ubuntu.
I have tested the connecting to sql server using R from Windows, Ubuntu and OS X. Below are links to the gists which contain the code.
Mac OS X
For the code used in that example look at my gist
Add the option –color to grep to make your matches stand out.
cat customers.txt | grep -i -e “john” –color