Error while linked server is used to verify the existence of a table

Hi All,
Pls help me solve an issue related to linked Server..
Following is my query:
IF EXISTS (select 1 from [LinkedServerName].Sales.sys.tables where name = 'SalesTable') 
BEGIN
 DECLARE @LastSales varchar(25) 
 SET @LastSales = (select CONVERT(VARCHAR(25),max(LastSalesTime)) from [LinkedServerName].SalesDB.dbo.SalesTable)
END
What should happen is, it should check the existence of SalesTable on Linked Server (select 1 from [LinkedServer].Sales.sys.tables where name = 'SalesTable'), and only after the it returns 1, the variable @LastSales should be alloted a value.
But in my case, as soon as I run the code, it gives the error:
The OLE DB provider "SQLNCLI10" for linked server "LinkedServerName" does not contain the table ""Sales"."dbo"."SalesTable"". 
The table either does not exist or the current user does not have permissions on that table.
My question is that if the condition fails at the very outset returning null (as the table does not exist), then why it is entering BEGIN and throwing the error.
All your valuable inputs are appreciated !!

Inconsistency is the hailmark of SQL Server.
If you say:
IF EXISTS (select 1 from Sales.sys.tables where name = 'SalesTable') 
BEGIN
 DECLARE @LastSales varchar(25) 
 SET @LastSales = (select CONVERT(VARCHAR(25),max(LastSalesTime)) from        SalesDB.dbo.SalesTable)
END
This will work as you expect. That is, if the table does not exist, the batch will parse and produce no result. This is because SQL Server has deferred name resolution for tables. If a table is missing at compile time, SQL Server suppresses the error in
hope that the table will be there at run-time.
But there is an exception to this. For table sources on remote data sources, there is no deferred name resolution, but the table has to be there at compile time. This is quite ironic. Personally, I think deferred name resolution (which was introduced in
SQL 7) is a big misfeature, but I could buy if there was deferred name resolution for objects on linked server, since the server may be down, and you have coded for this like you have above. Well, if the server is down, the IF EXISTS will fail to compile to.
You will need to introduce a new scope somewhere to avoid the problem. For instance:
IF EXISTS (select 1 from [LinkedServerName].Sales.sys.tables where name = 'SalesTable') 
BEGIN
   DECLARE @LastSales varchar(25) 
   EXEC [Linkedservername].SalesDB.sys.sp_executesql
        N'SET @LastSales = (select CONVERT(VARCHAR(25),max(LastSalesTime)) from SalesTable)',
        N'@LastSales varchar(25) OUTPUT', @LastSales
END
Erland Sommarskog, SQL Server MVP, [email protected]

Similar Messages

  • Time Machine fails with "error while linking files on the backup volume"

    One of my drives was nearly full. I moved some folders from that drive to one that had more space.
    The next TM backup failed with "error while linking files on the backup volume". A full backup is about 620 GB, although this backup shouldn't have been a complete one. There was 570+ GB free on the drive.
    A Disk Verify reported "Drive appears to be okay." Earlier TM backups appeared to be fine (at least accessible). I swapped the TM drive for another, initialized it, and TM used that drive with no complaints.
    What does the message mean?
    Thanks,
    harv47

    Pondini wrote:
    harv47 wrote:
    The Time Machine Buddy widget shows no messages. None of the buttons do anything.
    What am I doing wrong?
    See #A1 in the Time Machine - Troubleshooting *User Tip,* also at the top of this forum.
    Your user account may not have permission to see the logs.
    The sentence beginning "If the message area is blank ..." shows how to figure out if that's the problem, and how to fix it.
    Post back if it's not clear, or doesn't work.
    The Tip had the answer. It was permissions.
    What follow are the messages for the last unsuccessful TM backup (on v.3), followed by
    the successful TM backup on the replacement drive (v.1). The line
    "Copied 11 files (0 bytes) from volume Bay 3 HPFS+." was odd.
    Starting standard backup
    Backing up to: /Volumes/Time Machine v.3/Backups.backupdb
    Event store UUIDs don't match for volume: Bay 3 HPFS+
    Event store UUIDs don't match for volume: Macintosh HD
    Node requires deep traversal:/Volumes/Bay 3 HPFS+ reason:kFSEDBEventFlagMustScanSubDirs|
    Node requires deep traversal:/ reason:kFSEDBEventFlagMustSc
    (Finished May 4, 2010 9:31:21 AM-- Status unknown)
    Starting standard backup
    Backing up to: /Volumes/TimeMachine v.1/Backups.backupdb
    Event store UUIDs don't match for volume: Bay 3 HPFS+
    Event store UUIDs don't match for volume: Bay 2 HPFS+
    Event store UUIDs don't match for volume: Macintosh HD
    Backup content size: 169.1 GB excluded items size: 0 bytes for volume Bay 3 HPFS+
    Backup content size: 305.5 GB excluded items size: 0 bytes for volume Bay 2 HPFS+
    Backup content size: 145.7 GB excluded items size: 7.5 MB for volume Macintosh HD
    No pre-backup thinning needed: 744.36 GB requested (including padding), 931.15 GB available
    Waiting for index to be ready (909 > 0)
    Copied 1951 files (169.0 GB) from volume Bay 3 HPFS+.
    Copied 4999 files (474.3 GB) from volume Bay 2 HPFS+.
    Copied 410304 files (612.4 GB) from volume Macintosh HD.
    No pre-backup thinning needed: 712.2 MB requested (including padding), 315.09 GB available
    Copied 11 files (0 bytes) from volume Bay 3 HPFS+.
    Copied 20 files (1.1 GB) from volume Bay 2 HPFS+.
    Copied 1103 files (1.1 GB) from volume Macintosh HD.
    Starting post-backup thinning
    No post-back up thinning needed: no expired backups exist
    Backup completed successfully.
    (Finished May 4, 2010 2:38:17 PM)
    I hope this is useful. Thanks for your help.
    harv47

  • HT4864 I am getting a triangle with an exclamation point next to my inbox...it says: There may be a problem with the mail server or network. Verify the settings for account "MobileMe" or try again.  The server returned the error: Mail was unable to log in

    I can send but cannot recieve email
    This is the messege I am gewtting:
    There may be a problem with the mail server or network. Verify the settings for account “MobileMe” or try again.
    The server returned the error: Mail was unable to log in to the IMAP server “p02-imap.mail.me.com” using “Password” authentication. Verify that your account settings are correct.
    The server returned the error: Service temporarily unavailable

    Also if I go to system preferences accounts and re-enter the password it fixes the glitch sometimes.

  • Error while creating resource group using non-globalzones.

    Dear all,
    Hi techs please guide me how to create failover resource group in nongloablzones.
    I'm getting error while creating resource group using non-globalzones.
    My setup:
    I have two node cluster running sun cluster 3.2 configured and running properly.
    node1: sun5
    nide2: sun8
    I have create non-globalzone "zone1" in node:sun5
    I have create non-globalzone "zone2" in node:sun8
    node:sun5# clrg create -n sun5:zone1,sun8:zone2 zonerg
    *(C160082) WARNING: one or more zones in the node list have never been fully booted in the cluster mode,verify that correct zone name was entered.*
    kindly guide me how to create Apache resource group using non-glabalzones, i'm new to sun cluster 3.2. please guide me step by step information.
    Thanks in advance,
    veera
    Edited by: veeraa on Dec 19, 2008 1:54 AM

    Hi Veera,
    Actually you are getting a warning message where one of two things could have happened. Either you specified an incorrect zone name or one of the zones has not been fully booted. It's likely that you haven't booted the zones, so please follow this:
    zoneadm list -iv
    If zone1 or zone2 are not running then boot and configure them
    zoneadm -z <zone> boot
    zlogin -C <zone>
    After that you can continue to follow the step by step instructions at
    http://docs.sun.com/app/docs/doc/819-2975/chddadaa?a=view
    These may also help
    http://blogs.sun.com/Jacky/entry/a_simple_expample_about_how
    http://blogs.sun.com/SC/en_US/entry/sun_cluster_and_solaris_zones
    Regards
    Neil

  • Unknown site error while deploying web services using OC4J

    Hi,
    I have been testing the deploying webservices examples using demo.zip on OTN site.
    I have trouble in binding the web application name to stand alone OC4J.
    I am running stand alone OC4J server fine. I verified the website http://localhost:8888, which is running fine.
    If I issue the command
    java -jar admin.jar ormi://localhost:23791 admin password1 -bindwebapp demo_ejb_web_service HelloService_web http://localhost:8888/ sejb_webservices
    I get error
    oracle.oc4j.admin.internal.DeployerException: Unknown site: http://localhost:8888/
    What is the http-web-site address that needs to be given for binding web app, if I am running local standalone OC4J with no default port changes?
    Thanks,
    Mohan

    Eric,
    Thanks for the response. But, still I am not able to bind web-application to OC4J.
    Here is how my server.xml has defined the web-site tag:
    <web-site default="true" path="./http-web-site.xml" />
    My http-web-site.xml has following web-site tag:
    <web-site port="8888" display-name="OC4J 10g (10.0.2) HTTP Web Site">
    <default-web-app application="default" name="defaultWebApp"/>
    <web-app application="default" name="dms0" root="/dms0" access-log="false" />
    <web-app application="default" name="dms0" root="/dmsoc4j" access-log="false" />
    <web-app application="default" name="admin_web" root="/adminoc4j"/>
    <access-log path="../log/http-web-access.log"/>
    </web-site>
    I used the following command to bind the example web service:
    java -jar c:\XtendTools\oc4j\j2ee\home\admin.jar ormi://localhost admin password1 -bindWebApp demo_ejb_service HelloService_web default-web-site /sejb_services
    I get "oracle.oc4j.admin.internal.DeployerException: Unknown site: default-web-site" error.
    I tried to use following names as http-web-site, but nothing works.
    "http://localhost:8888"
    "dms0"
    "adminoc4j"
    I downloaded stand alone OC4J 10.1.2 from OTN and tried these samples.
    Your help will be appreciated.
    Thanks,
    Mohan

  • ORA-12560: TNS: protocol adapter error while linking tables in Access

    One of my app dev is encountering an interesting error message while linking Oracle tables from Access. I am not able to able to reproduce this in my desktop or anywhere else. Details enclosed. Can you guys point me to a solution? Thanks in advance!
    ODBC: Oracle Client version 10.2.0.1
    Desktop : Win XP ; Access 2003
    =>Able to login to the Oracle database sucessfully using sqlplus.
    =>Able to create an ODBC datasource to Oracle database.("Test Connection" works fine)
    =>But encountering the TNS protocol adpater error while linking the table(Access->File->Get External Data-> Link tables).
    =>Not able to link any table in any schema in any Oracle database. Hence this is not a data centric issue.
    What did I do?
    => Uninstalled Oracle 8 client and installed Oracle 10 client. No luck. Encountering the same error.
    => Turned on the ODBC trace and reproduced the error. The log is enclosed:
    MSACCESS 79c-ed4     ENTER SQLAllocEnv
              HENV * 0013C620
    MSACCESS 79c-ed4     EXIT SQLAllocEnv with return code 0 (SQL_SUCCESS)
              HENV * 0x0013C620 ( 0x09d31788)
    MSACCESS 79c-ed4     ENTER SQLAllocConnect
              HENV 09D31788
              HDBC * 0013C730
    MSACCESS 79c-ed4     EXIT SQLAllocConnect with return code 0 (SQL_SUCCESS)
              HENV 09D31788
              HDBC * 0x0013C730 ( 0x09d31830)
    MSACCESS 79c-ed4     ENTER SQLSetConnectOption
              HDBC 09D31830
              SQLINTEGER 103 <SQL_LOGIN_TIMEOUT>
              SQLPOINTER 0x00000014
    MSACCESS 79c-ed4     EXIT SQLSetConnectOption with return code 0 (SQL_SUCCESS)
              HDBC 09D31830
              SQLINTEGER 103 <SQL_LOGIN_TIMEOUT>
              SQLPOINTER 0x00000014 (BADMEM)
    MSACCESS 79c-ed4     ENTER SQLSetConnectAttrW
              SQLHDBC 09D31830
              SQLINTEGER 30002 <unknown>
              SQLPOINTER [Unknown attribute 30002]
              SQLINTEGER -3
    MSACCESS 79c-ed4     EXIT SQLSetConnectAttrW with return code 0 (SQL_SUCCESS)
              SQLHDBC 09D31830
              SQLINTEGER 30002 <unknown>
              SQLPOINTER [Unknown attribute 30002]
              SQLINTEGER -3
    MSACCESS 79c-ed4     ENTER SQLDriverConnectW
              HDBC 09D31830
              HWND 001D04E4
              WCHAR * 0x74329A38 [      -3] "******\ 0"
              SWORD -3
              WCHAR * 0x74329A38
              SWORD 2
              SWORD * 0x00000000
              UWORD 1 <SQL_DRIVER_COMPLETE>
    MSACCESS 79c-ed4     EXIT SQLDriverConnectW with return code -1 (SQL_ERROR)
              HDBC 09D31830
              HWND 001D04E4
              WCHAR * 0x74329A38 [      -3] "******\ 0"
              SWORD -3
              WCHAR * 0x74329A38
              SWORD 2
              SWORD * 0x00000000
              UWORD 1 <SQL_DRIVER_COMPLETE>
              DIAG [S1000] [Oracle][ODBC][Ora]ORA-12560: TNS: protocol adapter error (12560)
              DIAG [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed (0)
              DIAG [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed (0)
    MSACCESS 79c-ed4     ENTER SQLErrorW
              HENV 09D31788
              HDBC 09D31830
              HSTMT 00000000
              WCHAR * 0x0013C5EC (NYI)
              SDWORD * 0x0013C638
              WCHAR * 0x047EE8B8
              SWORD 4095
              SWORD * 0x0013C624
    MSACCESS 79c-ed4     EXIT SQLErrorW with return code 0 (SQL_SUCCESS)
              HENV 09D31788
              HDBC 09D31830
              HSTMT 00000000
              WCHAR * 0x0013C5EC (NYI)
              SDWORD * 0x0013C638 (12560)
              WCHAR * 0x047EE8B8 [     126] "[Oracle][ODBC][Ora]ORA-12560: TNS: protocol adapter error\ a\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0"
              SWORD 4095
              SWORD * 0x0013C624 (126)
    MSACCESS 79c-ed4     ENTER SQLErrorW
              HENV 09D31788
              HDBC 09D31830
              HSTMT 00000000
              WCHAR * 0x0013C5EC (NYI)
              SDWORD * 0x0013C638
              WCHAR * 0x047EE950
              SWORD 4019
              SWORD * 0x0013C624
    MSACCESS 79c-ed4     EXIT SQLErrorW with return code 0 (SQL_SUCCESS)
              HENV 09D31788
              HDBC 09D31830
              HSTMT 00000000
              WCHAR * 0x0013C5EC (NYI)
              SDWORD * 0x0013C638 (0)
              WCHAR * 0x047EE950 [      66] "[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed"
              SWORD 4019
              SWORD * 0x0013C624 (66)
    MSACCESS 79c-ed4     ENTER SQLErrorW
              HENV 09D31788
              HDBC 09D31830
              HSTMT 00000000
              WCHAR * 0x0013C5EC (NYI)
              SDWORD * 0x0013C638
              WCHAR * 0x047EE9E6
              SWORD 3944
              SWORD * 0x0013C624
    MSACCESS 79c-ed4     EXIT SQLErrorW with return code 0 (SQL_SUCCESS)
              HENV 09D31788
              HDBC 09D31830
              HSTMT 00000000
              WCHAR * 0x0013C5EC (NYI)
              SDWORD * 0x0013C638 (0)
              WCHAR * 0x047EE9E6 [      66] "[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed"
              SWORD 3944
              SWORD * 0x0013C624 (66)
    MSACCESS 79c-ed4     ENTER SQLErrorW
              HENV 09D31788
              HDBC 09D31830
              HSTMT 00000000
              WCHAR * 0x0013C5EC (NYI)
              SDWORD * 0x0013C638
              WCHAR * 0x047EEA7C
              SWORD 3869
              SWORD * 0x0013C624
    MSACCESS 79c-ed4     EXIT SQLErrorW with return code 100 (SQL_NO_DATA_FOUND)
              HENV 09D31788
              HDBC 09D31830
              HSTMT 00000000
              WCHAR * 0x0013C5EC (NYI)
              SDWORD * 0x0013C638
              WCHAR * 0x047EEA7C
              SWORD 3869
              SWORD * 0x0013C624
    MSACCESS 79c-ed4     ENTER SQLFreeConnect
              HDBC 09D31830
    MSACCESS 79c-ed4     EXIT SQLFreeConnect with return code 0 (SQL_SUCCESS)
              HDBC 09D31830
    Edited by: user5598619 on Feb 10, 2009 5:37 PM

    Thanks a lot for your quick reply.
    I've read all the posts mentioned (quite a few more) but I couldn't find any suggested solution to the "non-oracle10g"-problem other than using the global db name instead of the sid - which didn't help in our case:
    However, in a last desperate attempt to solve the problem on my own before launching another cry-for-help-post I did try running the configuration assistant using the correct password for the SYS user 8-} and - strange but true - it did work :-)
    Needless to say: I used the global db name of course, so I can't say what would have happened without it, but I trust your hint was a legitimate one.
    Anyway - I gues that error Message concerning a "non-oracle10g database" was slightly misleading in this case.... grrrr.
    Andreas

  • Error while raising a invoice using VF01

    Hi,
    I am getting an error while raising a invoice using VF01.
    Error as follows
    RV_MESSAGE_UPDATE
    Update was terminated
    System ID....   TIP
    Client.......   300
    User.....   user1
    Transaction..   VF01
    Update key...   E66E6454075548D8922BAC091E81F0CB
    Generated....   18.07.2007, 18:57:38
    Completed....   18.07.2007, 18:57:38
    Error info...   TD 443: WRITE_FORM
    Pls help
    Points will be rewarded.
    Thanks

    Hi,
    This is an ABAP short dump. If you go through the error log, there will be a section where in you can see > What caused the problem.
    Try to analyze this log and you can find a solution. Probably, you can also check whether there is any OSS note with this error message.
    Thanks
    Murali.

  • Error while posting initial quantities using stocktaking template of DTW

    Hi All,
    I am getting this below error while posting initial quantities using stocktaking template of DTW.
    Can not find this object in B1Application-defined or object-defined error65171
    I am using B1 8.8 PL10 version. Below is my sample txt file data
    ItemCode WarehouseCode Counted
    ItemCode WarehouseCode Counted
    CHA0002 1 500
    CHA0076 1 4000
    Any help is appreciated.
    Regards,
    Noor Hussain

    Hi Gordon,
    Thanks a lot for your time. I am able to post the quantities. Now please let me know how to update the item cost/price for these items using DTW ?
    Regards,
    Noor Hussain

  • HTTP error while downloading solaris patches using wget

    Hello,
    I am getting a HTTP error while downloading solaris patches using wget.
    'Downloading unsigned patch 113096-03.
    --2010-06-18 03:51:15-- http://sunsolve.sun.com/pdownload.pl?target=113096-03&method=h
    Resolving sunsolve.sun.com (sunsolve.sun.com)... 192.18.108.40
    Connecting to sunsolve.sun.com (sunsolve.sun.com)|192.18.108.40|:80... connected.
    HTTP request sent, awaiting response... 302 Moved Temporarily
    Location: http://sunsolve.sun.com/pdownload.do?target=113096-03&method=h [following]
    --2010-06-18 03:51:15-- http://sunsolve.sun.com/pdownload.do?target=113096-03&method=h
    Reusing existing connection to sunsolve.sun.com:80.
    HTTP request sent, awaiting response... 401 Unauthorized
    Unknown authentication scheme.
    Authorization failed.
    Problem downloading 113096-03.
    What am i missing here... The credentials to login to sunsolve are correct and are updated in the downloadpatch.sh script.
    Please assist
    Thanks
    Sunny

    Try download via browser url:
    [http://sunsolve.sun.com/pdownload.pl?target=113096-03&method=h]
    You need a valid support contract not just Sunsolve account for many patches.

  • Sync encountered an error while connecting: Server incorrectly configured

    I have started getting the following message for some reason. No one has been able to answer it on the user forums. Can you help please? "Sync encountered an error while connecting: Server incorrectly configured. Please try again"

    same thing, started today. i have pasted my sync-log here. my username has been changed from my real username to "username". i noticed the URL in the log. nslookup returns Non-authoritative answer:
    Name: sync-rr.phx.services.mozilla.com
    Addresses: 63.245.217.208
    63.245.217.207
    Aliases: phx-sync038.services.mozilla.com and i am able to surf to the page. it asks me for a username and password, in which i put my sync username & password. it seems to take the login/pass just fine but no page is served - it just sits on loading forever.
    1309215660360 Service.Main INFO Loading Weave 1.8.0
    1309215660371 Engine.Bookmarks DEBUG Engine initialized
    1309215660372 Engine.Forms DEBUG Engine initialized
    1309215660374 Engine.History DEBUG Engine initialized
    1309215660375 Engine.Passwords DEBUG Engine initialized
    1309215660376 Engine.Prefs DEBUG Engine initialized
    1309215660377 Engine.Tabs DEBUG Engine initialized
    1309215660378 Engine.Tabs DEBUG Resetting tabs last sync time
    1309215660379 Service.Main INFO Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
    1309215660382 Service.Main DEBUG Caching URLs under storage user base: https://phx-sync038.services.mozilla.com/1.1/username/
    1309215660384 Service.Main INFO Starting sync at 2011-06-27 18:01:00
    1309215660384 Service.Main DEBUG In sync: should login.
    1309215660386 Service.Main INFO Logging in user username
    1309215661024 Net.Resource DEBUG mesg: GET fail 503 https://phx-sync038.services.mozilla.com/1.1/username/info/collections
    1309215661025 Net.Resource DEBUG GET fail 503 https://phx-sync038.services.mozilla.com/1.1/username/info/collections
    1309215661033 Service.Main DEBUG Exception: Login failed: error.login.reason.server No traceback available
    1309215661034 Service.Main DEBUG Not syncing: login returned false.
    1309215661035 Service.Main DEBUG Clearing sync triggers.
    1309215664700 Service.Main INFO Logging in user username
    1309215664796 Net.Resource DEBUG mesg: GET fail 503 https://phx-sync038.services.mozilla.com/1.1/username/info/collections
    1309215664797 Net.Resource DEBUG GET fail 503 https://phx-sync038.services.mozilla.com/1.1/username/info/collections
    1309215664801 Service.Main DEBUG Exception: Login failed: error.login.reason.server No traceback available
    1309215664802 Service.Main DEBUG Autoconnect failed: error.login.reason.server; retry in 89 sec.
    1309215699971 Service.Main DEBUG Clearing sync triggers.
    1309215704491 Service.Main INFO Starting sync at 2011-06-27 18:01:44
    1309215704492 Service.Main DEBUG In sync: should login.
    1309215704494 Service.Main INFO Logging in user username
    1309215704839 Net.Resource DEBUG mesg: GET fail 503 https://phx-sync038.services.mozilla.com/1.1/username/info/collections
    1309215704840 Net.Resource DEBUG GET fail 503 https://phx-sync038.services.mozilla.com/1.1/username/info/collections
    1309215704844 Service.Main DEBUG Exception: Login failed: error.login.reason.server No traceback available
    1309215704845 Service.Main DEBUG Not syncing: login returned false.
    1309215704846 Service.Main DEBUG Clearing sync triggers.

  • DTW error while posting initial quantities using stocktaking template

    Hi All,
    I am getting this below error while posting initial quantities using stocktaking template of DTW.
    Can not find this object in B1Application-defined or object-defined error65171
    I am using B1 8.8 PL10 version. Below is my sample txt file data
    ItemCode     WarehouseCode     Counted
    ItemCode     WarehouseCode     Counted
    CHA0002     1     500
    CHA0076     1     4000
    Any help is appreciated.
    Regards,
    Noor Hussain

    HI,
      The error might be because of the cell format of warehouse code. Check if the warehouse code in the system is "1" or "01". If it is "01" u need to change the format of the cells to text or else just put the symbol (  ' ) before  the warehouse codes. This might solve your problem.
    Thanks and regards.
    Pritesh.

  • The certificate is not valid and cannot be used to verify the identity of this website

    Question posted in Stack Overflow too: java - How to solve "The certificate is not valid and cannot be used to verify the identity of this website" error? - St…
    The question is, How to solve "The certificate is not valid and cannot be used to verify the identity of this website" error?.
    Here are the details:
    I have a signed applet that has been working fine, until I updated Java to 8u25 (1.8.0_25-b18). Now, the application shows an alert message "Do you want to continue? The connection to this website is untrusted". There is a note in this message too, "The certificate is not valid and cannot be used to verify the identity of this website".
    The applet is loaded without problems. But when the user tries to use a specific function of that application, the warning message is displayed.
    I've checked the java console when this happens, and this warning message is displayed right after these lines:
    security: Obtain certificate collection in SSL Root CA certificate store
    security: Invalid certificate from HTTPS server
    network: Cache entry not found [url: https://sub.domain.net:9876, version: null]
    The application is downloaded from a different domain, say "https://app.domain.net/ .....", so no jars are downloaded from "https://sub.domain.net:9876 ", but the applet connects to "https://sub.domain.net:9876 " to send/receive data.
    The applet is signed correctly, and so far, it meets all the security requirements according to Java. This issue seems to happen when the application tries to connect internally with an HTTPS url like https://sub.domain.net:9876. That sites' SSL certificate is valid, issued by GoDaddy and has not expired.
    Again, this started to happen after updating my JRE to 8u25. I've tested adding the offending URL to Java security exception list, with no success.
    Here are a few screenshot of this problem:
    This is the warning message displayed:

      For what it's worth we discovered what the issue was.  When we installed the new certificates onto our servers we also discovered that you have to install the certificates of all intermediate servers listed in your certificate.  This mean that all URLs listed on your certificate, have to have the intermediate certificate for the certificate authority installed.  This also includes all the Alt Names of your domains, even if they do not use the applet.

  • Error while comitting a transaction in oSB. The following is the error stack

    Error while comitting a transaction in OSB. The following is the error stack
    <Apr 20, 2015 12:00:15 AM MDT> <Error> <EJB> <BEA-010026> <Exception occurred during commit of transaction Xid=BEA1-1AE41F1CAE45F2B146FD(296700848),Status=Rolled back. [Reason=Unknown],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=2,seconds left=120,XAServerResourceInfo[WLStore_SOA_PRDKS_DOMAIN_FileStore_SOA_MS2]=(ServerResourceInfo[WLStore_SOA_PRDKS_DOMAIN_FileStore_SOA_MS2]=(state=new,assigned=none),xar=null,re-Registered = false),XAServerResourceInfo[WLStore_OSB_PRDKS_DOMAIN_FileStore_auto_1]=(ServerResourceInfo[WLStore_OSB_PRDKS_DOMAIN_FileStore_auto_1]=(state=rolledback,assigned=OSB_MS1),xar=WLStore_OSB_PRDKS_DOMAIN_FileStore_auto_11603460297,re-Registered = false),XAServerResourceInfo[weblogic.jdbc.jta.DataSource]=(ServerResourceInfo[weblogic.jdbc.jta.DataSource]=(state=ended,assigned=none),xar=CMSDS,re-Registered = false),SCInfo[OSB_PRDKS_DOMAIN+OSB_MS1]=(state=rolledback),SCInfo[SOA_PRDKS_DOMAIN+SOA_MS2]=(state=pre-prepared),properties=({}),local properties=({weblogic.jdbc.jta.CMSDS=[ No XAConnection is attached to this TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=OSB_MS1+soaprd-vip-osb-ms1.cos.is.keysight.com:8001+OSB_PRDKS_DOMAIN+t3+, XAResources={eis/wls/Queue, WEDB_EVEREST_OSB_PRDKS_DOMAIN, XREFDS_OSB_PRDKS_DOMAIN, eis/activemq/Queue, CustomSchemaDS_OSB_PRDKS_DOMAIN, MobileApps_CIA_DS1_OSB_PRDKS_DOMAIN, eis/tibjmsDirect/Queue, eis/jbossmq/Queue, eis/Apps/Apps, MobileApps_AOS_MDS_OSB_PRDKS_DOMAIN, MobileApps_AOS_DRDS_OSB_PRDKS_DOMAIN, WSATGatewayRM_OSB_MS1_OSB_PRDKS_DOMAIN, eis/webspheremq/Queue, eis/AQ/aqSample, SBLPROD_OSB_PRDKS_DOMAIN, wlsbjmsrpDataSource_OSB_PRDKS_DOMAIN, eis/aqjms/Queue, CMSDS_OSB_PRDKS_DOMAIN, WLStore_OSB_PRDKS_DOMAIN_WseeFileStore_auto_1, FAP_OSB_PRDKS_DOMAIN, eis/sunmq/Queue, eis/pramati/Queue, FMWAPPDS_OSB_PRDKS_DOMAIN, weblogic.jdbc.jta.DataSource, GSDC_OSB_PRDKS_DOMAIN, eis/tibjms/Topic, eis/fioranomq/Topic, WLStore_OSB_PRDKS_DOMAIN_FileStore_MS1, PresidioOracleAppsDS_OSB_PRDKS_DOMAIN, GSDCDS_OSB_PRDKS_DOMAIN, eis/aqjms/Topic, CustOutDS_OSB_PRDKS_DOMAIN, OFMW/Logging/BAM, MobileAppsDS_OSB_PRDKS_DOMAIN, FIDDS_OSB_PRDKS_DOMAIN, WLStore_OSB_PRDKS_DOMAIN__WLS_OSB_MS1, HRMSDS_OSB_PRDKS_DOMAIN, WEDB_OSB_PRDKS_DOMAIN, OracleAppsDS_OSB_PRDKS_DOMAIN, eis/wls/Topic, eis/tibjms/Queue, eis/tibjmsDirect/Topic, IntrastatDS_OSB_PRDKS_DOMAIN, MobileApps_AOS_COSDS_OSB_PRDKS_DOMAIN, MobileApps_CIA_DS2_OSB_PRDKS_DOMAIN, EVEREST_WEDB_OSB_PRDKS_DOMAIN, WLStore_OSB_PRDKS_DOMAIN_FileStore_auto_1, Everest_OSB_PRDKS_DOMAIN},NonXAResources={})],CoordinatorURL=SOA_MS2+soaprd-vip-soa-ms2.cos.is.keysight.com:8002+SOA_PRDKS_DOMAIN+t3+): javax.transaction.SystemException: Lost connection to server while commit was in progress, ignoring because initiating server is not coordinating server. Remote Exception received=weblogic.rjvm.PeerGoneException: ; nested exception is:
            java.rmi.UnmarshalException: Incoming message header or abbreviation processing failed ; nested exception is:
            java.io.InvalidClassException: oracle.jdbc.xa.OracleXAException; local class incompatible: stream classdesc serialVersionUID = -2542408691177300269, local class serialVersionUID = -4551795881821760665
            at weblogic.transaction.internal.TransactionImpl.commit(TransactionImpl.java:376)
            at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:237)
            at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:224)
            at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:552)
            at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:423)
            at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:325)
            at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
            at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
            at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
            at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
            at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
            at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Hi,
    Have you tried Cancelling the release before adding the version?
    Select the active version of the IDOC Segment and cancel its release first. Only then you will be able to add a version.
    Please let me know if it worked!
    Vijay

  • WebPart is raising the following error "Invalid data has been used to update the list item.The field you are trying to update may be read only"

    I have created a farm solution and then i deploy it to SharePoint server, the code looks as follow, and i use it to update a page info values (as the current page values represents old info):-
    [ToolboxItemAttribute(false)]
    public partial class VisualWebPart1 : WebPart
    // Uncomment the following SecurityPermission attribute only when doing Performance Profiling using
    // the Instrumentation method, and then remove the SecurityPermission attribute when the code is ready
    // for production. Because the SecurityPermission attribute bypasses the security check for callers of
    // your constructor, it's not recommended for production purposes.
    // [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Assert, UnmanagedCode = true)]
    public VisualWebPart1()
    protected override void OnInit(EventArgs e)
    base.OnInit(e);
    InitializeControl();
    using (SPSite site = new SPSite(SPContext.Current.Site.Url))
    using (SPWeb web = site.OpenWeb())
    SPList list = web.Lists["Pages"];
    web.AllowUnsafeUpdates = true;
    foreach (SPListItem items in list.Items)
    items["Author"] = "SharePoint";
    items["Created"] = "01/08/2014 01:44 PM";
    items.Update();
    list.Update();
    web.AllowUnsafeUpdates = false;
    protected void Page_Load(object sender, EventArgs e)
    but when i try adding this web part to a page i got the following error:-
    Invalid data has been used to update the list item.The field you are trying to update may be read only
    so can anyone advice?

    i only changed lines bitween 
    web.AllowUnsafeUpdates = true;
    and
    web.AllowUnsafeUpdates = false;
    and other parts of code remains without change
    so it will updates all pages in current web
    yaşamak bir eylemdir

  • HT201210 I am getting an error code when it's trying to verify the firmware of -1

    I am getting an error code when it's trying to verify the firmware of -1 when trying to restore my IPHONE 4 using ITUNES and it's stuck in recovery mode and won't let me out now.
    I have the ITUNES logo on the black screen with the USB cable?

    Error -1 is a very bad hardware error of the baseband. Restore your iPhone on a different computer with iTunes 10.7 or 11. If on another computer you still get Error -1 then most likely there is no fix. If you have Warranty or AppleCare, make Genius reservation and take to Apple for resolution.

Maybe you are looking for

  • Adobe Muse slideshow widget not working on Ipad

    The Muse slideshow widget i'm using is working fine in desktop version (on my Imac and Macbook Pro Retina), but the targets (buttons) are not working when i open the website in my Safari Ipad. When i open in Ipad Chrome, it's working fine. The addres

  • Problems with USB on Windows Vista - Satelltie A210 (PSAFGE)

    Hi! I just bought myself a new notebook - Toshiba A210 - 15Y (PSAFGE) with Windows Vista preinstalled. The problem is that the notebook doesn't want to work with any USB devices. Whether I try to use a simple USB stick, a mp3 player - he always asks

  • IMovie-- FCE HD + Keynote --- Possible?

    Have a lecture recorded and set up with iMovie on a website (http://st-dominic-church.org/bible-lecture-1.html). With the lecture was a powerpoint with pictures and now that I have the powerpoint would like to integrate it and place slides where they

  • Do you want to save changes you have made? Message

    I have a form with 3 data blocks. Data block 1- master_blk data block 2- detail_blk1 (detail of the master block) data block 3- detail_blk2 (detail of DETAIL_BLK1) So its a 3 level parent child relationship. MASTER_BLK parent to DETAIL_BLK1 and DETAI

  • Data Migration and Consolidation Best Practices?

    Hi guys Do you know what the best practice for data migration to FCSvr is? We're trying to consolidate all media on various firewire/internal drives to a centralised RAID directly attached to a dedicated server. We've found that dragging and dropping