Updating search recordset from MX to CS3

Hi
I'm all lost. ALL my previous search recordset are messed up
when I try to
update them to CS3.
Can anyone point me in the right direction of what to do -
PLEASE......
Kindly Helle :-)
Old recordset (working fine):
<%
set rsProducts = Server.CreateObject("ADODB.Recordset")
rsProducts.ActiveConnection = MM_ConnHvidovre_STRING
rsProducts.Source = "SELECT Products.ProductID,
Products.Varenr,
Products.IDProducent, tbl_Manufaktur.Producent,
Products.Product,
Products.Price, Products.Pict, Products.InStock FROM
tbl_Manufaktur INNER
JOIN Products ON tbl_Manufaktur.IDProducent =
Products.IDProducent WHERE
Varenr LIKE '%" + Replace(rsProducts__varKeyword, "'", "''")
+ "%' OR
Product LIKE '%" + Replace(rsProducts__varKeyword, "'", "''")
+ "%' OR Price
LIKE '%" + Replace(rsProducts__varKeyword, "'", "''") + "%'
OR Producent
LIKE '%" + Replace(rsProducts__varKeyword, "'", "''") + "%'
ORDER BY
tbl_Manufaktur.Producent, Products.Product"
rsProducts.CursorType = 0
rsProducts.CursorLocation = 2
rsProducts.LockType = 3
rsProducts.Open()
rsProducts_numRows = 0
%>
CS3 (doesn't work):
<%
Dim rsProducts
Dim rsProducts_cmd
Dim rsProducts_numRows
Set rsProducts_cmd = Server.CreateObject ("ADODB.Command")
rsProducts_cmd.ActiveConnection = MM_ConnHvidovre_STRING
rsProducts_cmd.CommandText = "SELECT Products.ProductID,
Products.Varenr,
Products.IDProducent, tbl_Manufaktur.Producent,
Products.Product,
Products.Price, Products.Pict, Products.InStock FROM
tbl_Manufaktur INNER
JOIN Products ON tbl_Manufaktur.IDProducent =
Products.IDProducent WHERE
Varenr LIKE ? OR Product LIKE '%varKeyword%' OR Price LIKE
'%varKeyword%' OR
Producent LIKE '%varKeyword%' ORDER BY
tbl_Manufaktur.Producent,
Products.Product"
rsProducts_cmd.Prepared = true
rsProducts_cmd.Parameters.Append
rsProducts_cmd.CreateParameter("param1",
200, 1, 255, "%" + rsProducts__varKeyword + "%") ' adVarChar
Set rsProducts = rsProducts_cmd.Execute
rsProducts_numRows = 0
%>

YOu can only IMPORT a site definition that has been EXPORTED
from the
previous version. Can you EXPORT the definition (which
creates the *.ste
file) from DMX?
Failing that, just create a new site definition that points
to the root
folder of the old site. The files are still there, right?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"sprwmn" <[email protected]> wrote in
message
news:fnivr9$4t4$[email protected]..
> I had designed and published a website using the MX
version. It was
> updated
> and I now have CS3. My problem is that when I want to go
fix things I have
> to
> unlock, but in order to do that "it has to be a site".
CS3 wont recognize
> it as
> a site; like when I go to Manage Sites, it doesnt show
up and I cant get
> it to
> show up (I tried importing it, but it asks for a .ste
file and there are
> none
> for the site). Is there anything I can do or do I have
to make and
> entirely new
> site? Thank you SO much for your help!
>
> Megan
>

Similar Messages

  • How to get an updatable ADODB Recordset from a Stored Procedure?

    In VB6 I have this code to get a disconnected ADODB Recordset from a Oracle 9i database (the Oracle Client is 10g):
    Dim conSQL As ADODB.Connection
    Dim comSQL As ADODB.Command
    Dim recSQL As ADODB.Recordset
    Set conSQL = New ADODB.Connection
    With conSQL
    .ConnectionString = "Provider=OraOLEDB.Oracle;Password=<pwd>;Persist Security Info=True;User ID=<uid>;Data Source=<dsn>"
    .CursorLocation = adUseClientBatch
    .Open
    End With
    Set comSQL = New ADODB.Command
    With comSQL
    .ActiveConnection = conSQL
    .CommandType = adCmdStoredProc
    .CommandText = "P_PARAM.GETALLPARAM"
    .Properties("PLSQLRSet").Value = True
    End With
    Set recSQL = New ADODB.Recordset
    With recSQL
    Set .Source = comSQL
    .CursorLocation = adUseClient
    .CursorType = adOpenStatic
    .LockType = adLockBatchOptimistic
    .Open
    .ActiveConnection = Nothing
    End With
    The PL/SQL Procedure is returning a REF CURSOR like this:
    PROCEDURE GetAllParam(op_PARAMRecCur IN OUT P_PARAM.PARAMRecCur)
    IS
    BEGIN
    OPEN op_PARAMRecCur FOR
    SELECT *
    FROM PARAM
    ORDER BY ANNPARAM DESC;
    END GetAllParam;
    When I try to update some values in the ADODB Recordset (still disconnected), I get the following error:
    Err.Description: Multiple-step operation generated errors. Check each status value.
    Err.Number: -2147217887 (80040E21)
    Err.Source: Microsoft Cursor Engine
    The following properties on the Command object doesn't change anything:
    .Properties("IRowsetChange") = True
    .Properties("Updatability") = 7
    How can I get an updatable ADODB Recordset from a Stored Procedure?

    4 years later...
    I was having then same problem.
    Finally, I've found how to "touch" the requierd bits.
    Obviously, it's hardcore, but since some stupid at microsoft cannot understand the use of a disconnected recordset in the real world, there is no other choice.
    Reference: http://download.microsoft.com/downlo...MS-ADTG%5D.pdf
    http://msdn.microsoft.com/en-us/library/cc221950.aspx
    http://www.xtremevbtalk.com/showthread.php?t=165799
    Solution (VB6):
    <pre>
    Dim Rst As Recordset
    Rst.Open "select 1 as C1, '5CHARS' as C5, sysdate as C6, NVL(null,15) as C7, null as C8 from DUAL", yourconnection, adOpenKeyset, adLockBatchOptimistic
    Set Rst.ActiveConnection = Nothing
    Dim S As New ADODB.Stream
    Rst.Save S, adPersistADTG
    Rst.Close
    Set Rst = Nothing
    With S
    'Debug.Print .Size
    Dim Bytes() As Byte
    Dim WordVal As Integer
    Dim LongVal As Long
    Bytes = .Read(2)
    If Bytes(0) <> 1 Then Err.Raise 5, , "ADTG byte 0, se esperaba: 1 (header)"
    .Position = 2 + Bytes(1)
    Bytes = .Read(3)
    If Bytes(0) <> 2 Then Err.Raise 5, , "ADTG byte 9, se esperaba: 2 (handler)"
    LongVal = Bytes(1) + Bytes(2) * 256 ' handler size
    .Position = .Position + LongVal
    Bytes = .Read(3)
    If Bytes(0) <> 3 Then Err.Raise 5, , "ADTG, se esperaba: 3 (result descriptor)"
    LongVal = Bytes(1) + Bytes(2) * 256 ' result descriptor size
    .Position = .Position + LongVal
    Bytes = .Read(3)
    If Bytes(0) <> 16 Then Err.Raise 5, , "ADTG, se esperaba: 16 (adtgRecordSetContext)"
    LongVal = Bytes(1) + Bytes(2) * 256 ' token size
    .Position = .Position + LongVal
    Bytes = .Read(3)
    If Bytes(0) <> 5 Then Err.Raise 5, , "ADTG, se esperaba: 5 (adtgTableDescriptor)"
    LongVal = Bytes(1) + Bytes(2) * 256 ' token size
    .Position = .Position + LongVal
    Bytes = .Read(1)
    If Bytes(0) <> 6 Then Err.Raise 5, , "ADTG, se esperaba: 6 (adtgTokenColumnDescriptor)"
    Do ' For each Field
    Bytes = .Read(2)
    LongVal = Bytes(0) + Bytes(1) * 256 ' token size
    Dim NextTokenPos As Long
    NextTokenPos = .Position + LongVal
    Dim PresenceMap As Long
    Bytes = .Read(3)
    PresenceMap = Val("&H" & Right$("0" & Hex$(Bytes(0)), 2) & Right$("0" & Hex$(Bytes(1)), 2) & Right$("0" & Hex$(Bytes(2)), 2))
    Bytes = .Read(2) 'ColumnOrdinal
    'WordVal = Val("&H" & Right$("0" & Hex$(Bytes(0)), 2) & Right$("0" & Hex$(bytes(1)), 2))
    'Aca pueden venir: friendly_columnname, basetable_ordinal,basetab_column_ordinal,basetab_colname
    If PresenceMap And &H800000 Then 'friendly_columnname
    Bytes = .Read(2) 'Size
    LongVal = Bytes(0) + Bytes(1) * 256 ' Size
    .Position = .Position + LongVal * 2 '*2 debido a UNICODE
    End If
    If PresenceMap And &H400000 Then 'basetable_ordinal
    .Position = .Position + 2 ' 2 bytes
    End If
    If PresenceMap And &H200000 Then 'basetab_column_ordinal
    .Position = .Position + 2 ' 2 bytes
    End If
    If PresenceMap And &H100000 Then 'basetab_colname
    Bytes = .Read(2) 'Size
    LongVal = Bytes(0) + Bytes(1) * 256 ' Size
    .Position = .Position + LongVal * 2 '*2 debido a UNICODE
    End If
    Bytes = .Read(2) 'adtgColumnDBType
    'WordVal = Val("&H" & Right$("0" & Hex$(Bytes(0)), 2) & Right$("0" & Hex$(bytes(1)), 2))
    Bytes = .Read(4) 'adtgColumnMaxLength
    'LongVal = Val("&H" & Right$("0" & Hex$(Bytes(3)), 2) & Right$("0" & Hex$(Bytes(2)), 2) & Right$("0" & Hex$(Bytes(1)), 2) & Right$("0" & Hex$(Bytes(0)), 2))
    Bytes = .Read(4) 'Precision
    'LongVal = Val("&H" & Right$("0" & Hex$(Bytes(3)), 2) & Right$("0" & Hex$(Bytes(2)), 2) & Right$("0" & Hex$(Bytes(1)), 2) & Right$("0" & Hex$(Bytes(0)), 2))
    Bytes = .Read(4) 'Scale
    'LongVal = Val("&H" & Right$("0" & Hex$(Bytes(3)), 2) & Right$("0" & Hex$(Bytes(2)), 2) & Right$("0" & Hex$(Bytes(1)), 2) & Right$("0" & Hex$(Bytes(0)), 2))
    Dim ColumnFlags() As Byte, NewFlag0 As Byte
    ColumnFlags = .Read(1) 'DBCOLUMNFLAGS, First Byte only (DBCOLUMNFLAGS=4 bytes total)
    NewFlag0 = ColumnFlags(0)
    If (NewFlag0 And &H4) = 0 Then 'DBCOLUMNFLAGS_WRITE (bit 2) esta OFF
    'Lo pongo en ON, ya que quiero escribir esta columna LOCALMENTE en el rst DESCONECTADO
    NewFlag0 = (NewFlag0 Or &H4)
    End If
    If (NewFlag0 And &H8) <> 0 Then 'DBCOLUMNFLAGS_WRITEUNKNOWN (bit 3) esta ON
    'Lo pongo en OFF, ya que no me importa si NO sabes si se puede updatear no, yo lo se, no te preocupes
    'ya que quiero escribir esta columna LOCALMENTE en el rst DESCONECTADO
    NewFlag0 = (NewFlag0 And Not &H8)
    End If
    If (NewFlag0 And &H20) <> 0 Then 'DBCOLUMNFLAGS_ISNULLABLE (bit 5) esta OFF
    'Lo pongo en ON, ya que siendo un RST DESCONECTADO, si le quiero poner NULL, le pongo y listo
    NewFlag0 = (NewFlag0 Or &H20)
    End If
    If NewFlag0 <> ColumnFlags(0) Then
    ColumnFlags(0) = NewFlag0
    .Position = .Position - 1
    .Write ColumnFlags
    End If
    .Position = NextTokenPos
    Bytes = .Read(1)
    Loop While Bytes(0) = 6
    'Reconstruyo el Rst desde el stream
    S.Position = 0
    Set Rst = New Recordset
    Rst.Open S
    End With
    'TEST IT
    On Error Resume Next
    Rst!C1 = 15
    Rst!C5 = "MUCHOS CHARS"
    Rst!C7 = 23423
    If Err.Number = 0 Then
    MsgBox "OK"
    Else
    MsgBox Err.Description
    End If
    </pre>

  • IDCS3. updating prepress dept from Quark4 to CS3

    ok, I've been tasked with updating our prepress dept from Quark 4.1 on mac classic to CS3 on PCs. there are two Mac systems with both Quark 4.1 and CS2. and One PC with Quark 7 and CS3. the rest will have just ID.
    There are two features that the prepress dept asked me about and I didn't know the answer. We have some plugins in Quark for Spelling (not an issue with ID), Stored Verses(can ID do this?), and a Verify feature.
    Stored verses would be so the typist can just type abc123 and get a full paragraph of test. which is helpfull when typing the same thing over and over.
    The verify feature is a little tricky. Typist 1 will type the document then save it. Typist 2 will load the document then blind type it. the typist just types the text and the computer will let the typist know if the chareter was right or wrong. This feature insures that they check each word is right, and there aren't any spelling mistakes or wording mistakes that they didn't catch.
    any help would be great. Thank you very much.

    You're referring to text macros if I understand correctly. This feature
    is found in InCopy but not InDesign.
    Bob

  • Updating plug ins from CS2 to CS3

    I have written a grifics intense book in the trial version of CS3 (which has expired.)  I was given CS2 Premium but cannot open my documents because I am needing to "update" plugins.
    How do I do this?  and where do I get them?
    Cheryl

    What program? If it's InDesign you'll need to save the file back via INX.
    Bob

  • Trouble updating ADO recordsets from synonyms

    I have created an ado(2.6/ sqora32 v9.02.00.00) recordset with multiple joins. The tables have a trigger which adds a time stamp. Updates work fine when these are made directly on the schema table.
    When I try to make updates on synonyms I get the error.
    "Insufficient key column information for updating or refreshing."
    The KEYCOLUMN property of the primary key field is false
    debug.print rs.fields("id").Properties("Keycolumn").value
    False
    It was suggested that I set the recordset properties ("Unique Rows") or ("Determine Key Columns For Rowset") to true, but the former cannot be set and the latter does not exist.
    THE Catch: I am running this on my development machine, connecting to our database server through Oracle client 9.2.0.1.0 When I run the application directly on the server updates are fine AND debug.print rs.fields("id").Properties("Keycolumn").value
    is TRUE!!
    Please help.
    Rob

    I have created an ado(2.6/ sqora32 v9.02.00.00) recordset with multiple joins. The tables have a trigger which adds a time stamp. Updates work fine when these are made directly on the schema table.
    When I try to make updates on synonyms I get the error.
    "Insufficient key column information for updating or refreshing."
    The KEYCOLUMN property of the primary key field is false
    debug.print rs.fields("id").Properties("Keycolumn").value
    False
    It was suggested that I set the recordset properties ("Unique Rows") or ("Determine Key Columns For Rowset") to true, but the former cannot be set and the latter does not exist.
    THE Catch: I am running this on my development machine, connecting to our database server through Oracle client 9.2.0.1.0 When I run the application directly on the server updates are fine AND debug.print rs.fields("id").Properties("Keycolumn").value
    is TRUE!!
    Please help.
    Rob

  • What cause searching network problem after updating iphone 6 from iOS 8.1.2 TO iOS 8.1.3?

    what cause searching network problem after updating iphone 6 from iOS 8.1.2 TO iOS 8.1.3?

    SSince Apple does not support downgrading the iOS I suggest you start a new question that gives a good title to a specific problem. Then in the body of the thread describe the problem in detail, tell us what steps you have tried so far to correct the problem, what happened, and what error messages you received.

  • Upgrade Photoshop from CS2 to CS3 in Macintosh

    I am currently using Photoshop CS2 Mac version and DO NOT have CS3 beta version installed. I have couple installation questions whose answers are hard to find anywhere else, hope I can find them from this forum.
    Since I heard a lot of troubles regarding upgrading PS from CS2 to CS3 if there is CS3 beta version already installed in Mac, I am a little be nervous. Here is my questions:
    1. Can CS2 and CS3 co-exist?
    2. Do I have to manually uninstalled CS2 prior to upgrading? If yes, how do I do it? I am assuming that CS3 upgrade should have a program to uninstall previous versions of PS, am I correct?
    3. How do I deal with my current registration?
    4. I have third-party plug-ins such as OnOne Mask Pro 4.0, nik Color Efex Pro 2.0 installed in CS2. What's the right procedure I should take to avoid their re-installation?
    5. I also have Lightroom installed now, will CS3 upgrade affect it? Do I need to take any action?
    Thank you very for help!
    Regards,
    Howard

    Patrick,
    Welcome to the Macintosh. Glad the transition has worked well for you. A few quick points, here:
    1. Download the combo update to Mac OS X 10.4.11 from the Apple site.
    2. Any software that came from the previous owner must be Apple software that is included with the operating system; or, if other Apple or third party software (including Adobe or Microsoft), it must have a valid license that has been transfered to your name and you must have all discs. Otherwise, it must be deleted in order for you to be legal.
    3. The best current utilities for maintaining and optimizing your computer include: Apple's own Disk Utility (on your Mac OS system disc); Alsoft DiskWarrior; and Maintain Cocktail. Other very good tools include: Roxio Toast (for disc burning); SuperDuper! (for complete system backups); and FontAgentPro (for organizing and maintaining large numbers of fonts). Whether you just print family snapshots or you do four-color commercial printing, you need to calibrate your monitor. Look into the Spyder3 or EyeOne calibrators.
    Also note that it is important to repair permissions and run DiskWarrior when you install or upgrade any software on your system. As the specifics of these have been detailed numerous times in this forum, I recommend that you do a forum search for the details.
    4. If you already have installed CS2, then you only need to purchase the upgrade version of CS3.
    I hope this helps!
    Neil

  • ADFS SSO and SharePoint 2013 on-premise Hybrid outbound search results from SharePoint Online - does it work?

    Hi, 
    I want to setup an outpund hybrid search for SharePoint 2013 on-premise to SharePoint Online.
    But I'm not shure if this works with ADFS SSO.
    Has somebody experience with this setup?
    Here's my guide which I'm going to use for this installation:
    Introduction
    In this post I'll show you how to get search results from your SharePoint Online in your SharePoint 2013 on-premise search center.
    Requirements
    User synchronisation ActiveDirectory to Office 365 with DirSync
    DirSync password sync or ADFS SSO
    SharePoint Online
    SharePoint 2013 on-premise
    Enterprise Search service
    SharePoint Online Management Shell
    Instructions
    All configuration will be done either in the Search Administration of the Central Administration or in the PowerShell console of your on-premise SharePoint 2013 server.
    Set up Sever to Server Trust
    Export certificates
    To create a server to server trust we need two certificates.
    [certificate name].pfx: In order to replace the STS certificate, the certificate is needed in Personal Information Exchange (PFX) format including the private key.
    [certificate name].cer: In order to set up a trust with Office 365 and Windows Azure ACS, the certificate is needed in CER Base64 format.
    First launch the Internet Information Services (IIS) Manager
    Select your SharePoint web server and double-click Server Certificates
    In the Actions pane, click Create Self-Signed Certificate
    Enter a name for the certificate and save it with OK
    To export the new certificate in the Pfx format select it and click Export in the Actions pane
    Fill the fields and click OK Export to: C:\[certificate
    name].pfx Password: [password]
    Also we need to export the certificate in the CER Base64 format. For that purpose make a right-click on the certificate select it and click on View...
    Click the Details tab and then click Copy to File
    On the Welcome to the Certificate Export Wizard page, click Next
    On the Export Private Key page, click Next
    On the Export File Format page, click Base-64 encoded X.509 (.CER), and then click Next.
    As file name enter C:\[certificate
    name].cer and then click Next
    Finish the export
    Import the new STS (SharePoint Token Service) certificate
    Let's update the certificate on the STS. Configure and run the PowerShell script below on your SharePoint server.
    if(-not (Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue)){Add-PSSnapin "Microsoft.SharePoint.PowerShell"}
    # set the cerficates paths and password
    $PfxCertPath = "c:\[certificate name].pfx"
    $PfxCertPassword = "[password]"
    $X64CertPath = "c:\[certificate name].cer"
    # get the encrypted pfx certificate object
    $PfxCert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 $PfxCertPath, $PfxCertPassword, 20
    # import it
    Set-SPSecurityTokenServiceConfig -ImportSigningCertificate $PfxCert
    Type Yes when prompted with the following message.
    You are about to change the signing certificate for the Security Token Service. Changing the certificate to an invalid, inaccessible or non-existent certificate will cause your SharePoint installation to stop functioning. Refer
    to the following article for instructions on how to change this certificate: http://go.microsoft.com/fwlink/?LinkID=178475. Are you
    sure, you want to continue?
    Restart IIS so STS picks up the new certificate.
    & iisreset
    & net stop SPTimerV4
    & net start SPTimerV4
    Now validate the certificate replacement by running several PowerShell commands and compare their outputs.
    # set the cerficates paths and password
    $PfxCertPath = "c:\[certificate name].pfx"
    $PfxCertPassword = "[password]"
    # get the encrypted pfx certificate object
    New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 $PfxCertPath, $PfxCertPassword, 20
    # compare the output above with this output
    (Get-SPSecurityTokenServiceConfig).LocalLoginProvider.SigningCertificate
    [/code]
    ## Establish the server to server trust
    [code lang="ps"]
    if(-not (Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue)){Add-PSSnapin "Microsoft.SharePoint.PowerShell"}
    Import-Module MSOnline
    Import-Module MSOnlineExtended
    # set the cerficates paths and password
    $PfxCertPath = "c:\[certificate name].pfx"
    $PfxCertPassword = "[password]"
    $X64CertPath = "c:\[certificate name].cer"
    # set the onpremise domain that you added to Office 365
    $SPCN = "sharepoint.domain.com"
    # your onpremise SharePoint site url
    $SPSite="http://sharepoint"
    # don't change this value
    $SPOAppID="00000003-0000-0ff1-ce00-000000000000"
    # get the encrypted pfx certificate object
    $PfxCert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 $PfxCertPath, $PfxCertPassword, 20
    # get the raw data
    $PfxCertBin = $PfxCert.GetRawCertData()
    # create a new certificate object
    $X64Cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2
    # import the base 64 encoded certificate
    $X64Cert.Import($X64CertPath)
    # get the raw data
    $X64CertBin = $X64Cert.GetRawCertData()
    # save base 64 string in variable
    $CredValue = [System.Convert]::ToBase64String($X64CertBin)
    # connect to office 3656
    Connect-MsolService
    # register the on-premise STS as service principal in Office 365
    # add a new service principal
    New-MsolServicePrincipalCredential -AppPrincipalId $SPOAppID -Type asymmetric -Usage Verify -Value $CredValue
    $MsolServicePrincipal = Get-MsolServicePrincipal -AppPrincipalId $SPOAppID
    $SPServicePrincipalNames = $MsolServicePrincipal.ServicePrincipalNames
    $SPServicePrincipalNames.Add("$SPOAppID/$SPCN")
    Set-MsolServicePrincipal -AppPrincipalId $SPOAppID -ServicePrincipalNames $SPServicePrincipalNames
    # get the online name identifier
    $MsolCompanyInformationID = (Get-MsolCompanyInformation).ObjectID
    $MsolServicePrincipalID = (Get-MsolServicePrincipal -ServicePrincipalName $SPOAppID).ObjectID
    $MsolNameIdentifier = "$MsolServicePrincipalID@$MsolCompanyInformationID"
    # establish the trust from on-premise with ACS (Azure Control Service)
    # add a new authenticatio realm
    $SPSite = Get-SPSite $SPSite
    $SPAppPrincipal = Register-SPAppPrincipal -site $SPSite.rootweb -nameIdentifier $MsolNameIdentifier -displayName "SharePoint Online"
    Set-SPAuthenticationRealm -realm $MsolServicePrincipalID
    # register the ACS application proxy and token issuer
    New-SPAzureAccessControlServiceApplicationProxy -Name "ACS" -MetadataServiceEndpointUri "https://accounts.accesscontrol.windows.net/metadata/json/1/" -DefaultProxyGroup
    New-SPTrustedSecurityTokenIssuer -MetadataEndpoint "https://accounts.accesscontrol.windows.net/metadata/json/1/" -IsTrustBroker -Name "ACS"
    Add a new result source
    To get search results from SharePoint Online we have to add a new result source. Run the following script in a PowerShell ISE session on your SharePoint 2013 on-premise server. Don't forget to update the settings region
    if(-not (Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue)){Add-PSSnapin "Microsoft.SharePoint.PowerShell"}
    # region settings
    $RemoteSharePointUrl = "http://[example].sharepoint.com"
    $ResultSourceName = "SharePoint Online"
    $QueryTransform = "{searchTerms}"
    $Provier = "SharePoint-Remoteanbieter"
    # region settings end
    $SPEnterpriseSearchServiceApplication = Get-SPEnterpriseSearchServiceApplication
    $FederationManager = New-Object Microsoft.Office.Server.Search.Administration.Query.FederationManager($SPEnterpriseSearchServiceApplication)
    $SPEnterpriseSearchOwner = Get-SPEnterpriseSearchOwner -Level Ssa
    $ResultSource = $FederationManager.GetSourceByName($ResultSourceName, $SPEnterpriseSearchOwner)
    if(!$ResultSource){
    Write-Host "Result source does not exist. Creating..."
    $ResultSource = $FederationManager.CreateSource($SPEnterpriseSearchOwner)
    $ResultSource.Name = $ResultSourceName
    $ResultSource.ProviderId = $FederationManager.ListProviders()[$Provier].Id
    $ResultSource.ConnectionUrlTemplate = $RemoteSharePointUrl
    $ResultSource.CreateQueryTransform($QueryTransform)
    $ResultSource.Commit()
    Add a new query rule
    In the Search Administration click on Query Rules
    Select Local SharePoint as Result Source
    Click New Query Rule
    Enter a Rule name f.g. Search results from SharePoint Online
    Expand the Context section
    Under Query is performed on these sources click on Add Source
    Select your SharePoint Online result source
    In the Query Conditions section click on Remove Condition
    In the Actions section click on Add Result Block
    As title enter Results for "{subjectTerms}" from SharePoint Online
    In the Search this Source dropdown select your SharePoint Online result source
    Select 3 in the Items dropdown
    Expand the Settings section and select "More" link goes to the following URL
    In the box below enter this Url https://[example].sharepoint.com/search/pages/results.aspx?k={subjectTerms}
    Select This block is always shown above core results and click the OK button
    Save the new query rule

    Hi  Janik,
    According to your description, my understanding is that you want to display hybrid search results in SharePoint Server 2013.
    For achieving your demand, please have a look at the article:
    http://technet.microsoft.com/en-us/library/dn197173(v=office.15).aspx
    If you are using single sign-on (SSO) authentication, it is important to test hybrid Search functionality by using federated user accounts. Native Office 365 user accounts and Active Directory Domain Services
    (AD DS) accounts that are not federated are not recognized by both directory services. Therefore, they cannot authenticate using SSO, and cannot be granted permissions to resources in both deployments. For more information, see Accounts
    needed for hybrid configuration and testing.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How do I add a search engine to the search bar from a hard disk file?

    I want to add a search engine to the search bar from an XML file on my hard disk. "Manage Search Engines" from the search bar drop down list only appears to allow adding search engines from web sites.
    Thanks.

    Hmmm. This didn't work. I even re-booted, and Firefox still doesn't show the search engine.
    It was actually an update to an earlier engine, and I foolishly removed the old version rather than just updating it.
    Is there anything elsewhere (eg. the registry) that might be preventing this?

  • How do I copy recordsets from one database table to another?

    I am using the Database Connectivity Toolset, and would like to copy either one recordset or multiple recordsets from one Access table to a table in a different database. I would like to do it directly with the data in variant form, but I can't get it to work. I can get it to work(on a small test table) if I first convert my source variant data to a cluster, then insert that into the other database table. My real database has many items with a variety of date types. Can I copy directly variant to variant?

    Is it necessary to read all the data back into LabVIEW first? The reason I'm asking is that it is much more efficient to just use SQL statements to get the data you need and write that directly to the second database. I did a quick Google search on it and came up with lots of responses on what the correct syntax is for setting that up. Using an SQL command to copy the data back and forth is analogous to copying data from one file to another using the Copy file function rather than reading the entire contents of the file, converting the file string to the data arrays, converting back to a string, and then writing it back to another file.
    Chapter 5 of the Database Connectivity Toolset User Manual describes how to execute SQL queries.
    If you do need to actually
    see the data in LabVIEW first, then the only way to get it back into the other database is to convert those variants to LV datatypes and then cluster those values again and write them back out to the second database.

  • My  ipod touch is 3rd gen how can i update my ios from 4.2.1 to 5.1.1 when i shift   restore and load the ipod3_5.1.1.ios its always say your firmware is not compatible

    my  ipod touch is 3rd gen how can i update my ios from 4.2.1 to 5.1.1 when i shift + restore and load the ipod3_5.1.1.ios its always say your firmware is not compatible

    I suspect you have a 2G iPod. Those can only go to iOS 4.2.1.
    Identifying iPod models
    iPod touch (3rd generation)
    iPod touch (3rd generation) features a 3.5-inch (diagonal) widescreen multi-touch display and 32 GB or 64 GB flash drive. You can browse the web with Safari and watch YouTube videos with Wi-Fi. You can also search, preview, and buy songs from the iTunes Wi-Fi Music Store on iPod touch.
    The iPod touch (3rd generation) can be distinguished from iPod touch (2nd generation) by looking at the back of the device. In the text below the engraving, look for the model number. iPod touch (2nd generation) is model A1288, and iPod touch (3rd generation) is model A1318.

  • Install CS4 Production Premium from Design Premium CS3, but does not recognize CS serial number

    Try almost half day already but still do not know how to overcome the problem.
    My operation system is Windows XP SP3.
    I am installing Production Premium CS4 and it is an update version from Design Premium CS3. I tried to input my CS3 serial number in when it is needed, but it always gave me "Invalid Serial Number". I tried to install the Design Premium CS3 to the computer. The serial number is right and programs work fine. Then I tried to install the CS4 again. First, it cannot find my CS3 just installed before. Second, the serial number for CS3 still does not work. Any idea?
    I saw so many people posted the installation issues here. How come Adobe does not do anything to improve the product. I also called the customer support. After waiting 10 min, a guy asked my ID and then total silent. I called again and this time, I had to wait 20 min. Another guy told me this is tech issue so I need to call tech support. He gave me a 1-800 number but I tried, the number is invalid. I have been thought Adobe is a good company before. I really need to rethink that.

    Thanks, Bob. Indeed, it was my typo in the message (not CS, should be CS3). My purchase was right (I even discussed with Adobe Store person before I placed the order). I have Design Premium CS3 and the updates I brought is the one which can update from Design Premium CS3. Actually in the menu where I can input my CS3 serial number, it has several options and one of them is exactly Design Premium CS3. See this page: http://www.adobe.com/products/creativesuite/production/upgrade/ (I ordered the 2nd option. I ordered from a vendor which charged me $579).

  • HT1338 os x 10.5.4, update search, updates to 10.5.8, downloads, restarts, freezes during configuration. i'm not a techie, please answer a fix for this layperson.

    after a software update search an update is found, it is downloaded, restarts computer, but during the configuration it freezed at about 15% done. how can i update? i'm a non-techie.

    Some general advice on updating Leopard:
    It is worth noting that it is an extreme rarity for updates to cause upsets to your system, as they have all been extensively beta-tested, but they may well reveal pre-existing ones, particularly those of which you may have been unaware. If you are actually aware of any glitches, make sure they are fixed before proceeding further.
    So before you do anything else:
    If you can, make a full backup first to an external hard disk. Ideally you should always have a bootable clone of your system that enables you to revert to the previous pre-update state.
    Turn off sleep mode for both screen and hard disk.
    Disconnect all peripherals except your keyboard and mouse.
    1. Repair Permissions (in Disk Utility)
    2. Verify the state of your hard disk using Disk Utility. If any faults are reported, restart from your install disk (holding down the C key), go to Disk Utility, and repair your startup disk. Restart again to get back to your startup disk.
    At least you can now be reasonably certain that your system does not contain any obvious faults that might cause an update/upgrade to fail.
    3. Download the correct version of the COMBO update from the Apple download site.
    The Combo updater of Leopard 10.5.8 can be found here:
    http://support.apple.com/downloads/Mac_OS_X_10_5_8_Combo_Update
    If you prefer to download updates via Software Update in the Apple menu (which would ensure that the correct version for your Mac was being downloaded), it is not recommended to allow SU to install major (or even minor) updates automatically. Set Software Update to just download the updater without immediately installing it. There is always the possibility that the combined download and install (which can be a lengthy process) might be interrupted by a power outage or your cat walking across the keyboard, and an interrupted install will almost certainly cause havoc. Once it is downloaded, you can install at a time that suits you. You should make a backup copy of the updater on a CD in case you ever need a reinstall.
    Full details about the 10.5.8 update here: http://support.apple.com/kb/HT3606
    More information on using Software Updater here:
    http://support.apple.com/kb/TA24901?viewlocale=en_US
    Using the Combo updater ensures that all system files changed since the original 10.5.0 are included, and any that may have been missed out or subsequently damaged will be repaired. The Delta updater, although a temptingly smaller download, only takes you from the previous version to the new one, i.e. for example from 10.5.7 to 10.5.8. Software Update will generally download the Delta updater only. The preferable Combo updater needs to be downloaded from Apple's download site.
    Now proceed as follows:
    4. Close all applications and turn off energy saving and screensaver.
    5. Unplug all peripherals except your keyboard and mouse.
    6. Install the update/upgrade. Do not under any circumstances interrupt this procedure. Do not do anything else on your computer while it is installing. Be patient.
    7. When it ask for a restart to complete the installation, click restart. This can take longer than normal, there are probably thousands of files to overwrite and place in the correct location. Do nothing while this is going on.
    8. Once your Mac is awake, repair permissions again, and you should be good to go!
    If your Mac seems slightly sluggish or ‘different’, perform a second restart. It can’t hurt and is sometimes efficacious! In fact a second restart can be recommended.
    9. Open a few of your most used applications and check that all is OK. In this connection please remember that not all manufacturers of third party applications and plug-ins, add-ons, haxies etc, will have had time to do any necessary rewrites to their software to make them compliant with the latest version of your operating system. Give them a week or two while you regularly check their websites for updates.
    N.B. Do not attempt to install two different updates at the same time as each may have different routines and requirements. Follow the above recommendations for each update in turn.
    Lastly, Apple's own article on the subject of Software Update may also be useful reading:
    http://docs.info.apple.com/article.html?artnum=106695
    [b]If you are updating Safari (or just have):[/b]
    Input Managers from third parties can do as much harm as good. They use a security loophole to reach right into your applications' code and change that code as the application starts up.  If you have installed an OS update and Safari is crashing, the very [i]first[/i] thing to do is clear out your InputManagers folders (both in your own Library and in the top-level /Library), log out and log back in, and try again.
    So, disable all third party add-ons before updating Safari, as they may not have been updated yet for the new version. Add them back one by one. If something goes awry, remove it again and check on the software manufacturer's website for news of an update to match your version of Safari.
    Most errors reported here after an update are due to an unrepaired or undetected inherent fault in the system, and/or a third party add-on.
    Additional tips on software installation here:
    http://docs.info.apple.com/article.html?artnum=106692
    To reiterate, Input Managers reach right into an application and alter its code. This puts the behavior of the affected application outside the control and responsibility of its developers: a recipe for  problems. That's not to say that issues absolutely will ensue as a result of Input Managers, but you, as a user, must decide. If the functionality of a specific Input Manager or set thereof is really important to you, you may well choose to assume the associated risk.
    Again, the advice is to remove all Input Managers from the following directories:
    /Library/InputManagers
    ~/Library/InputManagers
    especially prior to system updates (they can always be added back one-by-one later).
    Solutions for troubleshooting installation, startup, and login issues in Mac OS X v10.5
    http://support.apple.com/kb/TS1541?viewlocale=en_US

  • Conversion from Ai10 to CS3/4 resulting in text alignment differences

    We are converting about 25,000 graphics from Ai10 to CS3. In doing so a small percentage, but still a significant number, are converting incorrectly. Some of the graphics that include text labels are converting with the text labels appearinglower on the new graphic than they do on the original. We can't find anything about the graphics that convert incorrectly that is different from the ones that convert ok.
    Attached is an Ai10 file that converts incorrectly to CS3. If anyone can give me a clue why the text labels appear lower and give me a suggestion on how to avoid it it would be great.
    Thanks in advance
    Steve

    Quickest, way I know is to open the .ai 10 file in CS3 or CS4 without updating, and Select All, Command shift O to outline all text. This may not be ideal if you still want to be able to edit the text, but because Adobe updated the text engine the text from older legacy files tends to jump in strange ways. The only other way is to open without updating and convert each text box by double clicking on the text box and in the dialog box stating "editing text may cause layout changes" click copy text object. Then the fun part is manually realigning all live text and reformatting the text to match the copy. When this is done you can go Type>Legacy text>Delete copies. This is what I have been doing to tiptoe through the conversion of legacy text. If there are any better methods I would love to hear them.

  • When I export from Lr to CS3 my image size is 8x12 roughly, why?

    I shoot RAW with a 5d mark2 I export from lr to cs3 in my workflow. I am wanting to create a gallery wrap at an image size of 24x36, when I go to create my negative space my exported image size from Lr is only 8x12, why would that be? I don't know what to do or how to make my image larger without loosing quality? I have never noticed this before? Why is it doing this now?

    It will be the settings in your export menu.
    clsmithphoto wrote:
    I shoot RAW with a 5d mark2 I export from lr to cs3 in my workflow. I am wanting to create a gallery wrap at an image size of 24x36, when I go to create my negative space my exported image size from Lr is only 8x12, why would that be? I don't know what to do or how to make my image larger without loosing quality? I have never noticed this before? Why is it doing this now?
    Check this out for how to export: http://tv.adobe.com/search/?q=exporting

Maybe you are looking for