CR Server 2008 / Using openDocument interface with a no-logon wrapper

Hi, all!
I had a problem with the openDocument.jsp interface and a no-logon wrapper which took me quite a while to figure out. I'm now posting these results here in the hopes that someone else will find them useful. Of course, if anyone has input how to improve the solution, it's also welcome!
The system on which this was developed and tested was a vanilla Crystal Reports Server 2008 installation on Tomcat / MySQL / Windows Server 2003.
The problem was that calls to openDocument interface left sessions open and this quickly led to the situation where all the concurrent access licenses (CALs) were used. It seemed nondeterministic when a session was released; it could have been minutes or hours.
The solution: write a HTTP session timeout listener which logoffs the CRS-backend session. (The code below has still some dubug output enabled.)
package fi.niscayah.util;
import com.crystaldecisions.sdk.framework.IEnterpriseSession;
import javax.servlet.http.*;
import java.util.Date;
import java.util.Enumeration;
import java.text.SimpleDateFormat;
public class KillSession implements HttpSessionListener
    public void sessionCreated(HttpSessionEvent event)
        debug("sessionCreated()", event);
    public void sessionDestroyed(HttpSessionEvent event)
        HttpSession session = event.getSession();
        try {
            java.util.Enumeration name = session.getAttributeNames();
            while (name.hasMoreElements()) {
                String attributeName = (String)name.nextElement();
                Object attribute = session.getAttribute(attributeName);
                if((attribute != null) && (attribute instanceof IEnterpriseSession)) {
                    debug("  attribute : " + attributeName);
                    debug("  type      : " + attribute.getClass().getName());
                    IEnterpriseSession ies = (IEnterpriseSession)attribute;
                    ies.logoff();
            debug("sessionDestroyed()", event);
        } catch (Exception ex) {
            debug("sessionDestroyed() exception");
    private void debug(String msg)
        SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss");
        String timestamp = sdf.format(new Date());
        System.err.println("[KillSession] [" + timestamp + "] " + msg);
    private void debug(String msg, HttpSessionEvent event)
        HttpSession session = event.getSession();
        String id = session.getId();
        String context = session.getServletContext().getServletContextName();
        debug("[" + context + "] [" + id + "] " + msg);
(If you want to test the above code, create a .jar package out of it and put it in webapps/OpenDocument/WEB-INF/lib.)
Next we need to register our listener. I noticed that the openDocument-webapp's web.xml-file already contained a listener definition that claimed to expire enterprise sessions on HTTP timeout. I never saw such results; I tested it by registering my own listener, which only outputted debug information, and then when ever a session timeout happened, I checked the amount of licenses in use via the CMC - it never dropped predictably.
So, comment out the SessionCleanupListener and add KillSession.
<!-- SK: Added own listener. -->
<listener>
    <listener-class>fi.niscayah.util.KillSession</listener-class>
</listener>
<!-- SK: Commented out. -->
<!-- SessionCleanupListener is used to expire the EnterpriseSession when the web session is timeout -->   
<!-- <listener>
    <listener-class>com.businessobjects.sdk.ceutils.SessionCleanupListener</listener-class>
</listener> -->
After the above, change the HTTP session timeout to something more suitable. If you're creating really big reports, one minute might be too little. Also notice, that the value is an approximation. The timeout event might happen just as one minute has passed, but usually it takes more.
<session-config>
    <session-timeout>1</session-timeout>
</session-config>
Now we're good to go and test the openDocument interface. The result should be that every time a HTTP session timeouts, an enterprise session (which was initialized via the openDocument call) is logged off.
Next the no-logon wrapper.
I found a lot of examples for logging in automatically, but every one of them exhibited a strange behavior (at least when used in conjunction with the openDocument interface) where the session count was increased by two. A lot of head scratching later, the solution below was devised.
<%@ page language="java"
    import = "com.crystaldecisions.sdk.framework.CrystalEnterprise,
              com.crystaldecisions.sdk.framework.IEnterpriseSession,
              com.crystaldecisions.sdk.framework.ISessionMgr,
              com.crystaldecisions.sdk.exception.SDKException"
%>
<%
ISessionMgr sessionManager = CrystalEnterprise.getSessionMgr();
IEnterpriseSession entSession = sessionManager.logon("Guest", "", "<server>:6400", "secEnterprise");
String entToken = entSession.getLogonTokenMgr().createWCAToken("", 1, 1);
// So that this can be logged off when the session timeouts
HttpSession httpSession = request.getSession();
httpSession.setAttribute("nologon_SESSION", entSession);
String query = request.getQueryString();        
String redirectURL = "http://<server>:8080/OpenDocument/opendoc/openDocument.jsp?" +
    query + "&token=" + entToken;
response.sendRedirect(redirectURL);
%>
You can put the above .jsp-file where you like, but I dropped it in webapps/openDocument, since it's no use by itself.
The use of nologon.jsp is simple: use it as you would openDocument.jsp.
And there you have it. A word of warning though, if you're not sure what you're doing, I wouldn't recommend trying these things out. And you certainly shouldn't deploy these on a production environment.
As said before, any input is welcome!

I'll comment on the BusinessObjects Enterprise logon tokens that you may generate via the Enterprise SDK.
DefaultToken - this is used for failover - i.e., if the original EnterpriseSession object is destroyed without having logoff() method invoked, the failover can be used to re-connect to Enterprise without redo-ing authentication.  This token is immediately invalidated with EnterpriseSession.logoff().
CreateLogonToken - token represents an EnterpriseSession independent of the original EnterpriseSession that generates it.  So you should generated the CreateLogonToken and log off the EnterpriseSession before using the token, or you'll have two licenses being used.
CreateWCAToken - the Web Component Adapter token - this token is tied to the EnterpriseSession used to create it.  If this EnterpriseSession is invalidated, the WCA token can no longer be used.  Since this is essentially re-use of the original EnterpriseSession, license count is not increased with its use.
So in your application, you're generating the WCA Token, and using the Session Listener to explicitly log off the originating EnterpriseSession.  The SessionCleanupListener is for cleaning up sessions created within InfoView on Web Application Server Session timeout.
Sincerely,
Ted Ueda

Similar Messages

  • To install Remote Desktop Services User CAL on Windows Server 2008 R2 Enterprise Edition with SP1

    Dear Sir,
    Presently we have installed Windows Server 2008 R2 Enterprise Edition with SP 1. And now i would like to install Remote Desktop Services User CAL on this server. I have 25 digit product key of Windows Server
    2008 R2 Remote Desktop Services User CAL (20). Downloaded this product key from our MSDN Subscriptions.
    Kindly suggest me how to install (CAL server with product key that i have) and configure remote desktop services on my above existing server also how to point other server with my CAL server.
    Thanks

    Hi,
    1. Install Remote Desktop Session Host and Remote Desktop Licensing Role Services using Server Manager.
    2. Open RD Licensing Manager (licmgr.exe), Activate your server, then install your license
    3. In RD Session Host Configuration (tsconfig.msc), set the Licensing mode to Per User and Specify your RD Licensing server name (itself).  If you want you may configure these two settings via group policy setting instead.  The path of the
    group policy settings is Computer Configuration\ Administrative Templates\ Windows Components\ Remote Desktop Services\ Remote Desktop Session Host\ Licensing
    4. You may point other RDSH servers to your RD Licensing server using RD Session Host Configuration or via group policy as mentioned above.
    5. Optionally you may consider installing other Remote Desktop Role Services such as RD Gateway, RD Web Access, RD Connection Broker, etc.
    -TP

  • Server 2008 crash - black screen with mouse cursor

    dell poweredge 2950 with Perc 5/I RAID, ESXi 4.1 host, Windows Server 2008 R2 SP1 VM
    After swapping out a failed raid5 drive this vm began displaying inpage operation error popups while checking folder permissions.  event viewer errors: 
    The file system structure on the disk is corrupt and unusable. Please run the chkdsk utility on the volume \Device\HarddiskVolume2.
     The file system structure on the disk is corrupt and unusable. Please run the chkdsk utility on the volume C:.
    chkdsk /r run from the win2k8r2sp1 install dvd command line resulted in more corrections than i was able to screenshot:
    After this the server would only boot to black screen with mouse cursor.  same black screen result in safe mode or directory services restore mode.  sfc /scannow, startrep, and registry repair from the folder contents @ c:\windows\system32\config\regback
    have been attempted with no improvement.  I am still able to access the filesystem contents using the command line from the win2k8r2sp1 installation DVD -  user + registry files copied over to another drive without problem and i was able to load
    the registry hive on another system.  This server was doing dns, domain controller and certification authority but the only important item is getting the CA back somehow.  Any suggestions are welcome.

    Hi,
    According the information you have provided, the file system is broken.
    After the repair, do chkdsk /r and sfc /scannow give any warning or error?
    If yes, it means that the file system and system file are not repaired. Please post the error or warning here. It may give some hints.
    Best Regards.
    Steven Lee
    TechNet Community Support

  • Windows Server 2008 R2 Backup failing with error - 0x8004231F

    Hi,
    I have Windows Server 2008 R2 Web Edition. Everything was working fine until recently. I tried checking for the log files, but I see that there are no log files that are created now in the location C:\Windows\Logs\WindowsServerBackup. The only files that
    are being created recently are of the type mentioned below.
    Wbadmin.1.etl
    WbadminUI.0.etl
    etc.
    I tried removing the old backup and starting a new backup. But, even now it is failing with the same error.
    When running the backup from the PowerShell, the output is as below.
    PS C:\Users\administrator> Wbadmin start backup -backupTarget:\\localhost\E$\WindowsImageBackup\Server01 -systemState -vss
    Copy
    wbadmin 1.0 - Backup command-line tool
    (C) Copyright 2004 Microsoft Corp.
    Note: The backed up data cannot be securely protected at this destination.
    Backups stored on a remote shared folder might be accessible by other
    people on the network. You should only save your backups to a location
    where you trust the other users who have access to the location or on a
    network that has additional security precautions in place.
    Retrieving volume information...
    This will back up volume System Reserved (100.00 MB) (Selected Files),SAN(I:) (Selected Files),Local Disk(C:) (Selected
    Files) to \\localhost\E$\WindowsImageBackup\Server01.
    Do you want to start the backup operation?
    [Y] Yes [N] No y
    The backup operation to \\localhost\E$\WindowsImageBackup\Server01 is starting.
    Starting to back up the system state [12/8/2013 9:29 AM]...
    Creating a shadow copy of the volumes specified for backup...
    Creating a shadow copy of the volumes specified for backup...
    Creating a shadow copy of the volumes specified for backup...
    Summary of the backup operation:
    The backup of the system state failed [12/8/2013 9:30 AM].
    Log of files successfully backed up:
    C:\Windows\Logs\WindowsServerBackup\Backup-08-12-2013_09-29-49.log
    Log of files for which backup failed:
    C:\Windows\Logs\WindowsServerBackup\Backup_Error-08-12-2013_09-29-49.log
    There is not enough disk space to create the volume shadow copy on the storage location. Make sure that, for all volumes
     to be backup up, the minimum required disk space for shadow copy creation is available. This applies to both the backup
     storage destination and volumes included in the backup.
    Minimum requirement: For volumes less than 500 megabytes, the minimum is 50 megabytes of free space. For volumes more th
    an 500 megabytes, the minimum is 320 megabytes of free space.
    Recommended: At least 1 gigabyte of free disk space on each volume if volume size is more than 1 gigabyte.
    ERROR - A Volume Shadow Copy Service operation error has
    occurred: (0x8004231f)
    Insufficient storage available to create either the shadow copy storage file or other shadow copy data.
    If you see the free space available in each of the drives, they are in plenty.
    C:\ 7.5 GB free of 70 GB
    E:\ 250 GB free of 499 GB
    I:\ 86.7 GB free of 350 GB
    I am out of any hints on how I can proceed now. Has any one had similar issues? Can any one give any hint on this? Thanks.
    Thanks.

    Some Additional info.
    Shadow Copy Storage association
       For volume: (\\?\Volume{a9fb0474-f1bd-11e0-b235-806e6f6e6963}\)\\?\Volume{a9f
    b0474-f1bd-11e0-b235-806e6f6e6963}\
       Shadow Copy Storage volume: (\\?\Volume{a9fb0474-f1bd-11e0-b235-806e6f6e6963}
    \)\\?\Volume{a9fb0474-f1bd-11e0-b235-806e6f6e6963}\
       Used Shadow Copy Storage space: 0 B (0%)
       Allocated Shadow Copy Storage space: 0 B (0%)
       Maximum Shadow Copy Storage space: 32 MB (32%)
    Shadow Copy Storage association
       For volume: (I:)\\?\Volume{ddf6a51c-1282-11e3-b291-000c293b01d1}\
       Shadow Copy Storage volume: (I:)\\?\Volume{ddf6a51c-1282-11e3-b291-000c293b01
    d1}\
       Used Shadow Copy Storage space: 0 B (0%)
       Allocated Shadow Copy Storage space: 0 B (0%)
       Maximum Shadow Copy Storage space: 35 GB (10%)
    Shadow Copy Storage association
       For volume: (E:)\\?\Volume{0e3bf713-125d-11e3-b2dd-000c293b01bd}\
       Shadow Copy Storage volume: (E:)\\?\Volume{0e3bf713-125d-11e3-b2dd-000c293b01
    bd}\
       Used Shadow Copy Storage space: 0 B (0%)
       Allocated Shadow Copy Storage space: 0 B (0%)
       Maximum Shadow Copy Storage space: 149.999 GB (30%)
    Shadow Copy Storage association
       For volume: (C:)\\?\Volume{a9fb0475-f1bd-11e0-b235-806e6f6e6963}\
       Shadow Copy Storage volume: (C:)\\?\Volume{a9fb0475-f1bd-11e0-b235-806e6f6e69
    63}\
       Used Shadow Copy Storage space: 0 B (0%)
       Allocated Shadow Copy Storage space: 0 B (0%)
       Maximum Shadow Copy Storage space: 4.99 GB (7%)
    Hope this might also help you experts to get a little more information.

  • Creation of Server Proxy for  Message interface with External Defination

    Dear All,
    I am getting a problem while generating a server proxy for the inbound interface . The request message used in the inbound interface is a external definition which is uploaded using a XSD file. The XSD file was supplied by a third party which is having very high complex strucuture and used lot of abstract data types in the design. When i tried to generate the proxy in the R/3 system (Transaction SPROXY) for the inbound interface i am getting following error.
    Interface uses external and internal message definitions
    Message no. SPRX122 *
    Diagnosis
    In a message interface you can use messages from different sources:
    Message types and fault message types edited in the Enterprise Services Repository
    Messages imported into the Enterprise Services Repository (external definitions, RFC, IDoc)
    In the current message interface, message types from different sources have been used. Since messages from these different sources must be handled differently during proxy generation, such a mixture of messages within a message interface is not possible.
    System Response
    The interface cannot be generated.
    Procedure
    Change the interface definition accordingly in the Enterprise Services Repository.
    Please guide me, how to generate the proxy for the interface with external defination message. I could nt geneate manullay, because it is having very high complexity and its a big structure.
    Is there is any way to generate the proxy for interface with external definition
    Regards
    Vijayanand

    Hi,
    i.       Import your message schemas from external definitions, or RFCs or IDocs from SAP systems. These definitions already contain data types.
    ii.       Create a message interface and reference the messages of the external definition, or the RFC or IDoc message.
    Check this, it may help you
    http://help.sap.com/saphelp_nw04/helpdata/en/3f/01623c4f69b712e10000000a114084/content.htm
    REgards
    Seshagiri

  • Windows Storage Server 2008 R2 Essentials connecting with Launchpad on Mac OS 10.9.2

    Note: Note to moderators, I accidentally submitted this to Windows Small Business Server Forums. If someone could move this thread to the appropriate directory would be much appreciated.
    Hello we have a client which has a Mac OSX 10.9.2 and we are trying to connect the Mac Launchpad to the Mac. We have a VPN set up and it is working correctly so we connect to the server by using servername:65510/connect/ this brings us up with the correct
    screen and prompts us to download software for mac, when opening we can get to the mac connector and we go through all the setup however when we reach "User Credentials" and we enter the correct password it comes up saying "Cannot connect to
    the server using the name that was entered. Check if the specified value is correct and try again." We have set up macs before using this software the only difference is this is the first Mac which has been on OSX 10.9 Mavericks. 
    We have spent countless hours diagnosing and looking into all the possible reasons this could be and the only conclusion is that it must either be a software glitch on the Mac or on the server itself. I was doing some research and found a thread by a user
    named
     ZconR on Monday, January 14, 2013 6:08 PM
    "This is apparently a problem with Update Rollup 4 for the server.  If you remove this update it will allow you to move forward
    with the installation of the MAC connector software using Admin credentials.  Hope this helps.  (It seems you can apply the update after the software installs and everything should continue to work.)"
    This would fit in perfectly with our problem and I could not find any sources to confirm this information. Can anyone confirm if this is issue is correct and if uninstalling Rollup 4 will make this work? 

    Hi James,
    Based on your description, I can find a known issue for this
    Update Rollup 4. Please check if fit the current situation of your problem. Descript as below:
    You cannot install this update by using a Mac client connector that has Update Rollup 4 for Windows Storage
    Server 2008 R2 Essentials installed. This issue occurs because of a change requirement for Mac external binaries. To work around this issue, reinstall the Mac client connector before you install Update Rollup 4.
    Note: This issue only occurs on a server that has Update Rollup 3 for Windows Storage Server 2008 R2 Essentials
    installed.
    By the way, did
    you install the Mac client connector by using administrator account?
    Hope this helps.
    Best regards,
    Justin Gu

  • File search on Server 2008 using Windows 7 workstation

    Trying to get Windows 7 clients to search a network file share using the search index on the file server, but doesnt seem to be working.
    My setup is: Windows Storage Server Standard 2008 (not R2), Windows 7 Standard workstation with mapped network drive pointing to file share on Storage Server. File Server role is installed on server as well as Windows Search Service, but when I run a test
    search on the server, I get entirely different results from running a test search on the Windows 7 client.
    I've heard of setting the file share to enable "Offline Mode" on the client workstation to allow the workstation to index the share, but I cant have every workstation downloading and indexing a copy of our file share (hundreds of gigabytes). I
    tried adding the mapped network drive to the Windows 7 Document Library, but I get the error message saying that the location cant be added because it's not indexed. Suggestions?
    Shaun

    Hi Shaun,
    First please check if Windows Search 4.0 could be installed on your server - it is for Windows Server 2008 so it may not able to be installed on a Windows Storage Server 2008.
    http://support.microsoft.com/kb/940157/en-us
    For remote indexing please see the Remote Query part of the following article:
    http://technet.microsoft.com/en-us/library/cc772446(v=ws.10).aspx
    Remote Query
    Windows Search 4.0 extends the ability to search across remote desktops. Previously, only Windows Vista users could query recognizable indexes on remote Vista computers; now, WS4 enables users to query remote computers running any supported operating system.
    Remote querying includes the following features:
    Queries work across all supported OSes (Windows XP, Server 2003, Home Server, and Vista). 
    All shared NTFS folders are automatically indexed (excludes all FAT file systems).
    All shared, and therefore indexed, locations can be remotely queried.
    The location on the remote computer must be shared and it must be indexed. With Group Policy, administrators can control whether shared locations are automatically indexed.
    If you have any feedback on our support, please send to [email protected]

  • SQL Server 2008 Express -- Process exited with code -2068643839

    When installing SQL Server 2008 Express, I continue to get the following info in the install log.  I notice that I only get this issue with 64-bit PC's (win 7 & win 8.1).  Ideas?
    Thanks.
    The following components failed to install:
    - SQL Server 2008 Express
    See the setup log file located at 'C:\Users\Roy\AppData\Local\Temp\VSDE1F7.tmp\install.log' for more information.
    The following properties have been set:
    Property: [AdminUser] = true {boolean}
    Property: [InstallMode] = SameSite {string}
    Property: [ProcessorArchitecture] = AMD64 {string}
    Property: [VersionNT] = 6.1.0 {version}
    Running checks for package 'Windows Installer 3.1', phase BuildList
    The following properties have been set for package 'Windows Installer 3.1':
    Running checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe'
    Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.1': true
    Result of checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
    'Windows Installer 3.1' RunCheck result: No Install Needed
    Running checks for package 'SyncSDK', phase BuildList
    The following properties have been set for package 'SyncSDK':
    Running checks for command 'SynSDK\syncsdk-v2.1-x86-enu.msi'
    Result of checks for command 'SynSDK\syncsdk-v2.1-x86-enu.msi' is 'Install'
    'SyncSDK' RunCheck result: Install Needed
    Running checks for package 'Windows Installer 4.5', phase BuildList
    Looking up path for special folder 'WindowsFolder'
    Running check with folder 'C:\Windows\System32' and file 'msi.dll'
    Attempting to find file 'C:\Windows\System32\msi.dll'
    File version is '5.0.7601.18637'
    Setting value '5.0.7601.18637 {version}' for property 'VersionMsiDll'
    The following properties have been set for package 'Windows Installer 4.5':
    Property: [VersionMsiDll] = 5.0.7601.18637 {version}
    Running checks for command 'WindowsInstaller4_5\WindowsXP-KB942288-v3-x86.exe'
    Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '4.5': true
    Result of checks for command 'WindowsInstaller4_5\WindowsXP-KB942288-v3-x86.exe' is 'Bypass'
    Running checks for command 'WindowsInstaller4_5\WindowsXP-KB958655-v2-x86-ENU.exe'
    Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsiDll' and value '4.5.6001.22299': true
    Result of checks for command 'WindowsInstaller4_5\WindowsXP-KB958655-v2-x86-ENU.exe' is 'Bypass'
    Running checks for command 'WindowsInstaller4_5\WindowsServer2003-KB942288-v4-x86.exe'
    Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '4.5': true
    Result of checks for command 'WindowsInstaller4_5\WindowsServer2003-KB942288-v4-x86.exe' is 'Bypass'
    Running checks for command 'WindowsInstaller4_5\WindowsServer2003-KB958655-v2-x86-ENU.exe'
    Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsiDll' and value '4.5.6001.22299': true
    Result of checks for command 'WindowsInstaller4_5\WindowsServer2003-KB958655-v2-x86-ENU.exe' is 'Bypass'
    Running checks for command 'WindowsInstaller4_5\WindowsServer2003-KB942288-v4-x64.exe'
    Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '4.5': true
    Result of checks for command 'WindowsInstaller4_5\WindowsServer2003-KB942288-v4-x64.exe' is 'Bypass'
    Running checks for command 'WindowsInstaller4_5\WindowsServer2003.WindowsXP-KB958655-v2-x64-ENU.exe'
    Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsiDll' and value '4.5.6001.22299': true
    Result of checks for command 'WindowsInstaller4_5\WindowsServer2003.WindowsXP-KB958655-v2-x64-ENU.exe' is 'Bypass'
    Running checks for command 'WindowsInstaller4_5\Windows6.0-KB958655-v2-x86.MSU'
    Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsiDll' and value '4.5.6001.22308': true
    Result of checks for command 'WindowsInstaller4_5\Windows6.0-KB958655-v2-x86.MSU' is 'Bypass'
    Running checks for command 'WindowsInstaller4_5\Windows6.0-KB958655-v2-x64.MSU'
    Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsiDll' and value '4.5.6001.22308': true
    Result of checks for command 'WindowsInstaller4_5\Windows6.0-KB958655-v2-x64.MSU' is 'Bypass'
    'Windows Installer 4.5' RunCheck result: No Install Needed
    Running checks for package 'Microsoft .NET Framework 4 (x86 and x64)', phase BuildList
    Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full'
    Read string value '4.5.50938'
    Setting value '4.5.50938 {string}' for property 'DotNet40Full_TargetVersion'
    The following properties have been set for package 'Microsoft .NET Framework 4 (x86 and x64)':
    Property: [DotNet40Full_TargetVersion] = 4.5.50938 {string}
    Running checks for command 'DotNetFX40\dotNetFx40_Full_x86_x64.exe'
    Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': false
    Result of running operator 'VersionGreaterThanOrEqualTo' on property 'DotNet40Full_TargetVersion' and value '4.0.30129': true
    Result of checks for command 'DotNetFX40\dotNetFx40_Full_x86_x64.exe' is 'Bypass'
    Running checks for command 'DotNetFX40\dotNetFx40_Full_setup.exe'
    Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': true
    Result of checks for command 'DotNetFX40\dotNetFx40_Full_setup.exe' is 'Bypass'
    'Microsoft .NET Framework 4 (x86 and x64)' RunCheck result: No Install Needed
    Running checks for package 'Microsoft .NET Framework 4 Client Profile (x86 and x64)', phase BuildList
    Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Client'
    Read string value '4.5.50938'
    Setting value '4.5.50938 {string}' for property 'DotNet40Client_TargetVersion'
    The following properties have been set for package 'Microsoft .NET Framework 4 Client Profile (x86 and x64)':
    Property: [DotNet40Client_TargetVersion] = 4.5.50938 {string}
    Running checks for command 'DotNetFX40Client\dotNetFx40_Client_x86_x64.exe'
    Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': false
    Result of running operator 'VersionGreaterThanOrEqualTo' on property 'DotNet40Client_TargetVersion' and value '4.0.30129': true
    Result of checks for command 'DotNetFX40Client\dotNetFx40_Client_x86_x64.exe' is 'Bypass'
    Running checks for command 'DotNetFX40Client\dotNetFx40_Client_setup.exe'
    Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': true
    Result of checks for command 'DotNetFX40Client\dotNetFx40_Client_setup.exe' is 'Bypass'
    'Microsoft .NET Framework 4 Client Profile (x86 and x64)' RunCheck result: No Install Needed
    Running checks for package 'SQL Server 2008 Express', phase BuildList
    Running external check with command 'C:\Users\Roy\AppData\Local\Temp\VSDE1F7.tmp\SqlExpress2008\SqlExpressChk.exe' and parameters '10.0.1600 1033'
    Process exited with code 1
    Setting value '1 {int}' for property 'SQLExpressChk'
    The following properties have been set for package 'SQL Server 2008 Express':
    Property: [SQLExpressChk] = 1 {int}
    Running checks for command 'SqlExpress2008\SQLEXPR32_x86_ENU.EXE'
    Result of running operator 'ValueNotExists' on property 'VersionNT': false
    Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false
    Result of running operator 'VersionEqualTo' on property 'VersionNT' and value '5.2.0': false
    Result of running operator 'VersionEqualTo' on property 'VersionNT' and value '5.2.1': false
    Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
    Result of running operator 'ValueEqualTo' on property 'SQLExpressChk' and value '-1': false
    Result of running operator 'ValueEqualTo' on property 'SQLExpressChk' and value '-2': false
    Result of running operator 'ValueEqualTo' on property 'SQLExpressChk' and value '-3': false
    Result of running operator 'ValueEqualTo' on property 'SQLExpressChk' and value '-4': false
    Result of running operator 'ValueLessThan' on property 'SQLExpressChk' and value '-4': false
    Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': true
    Result of checks for command 'SqlExpress2008\SQLEXPR32_x86_ENU.EXE' is 'Bypass'
    Running checks for command 'SqlExpress2008\SQLEXPR32_x86_ENU.EXE'
    Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': true
    Result of checks for command 'SqlExpress2008\SQLEXPR32_x86_ENU.EXE' is 'Bypass'
    Running checks for command 'SqlExpress2008\SQLEXPR_x64_ENU.EXE'
    Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'amd64': false
    Result of running operator 'ValueNotEqualTo' on property 'SQLExpressChk' and value '1': false
    Result of checks for command 'SqlExpress2008\SQLEXPR_x64_ENU.EXE' is 'Install'
    Running checks for command 'SqlExpress2008\SQLEXPR_x64_ENU.EXE'
    Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'amd64': false
    Result of running operator 'ValueNotEqualTo' on property 'SQLExpressChk' and value '2': true
    Result of checks for command 'SqlExpress2008\SQLEXPR_x64_ENU.EXE' is 'Bypass'
    'SQL Server 2008 Express' RunCheck result: Install Needed
    EULA for components 'SQL Server 2008 Express' was accepted.
    Installation of components 'SyncSDK' was accepted.
    Copying files to temporary directory "C:\Users\Roy\AppData\Local\Temp\VSDE1F7.tmp\"
    Copying from 'C:\Installs\NewMBA\SynSDK\syncsdk-v2.1-x86-enu.msi' to 'C:\Users\Roy\AppData\Local\Temp\VSDE1F7.tmp\SynSDK\syncsdk-v2.1-x86-enu.msi'
    Verifying file integrity of C:\Users\Roy\AppData\Local\Temp\VSDE1F7.tmp\SynSDK\syncsdk-v2.1-x86-enu.msi
    WinVerifyTrust returned 0
    File trusted
    Copying from 'C:\Installs\NewMBA\SqlExpress2008\SQLEXPR_x64_ENU.EXE' to 'C:\Users\Roy\AppData\Local\Temp\VSDE1F7.tmp\SqlExpress2008\SQLEXPR_x64_ENU.EXE'
    Verifying file integrity of C:\Users\Roy\AppData\Local\Temp\VSDE1F7.tmp\SqlExpress2008\SQLEXPR_x64_ENU.EXE
    WinVerifyTrust returned 0
    File trusted
    Running checks for package 'SyncSDK', phase BeforePackage
    The following properties have been set for package 'SyncSDK':
    Running checks for command 'SynSDK\syncsdk-v2.1-x86-enu.msi'
    Result of checks for command 'SynSDK\syncsdk-v2.1-x86-enu.msi' is 'Install'
    'SyncSDK' RunCheck result: Install Needed
    Verifying file integrity of C:\Users\Roy\AppData\Local\Temp\VSDE1F7.tmp\SynSDK\syncsdk-v2.1-x86-enu.msi
    WinVerifyTrust returned 0
    File trusted
    Installing using command 'C:\Windows\SysWOW64\msiexec.exe' and parameters ' -I "C:\Users\Roy\AppData\Local\Temp\VSDE1F7.tmp\SynSDK\syncsdk-v2.1-x86-enu.msi" -q '
    Will attempt to elevate process.
    Process exited with code 0
    Running checks for package 'SyncSDK', phase AfterPackage
    The following properties have been set for package 'SyncSDK':
    Running checks for command 'SynSDK\syncsdk-v2.1-x86-enu.msi'
    Result of checks for command 'SynSDK\syncsdk-v2.1-x86-enu.msi' is 'Install'
    'SyncSDK' RunCheck result: Unknown
    Running checks for package 'SQL Server 2008 Express', phase BeforePackage
    Running external check with command 'C:\Users\Roy\AppData\Local\Temp\VSDE1F7.tmp\SqlExpress2008\SqlExpressChk.exe' and parameters '10.0.1600 1033'
    Process exited with code 1
    Setting value '1 {int}' for property 'SQLExpressChk'
    The following properties have been set for package 'SQL Server 2008 Express':
    Property: [SQLExpressChk] = 1 {int}
    Running checks for command 'SqlExpress2008\SQLEXPR_x64_ENU.EXE'
    Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'amd64': false
    Result of running operator 'ValueNotEqualTo' on property 'SQLExpressChk' and value '1': false
    Result of checks for command 'SqlExpress2008\SQLEXPR_x64_ENU.EXE' is 'Install'
    'SQL Server 2008 Express' RunCheck result: Install Needed
    Verifying file integrity of C:\Users\Roy\AppData\Local\Temp\VSDE1F7.tmp\SqlExpress2008\SQLEXPR_x64_ENU.EXE
    WinVerifyTrust returned 0
    File trusted
    Installing using command 'C:\Users\Roy\AppData\Local\Temp\VSDE1F7.tmp\SqlExpress2008\SQLEXPR_x64_ENU.EXE' and parameters '/q /hideconsole /action=Install /features=SQL /instancename=SQLEXPRESS /enableranu=1 /sqlsvcaccount="NT Authority\Network
    Service" /AddCurrentUserAsSqlAdmin /skiprules=RebootRequiredCheck'
    Process exited with code -2068643839
    Status of package 'SyncSDK' after install is 'InstallUnknown'
    Status of package 'SQL Server 2008 Express' after install is 'InstallFailed'

    The SP3 patch installed ok.
    When I ran my software installer, it failed again w/ the error 1001.
    Here is the summary.txt.
    Overall summary:
      Final result:                  Passed
      Exit code (Decimal):           0
      Exit message:                  Passed
      Start time:                    2015-01-20 19:26:40
      End time:                      2015-01-20 19:37:08
      Requested action:              Patch
    Instance MSSQLSERVER overall summary:
      Final result:                  Passed
      Exit code (Decimal):           0
      Exit message:                  Passed
      Start time:                    2015-01-20 19:31:48
      End time:                      2015-01-20 19:34:52
      Requested action:              Patch
    Instance MBA overall summary:
      Final result:                  Passed
      Exit code (Decimal):           0
      Exit message:                  Passed
      Start time:                    2015-01-20 19:34:57
      End time:                      2015-01-20 19:36:17
      Requested action:              Patch
    Instance MBANEW overall summary:
      Final result:                  Passed
      Exit code (Decimal):           0
      Exit message:                  Passed
      Start time:                    2015-01-20 19:36:21
      End time:                      2015-01-20 19:37:01
      Requested action:              Patch
    Machine Properties:
      Machine name:                  JOHN
      Machine processor count:       4
      OS version:                    Windows Vista
      OS service pack:              
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  No
    Product features discovered:
      Product              Instance             Instance ID                   
    Feature                                  Language            
    Edition              Version         Clustered
      Sql Server 2008      SQLEXPRESS           MSSQL10.SQLEXPRESS             Database Engine Services                
    1033                 Express Edition      10.1.2531.0     No       
      Sql Server 2008      SQLEXPRESS           MSSQL10.SQLEXPRESS             SQL Server Replication                  
    1033                 Express Edition      10.1.2531.0     No       
      Sql Server 2008      MSSQLSERVER          MSSQL10.MSSQLSERVER            Database Engine Services                
    1033                 Express Edition      10.3.5500.0     No       
      Sql Server 2008      MBA                  MSSQL10.MBA                   
    Database Engine Services                 1033                 Express Edition     
    10.3.5500.0     No       
      Sql Server 2008      MBANEW               MSSQL10.MBANEW                 Database
    Engine Services                 1033                 Express Edition     
    10.3.5500.0     No       
    Package properties:
      Description:                   SQL Server Database Services 2008
      SQLProductFamilyCode:          {628F8F38-600E-493D-9946-F4178F20A8A9}
      ProductName:                   SQL2008
      Type:                          RTM
      Version:                       10
      SPLevel:                       3
      KBArticle:                     KB2977321
      KBArticleHyperlink:          
      PatchType:                     GDR
      AssociatedHotfixBuild:         5869
      Platform:                      x64
      PatchLevel:                    10.3.5520.0
      ProductVersion:                10.3.5500.00
      GDRReservedRange:              10.0.1000.0:10.0.1099.0;10.0.3000.0:10.0.3099.0;10.0.4010.0:10.0.4250.0;10.0.5501.0:10.0.5750.0
      PackageName:                   SQLServer2008-KB2977321-x64.exe
      Installation location:         c:\adcd5df38e670a98a9f2aafcc70e\x64\setup\
    Updated product edition:
      Instance             Edition            
      MSSQLSERVER          EXPRESS            
      MBA                  EXPRESS            
      MBANEW               EXPRESS            
    User Input Settings:
      ACTION:                        Patch
      ALLINSTANCES:                  False
      CLUSTERPASSIVE:                False
      CONFIGURATIONFILE:            
      HELP:                          False
      INDICATEPROGRESS:              False
      INSTANCENAME:                  <empty>
      QUIET:                         False
      QUIETSIMPLE:                   False
      X86:                           False
    Rules with failures:
    Global rules:
    There are no scenario-specific rules.
    Rules report file:               C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20150120_192631\SystemConfigurationCheck_Report.htm

  • NIC teaming - Server 2008 R2 DC combined with other Software

    Hello!
    I've been searching all morning for an answer of what we have in mind to do at work....
    We've got a server installed with Windows Server 2008 R2 and have 4 NICs on it. We want to make it a DC (with DNS, DHCP and print services) and also want to install our Backup Solution (from Veeam) for our VMs. This server will be the only physical Microsoft
    server next to our 3 ESX servers at the end.
    I read here (http://markparris.co.uk/2010/02/09/top-tipactive-directory-domain-controllers-and-teamed-network-cards/) that there is a statement that a DC with NIC teaming is only using the FO (Fail-Over) feature of the teaming. Since there is also the backup
    solution on this server, it would be great also to use the LB (Load-Balancing) feature. My question is, when I active NIC teaming and install the DC roles, does the roles just use the FO feature and neglect the LB feature or does it enable/disable those modes/features
    of NIC teaming? Cause it would be nice if the backup solution could use the LB for bigger bandwidth for backup and restores and I wouldn't really care about the FO for the DC role.
    cheers
    Ivo

    Hi,
    I think the issue is related to the third party NIC teaming solution. You can refer to the third party manufacture.
    Here I should remind you something else, a DC with multiple NICs will cause many problems. So I would recommend you run a dedicated
    Hyper-v server and promote a DC on one of the virtual machine.
    Hope this helps.

  • SVCHost NetSVCS On Windows Server 2008 Standard memory leak with windows update

    I have a particular situation that has surfaced lately.  I have a series of Windows Server 2008 Standard.  I have applications that use WMI to do application interfacing.  For years this has been running fine until recenly in the last month
    I have seen memory being swallowed by the process SVCHost Netsvcs.  I have done significant research into this.  The problem appears almost like clock work on a daily basis.  I have traced this to windows update which seems to kick off, it is
    also using WMI, it starts and seems to get lost then netsvcs starts running off until all memory is consumed and the svchost process eventually fails.  At that point I can get back into the system to view it. If I catch it in time I can simply stop windows
    update but sometimes I have to take the drastic and unsafe measure to kill that particular svchost process. 
    There are a lot of threads regarding SVCHost and nothing comes remotely close to this issue as far as I can see.
    I have allready ensured that windows update is up to date. 
    At present I am forced to ensure that windows update is disabled. I then have to manually shut down the other services that are using WMI to do an update.  This means down time for my applications realtime updates.

    Hi,
    does this issue occur on a single server or multiple servers? And is it server 2008 or 2008 R2?  (if 2008R2 there is a
    hotfix
    available which would seem a good fit for your current issue).
    If you find the answer of assistance please "Vote as Helpful"and/or "Mark as Answer" where applicable. This helps others to find solutions for there issues, and recognises contributions made to the community :)

  • Problem with Windows Vista Server 2008 - Font characters replaced with square blocks on login screen

    Hi!  Last week, I set up a server for a client (Windows Vista Server 2008).  Everything was working fine until this week when I did a remote login, and the server's screen shows all blocks instead of character (ie. "Administrator" shows up as Rectangular blocks) - and when I type in the password box, my characters come out the same blocks. The computer lets me login like this but then when the desktop displays, all texts is Blocks - like the windows default font is missing. 
    Anybody else run into this mystery and is there a fix?
    Thanks.

    Hello,
    Based on my experience, this issue might be caused by compatibility issues of video card driver and language options settings.
    I’d like to suggest you try the following steps to fix the issue.
    1.    Please check whether you have installed correct video card drivers on both client and server machines. You’d better download the latest drivers from Video card manufacture and reinstall the drivers on both of the machines.
    2.    Please confirm whether the regional and language options settings on client and server machines are the same. If not, please temporarily change the settings on two machines to be the same and have another test.
    3.    If you use some third-party remote desktop connection tools to connect to the server, please have another try with Windows build-in remote desktop connection.
    I hope this helps, thanks.
    Regards,
    Neo Zhu

  • SQL Server 2008 R2 SP3 compatibility with TFS 2012?

    Hi all,
    I have a client who is planning on upgrading from SQL Server 2008 R2 SP2 to SQL Server 2008 R2 SP3 but wants to make sure that their installed Team Foundation Server 2012 databases will be ok?
    I have found a Microsoft article saying that TFS 2012 support SQL Server 2008 R2 SP2 but nothing about SP3.
    Thanks for your help!
    Martyn

    Hi Martyn,
    According to this
    article, Team Foundation Server 2012 (TFS 2012) requires SQL Server 2008 R2 SP1 or SQL Server 2012. From my point of view, it means that we need to run at least SQL Server 2008 R2 SP1 when using TFS 2012, and TFS 2012 can work with SQL Server 2008
    R2 SP1 later version (contains SQL Server 2008 R2 SP2 and SQL Server 2008 R2 SP3).
    In addition, we recommend you install the latest released service pack for your SQL Server, as service pack includes a number of important fixes that TFS could benefit from.
    For TFS issues, for quick and accurate response, I would like to recommend that you ask the question in the Visual Studio  Team Foundation Server forums at
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=vstfs . It is appropriate and more experts will assist you.
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.

  • Installing Exchange 2010 on Server 2008 R2 Get error with Hub Transport Role

    Hub Transport Role
    Failed
    Error:
    The following error was generated when "$error.Clear();
              install-MsiPackage `
              -PackagePath ($RoleInstallPath + "TransportRoles\agents\Hygiene\ASEntIRS.MSI") `
              -LogFile ($RoleSetupLoggingPath + "\InstallASEntIRS.msilog") `
              -PropertyValues ("ALLUSERS=1") `
              -UpdatesDir $RoleUpdatesDir
            " was run: "Installing product D:\Program Files\Microsoft SQL Server\Microsoft\Exchange Server\V14\TransportRoles\agents\Hygiene\ASEntIRS.MSI failed. Fatal error during installation. Error code is 1603.".
    Installing product D:\Program Files\Microsoft SQL Server\Microsoft\Exchange Server\V14\TransportRoles\agents\Hygiene\ASEntIRS.MSI failed. Fatal error during installation. Error code is 1603.
    Fatal error during installation
    Elapsed Time: 00:00:01
    Client Access Role
    Cancelled

    Hi,
    From the description, I recommend you copy the Exchange installation files to the local machine, or download a fresh copy of Exchange 2010 and then reinstall it.
    Besides, please ensure that you install Exchange 2010 on 64-bit edition of Windows Server 2008 R2 Standard with SP1 or Windows Server 2008 R2 Enterprise with SP1.
    If the issue persists, please refer to the following KB further troubleshooting.
    You receive error 1603 when you try to install the Exchange Server 2010 RU1
    https://support.microsoft.com/kb/981474
    Hope it helps.
    If you need further assistance, please feel free to let me know.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • Sql server 2008 r2 reportserver integration with sharepoint 2010 datasource credential

    hello,
    I am using sharepoint 2010 and sql server 2008 r2 and integrated in sharepoint integration mode and i am using windows authentication ,not keberos ,so i deletd negotiate in authentication tag in rssharepoint.config file,but when i tried to create data source
    i am getting credential error and when windows credential is used it is getting connected.
    please help.
    thanks

    Hi Krishnakumar_DeV,
    Based on the current description, I understand that you should use the Windows NTLM authentication and delete the Negotiatein in authentication tag from RSReportServer.config which is located in the folder “C:\Program Files\Common Files\Microsoft Shared\Web
    Server Extensions\XX\WebServices\Reporting”. You can use a local account or domain account to connect report server, while there is credential error message when creating data source, right?
    To narrow down the issue, I want to confirm some information below:
    1. To connect to remote data source, we can specify the following credentials’ ways:
    •Prompt the user for credentials
    •Store credentials
    •Use Windows integrated security
    •Use no credentials
     Which credential way is you using and what’s the detailed error message?
    2. How do you create the data source?
    If I have any misunderstanding, please feel free to contact me.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • JTDS not connecting with SQL Server 2008 R2 SP2 + SSL with Java 6 U34-35

    Environment:
    Windows 7 Pro 32-bit
    SQL Server 2008 R2 SP2 (Forced Encryption = Yes, No Certificate provided to server)
    Java 6 Update 27-35 and Java 7 Update 2-7
    jTDS 1.2.2 and 1.2.6
    Under the following setup, our Java application is able to connect to the SQL Server database:
    - SQL Server 2008 R2 SP2
    - Java 6 Update 27-33 or Java 7 Update 2-5
    just switching the JVM to the following would cause the application to be unable to connect to the database:
    - Java 6 Update 34 or 35, or Java 7 Update 6 or 7
    Browsing through the Java 6 Update 34 release notes, it looks like nothing big was changed, so I'm wondering what has changed with Java 6 U34 and Java 7 U6. I was also looking through a packet sniffer, and indeed the behavior of Java 6 Update 33 and lower was different from Java 6 Update 34 (although I couldn't understand the messages being passed, the number of connections and messages were different).
    * This is different from the issue with Java 6 Update 29-30 and Java 7 wherein they were patched for the BEAST SSL vulnerability. That was fixed with the SP2 patch for SQL Server 2008 R2, and for SQL Server 2008 you'd need a hotfix aside from SP3. After patching the server with those updates, Java 6 Update 29-33 and Java 7 U1-5 should be able to connect to the database.
    * If I do switch off Force Encryption, all Java versions are able to connect to the database.
    Edited by: user1357749 on Oct 12, 2012 1:20 AM

    Hi,
    It's four months later, but my colleague and I have reproduced the same behavior in both our commercial product, and a very simple example class. It's exactly as you describe it, where the latest versions of both Java 6 and 7 (and several previous versions) hang during the first jTDS SQL query to the DB (immediately after the SSL and handshake). It also happens with the Microsoft JDBC driver.
    If you disable the BEAST SSL fix (-Djsse.enableCBCProtection=false), then the connections work without any problems. So, while this is different from the original BEAST SSL problem and subsequent fix, it really seems like some additional changes were made to the fix in a later Java release that broke things.
    My colleague has filed a bug with Oracle, and is awaiting a response. We also filed a bug at the jTDS project (#690 - http://sourceforge.net/p/jtds/bugs/690/) that has simple reproduction steps. A contributer at the jTDS project agrees that this seems to be a problem with the JRE, and is not specific to jTDS.
    I hope that Oracle will address this issue soon. We need to periodically update the JRE due to vulnerabilities, and we need to have SSL for our JDBC connections for security reasons. This bug puts us and others in a difficult position.

Maybe you are looking for