Keep mobile device informed with actual server data

Hello,
for my bachelor thesis I have to develop an application that works as a client for a workflow-management-system.
I've had the following idea: The app registers itself in the push registry and it sends it own ip-adress via http-get-command to the server.
If the server has new data it connects to the phone, tests, if the right phone is still on that ip-adress and after this test it send the data. The application is automatically started and displays the data
So far, so good. But what happens, if the phone has no network connection for a short period in between and after the reconnect to the network it gets another ip-adress?
Sure, the server sends no data tho the old IP-Adress because the check fails, but it doesn't know the new adress and so no data will be transmitted. On the phone there will be no error-message. The phone will simply never receive any data - and that is a serious problem.
Has anybody already solved this problem - maybe for a chat client?
Regards, Klaus

i am not sure about this solution but you can make another servlet(page) hit this servlet within the some time durection say after every 15 mins if response is ok from that then link is ok and fetch the data from yr page that servlet would work as Enquiry Link!! if you can put both on the same server then you can know that that server is up or not?
[email protected]

Similar Messages

  • MI 2.5 mobile client compatibility with MI server on SAP Netweaver 7.1

    Hi folks,
    Please let me know if Mobile client 2.5 on a laptop or Mobile is compatible with MI server on SAP Netweaver Mobile 7.1.
    We are planning for mass migration of devices with data to be moved from SAP netweaver 2004 to SAP Netweaver Mobile 7.1
    Keep in mind we will still have the old version of MI client that is MI 2.5 mobile client
    Regards,
    Kalyan

    Dear Kalyan,
    That is what I tried to explain briefly in your other thread.
    No. you cannot use the 2.5 client to connect/ sync with 7.1 server. Even when the device info is migrated to the server, devices are handled in a different way in 7.1. For example in 2.5,7.0 you sync to get an id. In 7.1, you create a device (Data Orchestration Engine Admin)  and enable it. When you syn the client for the first time, this gets assigned to the client or in other words, the client is authenticated to a new device.
    Please note that there are a whole lot of other things that are different in 7.1.
    Hope that gives a better picture. Check out the help.sap.com link for 7.1 (unfortunately u may have to read a lot in different parts of the help tree to get a better understanding, but as I said earlier, forum posts cannot be too elaborate and most of the posts if you see, tend to be abstract) Also why try to abstract something when the full details are available online @ help.sap.com or sdn help documents
    Regards,
    Veera

  • Synchronizing device information between ANI server and nGenius server

    Dear NetPros,
    Is it possible for us to synchronizing device information between the nGenius server and the ANI server?or under the nGenius server, I have to add the device one by one?
    As I know, it is possible for ANI server to synchronize the device information with the Resource Manager Essentials under the LMS 2.1
    Currently I had installed the LMS 2.1 and the nGenius Real-Time Monitor 1.4 on the same system.
    Thanks.
    Regards,
    Steve

    Currently, there is no direct way to sync the data between RTM and ANI. These are separate apps with separate db's and do not integrate with LMS. The way to import devices into RTM would be to first do an Export to File in RME to get the csv list. Then edit the csv file to remove the extra credentials that RTM do not need and the devices like routers etc. Then Use the Bulk Add Import feature in RTM to import them using the csv file

  • IOS Mobile Device Management - The SCEP server returned an invalid response

    I am in the process of writing an open source iOS mobile device management module in Java. For this I am referring the Apple provided Ruby code at [1]. I have set this up and it works fine for me. Now I need to convert this code to Java. So far I have accomplished to do that up to PKIOperation. In the PKI operation I get "The SCEP server returned an invalid response" which I believe is due to wrong response I sent to device upon PKIOperation.
    However when I do search on the internet I get this is something to do with the "maxHttpHeaderSize" as I am using the server as Apache Tomcat. Although I increase that since still it does not get resolved.
    Here is the code I need to convert - taken from Apple provided Ruby script
    if query['operation'] == "PKIOperation"
        p7sign = OpenSSL::PKCS7::PKCS7.new(req.body)
        store = OpenSSL::X509::Store.new
        p7sign.verify(nil, store, nil, OpenSSL::PKCS7::NOVERIFY)
        signers = p7sign.signers
        p7enc = OpenSSL::PKCS7::PKCS7.new(p7sign.data)
        csr = p7enc.decrypt(@@ra_key, @@ra_cert)
        cert = issueCert(csr, 1)
        degenerate_pkcs7 = OpenSSL::PKCS7::PKCS7.new()
        degenerate_pkcs7.type="signed"
        degenerate_pkcs7.certificates=[cert]
        enc_cert = OpenSSL::PKCS7.encrypt(p7sign.certificates, degenerate_pkcs7.to_der,
            OpenSSL::Cipher::Cipher::new("des-ede3-cbc"), OpenSSL::PKCS7::BINARY)
        reply = OpenSSL::PKCS7.sign(@@ra_cert, @@ra_key, enc_cert.to_der, [], OpenSSL::PKCS7::BINARY)
        res['Content-Type'] = "application/x-pki-message"
        res.body = reply.to_der
    end
    So this is how I written this in Java using Bouncycastle library.
    X509Certificate generatedCertificate = generateCertificateFromCSR(
                    privateKeyCA, certRequest, certCA.getIssuerX500Principal()
                            .getName());
            CMSTypedData msg = new CMSProcessableByteArray(
                    generatedCertificate.getEncoded());
            CMSEnvelopedDataGenerator edGen = new CMSEnvelopedDataGenerator();
            edGen.addRecipientInfoGenerator(new JceKeyTransRecipientInfoGenerator(
                    receivedCert).setProvider(AppConfigurations.PROVIDER));
            CMSEnvelopedData envelopedData = edGen
                    .generate(
                            msg,
                            new JceCMSContentEncryptorBuilder(
                                    CMSAlgorithm.DES_EDE3_CBC).setProvider(
                                    AppConfigurations.PROVIDER).build());
            CMSSignedDataGenerator gen = new CMSSignedDataGenerator();
            ContentSigner sha1Signer = new JcaContentSignerBuilder(
                    AppConfigurations.SIGNATUREALGO).setProvider(
                    AppConfigurations.PROVIDER).build(privateKeyRA);
            List<X509Certificate> certList = new ArrayList<X509Certificate>();
            CMSTypedData cmsByteArray = new CMSProcessableByteArray(
                    envelopedData.getEncoded());
            certList.add(certRA);
            Store certs = new JcaCertStore(certList);
            gen.addSignerInfoGenerator(new JcaSignerInfoGeneratorBuilder(
                    new JcaDigestCalculatorProviderBuilder().setProvider(
                            AppConfigurations.PROVIDER).build()).build(
                    sha1Signer, certRA));
            gen.addCertificates(certs);
            CMSSignedData sigData = gen.generate(cmsByteArray, true);
            return sigData.getEncoded();
    The returned result here will be output in to the servlet output stream with the content type "application/x-pki-message".
    It seems I get the CSR properly and I generate the X509Certificate using following code.
    public static X509Certificate generateCertificateFromCSR(
            PrivateKey privateKey, PKCS10CertificationRequest request,
            String issueSubject) throws Exception {
        Calendar targetDate1 = Calendar.getInstance();
        targetDate1.setTime(new Date());
        targetDate1.add(Calendar.DAY_OF_MONTH, -1);
        Calendar targetDate2 = Calendar.getInstance();
        targetDate2.setTime(new Date());
        targetDate2.add(Calendar.YEAR, 2);
        // yesterday
        Date validityBeginDate = targetDate1.getTime();
        // in 2 years
        Date validityEndDate = targetDate2.getTime();
        X509v3CertificateBuilder certGen = new X509v3CertificateBuilder(
                new X500Name(issueSubject), BigInteger.valueOf(System
                        .currentTimeMillis()), validityBeginDate,
                validityEndDate, request.getSubject(),
                request.getSubjectPublicKeyInfo());
        certGen.addExtension(X509Extension.keyUsage, true, new KeyUsage(
                KeyUsage.digitalSignature | KeyUsage.keyEncipherment));
        ContentSigner sigGen = new JcaContentSignerBuilder(
                AppConfigurations.SHA256_RSA).setProvider(
                AppConfigurations.PROVIDER).build(privateKey);
        X509Certificate issuedCert = new JcaX509CertificateConverter()
                .setProvider(AppConfigurations.PROVIDER).getCertificate(
                        certGen.build(sigGen));
        return issuedCert;
    The generated certificate commonn name is,
    Common Name: mdm(88094024-2372-4c9f-9c87-fa814011c525)
    Issuer: mycompany Root CA (93a7d1a0-130b-42b8-bbd6-728f7c1837cf), None
    [1] - https://developer.apple.com/library/ios/documentation/NetworkingInternet/Concept ual/iPhoneOTAConfiguration/Introduction/Introduction.html

    I am in the process of writing an open source iOS mobile device management module in Java. For this I am referring the Apple provided Ruby code at [1]. I have set this up and it works fine for me. Now I need to convert this code to Java. So far I have accomplished to do that up to PKIOperation. In the PKI operation I get "The SCEP server returned an invalid response" which I believe is due to wrong response I sent to device upon PKIOperation.
    However when I do search on the internet I get this is something to do with the "maxHttpHeaderSize" as I am using the server as Apache Tomcat. Although I increase that since still it does not get resolved.
    Here is the code I need to convert - taken from Apple provided Ruby script
    if query['operation'] == "PKIOperation"
        p7sign = OpenSSL::PKCS7::PKCS7.new(req.body)
        store = OpenSSL::X509::Store.new
        p7sign.verify(nil, store, nil, OpenSSL::PKCS7::NOVERIFY)
        signers = p7sign.signers
        p7enc = OpenSSL::PKCS7::PKCS7.new(p7sign.data)
        csr = p7enc.decrypt(@@ra_key, @@ra_cert)
        cert = issueCert(csr, 1)
        degenerate_pkcs7 = OpenSSL::PKCS7::PKCS7.new()
        degenerate_pkcs7.type="signed"
        degenerate_pkcs7.certificates=[cert]
        enc_cert = OpenSSL::PKCS7.encrypt(p7sign.certificates, degenerate_pkcs7.to_der,
            OpenSSL::Cipher::Cipher::new("des-ede3-cbc"), OpenSSL::PKCS7::BINARY)
        reply = OpenSSL::PKCS7.sign(@@ra_cert, @@ra_key, enc_cert.to_der, [], OpenSSL::PKCS7::BINARY)
        res['Content-Type'] = "application/x-pki-message"
        res.body = reply.to_der
    end
    So this is how I written this in Java using Bouncycastle library.
    X509Certificate generatedCertificate = generateCertificateFromCSR(
                    privateKeyCA, certRequest, certCA.getIssuerX500Principal()
                            .getName());
            CMSTypedData msg = new CMSProcessableByteArray(
                    generatedCertificate.getEncoded());
            CMSEnvelopedDataGenerator edGen = new CMSEnvelopedDataGenerator();
            edGen.addRecipientInfoGenerator(new JceKeyTransRecipientInfoGenerator(
                    receivedCert).setProvider(AppConfigurations.PROVIDER));
            CMSEnvelopedData envelopedData = edGen
                    .generate(
                            msg,
                            new JceCMSContentEncryptorBuilder(
                                    CMSAlgorithm.DES_EDE3_CBC).setProvider(
                                    AppConfigurations.PROVIDER).build());
            CMSSignedDataGenerator gen = new CMSSignedDataGenerator();
            ContentSigner sha1Signer = new JcaContentSignerBuilder(
                    AppConfigurations.SIGNATUREALGO).setProvider(
                    AppConfigurations.PROVIDER).build(privateKeyRA);
            List<X509Certificate> certList = new ArrayList<X509Certificate>();
            CMSTypedData cmsByteArray = new CMSProcessableByteArray(
                    envelopedData.getEncoded());
            certList.add(certRA);
            Store certs = new JcaCertStore(certList);
            gen.addSignerInfoGenerator(new JcaSignerInfoGeneratorBuilder(
                    new JcaDigestCalculatorProviderBuilder().setProvider(
                            AppConfigurations.PROVIDER).build()).build(
                    sha1Signer, certRA));
            gen.addCertificates(certs);
            CMSSignedData sigData = gen.generate(cmsByteArray, true);
            return sigData.getEncoded();
    The returned result here will be output in to the servlet output stream with the content type "application/x-pki-message".
    It seems I get the CSR properly and I generate the X509Certificate using following code.
    public static X509Certificate generateCertificateFromCSR(
            PrivateKey privateKey, PKCS10CertificationRequest request,
            String issueSubject) throws Exception {
        Calendar targetDate1 = Calendar.getInstance();
        targetDate1.setTime(new Date());
        targetDate1.add(Calendar.DAY_OF_MONTH, -1);
        Calendar targetDate2 = Calendar.getInstance();
        targetDate2.setTime(new Date());
        targetDate2.add(Calendar.YEAR, 2);
        // yesterday
        Date validityBeginDate = targetDate1.getTime();
        // in 2 years
        Date validityEndDate = targetDate2.getTime();
        X509v3CertificateBuilder certGen = new X509v3CertificateBuilder(
                new X500Name(issueSubject), BigInteger.valueOf(System
                        .currentTimeMillis()), validityBeginDate,
                validityEndDate, request.getSubject(),
                request.getSubjectPublicKeyInfo());
        certGen.addExtension(X509Extension.keyUsage, true, new KeyUsage(
                KeyUsage.digitalSignature | KeyUsage.keyEncipherment));
        ContentSigner sigGen = new JcaContentSignerBuilder(
                AppConfigurations.SHA256_RSA).setProvider(
                AppConfigurations.PROVIDER).build(privateKey);
        X509Certificate issuedCert = new JcaX509CertificateConverter()
                .setProvider(AppConfigurations.PROVIDER).getCertificate(
                        certGen.build(sigGen));
        return issuedCert;
    The generated certificate commonn name is,
    Common Name: mdm(88094024-2372-4c9f-9c87-fa814011c525)
    Issuer: mycompany Root CA (93a7d1a0-130b-42b8-bbd6-728f7c1837cf), None
    [1] - https://developer.apple.com/library/ios/documentation/NetworkingInternet/Concept ual/iPhoneOTAConfiguration/Introduction/Introduction.html

  • MenuManager in TableViewer does not work on mobile device (tablet with Win 8)

    Hi
    Welcome everybody This is my first post on this forum. I really hope you can help me out with this. It is kind of strange.... Ok, so I am developing RCP/SWT application, and it has to work on mobile device with windows 8 as well (10' tablet with windows Cool. So far so good - everything work pretty nice, except one thing that is really annoying. So I have this table, and user has possibility to use right click menu (context menu) on each row. Problem is that it does not work at all on mobile device. Right click on tablet is actually defined by pressing finger for longer period of time - then after 1 or 2 second menu should appear. Problem is that it does not at all. Funny thing is that when I connect a mouse using USB port to tablet I am able to open this menu Smile - it works completely fine. Menu works also with finger action when I press on empty (e.g. table without any data) I noticed that this issue is related with constructor style option SWT.FULL_FULL_SELECTION that is used for creating table. When I remove it from the constructor, right click works fine but there is not any data (no record is selected), so I can not perform any context menu action. Menu is dynamic, so depending on what data is loaded, the contain of menu changes. Main problem is that method menuAboutToShow is not called at all!. The code looks like that:
    Table table = new Table(parent, SWT.FULL_SELECTION | SWT.VIRTUAL | SWT.H_SCROLL | SWT.V_SCROLL | SWT.MULTI);
    table.setLinesVisible(true);
    table.setLayout(myTableLayout);
    createColumns(table, layout);
    table.setHeaderVisible(true);
    tableViewer = new TableViewer(table);
    tableViewer.setContentProvider(myContentProvider);
    tableViewer.setLabelProvider(myLabelProvider);
    MenuManager contextMenu = new MenuManager();
    contextMenu.setRemoveAllWhenShown(true);
    contextMenu.addMenuListener(new IMenuListener() {
    public void menuAboutToShow(IMenuManager mgr) {
    contextMenu.add(new MyAction(action)); // THIS PLACE IS NEVER CALLED WITH RIGHT FINGER CLICK!
    // dynamic filling context menu engine
    Menu menu = contextMenu.createContextMenu(tableViewer.getControl());
    tableViewer.getControl().setMenu(menu);
    getSite().registerContextMenu(contextMenu, null);
    Additional info: this tap-hold functionally is standard equivalent for right click on tablet device with Windows. I did not do any additional implementation for that. I think it should just work. I have several tables in my application and in all of those this problem appears. Any idea what may be wrong ?
    cheers,
    Pawel

    I have just installed SWT Example on my tablet (from here: https://www.eclipse.org/swt/examples.php#standaloneOutsideEclipse) and this same problem appears on the table example. I think it is general problem/bug. Should I report this as a swt eclipse bug ?

  • Problem installing Apple Mobile Device Support with iTunes 11.1

    I am running Windows 8 and was running the previous version of iTunes along with support for my iPad2, iPhone4s and iPhone5.  Everything was working perfectly. 
    Yesterday, I performed the OTA upgrade of ios7 on my iPhone5.  When I connected the phone to my PC, iTunes said that I needed to upgrade to 11.1.  So I did, except that it rolled back saying that it was unsuccessful and to try again.  I then downloaded the standalong iTunes64 installer.   The new version of iTunes installed, however the Mobile Device Support was not working.  iTunes did not recognize the phone and Windows device manager showed a driver problem.
    So, I then followed the instructions in http://support.apple.com/kb/HT1923 to uninstall all things Apple from my PC.  I then rebooted/reinstalled.  Same thing happened.  I uninstalled everything a second time, and then went thru the registry searching for "apple" and "mobile device" and removed all references.  This took a while.  I rebooted and reinstalled once again.  Same thing once more.  I then extracted the files from the iTunes64 installation exe and attempted to install just the mobiledevicesupport.msi.  It keeps rolling back with an unspecified error.   The error code in the Windows event log is 1603.
    I then unpacked the mobiledevicesupport.msi file, went to device manager and told it to find the driver, pointing it directly at the new driver files.  No good, I get some "operation not supported" type message.
    I am out of things to try.  Any ideas would be appreciated.  Thanks.

    So, all is done!
    With the "Microsoft Windows Installer CleanUp utility installer file (msicuu2.exe)"
    I could clean uninstall the "Apple Mobile Device Support".
    Hope, this will help other people.
    (o: andreas

  • SprySuggest fails in IE with dynamic server data

    When using SprySuggest with dynamic server xml suggestions,
    the suggestions are never displayed in IE, if the XML response does
    not have the correct content-type. Code in SpryData.js attempts to
    handle this situation, but it did not work in my configuration,
    until I made the change shown below in bold.
    Spry.Data.XMLDataSet.prototype.xhRequestProcessor =
    function(xhRequest)
    // XMLDataSet uses the responseXML from the xhRequest
    var resp = xhRequest.responseXML;
    var manualParseRequired = false;
    if (xhRequest.status != 200)
    if (xhRequest.status == 0)
    // The page that is attempting to load data was probably
    loaded with
    // a file:// url. Mozilla based browsers will actually
    provide the complete DOM
    // tree for the data, but IE provides an empty document node
    so try to parse
    // the xml text manually to create a dom tree we can use.
    if (xhRequest.responseText && (!resp ||
    !resp.firstChild))
    manualParseRequired = true;
    else if ( (!resp) || (!resp.getElementById))
    // The server said it sent us data, but for some reason we
    don't have
    // an XML DOM document. Some browsers won't auto-create an
    XML DOM
    // unless the server used a content-type of "text/xml" or
    "application/xml".
    // Try to manually parse the XML string, just in case the
    server
    // gave us an unexpected Content-Type.
    manualParseRequired = true;
    if (manualParseRequired)
    resp = Spry.Utils.stringToXMLDoc(xhRequest.responseText);
    if (!resp || !resp.firstChild || resp.firstChild.nodeName ==
    "parsererror")
    return null;
    return resp;
    };

    Hi John,
    it is a known IE browser behavior for the files that don't
    have the content-type set on xml, that will not get be interpreted
    as text. So if you want to have your page working ok, you must
    assure that the server response contained an xml and not other
    content-type.
    Diana

  • Do I need the "Apple Mobile Devices" program with just an iPod nano

    I'm going through the list of programs on my computer (using the "Programs & Features" tool in Control Panel, on Windows7) and trying to figure out what's on here that I don't need & can safely remove.
    There's one program called "Apple Mobile Devices Support" (that's what the Control Panel utility calls it, I think it's also called "Apple Mobile Device Service") I did some google-seaching to find out what it is, and apparently it's needed in order for iTunes to connect to iDevices such as iPods & iPhones. I couldn't find a very clear explanation of it, but as far as I can tell, it might just be needed for some kinds of devices, like iOS devices. All I have is an iPod Nano, which is one of the few existing Apple devices that *isn't* iOS. I don't have an iPhone or iPad or iPod Touch, etc.
    Can I use iTunes as normal to manage my music library, download media, manage my iPod library/playlists/etc, without having the Apple Mobile Devices Support program? Or is it needed for connecting iTunes to ANY device, including a simple iPod Nano?
    (BTW I connect my iPod to my computer using a standard iPod/USB cable)

    It's a 4th generation IIRC
    Yeah, I'm pretty sure that one does need AMDS for at least something.
    (I know there's an article around somewhere which gives the precise generation at which point AMDS is used by nanos ... but I just can't remember which particular article it is. I keep finding it only by accident on those occasions when I do find the reference.)

  • OC4J session information with App Server Console

    Hello
    I have installed BI&Forms 10.1.2.0.2.
    I have an application deployed to that app server.
    I would like to see session information against that app, and to be able to clear sessions down.
    Can this be done with App server Console and how?
    Thanks
    Andy

    Fixed this. The ServerName param in httpd.conf was incorrect.

  • Error 1067 when starting Apple Mobile Device service with Iphone 4S

    Hi,
    Excuse me for my bad english but I'm from Spain. I need your help.
    When I start Itunes I get an error because Apple Mobile Device service is not started, and when I try to start It from windows services (it's fixed to start automatically but it does not starts on windows start up) I get an 1067 error. I don't have any mega* program installed, wich I've seen could be the cause of the error.
    If I install Itunes 10.0 with it's Apple Mobile Device service this service starts with no problem but I can't use Itunes because I get an error when I start Itunes, any version of Itunes under 10.5 don't recognise my Iphone, and in 10.5 and newer versions I do get the famous 1067 error. I tried to reinstall several times/versions but I always get the same error in any version.
    What can I do?
    Thank you.

    With a 1067 I'd try the following document. (MegaUpload and MegaKey are the usual culprits, but I've seen other LSP conficts produce the 1067 too.)
    Software de Apple en Windows: pueden producirse problemas de rendimiento y iTunes Store aparecer vacío

  • Help with flash server date

    hello, i have a pack with 4 swfs() and i want to change them automaticly when new season is coming using server date, can someone help me with script or documentation?

    This doesn't sound like a Flash issue, unless you have some other Flash file that loads these files in them.  You probably just want to see about creating a php page that writes the embedding code for the Flash file it will show based on the date the PHP sees on the server.

  • Problem with SQL Server data on webpage

    Hello, we recently 'upsized' from Access to MS SQL Server
    2005.
    I'm trying to port over my webpages but have run into a very
    bizarr
    behavior, some data from some fields in my table appear on my
    web pages and
    some do not. In fact, depending on where I place some of
    these fields on the
    page can determine whether the data fields show up or not.
    For example, I'll place a field
    <%=(Recordset1.Fields.Item("Tastings").Value)%> above
    the phone field
    <%=(Recordset1.Fields.Item("Phone").Value)%> and the
    phone field disappears,
    i.e. the phone number was displaying on the page and after I
    place the
    Tasting field above it the phone number no longer displays on
    the page.
    Many of the fields on the webpage are just blank even though
    I know the code
    is right and I know there is data in that db record. I also
    know the pages
    work without a problem since if I use a connection string to
    the Access db
    (which is linked to the SQL db!) everything works perfectly.
    I don't know if this matters, but the table has about 95
    fields in it many
    of which are 'True' 'False'. There are only about 400 records
    though.
    I'm stumped, so any ideas would be greatly appreciated.
    -Joe

    Hey Lionstone, you're the best!
    That fixed my problem and I would have never figured that
    out.
    If you're ever in the Napa Valley give me a ring, I have a
    couple bottles of
    Napa's finest for you.
    -Joe
    707-968-4205
    "Lionstone" <[email protected]> wrote in
    message
    news:[email protected]...
    > You've used columns with the data type of "text." This
    is not the right
    > data type for you.
    > In SQL Server 2005, you should use strictly VARCHAR
    columns to hold text.
    > Anything up to 8000 bytes of text (8000 characters using
    standard ANSI
    > encoding) should use VARCHAR(X), where X is a reasonable
    maximum length;
    > for instance, VARCHAR(50) is a reasonable length for a
    title. "Text" is
    > actually intended for very large amounts of information
    (say, a research
    > paper or long news article), but in SQL Server 2005, you
    should use
    > VARCHAR(MAX) instead (and I literally mean MAX, not a
    numeric value).
    >
    > Shorter version of everything I said: Use VARCHAR([some
    number]) up to
    > 8000 characters and VARCHAR(MAX) for more than 8000
    characters. Text is
    > kept for mainly for backward compatibility.
    >
    > There are several things you can do in the interim. The
    best would be to
    > put all "text", "ntext", and "image" columns at the end
    of your select
    > list (you shouldn't be using SELECT * in production code
    anyway) and, if
    > you have more than one, list them in the order they're
    defined in your
    > table.
    >
    > Solutions that involve changing the cursor type or
    location have a
    > performance penalty, and they aren't even possible using
    the DW 8.02-style
    > recordsets.
    >
    >
    > "Joe" <[email protected]> wrote
    in message
    > news:[email protected]...
    >> Hello, we recently 'upsized' from Access to MS SQL
    Server 2005.
    >>
    >> I'm trying to port over my webpages but have run
    into a very bizarr
    >> behavior, some data from some fields in my table
    appear on my web pages
    >> and some do not. In fact, depending on where I place
    some of these fields
    >> on the page can determine whether the data fields
    show up or not.
    >>
    >> For example, I'll place a field
    >>
    <%=(Recordset1.Fields.Item("Tastings").Value)%> above the
    phone field
    >> <%=(Recordset1.Fields.Item("Phone").Value)%>
    and the phone field
    >> disappears, i.e. the phone number was displaying on
    the page and after I
    >> place the Tasting field above it the phone number no
    longer displays on
    >> the page.
    >>
    >> ???
    >>
    >> Many of the fields on the webpage are just blank
    even though I know the
    >> code is right and I know there is data in that db
    record. I also know the
    >> pages work without a problem since if I use a
    connection string to the
    >> Access db (which is linked to the SQL db!)
    everything works perfectly.
    >>
    >> I don't know if this matters, but the table has
    about 95 fields in it
    >> many of which are 'True' 'False'. There are only
    about 400 records
    >> though.
    >>
    >> I'm stumped, so any ideas would be greatly
    appreciated.
    >>
    >> -Joe
    >>
    >
    >

  • Ok... so iOS5 has brought some cool (and useful) new features.... good job.  However, moving forward I would like to see even more "holding faith" with the overall philosophy of lots of devices interacting with a single data set.

    My first, and perhaps clearest, example here is iMessage.  It's great that I can take and reply to messages on my iPhone and on my iPad as if it didn't matter which device I use.  However, I spend most of my working day on my Mac, and it's a little annoying to have to use one of my other devices to send and receive messages when my most powerful device (my Mac) is right there under my finger tips.  I'm an iChat user, which has some great functionality, but of course it doesn't integrate with iMessage in anyway or Facetime for that matter, even though you can effectively do a "Facetime" call on iChat if the other person has the appropriate user account. 
    So my question/suggestion is - I wonder if there's a way of bringing iChat, iMessage, Facetime etc... all into harmony so that messages, video chatting, screen sharing etc... is dealt with under a single application.  I accept you may have it so that there is more functionality on, say, your Mac (e.g. screen sharing).  But the integration would still be helpful I think.
    Any thoughts (with the hope that Apple will also see these comments/answers/suggestions and take it as food for thought on product development)?
    Incidentally, and also for Apple's benefit, please don't read this message as as meaning that I don't like what's already been done!  It's great and I think it really is moving in the right direction.  It's just that there's still room for improvement.
    Rob

    Thanks for responding Wes.  I've pasted the confusing text from that website referenced in my original post below:
    Ingest movie clips  
    You can ingest entire movie clips or a selected portion of the movie clips (partial ingest). You can also transcode the selected movie clips using more than one encoding option.
         Select File > Ingest. Alternatively, press Ctrl+I (Win) or Cmd+I (Mac OS).
         Navigate to the folder containing media, and click the folder. The contents of the folder are displayed in the center panel.
    Tip: To access folders from which you previously ingested content, use the menu above the panel.
         Do the following based on your requirements:
    To view content as Thumbnails, click the Icon View button.
    To view content as a list, click the List View button.
    To quickly preview the contents of a movie clip, drag the cursor across the thumbnail. You can also click the thumbnail and use the playhead to scrub the movie. Alternatively, use the JKL keys to control playback of the selected thumbnail.
    To change the thumbnail size of movie clips in the panel, use the Zoom slide bar.

  • I keep getting a message saying, "Apple Mobile Device failed to start" Verify privileges".

    I couldn't open my itunes so after trying to do a fix that didn't work I uninstalled itunes then tried to install it again.  I get to the start service portion of the download and get the Device failed message.  I don't have a mobile device associated with itunes for this to even come up.  Can anyone help?

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • Apple Mobile Device Service has stopped working. Vista SP2, iTunes 10.5

    Hi there. I've been having an issue syncing my iPhone to iTunes. Here's a description of the problem:
    -With an up-to-date Apple Mobile Device Service, error windows constantly pop-up saying that it has stopped working. If I close the error window, another one pops up fifteen seconds later.
    -If I plug my iPhone into my computer, it is not recognized in iTunes, because Apple Mobile Device Service is not running.
    -This error does not occur on my desktop PC, so I have been able to sync my iPhone by loading all of my files onto a USB and transferring them onto it. However, I would much rather not.
    Here are the steps that I have taken:
    -Uninstalled and reinstalled iTunes 10.5 with firewall off
    -Individually uninstalled and reinstalled the Apple Mobile Device Service with firewall off
    -Stopped and Restarted the Apple Mobile Device Service in Administrative Tools -> Services
    -Extensively searched the internet for solutions
    -Replaced Apple Mobile Device Service for iTunes 10.5 with Apple Mobile Device Service for iTunes 10.1 (This worked PARTIALLY. The error windows have now stopped popping up altogether, but I cannot sync with iTunes because the Apple Mobile Device Service is out of date. It asks me to update it, I agree, and I get the Apple Mobile Device Service that spawns error windows and still does not allow me to sync my iPhone.)
    I am running Windows Vista SP2, and iTunes 10.5. My Internet Security suite is AVG Internet Security 2011. My iPhone is running iOS 5.0.0. Here is a full report of the error:
    Problem Event Name:    APPCRASH
    Application Name:    AppleMobileDeviceService.exe
    Application Version:    17.88.0.8
    Application Timestamp:    4e66ceff
    Fault Module Name:    kernel32.dll
    Fault Module Version:    6.0.6002.18449
    Fault Module Timestamp:    4da47967
    Exception Code:    c06d007e
    Exception Offset:    0003fc56
    OS Version:    6.0.6002.2.2.0.768.3
    Locale ID:    4105
    Additional Information 1:    599e
    Additional Information 2:    30e036b93244793a42096718411570bd
    Additional Information 3:    7229
    Additional Information 4:    80ac1a21efab121ee7fb685acd0c57bc
    Any ideas would be greatly appreciated. Thanks!

    Just a shot in the dark, but have you downloaded any program from Megaupload, like MegaKey?  If so then that is your problem. I had been having the exact same problem for the past 2 weeks. I couldn't figure out what it was and tried everything that you have.. Then was on a board and someone mentioned Megakey. Having tried everything else, I uninstalled the program and reinstalled the current ITunes and AMDS. My Ipad and Iphone connected with no problem.

Maybe you are looking for