Cisco ACS 4.2 and Windows 2008 R2 CA

Has anyone been successfully in getting a cert off of a 2008 R2 CA and imported correct in to ACS 4.2?  I've had and have seen other have the problem with creating a web server certificate from R2 (1024 bit) and putting it in ACS 4.2 only to have HTTPS/SSL no longer work correctly.  I haven't even tested the intended purpose of the cert (EAP-TLS) yet, so who knows if that works.  I've also seen through searching where some one was able to take a 2003 CA web server template and put it into R2 and it work, but I know longer have 2003 available?  Any ideas?
Thanks,
Raun

I have seen issues where the template on the R2 boxes are using elliptical curve cryptography, basically if the template has a '#" charcter in it is what I think causes this process to be used. Try to use a template that doesnt have this in the front and then try to generate a cert against the template you created.
Here is a snip of the guide that I am forwarding you:
Determining Whether to Implement Cryptography Next Generation Algorithms
For Windows Server 2008–based version 3 certificate  templates, the option exists to configure advanced cryptographic  algorithms such as elliptic curve cryptography (ECC). Before configuring  these settings, ensure that the operating systems and applications  deployed in your environment can support these cryptographic algorithms.
http://technet.microsoft.com/en-us/library/cc731705%28v=ws.10%29.aspx
Screenshots in another article:
http://technet.microsoft.com/en-us/library/cc725621%28v=ws.10%29.aspx
Thanks,
Tarik Admani

Similar Messages

  • ACS Se 4.2.1.15 patch 4 and Windows 2008 R2

    Hi, Can anyone advise whether ACS Se and Remote Agent 4.2.1.15.4 supports Windows 2008 R2 please. Thank you.

    Hi,
    ACS 4.2.1.15 does not support windows 2008 R2.
    ACS 5.2 supports the same.
    It is a bug CSCtg12399 which is resolved on ACS 5.2.
    The release notes of ACS 5.2 describing the same.
    http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_system/5.2/release/notes/acs_52_rn.html
    The following link gives details of the ACS 4.2 and Windows 2008 compatibility.
    http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_server_for_windows/4.2/release/notes/ACS42_RN.html#wp100949
    Hope this helps.
    Regards,
    Anisha
    P.S.: please mark this thread as answered if you feel your query is answered. Do rate helpful posts.

  • Cisco NAC 4.8 and Windows Server 2008 Enterprise 64bit SSO

    Hi,
         I try to setup SSO on Cisco NAC 4.8 and Windows Server 2008 Enterprise 64bit, but I can't start Active Directory SSO Service that show error follow below. I saw this error " KDC has no support for encryption type (14)" . Could anyone help me to troubleshoot this problem?
    FQDN: active.test.com
    Domain Name : test.com
    User : ccasso
    2011-02-05 12:00:30.225 +0700 WARN  com.perfigo.wlan.jmx.adsso.GSSServer                                                                                          
    - Server was not running ...
    2011-02-05 12:00:30.225 +0700 INFO  com.perfigo.wlan.jmx.adsso.GSSServer                                                                                          
    - Server starting server ...
    2011-02-05 12:00:30.225 +0700 INFO  com.perfigo.wlan.jmx.adsso.GSSServer                                                                                          
    - Server is now running ...
    2011-02-05 12:00:30.225 +0700 INFO  com.perfigo.wlan.jmx.adsso.GSSServer                                                                                          
    - GSSServer - SPN : [ccasso/[email protected]]
    2011-02-05 12:00:30.225 +0700 INFO  com.perfigo.wlan.jmx.adsso.GSSServer                                                                                          
    - GSSServer - building kdc list for domain active.test.com
    2011-02-05 12:00:40.224 +0700 INFO  com.perfigo.wlan.jmx.adsso.GSSServer                                                                                          
    - GSSServer - done building kdc list for domain active.test.com
    2011-02-05 12:00:40.224 +0700 INFO  com.perfigo.wlan.jmx.adsso.GSSServer                                                                                          
    - GSSServer - KDC(s) :[10.0.240.100]
    2011-02-05 12:00:40.224 +0700 INFO  com.perfigo.wlan.jmx.adsso.GSSServer                                                                                          
    - GSSServer - writeKrbFile: writing to file ../conf/krb.txt
    2011-02-05 12:00:40.224 +0700 INFO  com.perfigo.wlan.jmx.adsso.GSSServer                                                                                          
    - GSSServer - writeKrbFile: wrote to file ../conf/krb.txt
    2011-02-05 12:00:40.224 +0700 INFO  com.perfigo.wlan.jmx.adsso.GSSServer                                                                                          
    - GSSServer - creating login context ...
    2011-02-05 12:00:40.224 +0700 INFO  com.perfigo.wlan.jmx.adsso.GSSServer                                                                                          
    - GSSServer - created login context ...javax.security.auth.login.LoginCon                                                                           
    text@5ad7b2
    2011-02-05 12:00:40.239 +0700 ERROR com.perfigo.wlan.jmx.adsso.GSSServer                                                                                           
    - Unable to start server ... KDC has no support for encryption type (14)
    2011-02-05 12:00:50.244 +0700 INFO  com.perfigo.wlan.jmx.adsso.GSSServer                                                                                          
    - Notifying GSSServer status Stopped
    2011-02-05 12:00:50.244 +0700 INFO  com.perfigo.wlan.jmx.adsso.GSSServer                                                                                          
    - server is exiting .

    Hi,
    This error means that your DC does not support the encryption method the ACS wants to use.
    Usually this happens when you run 2008 Server with 2003 functionality...
    You will need to run ktpass.exe according to the DC you are running:
    http://www.cisco.com/en/US/docs/security/nac/appliance/configuration_guide/48/cas/s_adsso.html#wp1277452.
    For Windows 2008 Server at 2003 Server functional level:
    ktpass -princ newadsso/[adserver.][email protected] -mapuser newadsso -pass
    PasswordText -out c:\newadsso.keytab -ptype KRB5_NT_PRINCIPAL
    HTH,
    Tiago
    If  this helps you and/or answers your question please mark the question as  "answered" and/or rate it, so other users can easily find it.

  • SAP Conversion Agent for PI 7.1 EHP 1 and Windows 2008 Support

    Hello
    I have read that some people were able to run SAP Conversion Agent on a PI 7.1 EHP1 Installation on Windows 2008 Sever. But in the Product Availability Matrix there is no support for 2008 yet.
    In the SAP Library (http://help.sap.com/saphelp_nwpi71/helpdata/en/43/fc39c16bfb025ee10000000a1553f7/frameset.htm) under the release notes for SAP Conversion Agent there is still version 8.5, but when I install the actual Support Package I have Conversion Agent 8.6 running and according to information on the informatica.com site this version is running under 2008!
    Has anybody clear and actual information about which OS the newest SAP Conversion Agent for PI 7.1 EHP1 supports? Or has anyone experiance on Conversion Agent and Windows 2008 Server?
    Thanks
    Christoph

    Hi Mark
    Thanks for your reply! Fact is that in the actual Package (SP06) the version of Conversion Agent Engine supplied is not 8.5.5 as in the SAP Note mentioned, it is version 8.6.0:
    C:\Documents and Settings\pi1adm>CM_console -v
    Engine-Version: 8.6.0(Build:30)
    Engine-Syntaxversion:4.00.10
    I will oben a ticket for that ...
    Regards
    Christoph

  • WIndows 7 and Windows 2008 authentication failed in Windows 2003 Domain

    Hi,
    We have Domain with Windows 2003 and recently Windows 2008 Doamin controllers also added.
    We are facing authentication failure for Windows 7 and Windows 2008 Domain members when user is trying to login.
    Schema Master is on Windows 2003 and remaining roles on Windows 2008 Domain controller.
    Windows XP clients login is working fine.
    Problem si for Windows 7 and Windows 2008 Domain members login.
    Any hint/solution will be really great help.
    Pls share if you have any solutions.
    Regards:Mahesh

    Hi,
    I found some more details about issue
    Below are the events getting generated. It looks like due to encryption mismatch with Windows 2003 Domain and Windows7 and Windows 2008 clients. However i am looking for solution if someone tested this case.
    Event Type:        Error
    Event Source:    KDC
    Event Category:                None
    Event ID:              26
    Date:                     08/06/2014
    Time:                     9:41:04 AM
    User:                     N/A
    Computer:          AAAAAA
    Description:
    While processing an AS request for target service krbtgt, the account ADDADA$ did not  have a suitable key for generating a Kerberos ticket (the missing key has an ID of 2). The requested etypes were 17.  The accounts
    available etypes were 23  -133  -128  3  -140.
    For more information, see Help and Support Center at
    http://go.microsoft.com/fwlink/events.asp.
    Event Type:        Error
    Event Source:    Kerberos
    Event Category:                None
    Event ID:              4
    Date:                     08/06/2014
    Time:                     9:34:17 AM
    User:                     N/A
    Computer:          AAAAAA
    Description:
    The kerberos client received a KRB_AP_ERR_MODIFIED error from the server ADADDFHDHDH$.  The target name used was . This indicates that the password used to encrypt the kerberos service ticket is different than that on the
    target server. Commonly, this is due to identically named  machine accounts in the target realm (DOMAINNAME.COM), and the client realm.   Please contact your system administrator.
    For more information, see Help and Support Center at
    http://go.microsoft.com/fwlink/events.asp.
    Regards:Mahesh

  • ACS 5.5 and Windows 2012 AD support

    Hi All,
    previously I had two AD domains based on 2008 and had machines in one domain and users in another domain
    and the condition statement "Was machine authenticated=True" worked fine when doing EAP-TLS machine then user
    authentication.
    I have now upgraded the machine's domain to 2012 and  machine authentication works fine and user authentication
    also works, but when you put the two together, and enable "Was machine authenticated=True" the ACS errors
    out when doing user authentication with the message "ACS unable to find previous successful machine authentication"
    even though machine authentication was successful. I have tried with with ACS being a member of both 2008 and 2012 domains at each stage.
    The clients are all windows 8.1
    Has anyone encountered this scenario before ?
    TIA

    I would like to share a good troubleshooting guide for ACS 5.X and later, Please have a look:
    http://www.cisco.com/c/en/us/support/docs/security/secure-access-control-system/113485-acs5x-tshoot.html

  • Cisco ACS 4.2 and Radius authentication?

    Hi,
    I have a Cisco ACS 4.2 installed and using it to authenticate users that log on to switches using TACACS+, when I use local password database, everything is working. But if i try to use external database authentication using a windows 2008 radius server, I have problem that I can only use PAP, not CHAP. Anyone who know if it's possible to use CHAP with external radius authentication?

    To access network devices for administrative purpose, we have only three methods available :
    [1] Telnet : Which uses PAP authentication protocol between client and the NAS device. So the communication between Client and NAS is unencrypted,  and when this information flows from NAS to IAS server gets encrypted using the shared secret key configured on device/IAS server.
    [2] SSH : Which uses  public-key cryptography for encrypting information between client and the NAS device, i.e, information sent between client 
    and NAS is fully secure. And the communication between NAS and IAS is encrypted using shared secret same as above. Good point on SSH side is that commincation channel is secure all the time.Again the authentication type would remain same that is PAP.
    [3] Console:Which is also the same it will not allow to use MSCHAP as there is no need to secure it as you laptop is connected directly to the NAS and then if you are using TACACS it will encrypt the payload .
    Summarizing, we cannot use CHAP, MS-CHAP, MS-CHAP V2 for communication between client and NAS device or administrative access.
    And the most secure way to administer a  device is to use SSH.
    Rgds, Jatin
    Do rate helpful post~

  • How to install Cisco Work 3.2 on Windows 2008 Server Standard R2

    Hi Everyone,
    I have got Cisco Works LAN Management 3.2. But the problem is that i have a Windows 2008 Server Standard R2 and when i try to install, it fails. What I read from the below link is that it supports
    "Windows 2008 Server Standard and Enterprise Edition with Service Pack 1 and 2. Both 32-bit and 64-bit operating systems are supported on the above versions."
    http://www.cisco.com/en/US/partner/prod/collateral/netmgtsw/ps6504/ps6528/ps2425/data_sheet_c78-534877.html
    Please help me out on how i should install on the Windows 2008 Server Standard R2. If there is any patch or any other way out.
    Awaiting your response.
    Farid

    Hi ,
    LMS 3.2 is not supported on Windows 2008 Server Standard R2.
    here is the supported platoform for LMS 3.2
    http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_lan_management_solution/3.2/install/guide1/prereq.html#wp1110367
    Thanks,
    Gaganjeet

  • HUM 1.2 and Windows 2008 - Server

    Hello,
    it is possible to run HUM with Windows 2008-Server? Problem is: It runns always CWLMS 3.2 and the customer wantes to add HUM. The hardware is not the problem.

    There is both client and server support for Windows 2008 in Ciscoworks LMS starting with release
    3.2 (Common Services V3.3). Please have a look at the following links:
    http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_common_services_software/3.3/release/notes/cs33rel.html#wp79176
    http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_lan_management_solution/3.2/install/guide1/overview.html#wp1086601
    Regards
    Farrukh

  • Agent for RedHat5 and WIndows 2008 Server

    does anybody know if there is a possiblity to integrate these two platforms?
    thank you for your help
    Werner

    There is both client and server support for Windows 2008 in Ciscoworks LMS starting with release
    3.2 (Common Services V3.3). Please have a look at the following links:
    http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_common_services_software/3.3/release/notes/cs33rel.html#wp79176
    http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_lan_management_solution/3.2/install/guide1/overview.html#wp1086601
    Regards
    Farrukh

  • ADConnector v9.1.1 and Windows 2008 R2 - Supported? (OIM 9.1.0.2)

    Below is my question around the OIM AD connector version 9.1.1 and its support with Windows Server 2008 R2.
    From the AD Connector Documentation I can see that Active Directory 2008 is a supported target system by the OIM connector v9.1.1. There is no mention of Windows 2008 R2 at all in this document: http://download.oracle.com/docs/cd/E11223_01/doc.910/e11197.pdf
    My question is: Is Active Directory on Windows Server 2008 R2 supported as a target system by v9.1.1 of the AD User Management Connector. If not what version of the AD User Management connector do we need to upgrade to (9.1.1.4 or 9.1.1.5)?
    I am crossing my fingers for the answer to be that v9.1.1 does support Windows Server 2008 R2 to save us the pain of an upgrade.
    Thanks..

    It depends on if you mean "officially supported" or "will work".
    On the officially supported line AD 2008 R2 is sometimes considered different enough to need a separate certification. Check your connector release notes and if that doesn't include AD 2008 R2 open a support case with Oracle to get the official ceritification schedule.
    With 99% likelyhood it will work fine but you may end up in a non supported state which may or may not be acceptable in your organization.
    Best regards
    /martin

  • Upgrade from a two tier EBS 11i 11.5.10.2 on Windows 2003 Apps and Windows 2008 R2 DB  tier to two Tier R12.2.3 both on Windows 2008 R2

    Hi,
    Any ideas about the best practices for the migration/upgrade reflected with the below question?
    I have a source EBS11i 11.5.10.2 running as a two tier configuration ( apps tier on server  ora10 on Windows 2003, DB tier 11.2.0.2 on server ora1 on Windows 8 R2. Can I use the Note 1377213.1 for a migration to a two tier configuration ( apps tier on server T10 running Windows 2008 R2 and EBS 12.2.3 and DB tier running 11.2.0.4 on Windows 2008 R2 )? What alternative approach could you suggest? As far as I know EBS11i is not certified on Windows 2008 R2 and R12.2.0 is not certified on Windows 2003.

    Yes you can by following "Application Tier Upgrades and Migrations" section -- Install 12.2 apps tier on 64-bit Windows and proceed with the upgrade.
    Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.2) for Microsoft Windows x64 (64-bit) (Doc ID 1330706.1)
    Thanks,
    Hussein

  • Problems setting up WNA with OAS 10.1.2.0.2 and Windows 2008

    Hi,
    I am trying to set up WNA with an OAS 10.1.2.0.2 in a RHEL 4 platform. I have been able to configure Synchronization and Windows External Authentication following these steps:
    http://download.oracle.com/docs/cd/B14099_19/idmanage.1012/b14085/odip_actdir003.htm#i1010999
    I have also tried to configure WNA without success with those steps.
    The scenario is here:
    * OAS 10.1.2.0.2 infra in a RHEL 4
    * Windows 2008 SP1 (only i use AD from it)
    * Windows XP (client) that should be able to log in without problems when WNA is configured
    How can make it work? I haven´t find any useful documentation
    Thanks,
    Max

    Check these out:
    http://www.freeoraclehelp.com/2011/09/oid-integration-with-ms-active.html
    http://www.freeoraclehelp.com/2011/09/enable-ssl-for-oid-instance-of-oracle.html
    http://www.freeoraclehelp.com/2011/09/oracle-password-filter-to-sync.html

  • Problems with RH 8 and Windows 2008 64-bit servers with IIS7?

    I have been informed that my company's servers are being upgraded to Windows 2008 64-bit servers with IIS7, from Windows 2003 & IIS6. Probably will be online in April 2011.
    I have a project created using WebHelp, RoboHelp HTML v5. I have RoboHelp HTML v8 (haven't had a chance to use it yet). We are currently using IE7 on XP. Does anyone have any info on issues with RoboHelp v8 WebHelp projects running on Windows 2008 64-bit servers & IIS7 that I need to be concerned about? I thought I should convert the project developed using RH 5 to and RH 8 project, then FTP it to the new server when it becomes available.
    Any helpful info would be much appreciated.
    Thanks,
    Alden

    Acrobat 8 is not certified for Win7, particularly the x64 version. If you got the installation to go, the first step is to update AA8 to at least AA8.2. The x64 with XP required at least AA8.2 and I suspect that has not changed. I would suggest updating to the latest, either from the help menu (until no more updates are available) or by downloading the updates from the adobe.com>downloads page. For the latter, download ALL updates after your current version and install them in ORDER. They are not cummulative in most cases. You only need to reboot after the final update. The updates may get you going. If not, you may simply have to upgrade to AA9 or search for what others have been able to do in your situation.

  • Appending Tiff files works on Windows 7 and Windows 2012 but doesn't work on Windows 2003 and Windows 2008

    Please help me! The code below creates perfect output file son windows 7 and 2012 but on windows 2008 and win 2003 the generated images are corrupted without generating any exception during the process.
    Both win 2008 and win 2003 are up to date. What do I have to install? Some hotfix? Please help me I'm stuck.
    public void appendTiffs(string tiff1inputFilePath, string tiff2inputFilePath, string outputFilePath)
                Stream imageStreamSource = null;
                try
                    //Prepare encoders:
                    System.Drawing.Imaging.ImageCodecInfo encoderInfo = getEncoderInfo("image/tiff");
                    System.Drawing.Imaging.EncoderParameters encoderParams = new System.Drawing.Imaging.EncoderParameters(2);
                    System.Drawing.Imaging.EncoderParameter compressionEncodeParam =
                        new System.Drawing.Imaging.EncoderParameter(System.Drawing.Imaging.Encoder.Compression, (long)System.Drawing.Imaging.EncoderValue.CompressionLZW);
                    System.Drawing.Imaging.EncoderParameter saveEncodeParam =
                        new System.Drawing.Imaging.EncoderParameter(System.Drawing.Imaging.Encoder.SaveFlag, (long)System.Drawing.Imaging.EncoderValue.MultiFrame);
                    encoderParams.Param[0] = compressionEncodeParam;
                    encoderParams.Param[1] = saveEncodeParam;
                    int numberOfPages = getNumberOfPages(tiff1inputFilePath);
                    MemoryStream byteStream;
                    imageStreamSource = new FileStream(tiff1inputFilePath, FileMode.Open, FileAccess.Read, FileShare.Read);
                    System.Drawing.Bitmap sourceBitmap = (System.Drawing.Bitmap)getTifPage(imageStreamSource, 0, out byteStream);
                    System.Drawing.Bitmap outputBitmap;                
                    outputBitmap = (System.Drawing.Bitmap)System.Drawing.Image.FromStream(byteStream);
                    outputBitmap.Save(outputFilePath, encoderInfo, encoderParams);                
                    //For subsequent pages, prepare encoders:
                    saveEncodeParam =
                            new System.Drawing.Imaging.EncoderParameter(System.Drawing.Imaging.Encoder.SaveFlag, (long)System.Drawing.Imaging.EncoderValue.FrameDimensionPage);
                    encoderParams.Param[1] = saveEncodeParam;
                    for (int i = 1; i < numberOfPages; i++)
                        sourceBitmap.Dispose();
                        byteStream.Close();
                        byteStream.Dispose();
                        sourceBitmap = (System.Drawing.Bitmap)getTifPage(imageStreamSource, i, out byteStream);
                        sourceBitmap.Save(byteStream, System.Drawing.Imaging.ImageFormat.Tiff);                    
                        System.Drawing.Bitmap tmpOutputBitmap = (System.Drawing.Bitmap)System.Drawing.Image.FromStream(byteStream);
                        outputBitmap.SaveAdd(tmpOutputBitmap, encoderParams);                    
                    sourceBitmap.Dispose();
                    byteStream.Close();
                    byteStream.Dispose();
                    imageStreamSource.Close();
                    imageStreamSource.Dispose();
                    imageStreamSource = new FileStream(tiff2inputFilePath, FileMode.Open, FileAccess.Read, FileShare.Read);
                    numberOfPages = getNumberOfPages(tiff2inputFilePath);
                    for (int i = 0; i < numberOfPages; i++)
                        sourceBitmap.Dispose();
                        byteStream.Close();
                        byteStream.Dispose();
                        sourceBitmap = (System.Drawing.Bitmap)getTifPage(imageStreamSource, i, out byteStream);
                        sourceBitmap.Save(byteStream, System.Drawing.Imaging.ImageFormat.Tiff);
                        System.Drawing.Bitmap tmpOutputBitmap = (System.Drawing.Bitmap)System.Drawing.Image.FromStream(byteStream);
                        outputBitmap.SaveAdd(tmpOutputBitmap, encoderParams);
                    //Finally flush the file:
                    saveEncodeParam = new System.Drawing.Imaging.EncoderParameter(System.Drawing.Imaging.Encoder.SaveFlag, (long)System.Drawing.Imaging.EncoderValue.Flush);
                    encoderParams = new System.Drawing.Imaging.EncoderParameters(1);
                    encoderParams.Param[0] = saveEncodeParam;
                    outputBitmap.SaveAdd(encoderParams);
                finally
                    imageStreamSource.Close();
                    imageStreamSource.Dispose();

    I solved the problem. The following code works also on 2003 and 2008.
    public void appendTiffs(string tiff1inputFilePath, string tiff2inputFilePath, string outputFilePath)
                FileStream fileStream = new FileStream(tiff1inputFilePath, FileMode.Open, FileAccess.Read);
                ImageCodecInfo tiffCodecInfo = getEncoder(ImageFormat.Tiff);
                Encoder saveEncoder;
                Encoder compressionEncoder;
                EncoderParameter saveEncodeParam;
                EncoderParameter compressionEncodeParam;
                EncoderParameters encoderParams = new EncoderParameters(2);
                saveEncoder = Encoder.SaveFlag;
                compressionEncoder = Encoder.Compression;
                saveEncodeParam = new EncoderParameter(saveEncoder, (long)EncoderValue.MultiFrame);
                compressionEncodeParam = new EncoderParameter(compressionEncoder, (long)EncoderValue.CompressionLZW);
                encoderParams.Param[0] = compressionEncodeParam;
                encoderParams.Param[1] = saveEncodeParam;
                FileStream outputStream = new FileStream(outputFilePath, FileMode.Create, FileAccess.ReadWrite);
                Image image = Image.FromStream(fileStream);
                image.Save(outputStream, tiffCodecInfo, encoderParams);
                fileStream.Close();
                fileStream = new FileStream(tiff1inputFilePath, FileMode.Open, FileAccess.Read);
                saveEncodeParam = new EncoderParameter(saveEncoder, (long)EncoderValue.FrameDimensionPage);
                compressionEncodeParam = new EncoderParameter(compressionEncoder, (long)EncoderValue.CompressionLZW);
                encoderParams.Param[0] = compressionEncodeParam;
                encoderParams.Param[1] = saveEncodeParam;
                TiffBitmapDecoder tiffBitmapDecoder = new TiffBitmapDecoder(fileStream, BitmapCreateOptions.PreservePixelFormat, BitmapCacheOption.Default);
                TiffBitmapEncoder tiffBitmapEncoder;
                int numberOfPages = tiffBitmapDecoder.Frames.Count;
                for (int i = 1; i < numberOfPages; i++)
                    BitmapFrame frame = tiffBitmapDecoder.Frames[i];
                    System.Drawing.Bitmap bitmap;
                    using (MemoryStream outStream = new MemoryStream())
                        tiffBitmapEncoder = new TiffBitmapEncoder();
                        tiffBitmapEncoder.Frames.Add(frame);
                        tiffBitmapEncoder.Save(outStream);
                        bitmap = new System.Drawing.Bitmap(outStream);
                        image.SaveAdd(bitmap, encoderParams);
                fileStream.Close();
                fileStream = new FileStream(tiff2inputFilePath, FileMode.Open, FileAccess.Read);
                tiffBitmapDecoder = new TiffBitmapDecoder(fileStream, BitmapCreateOptions.PreservePixelFormat, BitmapCacheOption.Default);
                numberOfPages = tiffBitmapDecoder.Frames.Count;
                for (int i = 0; i < numberOfPages; i++)
                    BitmapFrame frame = tiffBitmapDecoder.Frames[i];
                    System.Drawing.Bitmap bitmap;
                    using (MemoryStream outStream = new MemoryStream())
                        tiffBitmapEncoder = new TiffBitmapEncoder();
                        tiffBitmapEncoder.Frames.Add(frame);
                        tiffBitmapEncoder.Save(outStream);
                        bitmap = new System.Drawing.Bitmap(outStream);
                        image.SaveAdd(bitmap, encoderParams);
                fileStream.Close();
                saveEncodeParam = new EncoderParameter(saveEncoder, (long)EncoderValue.Flush);
                encoderParams.Param[0] = saveEncodeParam;
                image.SaveAdd(encoderParams);
                outputStream.Close();
            private ImageCodecInfo getEncoder(ImageFormat format)
                ImageCodecInfo[] codecs = ImageCodecInfo.GetImageDecoders();
                foreach (ImageCodecInfo codec in codecs)
                    if (codec.FormatID == format.Guid)
                        return codec;
                return null;

Maybe you are looking for

  • ME21N Import procedure is not defaulted how come?

    Hi, We import from Japan. Comm. codes are filled. Only Import procedure is not defaulted. For SD I found a solution in customizing. But how to default value in MM? Best regards, eric van zundert

  • Using of Profile System options

    Hi, I am new to Oracle Apps and getting training in Financials. I have clear understanding of Profile System options and trying to understand below scenario. I have installed Fresh DB which does not have vision installation. 1) Created user and assig

  • Cannot Open SCCProfileConfig.exe on Windows 7 64bit

    Hi All Im having an issue with an application called Robosource Control 3.1. There is a component called SCC Profile Editor which on a Windows 7 x32bit device works fine, but it will not open at all on a Windows 7 x64 bit device. It flashes on then i

  • PROJECT MRP RUN

    Hi all, During mrp run with md03; Planned orders are created according to respective wbs elements. e.g one planned order will be for wbs 1; second for wbs 2 and so on. is it possible to club the requirement of all schemes? Regards Ramesh Arora

  • Need professional advise for product photography lens for Canon 7D

    I am a graphic designer with a lot of experience in the studio but I now find myself needing to do my own product shots in my home studio space of 12' x 12.' I am looking hard at the Canon 7D moving up from 40D and I need to know the best lens or len