Encrypting communication between an app that uses an ODBC/DSN (with ADODB) and SQL Server 2008 R2

I've been doing a lot of reading the last couple of days on how we can encrypt db communication between our product app and a customer's SQL Server db, but cannot make it work as expected. The app uses a ODBC/DSN to connect to the SQL Server db. I use this
ODBC app to setup the DSN (on a Windows 7 PC):
C:\Windows\SysWOW64\odbcad32.exe
The  DSNconnection uses the SQL Server driver 6.01.7601.17514 and has these properties:
- WinNT authentication.
- Client Config button: TCP/IP to <server-name>\<instance.-name>
- Change to default db: <name-of-app-db>
- Everything else is default setting.
SQL Server is on the same Windowns 7 PC and has a self-signed cert installed (used IIS to generate it) and has the Force Enryption set to "yes".
I have a test C# program that uses the ADODB 2.7.0.0 COM-wrapper, made by Visual Studio after adding a reference to the ADO 2.7 library version 6.1.7601.17857. The program creates an ADODB.Connection object that has a simple connection string: "DSN=<san-name>;UID=<user>;PWD=<password>". The
program then creates an ADODB.Recordset object and reads and displays a field from a table.
Works fine.
If I go into SQL Server and set Force Encryption to "no," clear the cert, restart the SQL service, and then re-run the program, it works fine.
Here's the kick. If I go into the DSN and select "Use strong encryption for data" the Test button on the DSN works—why does it work? The SQL Server is no longer encrypting the connection so an error should occur. If I run the test program, it works
as well—why? I can look at the connection properties in the test program and see that ADODB has added the ";Encrypt-yes" stuff to the end of the connection string. Yet that option seems to have no effect.
If I set the SQL instance back to Force Encryption:yes, enable the cert, restart the SQL service, and clear the DSN's "Use strong encryption for data" option, I can still connect to the db with the
test program—why?
What am I doing wrong? I need to be able to ensure that the communication between our app product and the SQL instance is encrypted, and that we get an error if the SQL instance does not support encrypted communications. We really don't want the customer
to have to enable Force Encryption because they have other db's on their SQL Server that do not use encrypted communication, but they want to know that our product's communication channel with the db is encrypted.
No, I can't change the app product's code at this point in time. I'm stuck with working with what a DSN called from ADODB has to offer.
Also, how can I be sure that communications are encrypted? I mean, I've tried things like "SELECT * FROM sys.dm_exec_connections" but that doesn't help because I have no idea how to tie the list of sessions shown back to my test program, although
I guess it's a good thing that some of the sessions listed show encrypt_option as TRUE.
-glenn-

Ah yes, very good point. It's easy to miss because you have to delete then recreate the DSN in order to change drivers. So I switched the DSN over to the SQL Native 11 driver.
Now when I try to connect to the SQL instance as <computer-name>\<instance-name>, and without a cert on the server, I get "the target principal name is incorrect". Perfect; now we're getting somewhere!
Change my DSN to use <fqdn>\<instance-name> and it works. This tells me that SQL Server has auto-generated a cert and named it <fqdn>. I would have expected the "cert fail" error, not a cert
name mismatch, because I'm not using Trust Server Cert.
So I load up my self-signed cert, and that works too.
I am still confused as to why I'm not seeing the "cert fail" error when I have no cert loaded on the SQL Server. I am not using Force Encryption on the server at all, so wouldn't expect SQL Server to auto-create a cert when an Encrypt=yes request comes in,
but apparently it does?
I also ran into a problem with this:
select c.session_id, c.encrypt_option, s.client_interface_name
from sys.dm_exec_connections c
join sys.sysprocesses s
  on c.session_id = s.session_id
where s.dbid = db_id('MyDatabase')
There is no s.client_interface_name, probably should be s.hostname. There's also no s.session_id. I thought maybe this should be s.sid, but then no rows ever come back. The c.session_id looks like 51 and 52, but the s.sid looks like a very long binary number,
so these two fields cannot be joined. I don't know how to convert the sid's properly so that the join would work. Ah wait, I just found the s.spid column; the join works when that column is used (I assume that's correct anyhow).
If I add a Thread.Sleep(30 seconds) to my C# program just before the connection is closed, this query shows me the session for the correct hostname has encrypt_option=TRUE.
And I have to keep my fingers crossed that all the app I/O will still work properly after
changing the driver. Probably a safe bet though.
Think I'm ready to throw in the towel on getting the "cert fail/no SSL" error to appear.
It does look like I am able to sufficiently show that the connection is encrypted when Encrypt=yes is used with the newer driver.
Thank for all the help!
-glenn-

Similar Messages

  • HSODBC connectivity between ORACLE 10g and SQL Server 2008 R2

    Hi,
    I'm getting below error when using the DB link between Oracle (10.2.0.2 which is on Sun Sparc) and MS Sql server 2008 R2.
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][Microsoft][ODBC Driver Manager] Data source
    name not found and no default driver specified (SQL State: IM002; SQL Code: 0)
    ORA-02063: preceding 2 lines from SCOPEX.WORLD
    My Config files:
    On Sun Sparc 5.9 where Oracle server is running.
    TelemetryDB1 =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=172.16.6.48)(PORT=1522))
    (CONNECT_DATA=(SID=TelemetryDB1))
    (HS=OK)
    Listener.ora file on Windows machine:
    TelemetryDB1 =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=172.16.6.48)(PORT=1522))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))
    SID_LIST_TelemetryDB1 =
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=TelemetryDB1)
    (ORACLE_HOME=C:\oracle\product\10.2.0\db_1)
    (PROGRAM=hsodbc)
    Tnsnames.ora file:
    TelemetryDB1 =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=172.16.6.48)(PORT=1522))
    (CONNECT_DATA=(SID=TelemetryDB1))
    (HS=OK)
    initTelemetryDB1.ora file under ORACLE_HOME\hs\admin\
    HS_FDS_CONNECT_INFO = TelemetryDB1
    HS_FDS_TRACE_LEVEL = OFF
    We have created DNS with TelemetryDB1.
    I'm getting the above error for DB links between Oracle 10.2 and SQL Server 2008 R2. But the same, when configured for MS SQL server 2000 works fine without any issues.
    Please advise me to rectify the error. We've been working for the last couple of weeks.
    Regards,
    Sunil

    Sunil,
    You don't need an Oracle ODBC driver.
    The way it works is that in the gateway init<sid>.ora file, in your case initTelemetryDB1.ora, the parameter HS_FDS_CONNECT_INFO points to a system DSN. This DSN should then be configured to use an ODBC driver to connect to the non-Oracle database. So, in your setup when you want to access the SQL*Server 2008 database then the DSN should use an ODBC driver that can connect to a SQL*Server 2008 database. If you still use the initTelemetryDB1.ora file for the connection then the TelemetryDB1 DSN should be configured to access the SQL*Server 2008 database.
    However, there are a couple of problems with your actual setup -
    - the configuration you have - 10.2 RDBMS on a Sun machine and HSODBC on Windows - is not supported. HSODBC should only be used from a RDBMS that is in the same ORACLE_HOME as HSODBC.
    - 10.2 HSODBC is now desupported and has been replaced by the 11g Database Gateway for ODBC (DG4ODBC) and the configuration you want is supported. That is because unlike HSODBC the DG4ODBC gateway can be installed standalone with a RDBMS being installed.
    I recommend that you download and install 11.20.2 DG4ODBC on your Windows machine in a new Oracle_home and access that from the 10.2 RDBMS on Sun - which is a supported configuration. But to do this, you will need to apply either the 10.2.0.4 or 10.2.0.5 patchset to your RDBMS.
    There is more information in the following note available on My Oracle Support (MOS) -
    Note.1083703.1 Master Note for Oracle Gateway Products
    The 11.2.0.2 DG4ODBC can be downloaded from MOS as patch and for the gateways on Windows 32-bit you just need to download -
    p10098816_112020_platform_4of6.zip
    However, to check the HSODBC ou need to confirm that the DSN used by HSODBC points to a System DSN configured to access SQL*Server 2008.
    Have a look at -
    Note 109730.1 How to setup generic connectivity (HSODBC) for Windows NT
    But remember this is not a supported version or configuration and you should be using Dg4ODBC.
    Regards,
    Mike

  • Can we use SSRS in sharepoint 2013 standard and sql server standard edition

    can we use SSRS in sharepoint 2013 standard and sql server standard edition
    MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

    Yes you can. You do lose some features:
    http://msdn.microsoft.com/en-us/library/cc645993.aspx#Reporting
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • I need to add a new report to the application that is done using visual studio and SSRS and SQL Server 2008

    I have an application that is done using SSRS on visual studio and it connects to the report server on SQL server 2008 environment.
    I've been changing the existing reports using visual studio 2008 and modifying the reports on the report server. How do I add a new report to the application ? I created a new report and deployed it on the report server but it didn't show up in the application.
    I can access the application source code on visual studio 2010 and TFS (Team Foundation). Thanks. 

    Hi,
    I have a question. This application retrieves SSRS reports from the report sever. When I download the reports
    from the SQL Server I can open them in visual studio 2008 but they don't open in visual studio 2010. I can access the application files on visual studio 2010 and team foundation server 2010. I was unable to open team foundation server 2008 on visual studio
    2008. The issue is that I am unable to add a report with a new name to the application. I use visual studio 2008 to deploy the reports on the report server but it has to be the same name to be able to run the report from the application. I can deploy any report
    on the report server but I can't access it from the application unless it has to be the same name as the present reports. If I keep the report the same name then it will replace the old report and the new report will run from the application. But only if it's
     the same name. I guess when I add a new report to the application with a new name I am supposed to add a definition in the application C sharp files  on visual studio 2010 so that the new report will show in the application. What's your opinion
    ? I have attached 2 images of the application and team foundation server 2010 and the report server.
    Thanks. 

  • ORA-28545 Between ORACLE 10G and SQL SERVER 2008

    Hi All,
    i'am doing heterogeneous connectivity as oracle 10G (Unbreakable linux4) to sql server (SQL SERVER 2008)
    The DSN and the connections works ok (FreeTDS and UniXODBC).
    I create the dblink
              create database link inforpyme connect to "sa" identified by " " using 'INFORPYME';
    and when I do select * from "sysobjects"@inforpyme I get the next error:
    ORA-28545: error diagnosticado por Net8 al conectar a un agente
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: 2 lines precediendo a INFORPYME
    This is my listener:
    IBK =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.1)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY=PNPKEY))
    SID_LIST_IBK =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = ibk)
    (ORACLE_HOME = /App/oracle/ora10g2)
    (SID_NAME = ibk)
    (SID_DESC=
    (SID_NAME=inforpyme)
    (ORACLE_HOME=/App/oracle/ora10g2)
    (PROGRAM=hsodbc)
    My tnsnames:
    INFORPYME =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME=inforpyme))(HS=OK)
    The TNSping gets
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.1)(PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME=inforpyme))(HS=OK))
    OK (0 msec)
    and the initINFORPYME.ora:
    HS_FDS_CONNECT_INFO = inforpyme
    HS_FDS_TRACE_LEVEL = debug
    HS_FDS_TRACE_FILE_NAME = /tmp/freetds.trc
    HS_FDS_SHAREABLE_NAME = /usr/local/lib/libtdsodbc.so
    # ODBC specific environment variables
    set ODBCINI=/usr/local/etc/odbc.ini
    Anybody may help me? Thanks

    Sorry i think has been a misunderstanding
    this is my /App/oracle/ora10g2/network/admin/listener.ora
    IBK =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.1)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY=PNPKEY))
    SID_LIST_IBK =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = ibk)
    (ORACLE_HOME = /App/oracle/ora10g2)
    (SID_NAME = ibk)
    (SID_DESC=
    (SID_NAME=inforpyme)
    (ORACLE_HOME=/App/oracle/ora10g2)
    (PROGRAM=hsodbc)
    I stop a start and this is the status
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 25-SEP-2012 13:18:30
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 25-SEP-2012 13:16:40
    Uptime 0 days 0 hr. 1 min. 49 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /App/oracle/ora10g2/network/admin/listener.ora
    Listener Log File /App/oracle/ora10g2/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ovm1ora.drvsa.com)(PORT=1521)))
    Services Summary...
    Service "ibk" has 1 instance(s).
    Instance "ibk", status READY, has 1 handler(s) for this service...
    Service "ibkXDB" has 1 instance(s).
    Instance "ibk", status READY, has 1 handler(s) for this service...
    Service "ibk_XPT" has 1 instance(s).
    Instance "ibk", status READY, has 1 handler(s) for this service...
    The command completed successfully
    i don'nt know why doesn't appears the service inforpyme, this it normal?

  • Use dynamic ORDER BY with DISTINCT in SQL SERVER

    DECLARE @OrderBy VARCHAR(100)
    SET @OrderBy='DealerCode ASC'
    SELECT DISTINCT TOP (10)    
        d.Id, d.DealerCode,d.AffiliationCode,d.LegalName,d.ShipperCode,d.PrimaryUserId,d.PrimaryContactId,d.Zip,              
        d.Address1,d.Address2,d.IsActive,u.IsActive,d.City,d.[State],c.Name,u.UserName,d.RegistrationIntiatedDate,
        d.RegistrationCompletedDate,              
        rs.[Description],u.EntityId,dbo.fnGetCheckHours(d.Id)               
        FROM Dealer d              
        LEFT JOIN [User] u ON d.PrimaryUserId=u.Id              
        LEFT JOIN RegistrationSource rs ON d.RegistrationSourceId=rs.Id              
        LEFT JOIN Country c ON d.CountryId=c.id              
        LEFT JOIN ShippingNote sn ON d.Id=sn.DestinationId              
        LEFT JOIN Yard y ON sn.YardID=y.Code              
        LEFT JOIN Terminal t ON y.TerminalId=t.Id                
        WHERE t.Id='9a77168f-e5b6-4dd0-b26e-f95249c8e189' AND sn.destinationtype='Dealer'
        ORDER BY +'d.'+@OrderBy
    But I am getting below error:
    Msg 145, Level 15, State 1, Line 4
    ORDER BY items must appear in the select list if SELECT DISTINCT is specified.
    I am also using CASE but again I got above error
    Please suggest.
    I Waiting for your valuable response.
        

    Hey Naunihal Maurya,
    Appropriate forum for your question is called
    "Transact-SQL"
    link for this forrum:
    http://social.technet.microsoft.com/Forums/en-us/home?forum=transactsql&filter=alltypes&sort=lastpostdesc
    Please Mark This As Answer if it helps to solve the issue
    Tzuri Ben Ezra | My Certifications:
    CompTIA A+ ,Microsoft MCP, MCTS, MCSA, MCITP
    |
    FaceBook: Tzuri FaceBook | vCard:
    Tzuri vCard | 
    Microsoft ID:
    Microsoft Transcript 
     |

  • VS 2013 Community and SQL Server Express 2005

    Not sure if I'm in the right forum, but I'll give it a shot.   I have a laptop with Vista and SQL Server Express 2005.  I created a db on it and put a lot of time into it. But now the laptop is dieing.  I am wanting to use the db with VS 2013
    Community.  
    I plan to upload the db files to OneDrive from the Vista laptop and then download them to my new laptop that has VS on it.  Will it work?  Is it practical?  Should I go with SQL Express 2008 or higher?
    I'm just learning VS and not sure what to do.  Any help will be appreciated.  Thanks.
    Bill

    Thanks for pvdg42’s help.
    Hi Bill,
    It seems that you have resolved certain issues, you know that one thread for one issue, so for the new issue, it would be better if you could post them in new threads.
    >>The ProgramFiles folder has a folder Microsoft Visual Studio 12.0.  The ProgramFiles(x86) has a VS 11.0 ands VS 12.0 folder.  I did not know this when I downloaded 2013CE.
    It would be related to your windows version 32 bit or 64 bit, for example, the 64 bit version windwos 8.1 in my side, it would setup in this path default:
    C:\Program Files (x86)\Microsoft Visual Studio 12.0
    In addition, my understanding the latest issue “The tables not show in object explorer window” would be related to the database upgraded from the old SQL Server version to the high version. So it would be not the VS IDE issue.
    Of course, if you add a new table in this database, how about the result?
    If you connect to the previous database in this high version, how about the result if you add a table?
    I think if it would works well when  you add a new table in other database of high version in VS2013, it means that it is not the VS IDE issue, the real issue would be related to your previous database.
    My suggestion is that you could post this issue to the SQL Server forum since it is related to the database migration.
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?category=sqlserver
    Sincerely,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Difference between database features - SQL Server 2008 R2 navtive vs SQL Server 2012 with SQL Server 2008 compatibility set?

    I am investigating the impact of upgrading from SQL Server 2008 R2 to SQL Server 2012. To reduce the impact of the upgrade, I am planning to restore / create our application database onto SQL Server 2012 with compatibility level 100 (SQL Server 2008 and
    SQL Server 2008 R2).
    Are there any differences in feature support for database running in native mode on SQL Server 2008 R2 vs a database installed on SQL Server 2012 with compatibility level 100 set?

    Are there any differences in feature support for database running in native mode on SQL Server 2008 R2 vs a database installed on SQL Server 2012 with compatibility level 100 set?
    Yes there can be difference and impact there are few features deprecated in SQL Server 2012 you must be aware about that. Please see
    Deprecated Database Features in SQL Server 2012
    Deprecated SQL Server features in SQL Server 2012
    After you migrate database to 2012 please don't move ahead with production unless you have tested your application to new created database
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Developing database views between Oracle and SQL Server tables

    I am on Oracle 10.2, my organization has many SQL Server databases as well and has now made
    SQL server as company standard so many new databases will be developed in SQL Server. It is of course
    not possible to convert all Oracle databases to SQL Server, so a mix environment will exist. Two questions:
    1.     Is it possible to develop database views in Oracle (10g in my case) which join Oracle tables with tables in SQL Server 2008? If yes, how. I have seen some heterogeneous connectivity setup to connect SQL Server to Oracle, but not sure whether it is possible to develop a database view across two databases.
    2.     I know it is not a SQL Server forum, but many DBA’s know both Oracle and SQL Server. Is it possible to develop views in SQL Server (SQL Server 2008 R2 in my case) which join Oracle 10g and SQL Server 2008 tables? I know in SQL Server, there is way to set up linked servers, but do not know whether it is possible to develop views.
    Thanks a lot for your insight.

    You can create views that join local Oracle tables and remote SQL Server tables. I'm pretty sure you can do the reverse as well but I haven't personally done it.
    However, I would be very concerned about the performance you'd get if you created that sort of view. You'd very frequently end up in a situation where Oracle has to pull all the data in the remote table across the database link in order to apply predicates and join the data locally. That could be disastrous from a performance standpoint.
    Justin

  • Logging with log4j in a Web app that uses TopLink

    The deployment engineer in my company is reporting problems with our first Web app that uses both log4j and TopLink. Apparently TopLink is failing to initialize correctly when log4j-1.2.8.jar is deployed to the WEB-INF/classes directory within the Web app.
    I know that 9iAS's Enterprise Manager uses an older version of log4j and I wonder if TopLink uses an older version too.
    Are there any known problems when using log4j 1.2.8 with TopLink 9.0.3?
    Thanks,
    Al Margheim

    Unfortunately, when I asked the deployment engineer for more information on the problem, he couldn't provide any, and since he moved the log4j library out of the application's WEB-INF\classes directory he can't reproduce the problem (whatever it was).
    Based on a variety of factors (including your response) I suspect that the people who encountered the problem misinterpreted the cause.
    If I can get him to put the log4j library back in WEB-INF\classes and get more specific information about the problem, and it still looks like a conflict between TopLink and log4j, I'll post the errors here.
    Thanks,
    Al Margheim

  • My iPhone 4s notified me that I had to manage my storage  so I deleted  apps that used a lot of space I deleted almost all my picture and it still keeps telling me  I don't have enough storage  is there any other way I can make room on my phone ?

    My iPhone 4s notified me that I had to manage my storage  so I deleted  apps that used a lot of space I deleted almost all my picture and it still keeps telling me  I don't have enough storage  is there any other way I can make room on my phone ?  Were it shows how much storage  I have available it still says 9.9 even after all that I have done so I don't know if I need to change my storage plan or what but anything will help I guess

    Check for 'others' in iTunes against your iPhone.
    Restore from a previous backup to reclaim some of it.
    Still want more, Restore in iTunes, setup as New.

  • My ipod 5th gen says it is connected to the internet and i can go on apps that require an internet connection but whe i try to use the weather or another app that uses your current location it cant find me???

    My ipod 5th gen says it is connected to the internet and i can go on apps that require an internet connection but whe i try to use the weather or another app that uses your current location it cant find me???

    If you open the Maps app where does that say you are located?
    For location the iPod uses the location of nearby routers that are in Apple's database of routers and their location. Thus it appears that Apple's database is incorrect. You do not have to be connected to the router, just within range.
    Apple periodically updates their database based on information they obtain from iPhones, The iPhone has to have turned on the option to send info to Apple. no one has found another way to get the location of a router added/corrected.
    You can confirm that by going to well-know place with wifi like Starbucks or McDonalds                              

  • I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build.  The same call works fine when running on the device

    I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build. The same call works fine when running on the device (iPhone) using debug build. When running with a release build, the result handler is never called (nor is the fault handler called). Viewing the BlazeDS logs in debug mode, the call is received and send back with data. I've narrowed it down to what seems to be a data size issue.
    I have targeted one specific data call that returns in the String value a string length of 44kb, which fails in the release build (result or fault handler never called), but the result handler is called as expected in debug build. When I do not populate the String value (in server side Java code) on the object (just set it empty string), the result handler is then called, and the object is returned (release build).
    The custom object being returned in the call is a very a simple object, with getters/setters for simple types boolean, int, String, and one org.23c.dom.Document type. This same object type is used on other other RemoteObject calls (different data) and works fine (release and debug builds). I originally was returning as a Document, but, just to make sure this wasn't the problem, changed the value to be returned to a String, just to rule out XML/Dom issues in serialization.
    I don't understand 1) why the release build vs. debug build behavior is different for a RemoteObject call, 2) why the calls work in debug build when sending over a somewhat large (but, not unreasonable) amount of data in a String object, but not in release build.
    I have't tried to find out exactly where the failure point in size is, but, not sure that's even relevant, since 44kb isn't an unreasonable size to expect.
    By turning on the Debug mode in BlazeDS, I can see the object and it's attributes being serialized and everything looks good there. The calls are received and processed appropriately in BlazeDS for both debug and release build testing.
    Anyone have an idea on other things to try to debug/resolve this?
    Platform testing is BlazeDS 4, Flashbuilder 4.7, Websphere 8 server, iPhone (iOS 7.1.2). Tried using multiple Flex SDK's 4.12 to the latest 4.13, with no change in behavior.
    Thanks!

    After a week's worth of debugging, I found the issue.
    The Java type returned from the call was defined as ArrayList.  Changing it to List resolved the problem.
    I'm not sure why ArrayList isn't a valid return type, I've been looking at the Adobe docs, and still can't see why this isn't valid.  And, why it works in Debug mode and not in Release build is even stranger.  Maybe someone can shed some light on the logic here to me.

  • 3g drops every time i access an app that uses internet

    I have a verizon iphone 4, every time i access e-mail, safari browser, twitter, pretty much any app that uses internet 3g seems to just cut out. It comes back pretty much as soon as i quit whatever app i try to use but i cant get anything requireing internet to work unless i connect to wifi, any help would be much appreciated.

    sorry, I misunderstood your question somehow. I thought you were asking about the confirmation screen (not requiring a password) that you get when you first run an application that you got off internet.
    You can't get rid of the password prompts when you install things that require system changes. and that's a very good thing IMO. But you should be able to install most apps without a password if you are using an admin account. only apps that use installers and change some system files require passwords. apps installed by a drag and drop into /Applications don't.
    Message was edited by: V.K.

  • I am a teacher that uses the iPad in the classroom.  I have an itunes account setup for my classroom without a credit card listed. Is there anyway for me to purchase apps to use in the classroom with a Purchase Order?

    I am a teacher that uses the iPad in the classroom.  I have an itunes account setup for my classroom without a credit card listed. Is there anyway for me to purchase apps to use in the classroom with a Purchase Order?

    (Being sarcastic - its because only the US is big or important enough to warrant volume licensing....)
    At this time, until Apple decides to release volume licensing structures outside of the US the only solution would be to use your purchase orders with a company that sells the iTunes Vouchers and redeem those.
    However - even then its hard to stay on the right side of the EULA when the terms are all couched in reference to "Personal Use"
    I have spoken to some developers in the past about educational discounts, or even support for proxies, and wasn't really impressed with their answers.   But hey - even Adobe has trouble with proxies and consistent approaches - we can't expect independent developers to be able to match the same capabilities...

Maybe you are looking for