/build/static/layout/Breadcrumb_cap_w.png

Landesk 7.5SP1 AppV issue - no error messages

Hi all,

I am currently trying to get a sequenced application to work on our Windows Server 2003 Terminal Server environment but it is giving different results depending on the environment that you stream/run the sequenced app. It works when streamed to a Server 2008 R2 machine but not to our Server 2003 environment.

The package needs Microsoft WSE 2.0 SP3 Runtime, DotNetFX40 and CrystalReports13 installed as pre-requisites in order for it to work. Our build already has Microsoft WSE 2.0 SP3 Runtime and DotNetFX40 installed so when I sequenced the app CrystalReports13 and Landesk Console were included in the APPV bubble. The package was sequenced on a Windows Server 2003 VM.

So this is what's currently happening.

When streamed to a Server 2008 R2 machine it runs successfully but when run to a Server 2003 machine what happens is strange - it works on first run but no more after that.

On a clean VM where I've never streamed this version of Landesk to and I run "sfttray.exe /launch "Landesk XX 7.5"", the application runs up and streams successfully to the client. If I then close the application and attempt to stream the application once more, nothing happens. In the App-V Client progress message bar at the bottom it says "Landesk XX 7.5 launched", but nothing happens and then "Landesk XX 7.5 shutdown" after a few minutes but nothing actually happens, no application runs. Even if I log off and back on I can not run/stream this application successfully again until  I revert this VM's snapshot back to a state where I had not streamed it before.

Has anyone ever seen this? I don't know where to look in terms of log files.

I have used cmd.exe to look inside the APPV bubble and to ensure the file is present and I have been able to browse to it, it just wont' run once it's been run once.

I had a look in the sftlog.txt and the only thing that pops out is that after it's run successfully each consequent attempt to run it one of the lines in the log file is

"An Error Occurred while opening the virtual registry (section 9)".

I'm not sure if this is relevant but have had a look online to see if there is anything to help troubleshoot the above. I have tried changing the SUBSYSTEM VALUE="windows" to SUBSYSTEM VALUE="console" but this had no effect.

I don't know what else to try in terms of troubleshooting. Any advice would be very welcome.

Thanks


0 Comments   [ + ] Show comments

Answers (3)

Posted by: mark_holland21 11 years ago
Fourth Degree Green Belt
0

Hi, Ok, I'm still no closer to figuring this one out. But I've discovered something that may help. When I sequence the application, and during the "Launch" phase, if I launch the shortcut, nothing happens, i.e., sequencer thinks shortcut has run and app has closed and puts a tick beside the shortcut as if to say it has run successfully. I checked the application logs in "Event Viewer" and noticed that there are 2 .NET error messages.
This package Landesk 7.5SP1 has .NET 4.0 as a pre-req and also Crystal Reports 13 for .NET4. The strange thing is I can run the shortcut manually and there are no .NET errors and it opens the program but as soon as I try to use the APPV sequencer to run the shortcut then the .NET error messages appear. I also get these .NET error messages when trying to run the sequenced application on a 2003 server. I have tried installing the pre-reqs on the server before I ran my sequence but I still get the same issue. the 2 .NET error messages are

Source: NET Runtime 4.0 Error
Event ID: 5000
Description:
EventType clr20r3, P1 console.exe, P2 7.5.0.11089, P3 4fec2e1f, P4 presentationcore, P5 4.0.0.0, P6 4ba1f865, P7 48df, P8 0, P9 system.io.filenotfoundexception, P10 NIL.

Source: .NET Runtime
Event ID: 1026
Description:
Application: Console.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
Stack:
  at System.Windows.Media.MediaSystem.ConnectTransport()
  at System.Windows.Media.MediaSystem.Startup(System.Windows.Media.MediaContext)
  at System.Windows.Media.MediaContext..ctor(System.Windows.Threading.Dispatcher)
  at System.Windows.Media.MediaContext.From(System.Windows.Threading.Dispatcher)
  at System.Windows.Media.Visual.VerifyAPIReadWrite()
  at System.Windows.Media.VisualCollection.Add(System.Windows.Media.Visual)
  at System.Windows.Controls.UIElementCollection.AddInternal(System.Windows.UIElement)
  at System.Windows.Controls.UIElementCollection.Add(System.Windows.UIElement)
  at System.Windows.Forms.Integration.ElementHost.set_Child(System.Windows.UIElement)
  at Touchpaper.App.Console.SplashLoginForm.InitializeComponent()
  at Touchpaper.App.Console.SplashLoginForm.DrawWindow()
  at Touchpaper.App.Console.SplashLoginForm..ctor(System.String[])
  at Touchpaper.App.Console.ConsoleApplication.RunNewInstance(System.String[])
  at Touchpaper.App.Console.ConsoleApplication.Main(System.String[])

Posted by: jagadeish 11 years ago
Red Belt
0

Since it is working for the first time, Have you tried launching it from different machine?


Comments:
  • It works on a Server 2008 R2 box that we have without fail. So the same package but just on a different platform and it doesn't work. I've noticed that the version of Java we are running is different on both platforms, however after updating the machine that doesn't work (server 2003) to the same version of Java that's on the Server 2008 R2 machine it still doesn't work. Have tried running Procmon against it in the Bubble but not seeing any Access Denied messages and not really sure what else to look out for. - mark_holland21 11 years ago
Posted by: rock_star 11 years ago
4th Degree Black Belt
0

Can you post your osd file here ..

Also , delete the user pkg file and see if it works again (test it in test environment and it is just a test ).

 

Does it has child process?


Comments:
  • Here's the OSD file, I don't think it has a child process. I have changed TERMINATECHILDREN to TRUE just in case.

    <?xml version="1.0" standalone="no"?>
    <SOFTPKG GUID="9DAD5BBD-546E-4922-B4F5-0DA0CAA3E4F1" NAME="Console - Explicit 2X" VERSION="7.5.0.11089">
    <IMPLEMENTATION>
    <CODEBASE HREF="RTSP://%SFT_SOFTGRIDSERVER%:554/LanSer75.051/LanSer75.051.sft" GUID="C07B3AE8-DB3D-4DB3-A737-44BABE4E2D45" PARAMETERS="" FILENAME="LanSer75.051\LANDesk\Service Desk\Console\Console.exe" SYSGUARDFILE="LanSer75.051\osguard.cp" SIZE="515025429"/>
    <WORKINGDIR>%SFT_MNT%\LanSer75.051\LANDesk\Service Desk\Console</WORKINGDIR>
    <VIRTUALENV TERMINATECHILDREN="TRUE">
    <ENVLIST/>
    </VIRTUALENV>
    <VM VALUE="Win32">
    <SUBSYSTEM VALUE="windows"/>
    </VM>
    <OS VALUE="Win2003TS"/>
    <OS VALUE="Win2008R2TS64"/>
    </IMPLEMENTATION>
    <DEPENDENCY>
    <CLIENTVERSION VERSION="4.6.0.0"/>
    <SCRIPT TIMING="PRE" EVENT="LAUNCH" WAIT="TRUE" PROTECT="TRUE">
    <SCRIPTBODY>cmd.exe /c copy "\\\\bauer-uk\\data\\apps\\AppV\\LanSer75.051\\Explicit\\Console.exe.config" "Y:\\LanSer75.051\\LANDesk\\Service Desk\\Console" \n
    cmd.exe /c copy "\\\\bauer-uk\\data\\apps\\AppV\\LanSer75.051\\Explicit\\Consolex64.exe.config" "Y:\\LanSer75.051\\LANDesk\\Service Desk\\Console" \n
    cmd.exe /c copy "\\\\bauer-uk\\data\\apps\\AppV\\LanSer75.051\\Explicit\\Touchpaper.Client.Ticker.exe.config" "Y:\\LanSer75.051\\LANDesk\\Service Desk\\Console" \n
    </SCRIPTBODY>
    </SCRIPT>
    </DEPENDENCY>
    <PACKAGE NAME="LanSer75.051"/>
    <ABSTRACT>Sequenced by: Mark Holland
    Date Sequenced: 07/03/2013
    OS Sequenced: Windows Server 2003
    APPV Sequencer used: 4.6.0.20200</ABSTRACT>
    <MGMT_SHORTCUTLIST/>
    <MGMT_FILEASSOCIATIONS>
    <PROGIDLIST/>
    <FILEEXTENSIONLIST/>
    </MGMT_FILEASSOCIATIONS>
    </SOFTPKG> - mark_holland21 11 years ago
  • 1. Did you tried deleting pkg .. ( if it is not launching 2nd time then delete user pkg file and try running it again)
    2. Try setting &quot;&lt;VIRTUALENV TERMINATECHILDREN=FALSE&gt;&quot; and then run .
    3. take them off "<OS VALUE="Win2003TS"/>
    <OS VALUE="Win2008R2TS64"/>" - rock_star 11 years ago
  • Hey, Ya, I've tried deleting the .pkg file (UsrVol_sftfs_v1.pkg in the user profile and changed the setting to False and still doesn't want to run up. The PKG file gets created even though the application doesn't seem to run. Again, nothing happens. I'm going to try sequencing it again but including Java in the sequence this time and see what happens. - mark_holland21 11 years ago
    • i hope you have tried this VIRTUALENV TERMINATECHILDREN=FALSE - rock_star 11 years ago
  • Why would I take these off?
    "<OS VALUE="Win2003TS"/>
    <OS VALUE="Win2008R2TS64"/>
    "I would then not be able to run it on the platform required? - mark_holland21 11 years ago
  • yes if nothing is specified then we can run it on any OS . - rock_star 11 years ago
  • After resequencing I have had the same results but what I did notice is that at the point in the sequence where you can use the sequencer to launch the application, I clicked Launch but the application didn't launch, however the sequencer thought the application had launched. I wonder if this has anything to do with the problems I'm seeing. - mark_holland21 11 years ago
    • You can try one more thing , Don't launch it in monitoring and launch phase . - rock_star 11 years ago
  • Tried that, still doesn't work on our Server 2003 build but does work on our Server 2008 build. Not sure what it is that's going wrong but it must be down to the diferences between the environments. I've noticed that the verison of APPV client on the server that works is 4.6.1.20870 and the version on the server that doesn't is 4.6.0.1401 so I'm going to upgrade the version and see if that helps. - mark_holland21 11 years ago
    • It seems there is something in environment that might be conflicting with this one . Try running with Run As Administrator or Run the shortcut in compatibility mode.

      Did you get "An error occurred while opening the virtual registry (section: 9), rc: 07B01F0C-" in sftlog - rock_star 11 years ago
  • Hey, ok, on a clean, reverted snapshot of the Server 2003 VM which has never run this version of the application, on first run, whether running it as admin or not it runs up ok. However, on subsequent attempts to run it, it fails.
    This is what's written into sftlog.txt

    [03/15/2013 13:04:07:055 ???? INF] {tid=82C:usr=xxxxxxxxxxxxx}
    An error occurred while opening the virtual registry (section: 9), rc: 07B01F0C-0000004A


    [03/15/2013 13:04:07:071 ???? INF] {tid=82C}
    An error occurred while opening the virtual registry (section: 9), rc: 07B01F0C-0000004A


    [03/15/2013 13:04:07:087 SWAP INF] {hap=477:app=Console - Explicit RDS 7.5.0.11089:tid=82C:usr=xxxxxxxxxxxxxx}
    Elapsed time for upload: 0.219 seconds


    [03/15/2013 13:04:08:040 SWAP INF] {hap=477:app=Console - Explicit RDS 7.5.0.11089:tid=82C:usr=xxxxxxxxxxxxxxxxxxx}
    Elapsed time for launch: 1.297 seconds


    [03/15/2013 13:05:47:415 SWAP INF] {hap=477:app=Console - Explicit RDS 7.5.0.11089:tid=82C:usr=xxxxxxxxxxxxxxxxxxxx}
    App shut down - mark_holland21 11 years ago
    • Did you get any thing on this? - rock_star 11 years ago
  • 1. you tried running proc mon .
    2. thread realted to this http://www.itninja.com/question/ms-project-2007-app-v

    http://social.technet.microsoft.com/Forums/en-US/appvclients/thread/dc26aed3-7988-4bd9-ab76-b1f4e37661bf - rock_star 11 years ago
    • Hi, Ok, I'm still no closer to figuring this one out. But I've discovered something that may help. When I sequence the application, and during the "Launch" phase, if I launch the shortcut, nothing happens, i.e., sequencer thinks shortcut has run and app has closed and puts a tick beside the shortcut as if to say it has run successfully. I checked the application logs in "Event Viewer" and noticed that there are 2 .NET error messages.
      This package Landesk 7.5SP1 has .NET 4.0 as a pre-req and also Crystal Reports 13 for .NET4. The strange thing is I can run the shortcut manually and there are no .NET errors and it opens the program but as soon as I try to use the APPV sequencer to run the shortcut then the .NET error messages appear. I also get these .NET error messages when trying to run the sequenced application on a 2003 server. I have tried installing the pre-reqs on the server before I ran my sequence but I still get the same issue. the 2 .NET error messages are

      Source: NET Runtime 4.0 Error
      Event ID: 5000
      Description:
      EventType clr20r3, P1 console.exe, P2 7.5.0.11089, P3 4fec2e1f, P4 presentationcore, P5 4.0.0.0, P6 4ba1f865, P7 48df, P8 0, P9 system.io.filenotfoundexception, P10 NIL.

      Source: .NET Runtime
      Event ID: 1026
      Description:
      Application: Console.exe
      Framework Version: v4.0.30319
      Description: The process was terminated due to an unhandled exception.
      Exception Info: System.IO.FileNotFoundException
      Stack:
      at System.Windows.Media.MediaSystem.ConnectTransport()
      at System.Windows.Media.MediaSystem.Startup(System.Windows.Media.MediaContext)
      at System.Windows.Media.MediaContext..ctor(System.Windows.Threading.Dispatcher)
      at System.Windows.Media.MediaContext.From(System.Windows.Threading.Dispatcher)
      at System.Windows.Media.Visual.VerifyAPIReadWrite()
      at System.Windows.Media.VisualCollection.Add(System.Windows.Media.Visual)
      at System.Windows.Controls.UIElementCollection.AddInternal(System.Windows.UIElement)
      at System.Windows.Controls.UIElementCollection.Add(System.Windows.UIElement)
      at System.Windows.Forms.Integration.ElementHost.set_Child(System.Windows.UIElement)
      at Touchpaper.App.Console.SplashLoginForm.InitializeComponent()
      at Touchpaper.App.Console.SplashLoginForm.DrawWindow()
      at Touchpaper.App.Console.SplashLoginForm..ctor(System.String[])
      at Touchpaper.App.Console.ConsoleApplication.RunNewInstance(System.String[])
      at Touchpaper.App.Console.ConsoleApplication.Main(System.String[])

      I'm not sure what I'm looking for in Procmon. I have run it but there is alot of information there. - mark_holland21 11 years ago
  • Hi, I had the same issue when sequencing Landesk.

    Here's a few tricks with this one

    Remove all OS'es from OSD file.
    Run the copy commands from a batch file with a pause in it to ensure files are being copied correctly.
    Run a PreLaunch script to delete users local appv cache (from both AppData and Local Settings)
    Local Interaction allowed = true

    Also, are you sure youre copying the correct (x64) config file over? Should it be the 32 bit verison for server 2003? - lakeefa 10 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ