0 Replies Latest reply: Oct 15, 2014 6:45 AM by Syed Shah RSS

    QVS Cal Manager issues

    Syed Shah

      Hi,

       

      I am facing two issues while using qvsmanager

       

      1) When using qvsmanager, If test mode is selected, then it shows deleting all the cals and everything seems to be OK. When I uncheck the test mode to actually delete those CALs, it starts deleting everything but when it is saving the Named Cal configuration, it gives an error message

       

      See the end of this message for details on invoking

      just-in-time (JIT) debugging instead of this dialog box.

       

      ************** Exception Text **************

      System.ServiceModel.ProtocolException: The remote server returned an unexpected response: (400) Bad Request. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request.

         at System.Net.HttpWebRequest.GetResponse()

         at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)

         --- End of inner exception stack trace ---

       

      Server stack trace:

         at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory factory, WebException responseException, ChannelBinding channelBinding)

         at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)

         at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)

         at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)

         at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)

         at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)

         at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

       

      Exception rethrown at [0]:

         at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

         at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

         at QMSManager.QMSAPI.IQMS.SaveCALConfiguration(CALConfiguration calConfiguration)

         at  . (   , Int32  , Boolean  , String  , Boolean  , Boolean  )

         at  . ()

         at  . (Object  , EventArgs  )

         at System.Windows.Forms.Control.OnClick(EventArgs e)

         at System.Windows.Forms.Button.OnClick(EventArgs e)

         at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

         at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

         at System.Windows.Forms.Control.WndProc(Message& m)

         at System.Windows.Forms.ButtonBase.WndProc(Message& m)

         at System.Windows.Forms.Button.WndProc(Message& m)

         at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

         at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

         at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

       

       

      ************** Loaded Assemblies **************

      mscorlib

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1008 (RTMGDR.030319-1000)

          CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

      ----------------------------------------

      QVSManager

          Assembly Version: 1.3.1.0

          Win32 Version: 1.3.1.0

          CodeBase: file:///C:/Users/SyedS/Documents/Qlikview/QVSManager%20Qlikview%20Connector%20v1.3.1/QVSManager.exe

      ----------------------------------------

      QvxLibrary

          Assembly Version: 2.0.211.0

          Win32 Version: 2.0.211

          CodeBase: file:///C:/Users/SyedS/Documents/Qlikview/QVSManager%20Qlikview%20Connector%20v1.3.1/QvxLibrary.DLL

      ----------------------------------------

      System.Windows.Forms

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1002 built by: RTMGDR

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

      ----------------------------------------

      System.Drawing

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1001 built by: RTMGDR

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

      ----------------------------------------

      System

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1001 built by: RTMGDR

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

      ----------------------------------------

      System.Configuration

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1015 (RTMGDR.030319-1000)

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

      ----------------------------------------

      System.Xml

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1015 built by: RTMGDR

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

      ----------------------------------------

      QMSManager

          Assembly Version: 1.3.1.0

          Win32 Version: 1.3.1.0

          CodeBase: file:///C:/Users/SyedS/Documents/Qlikview/QVSManager%20Qlikview%20Connector%20v1.3.1/QMSManager.DLL

      ----------------------------------------

      System.ServiceModel

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1001 built by: RTMGDR

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll

      ----------------------------------------

      System.Core

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1 built by: RTMRel

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

      ----------------------------------------

      System.Runtime.Serialization

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1016 (RTMGDR.030319-1000)

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

      ----------------------------------------

      SMDiagnostics

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll

      ----------------------------------------

      System.Runtime.DurableInstancing

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1 built by: RTMRel

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.DurableInstancing/v4.0_4.0.0.0__31bf3856ad364e35/System.Runtime.DurableInstancing.dll

      ----------------------------------------

      System.WorkflowServices

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.WorkflowServices/v4.0_4.0.0.0__31bf3856ad364e35/System.WorkflowServices.dll

      ----------------------------------------

      System.ServiceModel.Web

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Web/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Web.dll

      ----------------------------------------

      System.ServiceModel.Discovery

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1 built by: RTMRel

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Discovery/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Discovery.dll

      ----------------------------------------

      System.ServiceModel.Activities

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1 built by: RTMRel

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Activities/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Activities.dll

      ----------------------------------------

      System.ServiceModel.Routing

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1 built by: RTMRel

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Routing/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Routing.dll

      ----------------------------------------

      System.ServiceModel.Channels

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1 built by: RTMRel

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Channels/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Channels.dll

      ----------------------------------------

      System.IdentityModel

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1001 (RTMGDR.030319-1000)

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.IdentityModel/v4.0_4.0.0.0__b77a5c561934e089/System.IdentityModel.dll

      ----------------------------------------

      System.Security

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.1016 (RTMGDR.030319-1000)

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll

      ----------------------------------------

      System.Xaml

          Assembly Version: 4.0.0.0

          Win32 Version: 4.0.30319.298 built by: RTMGDR

          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll

      ----------------------------------------

       

      ************** JIT Debugging **************

      To enable just-in-time (JIT) debugging, the .config file for this

      application or computer (machine.config) must have the

      jitDebugging value set in the system.windows.forms section.

      The application must also be compiled with debugging

      enabled.

       

      For example:

       

      <configuration>

          <system.windows.forms jitDebugging="true" />

      </configuration>

       

      When JIT debugging is enabled, any unhandled exception

      will be sent to the JIT debugger registered on the computer

      rather than be handled by this dialog box.

       

       

      2) When I try to retrieve the information in qvsmanager and click on execute, it gives an error message that

      Access to the path 'C:\Program Files\Common Files\Qliktech\Custom Data\QVSManager\License.xml' is denied. I have created the custom folder structure as instructed C:\Program Files\Common Files\Qliktech\Custom Data\QVSManager and put all necessary files in there. the license.xml is not even there in the folder. why is it looking for this file?

       

      3) II want to see some information/reports on the currently assigned CALs and I am using the QVSCALMANAGER.qvw. However, when I reload this file, it only looks for local qlikview server. What If my qms and qvs are both on different server. Can I reload information from remote servers into this qlikview file? I looked in the load script and it is picking the settings from serverinfo.txt. I cannot find this serverinfo.txt so is there any way to change this setting? Is it inside the qvsmanager.exe.config?

       

      Shah