10.4 clients searching 10.5 server

Hi all,
I've recently migrated my server installation from Server 10.2 to brand new hardware on Server 10.5. We're having a problem with searching the 10.5 server: when a client running 10.4 uses the search bar in a Finder window, it briefly (< 1 second) shows the busy logo at the bottom right of the window, and declares there are 0 items. Obviously, it's not trying to find the files.
If the same machine searches the 10.2 server, it works longer and brings back more hits.
Searching from 10.5 clients works just fine- both by filename and Spotlight contents.
ACL's are enabled, but that's not affecting the 10.5 clients.
My designers and production staff are missing their search abilities... any thoughts on what to change, other than "upgrade everyone to 10.5"?

Yeah ran into this a lot too, though it doesn't seem to affect all clients at the same time always, Forcing the server to re-index tends to work for a while but then dies again.

Similar Messages

  • 10.4.8 Server Crashes/Locks up when client search it

    OK.
    Server was updated from 10.2.8 - 10.4.8
    The machine is a Single G4 Slot Loading Xserve. We've added another 1 GB RAM (total is 2 GB) and removed both Hard Drives and installed larger ones (after market but matching as Apple stopped selling their drives to suite and we were told by Apple this was OK to do).
    There are two main issues:
    1. The first, and most pressing is the G4 Xserve crashes/Locks up with a black screen when clients try to search for files on it's shared folders. We ran a permissions repair yesterday and the technician did a search and it was fine. Then today the clients searched for a file, using command "F" and the Server has locked up again.
    2. Second issue is, sometimes the clients won't automatically log into the Server when they start up. We've removed them and re-added the shares previously with no change. The other issue which we think is related is the Server randomly 'disconnects" with the message saying "unable to find server"
    We are getting the following message in the log which I think is related. I've been unable to find any information about it. The log is:
    Feb 20 12:45:02 mail /usr/sbin/PasswordService: client response doesn't match what we generated
    Feb 20 12:45:02 mail /usr/sbin/PasswordService: client response doesn't match what we generated
    Feb 20 12:49:29 mail /usr/sbin/PasswordService: client response doesn't match what we generated
    Feb 20 12:49:30 mail /usr/sbin/PasswordService: client response doesn't match what we generated
    Feb 20 13:30:09 mail DirectoryService[67]: Failed Authentication return is being delayed due to over five recent auth failures for username: root.
    Feb 20 13:31:05 mail /usr/sbin/PasswordService: client response doesn't match what we generated
    Feb 20 13:31:05 mail /usr/sbin/PasswordService: client response doesn't match what we generated
    Feb 20 14:04:21 mail DirectoryService[67]: Failed Authentication return is being delayed due to over five recent auth failures for username: admin.
    Feb 20 14:06:52 mail /usr/sbin/PasswordService: client response doesn't match what we generated
    Feb 20 14:06:52 mail /usr/sbin/PasswordService: client response doesn't match what we generated
    Feb 20 14:45:59 mail DirectoryService[67]: Failed Authentication return is being delayed due to over five recent auth failures for username: root.
    Feb 20 15:27:00 mail /usr/sbin/PasswordService: client response doesn't match what we generated
    Feb 20 15:27:00 mail /usr/sbin/PasswordService: client response doesn't match what we generated
    Feb 20 16:06:04 mail DirectoryService[67]: Failed Authentication return is being delayed due to over five recent auth failures for username: root.
    Feb 20 18:36:20 mail /usr/sbin/PasswordService: client response doesn't match what we generated
    Feb 20 18:36:20 mail /usr/sbin/PasswordService: client response doesn't match what we generated
    Feb 20 18:38:42 mail /usr/sbin/PasswordService: client response doesn't match what we generated
    Feb 20 18:38:42 mail /usr/sbin/PasswordService: client response doesn't match what we generated
    Feb 20 22:09:57 mail /usr/sbin/PasswordService: client response doesn't match what we generated
    Feb 20 22:09:57 mail /usr/sbin/PasswordService: client response doesn't match what we generated
    Feb 21 03:15:26 mail /usr/sbin/PasswordService: client response doesn't match what we generated
    Feb 21 03:15:26 mail /usr/sbin/PasswordService: client response doesn't match what we generated
    Feb 21 03:15:46 mail DirectoryService[67]: Failed Authentication return is being delayed due to over five recent auth failures for username: root.
    Feb 21 03:15:56 mail DirectoryService[67]: Failed Authentication return is being delayed due to over five recent auth failures for username: root.
    Help!!!

    I've experienced the same problem. My users can chown by ssh'ing to AFP server of file in question but can't in Terminal perform chown on same file logged in to localhost by default.
    This subverts ACLs' usefulness in at least the respect that allowing group members to change ownership of files served in accordance with AFP is rendered unduly complex. One might as well not try that setting--for most clients, anyway.
    Moreover, my take is that this is no small matter. I've posted more here. http://discussions.apple.com/thread.jspa?threadID=831517
    In this thread, though, can anyone comment on this or suggest how my users can invoke their ACL permission as members of a certain group to chown files on AFP shares in a local shell or--imagine this--in the "Get Info" interface?
    PS In my search for a workaround, I posted under the topic "Command Line & Terminal":
    http://discussions.apple.com/thread.jspa?threadID=830698&tstart=0
    PPS Maybe this is an old problem. See this 2004 posting about "a bug lingering somewhere in the afp client code".
    http://discussions.apple.com/thread.jspa?messageID=3855261&#3855261
    PowerMac   Mac OS X (10.4.8)  

  • [Microsoft][SQL Server Native Client 11.0][SQL Server]The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator.  'Items' (OITM) (OITM)

    Dear Experts,
    i am getting the below error when i was giving * (Star) to view all the items in DB
    [Microsoft][SQL Server Native Client 11.0][SQL Server]The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator.  'Items' (OITM) (OITM)
    As i was searching individually it is working fine
    can any one help me how to find this..
    Regards,
    Meghanath.S

    Dear Nithi Anandham,
    i am not having any query while finding all the items in item master data i am giving find mode and in item code i was trying to type *(Star) and enter while typing enter the above issue i was facing..
    Regards,
    Meghanath

  • Local KDC (LKDC) relating to Leopard clients logging into Tiger Server

    This is a follow-up to my posting on this thread:
    http://discussions.apple.com/message.jspa?messageID=5982070#5982070
    Pursuing the problem I had when I upgraded to Leopard, I found it odd that trusted binding to Tiger OD from a Leopard client created a funny computer entry in the Workgroup Manger (WGM). Previously when using trusted binding from a Tiger machine to a Tiger server, one entry would be created. And Logging in as an OD user worked every time for me. However, it appears that under 10.5.1 Kerberos has changed significantly in that it is now being used extensively through the Leopard OS for Peer-to-Peer applications. This may account for the screwed up Computer account entries in WGM when a 10.5.1 client binds to 10.4.11 Server using trusted binding. The giveaway clue to this is the LKDC:SHA1 entry created in the WGM computer record (usually 3 seperate records for 10.5.1 instead of the normal single record with a Tiger client). My question is this:
    Are there any changes that can be performed via command line on the 10.5.1 client to mimic the old 10.4 client Kerberos configuration without pervasive Peer-to-Peer use of Kerberos? Is is a config setting for the mit.kerberos file? Could it be as simple as flipping a switch to get the older more compatible Kerberos config of a 10.4 Tiger client? Can I dump the Local KDC present in Leopard, and get back to the good old days of non-local KDC under Tiger?
    http://www.afp548.com/article.php?story=LeopardServerReview-LocalDirectory
    "The Local KDC
    Yes, you read that right, the local KDC. All Leopard client systems will now create a Local KDC for use with peer to peer file sharing.
    While this isn't even as close to as scary as it seems, it is a topic worthy of at least a separate article, if not a whole series. I put on my thinking toque and sat in my thinking corner for a while on this, and I've not yet been able to come up with a reason for why having a KDC on every machine is less secure than how 10.4 did things. Having said that, though, I fully understand how this can seriously freak out your network security team as they don't quite grasp all the ins and the outs of this. Combine this with Back to My Mac, another article that's forthcoming, and you have a very interesting collection of some "sleeper" features in Leopard.
    So, in a nutshell, a Local KDC, the LKDC, is created when 10.5 is installed. Local users will get LKDC authentication authorities allowing them to get Kerberos tickets and use that for single sign on to all the services hosted on that client system. Kerberos is supposed to be only used when you use Bonjour to discover the other machine. So primarily in peer to peer on the same LAN cases.
    It works, you can see this for yourself. Screen share to another machine as a local user by picking the machine out of the sidebar in the Finder. You'll have to enter in your password the first time, but after that you can close out of that screen sharing session and restart it without having to re-enter your password. You can also see the ticket in the Kerberos.app, still buried in /System/Library/CoreServices."

    Eric,
    Thanks so much for your thoroughness and assistance. I think we have decided, for now, to forgo the 10.5 clients attaching to the 10.4 server because of too many intermittant issues. Similar machines on 10.5 gave different results. And at this point, our client is very skittish about the process working at all. I think we need more testing and that is the directon we'll take for now.
    Here are some of our results:
    I did find information on afp548 regarding the 10.5 preference. It was specificall referenced in this article:
    http://www.afp548.com/forum/viewtopic.php?forum=18&showtopic=16064
    Clearing the check box on the 10.4 server under OD > Settings > Security "Require password change on new user login" did solve the memory issue that kerberos was having. After clearing the setting, I:
    * deleted all binding references at the server (WGM > Accounts > Lists > All Computers
    * Deleted the bindings at the client and the the LDAP server references in Directory Access
    * Restarted the machine
    * Reconnected the LDAP server, Rebind the machine
    * Check the LDAP search in issuing id <username> in Terminal
    * OPen System PReferences > Accounts > Login Items, the preference is there!
    * Yeehah
    Oh, but the user still can't login in that machine. Uhm, why? I have no idea. I take a new machine, 10.5.1, no login accounts except a local admin, and no that user still cannot login. Other users, no problem, but not that user.
    Take a new system, 10.4.11, set up the binding, the LDAP server, try to log in that same user: works every time. Ugh.
    So of course, I think there is something up with that user, but nothing in logs gives an indication of what is going on. That I can find. THis is after 10 hours of testing and trying. Needless to state, the client is frustrated, and so am I.
    You know, we do have one 10.5.1 client laptop that did work. After lots of binding and rebinding, it just somehow starting working as expected. But, the reason that we're sticking with 10.4 clients for now is that machine will not respond to password change mandates. I select that user in the WGM, check the "require password change on next login" and nothing happens on their end. They are not an admin, I have reset their account more times than I can count, and so I expect there are more non-working items with 10.5.1 clients and 10.4 server that will get me. It needs more testing for now.
    So, back to your message, I haven't tried the SSL certificate, but I will give that a try.
    In general, for your network, how are your laptop users configured? As mobile users? Network homes? Or Local homes?
    Thanks again for your help. I really appreciate it.

  • *** [23000][2627][Microsoft][SQL Server Native Client 11.0][SQL Server]Violation of UNIQUE KEY constraint 'ClientPushMachine_G_AK'. Cannot insert duplicate key in object 'dbo.ClientPushMachine_G'. The duplicate key value is (16777412). : sp_CP_CheckNewAss

    *** [23000][2627][Microsoft][SQL Server Native Client 11.0][SQL Server]Violation of UNIQUE KEY constraint 'ClientPushMachine_G_AK'. Cannot insert duplicate key in object 'dbo.ClientPushMachine_G'. The duplicate key value is (16777412). : sp_CP_CheckNewAssignedMachine
    CCCRT::RunSQLStoredProc - Failed to execute SQL cmd exec [sp_CP_CheckNewAssignedMachine] N'xxx', 1
    CCRQueueRequest::GetRequestFromQueue - Failed to execute SQL cmd sp_CP_CheckNewAssignedMachine
    I get the above issue and the one below at a client site; the error started with the error below then changed to the one reported above and back to the one below. Everything is working as it should but the issues
    started when one of the admins at the data-centre incorrectly applied a gpo which affected a number of service accounts (sccm inclusive) and they expired....hence reporting in sccm got broke as well as this error in the ccm.log file appeared.
    Remote client install still works but I believe this error affects new client discovered by sccm, so in other words devices discovered by sccm do not get the client installed automatically....but if all access and permissions are in place...pushing out the
    client to the new discovered system works, it just not done automatically, which kinda defeats one the reasons for using sccm.
    I have searched the breadth of the tinternet and I can only find two technet reference to the same error  - one says to edit the stored procedure on the sql server which I don't think should be done... Like Jason said and I concur....its bad joo joos.
    The second suggestion, said you should select all the options in the Client Push Installation properties, I have tried this but hasn't solved the problem.
    I am planning to upgrade the site to the R2 CU3 before the end of the year but I would like to resolve this error before the upgrade.
    The site is currently sccm 2012 sp1 
    Any idea?> Resolution? sil vous plait!
    Merci

    Hi ,
    Please back up the database of the SCCM site. Then run the following query against the Site DB and see how it goes.
    DELETE FROM System_SMS_Resident_ARR
    WHERE ItemKey IN (
    SELECT ItemKey FROM vSystem_SMS_Resident_ARR
    GROUP BY ItemKey
    HAVING COUNT(ItemKey) > 1
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • The WinRM client received an HTTP server error status (500)

    Hi All,
    I have installed the Exchange 2010 Management Tools and a few roles on our DC (Windows Server 2008 R2) but i cannot even connect to it to configure anything.
    If i use the management tools GUI i get an error message saying:
    "Connecting to remote server failied with the following error message: The WinRM client received an HTTP server error status (500), but the remove service did not include any other informaition about the cause of the failure. For more information, see the about_Remote_Troubleshooting Help topic. It was running the command 'Discover-ExchangeServer -UseWIA $true -SuppressError $true'."
    Using the Exchange Management Shell is get a similar error:
    "Connecting to remote server failied with the following error message: The WinRM client received an HTTP server error status (500), but the remove service did not include any other informaition about the cause of the failure. For more information, see the about_Remote_Troubleshooting Help topic.
    + CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportException
    + FullyQualifiedErrorId: PSSessionOpenFailed"
    This comes up 3 times and then said it failed to connect and to enter the Server FQDN i want to connect to.
    I have seen other posts where they have said to disable anonymous access for PowerShell in IIS which i have done and to also run the set-user yourusername -remotepowershellenabled:$true which i cannot run because i cannot even connect into it via PowerShell.
    Tried to see if there was a way to reinstall the management tools because i have a feeling they didnt install properly but cant find a way to do that.
    Tried to uninstall everything but i cannot because it says there are already mailboxes created (presume some default ones) but i cannot connect to remove them to uninstall.
    I seem to have reached a wall and cannot see how to proceed.
    Please help. Thanks.

    Have you tried loading EMS via Admin Tools > Windows Powershell Modules? Amazingly, that will probably work fine for you.
    Assuming that loads, or that you can run EMS on another machine:
    Check Powershell directory in IIS on the problem server. Make sure SSL is not required. Allow only Anonymous access - no basic/IWA auth etc.
    If you can get into Windows Powershell Modules, run the set-user command suggested above from there.
    Remove-powershellvirtualdirectory, and then New-powershellvirtualdirectory (either remotely or using Windows Powershell Modules.
    Re-check SSL/authentication once this is done.
    -Max
    Hi Max,
    Tried loading EMS via Admin Tools > Windows Powershell Modules but didnt work. Got the following error:
    Import-Module : There were errors in loading the format data file:
    Microsoft.Exchange.Management.PowerShell.Setup, C:\Program Files\Microsoft\Exchange Server\V14\bin\Exchange.format.ps1x
    ml : File skipped because it was already present from "Microsoft.Exchange.Management.PowerShell.E2010".
    At line:24 char:34
    +                     Import-Module <<<<  $_.Name -ErrorAction SilentlyContinue
        + CategoryInfo          : InvalidOperation: (:) [Import-Module], RuntimeException
        + FullyQualifiedErrorId : FormatXmlUpateException,Microsoft.PowerShell.Commands.ImportModuleCommand
    I think it is a problem with the PowerShell IIS VirtualDirectory because when i browse any other virtual directory i get a response of some sort but when i browse the PowerShell virtual directory i get the same 500 error message.
    This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.
    Now i think i have made things worse. I was looking at the remove and new point you made an accidently deleted the whole PowerShell virtual directory in IIS using the IIS GUI. I didnt use the Remove-powershellvirtualdirectory command. Now i dont know how to get it back :(
    When i try to run New-powershellvirtualdirectory and specify to call it PowerShell it says it is already
    New-PowerShellVirtualDirectory : The virtual directory 'PowerShell' already exists under 'DC01.mainserver/Default Web S
    ite'.
    Parameter name: VirtualDirectoryName
    At line:1 char:31
    + New-PowerShellVirtualDirectory <<<<
        + CategoryInfo          : InvalidArgument: (DC01\PowerShell (Default Web Site):ADObjectId) [New-PowerShellVirtualD
       irectory], ArgumentException
        + FullyQualifiedErrorId : 7833EE63,Microsoft.Exchange.Management.SystemConfigurationTasks.NewPowerShellVirtualDire
       ctory
    I have tried to use the remove command but it doesnt find it no matter what i put in the identify parameter. It should be "Default Web Site" right?
    Anyways, i have created a new PowerShell virtual directory called ExchPowerShell (still would like to find a way have it called PowerShell) and removed SSL and enabled only Anonymous access. Now get a different error message:
    VERBOSE: Connecting to DC01.mainserver
    [dc01.mainserver] Connecting to remote server failed with the following error message : The WinRM client sent a request
     to an HTTP server and got a response saying the requested HTTP URL was not available. This is usually returned by a HT
    TP server that does not support the WS-Management protocol. For more information, see the about_Remote_Troubleshooting
    Help topic.
        + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportExc
       eption
        + FullyQualifiedErrorId : PSSessionOpenFailed
    Did a search and i think this is because i now had a different PowerShell virtual directory so if i try to connect and specify the new virtual directory name i get the same error i was getting.
    Failed to connect to any Exchange Server in the current site.
    Please enter the Server FQDN where you want to connect: DC01.mainserver/ExchPowerShell
    VERBOSE: Connecting to DC01.mainserver/ExchPowerShell
    [dc01.mainserver] Connecting to remote server failed with the following error message : The WinRM client received an HT
    TP server error status (500), but the remote service did not include any other information about the cause of the failu
    re. For more information, see the about_Remote_Troubleshooting Help topic.
        + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportExc
       eption
        + FullyQualifiedErrorId : PSSessionOpenFailed
    Thank for all you help so far.

  • Exchange Integration: Which features accessed directly from Lync Client, which via Lync Server

    Hi
    I'm wondering which Features of the Lync Server 2013 <-> Exchange 2013 Integration are accessed directly from the Lync 2013
    Client (direct Access from the Lync Client to the Exchange Server) and which Features are accessed from the Lync Client via the Lync Server (Access from the Lync Client to the Lync Server to the Exchange Server).
    For example: Are Outlook contacts aquired directly from the Exchange Server when searched in the Lync Client.
    Thanks,
    Michael

    Yes, Outlook contacts acquired directly from the Exchange Server when searched in the Lync Client.Integration between Lync and Exchange will give many features as following:
    Voice mail.
    Lync Archiving Integration.
    Unified Contact Store.
    Lync Meeting Scheduling from OWA.
    High resolution photos.
    Also you can refer below link for more info.
    http://technet.microsoft.com/en-us/library/jj688098.aspx
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical | Twitter:
    Mai Ali

  • Lync Client Search - Shows Non Lync Enabled Users

    What is normal behavior - out of the box - for Lync 2010 and/or 2013 for the Lync Client search.  Is it to return all AD objects (or all GAL objects?) regardless if they are Lync enabled or not?  There is a bit of information here an there
    on this but thought I'd post my specific question to end my torture.
    We are in the process of migrating users from 2010 to 2013 (backend) and we initially setup the msRTC-GroupingID to limit our search but with this migration we are planning to clear this attribute to allow a search to return
    all users and I notice that in doing so I see all objects reqardless if Lync enabled or not.  This is not so desirable but if it's the way it works then I will have accept and move on.  I read about using ABSconfig to alter this behavior
    but for some reason this won't even run for me ... crashes right away upon opening running from FE server so even if I now got it to work my trust is shot for using this.
    Thanks all ...

    Not sure I follow.  Assume you mean "the AD users with Lync ""NOT"" enabled should not be searched.
    I look at the msRTCSIP attributes and they are not set and still i see them in my Lync search.  I am totally baffled by this.  I use a test Lync account with the GroupingID 'not set' and I see all accounts regardless if they are Lync enabled. 
    The ones I see in my search, that I am expecting NOT to see, do have the msRTCSIP attributes in AD object but they all show as 'not set' as I expect they should given they are not Lync enabled.
    I must be missing something here, perhaps this is a 2013 thing?  I have a lab with 2010 that this doesn't seem to be happening in but it doesn't exactly replicate our production so don't want to use that as a trusted reference point going forward. 
    The AD msRTCSIP attributes compare across the two environments too which is even more baffling.  It's not clear what it is using to present NON enabled users in the Lync search.

  • One RMI client and mutliple RMI server implementation

    Hi,
    We are planning to implement a RMI. In the design approach we are planning to have 1 client and mutiple RMI server and each RMI server register to a system. All the RMI server will have the same functionality. The decision to call particualr RMI server is done at runtime based on some parameter. I am not clear on how to implement the same as I am new to RMI technology, so it would be great if you can suggest some good approach for doing the same.
    Thanks,
    Ramreddy

    greetings,
    your client and server are in the same class?
    i.e. server object (interface implementation instance)
    and lookup are within the same execution thread
    i believe this defeats the purpose of RMI
    the objective is to utilize object methods on different machines
    otherwise, you can just use a local method within your server/client mainline (of course, it ceases to become "remote" at that point)
    logistically, there is also the problem of the runtime not being able to resolve the skeleton/proxy components correctly (since it's probably searching for a client stub which doesn't exist...); maybe you could fake it out by compiling a phony client class - again, this won't provide any advantage but it might run
    perhaps if you shared your system/network setup and a bit more about your design objectives someone in this forum could provide some assistance
    good luck,
    D

  • Last Contact with Server - Client Quit Communicating with Server

    Hi,
    Is there anyone with the same problem we're experiencing below?
    6 Windows 7 clients and 1 Windows XP client (10.2.2)
    All 6 Windows 7 clients quit communicating with the server after a while.
    Last contact with server time stamp doesn't change on both the client and
    server. Next contact with server does, but the client doesn't refresh. If I
    try to remote control, I can't. If I assign a new bundle, it doesn't work.
    However, I can login to the Zen agent.
    I can unregister the client locally and reregister and the client will
    communicate with the server for a while and it will then stop communicating
    again after several hours or couple days.
    All but the sole Windows XP client are having this issue. Windows XP client
    is also the first client registered in the server.
    thanks

    JS,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • SAP Client to the SAP Server: internal Error (-1102)[Message 131-183]

    Hi,
    We are using Windows 2008 Server R2, SQL 2008 Standard, SAP B1 8.81 PL08.
    When we trying to connect SAP Client to the SAP Server. There has internal Error (-1102) occurred. We can view the database on client, but we always get the same error message after enter the User ID and Password. We have checked the native client and it is installed and also opened the following ports: 1433, 30000, 30001. We have tried to open all of firewall, but itu2019s no use.
    When I set a computer in to the engine room and set the network connection, this one can connect SAP Client to the SAP Server.
    But when client connect to server by VPN, the IP address will not in the same section. Then We tried to set the IP address has the same network section with the server, but it's still disable.
    I set a computer for SAP Server without firewall, complex network, virtual IP and no router in my office. And use a SAP Client which is in different network domain to connect to SAP Server by internet, not VPN, but the SAP Client still canu2019t connect to SAP Server. I get the same internal Error (-1102).
    It can not only ping to SAP Server IP, but telnet to the port 1433, 30000, 30001, 445.
    When I use a pc with server tools, it can connect to the SAP Server by the localhost license. But if I use a computer only install client and assign the server license. The latter one always got the error.
    How could we solve this problem? Is there has another setting I am missing which might be blocking the connection?
    Thanks in advance.

    Hi,
    We are using VPN and using Terminal Licensing or Remote Desktop Conneciton.
    The idea here is VPN will connect you to the network and when you are connected to the network
    dont use the direct LAN IP connection use the Terminal Licensing to connect.
    Again both are needed VPN and Terminal Licensing. VPN for the connection and if successfully connected
    use or connect from Terminal Licensing or Remote Desktop connections.
    Thanks.
    Clint

  • SCCM client deployment on windows server 2012 R2

    Hi All,
    Can some one please share the information , step by step guide to install SCCM 2007 Sp2 client installation on windows server 2012 R2 machine. IF step by step guide is there this would be really helpful.
    Regards,

    You have to install update http://support.microsoft.com/kb/2861663 to your SCCM server to adds support for Windows 8.1 and Windows Server 2012 R2.
    Other then that should be the same as other client (Push\Logon Script\GPO etc.)
    Please take a moment to Vote as Helpful and/or Mark as Answer where applicable. Thanks.

  • SharePoint 2010 Search Error: "Internal server error exception"

    Hi,
    We have a SharePoint 2010 Farm with 5 servers:
    1 SQL Server Cluster
    2 WFE
    1 Index Server
    1 Search Server
    Please see bellow a more detailed specification.Our DNS is using a Load Balancer
    It turns out that when it uses one WFE (SERVWFE05) it throws this error:
    SharePoint 2010 Search Error: "Internal server error exception"
    when it uses the other one (SERVWFE06) it works.
    What can be wrong?
    SERVERS IN FARM
    Server
    SharePoint Products Installed
    Services Running
    Status
    SERVAPI07
    Language Pack for SharePoint Foundation 2010 - Portuguese/Português 
     Central Administration 
     Upgrade Available  Remove Server  
    Language Pack for SharePoint Foundation 2010 - Russian/русский 
    Claims to Windows Token Service 
    Language Pack for SharePoint Foundation 2010 - Spanish/Español 
    Microsoft SharePoint Foundation Incoming E-Mail 
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Portuguese/Português
    Microsoft SharePoint Foundation Web Application 
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Russian/русский 
    Microsoft SharePoint Foundation Workflow Timer Service 
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Spanish/Español 
    Secure Store Service 
    Microsoft SharePoint Server 2010 
    SharePoint Server Search 
    Web Analytics Data Processing Service 
    Web Analytics Web Service 
    SERVAPI08
    Language Pack for SharePoint Foundation 2010 - Portuguese/Português
     Central Administration 
     Upgrade Available
    Language Pack for SharePoint Foundation 2010 - Russian/русский 
    Claims to Windows Token Service 
    Language Pack for SharePoint Foundation 2010 - Spanish/Español 
    Microsoft SharePoint Foundation Incoming E-Mail 
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Portuguese/Português
    Microsoft SharePoint Foundation Web Application 
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Russian/русский 
    Microsoft SharePoint Foundation Workflow Timer Service 
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Spanish/Español 
    Search Query and Site Settings Service 
    Microsoft SharePoint Server 2010 
    SharePoint Server Search 
    SERVSQL13
    Microsoft SharePoint Foundation Database 
     No Action Required 
    SERVWFE05
    Language Pack for SharePoint Foundation 2010 - Portuguese/Português 
     Microsoft SharePoint Foundation Incoming E-Mail 
    Language Pack for SharePoint Foundation 2010 - Russian/русский 
    Microsoft SharePoint Foundation Web Application 
    Language Pack for SharePoint Foundation 2010 - Spanish/Español 
    Microsoft SharePoint Foundation Workflow Timer Service 
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Portuguese/Português
     Upgrade Available  Remove Server  
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Russian/русский 
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Spanish/Español 
    Microsoft SharePoint Server 2010 
    SERVWFE06
    EMBWFEPRD06  Language Pack for SharePoint Foundation 2010 - Portuguese/Português
     Microsoft SharePoint Foundation Incoming E-Mail 
     Upgrade Available
    Language Pack for SharePoint Foundation 2010 - Russian/русский 
    Microsoft SharePoint Foundation Web Application 
    Language Pack for SharePoint Foundation 2010 - Spanish/Español 
    Microsoft SharePoint Foundation Workflow Timer Service 
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Portuguese/Português
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Russian/русский 
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Spanish/Español 
    Microsoft SharePoint Server 2010 
    MODIFY TOPOLOGY
    Server Name
     Category 
    SERVAPI07   
    Admin 
     Administration Component
    SERVAPI07   
    Crawl
     Crawl Component 1
    SERVSQL13   
    Databases 
     Administration Database : Search_Service_Application_DB1
    SERVSQL13   
     Crawl Database : Search_Service_Application_CrawlStore_DB2
    SERVSQL13   
     Property Database : Search_Service_Application_PropertyStore_DB3
    SERVAPI08   
    Index Partition - 0
     Query Component 1
    Many thanks
    J.CLUA

    HI,
    1.  
    Ensure that the IIS Admin service is running
    2.  
    Ensure that the ApppPool related to the service is running
    3.  
    Ensure that the DB server that application is located is running and have enough space.
    4.  
    Ensure that the Apppool is set with the correct credentials and password.
    Do you see any correllation ID while search or any error.If its a correlation ID,please check the below site to get the exact error from where its generating.
    http://expertsharepoint.blogspot.de/2014/07/how-to-find-correlation-id-error.html
    - See more at: http://expertsharepoint.blogspot.de/search?q=internal#sthash.rS79y0Nd.dpuf
    Anil Avula[Partner,MCP,MCSE,MCSA,MCTS,MCITP,MCSM] See Me At: http://expertsharepoint.blogspot.de/

  • JSP to Upload file from client machine to Web Server!

    Hi,
    I want to upload a file from client machine to web server in order to send it as email attachment, How can I do it? After uploading the file the class should give me the path where the file is stored on the web server and the file name in return!
    I know the HTML <file> field but dont know how to copy it on web server, HTML Part will be:
    <FORM ENCTYPE="multipart/form-data"
    method="POST" action="My.jsp">
    <INPUT TYPE="file" NAME="mptest">
    <INPUT TYPE="submit" VALUE="upload">
    </FORM>
    Please help!
    Thanks,
    - Rahul

    You can use cos.jar provided by O'Reilly from http://www.servlets.com/cos/. Take a look at com.oreilly.servlet.multipart.* classes.
    Package is provided with source, classes, documentation and, of course, ready-to-use jar file.
    It is really usefull and - ready!

  • Error in query: [Microsoft][SQL Server Native Client 10.0][SQL Server]Must specify table to select from. '' (SWEI)

    Hi All
    below query giving me error in query generator but working well in Sql server.
    error: [Microsoft][SQL Server Native Client 10.0][SQL Server]Must specify table to select from. '' (SWEI)
    Select
    T1.U_grp01 As 'BA',T3.DocDate As 'Posting Date',Month(T3.DocDate) As 'PostMonth',Year(T3.DocDate) As 'PostYear',
    'AR Invoice' As 'Type',T3.DocNum As 'Doc No',T3.CardCode As 'Cust. Code',T3.CardName As 'Cust. Name',T5.SlpName As 'Sale Emp. Name',
    T4.IndustryC As 'Channel Type',T6.CityB As 'BillToCity',T7.Name As 'BillToState',T6.CityS As 'ShipToCity',T8.Name As 'ShipToState',
    T4.U_Une_Zone As 'Zone',
    T2.ItmsGrpNam As 'L1',T0.LineNum As 'Row No',T0.ItemCode As 'ItemCode',T0.Dscription As 'Item Name',t0.whscode,
    T0.Quantity As 'Quantity',T0.StockPrice As 'COGS Price',IsNull(Sum(T0.Quantity * T0.StockPrice),0) As 'COGS Value',T0.VatSum As 'Tax Amount',
    IsNull((Case When T3.DocType='I' Then (Case  When T0.Currency = 'INR' Then T0.PriceBefDi Else (T0.PriceBefDi * T0.Rate) End) Else T0.Price End) ,0) As 'Sales Price',
    IsNull((Case When T3.DocType='I' Then (Case  When T0.Currency = 'INR' Then T0.INMPrice Else (T0.INMPrice * T0.Rate) End) Else T0.Price End) ,0) As 'Sales Price',
    IsNull((Case When T3.DocType='I' Then (Case  When T0.Currency = 'INR' Then Sum(T0.Quantity * T0.INMPrice) Else Sum(T0.Quantity * T0.INMPrice * T0.Rate) End) Else T0.LineTotal End) ,0) As 'Sales Value',t9.linetotal as 'Freight',
    T3.DocType As 'DocType',
    (SELECT DISTINCT ISNULL (SUM(INV4.TaxSum),0)
    FROM INV4
    WHERE INV4.StaType = -90
    AND INV4.DocEntry = T3.DocEntry
    AND INV4.LineNum = T0.LineNum) AS 'BED',
    (SELECT DISTINCT ISNULL (SUM(INV4.TaxSum),0)
    FROM INV4
    WHERE INV4.StaType = -60
    AND INV4.DocEntry = T3.DocEntry
    AND INV4.LineNum = T0.LineNum) AS 'Cess',
    (SELECT DISTINCT ISNULL (SUM(INV4.TaxSum),0)
    FROM INV4
    WHERE INV4.StaType = 9
    AND INV4.DocEntry = T3.DocEntry
    AND INV4.LineNum = T0.LineNum) AS 'HeCess',
    (SELECT DISTINCT ISNULL (SUM(INV4.TaxSum),0)
    FROM INV4
    WHERE (INV4.StaType = 1 or inv4.staType = 8)
    AND INV4.DocEntry = T3.DocEntry
    AND INV4.LineNum = T0.LineNum) AS 'VAT',
    (SELECT DISTINCT ISNULL (SUM(INV4.TaxSum),0)
    FROM INV4
    WHERE INV4.StaType = 8
    AND INV4.DocEntry = T3.DocEntry
    AND INV4.LineNum = T0.LineNum) AS 'CST'
    From INV1 T0
    Left Join OITM T1 On T1.ItemCode=T0.ItemCode
    Left Join OITB T2 On T2.ItmsGrpCod=T1.ItmsGrpCod
    Left Join OINV T3 On T3.DocEntry=T0.DocEntry
    Left Join OCRD T4 On T4.CardCode=T3.CardCode
    Left Join OSLP T5 On T5.SlpCode=T4.SlpCode
    Left Join INV12 T6 On T6.DocEntry=T0.DocEntry
    Left Join OCST T7 On T7.Code=T6.StateB and T7.Country='IN'
    Left Join OCST T8 On T8.Code=T6.StateS and T8.Country='IN'
    left join inv3 t9 on t9.docentry = t3.docentry
    WHERE T3.[DocDate] >= [%0] and T3.[DocDate] <= [%1] and t3.U_UNE_GCAT = '2'
    Group By T1.U_grp01,T3.DocEntry,T3.DocNum,T3.DocDate,T0.LineNum,T3.CardCode,T3.CardName,T5.SlpName,T4.IndustryC,T4.U_Une_Zone,
    T6.CityB,T7.Name,T6.CityS,T8.Name,T0.VatSum,T0.Currency,T0.Rate,T3.DocType,T0.Price,T0.LineTotal,
    T2.ItmsGrpNam,T0.ItemCode,T0.Dscription,T0.StockPrice,T0.INMPrice,T0.PriceBefDi,T0.Quantity,t9.linetotal,t0.WhsCode
    Union All
    Select
    T1.U_grp01 As 'BA',T3.DocDate As 'Posting Date',Month(T3.DocDate) As 'PostMonth',Year(T3.DocDate) As 'PostYear',
    'AR Invoice' As 'Type',T3.DocNum As 'Doc No',T3.CardCode As 'Cust. Code',T3.CardName As 'Cust. Name',T5.SlpName As 'Sale Emp. Name',
    T4.IndustryC As 'Channel Type',T6.CityB As 'BillToCity',T7.Name As 'BillToState',T6.CityS As 'ShipToCity',T8.Name As 'ShipToState',
    T4.U_Une_Zone As 'Zone',
    T2.ItmsGrpNam As 'L1',T0.LineNum As 'Row No',T0.ItemCode As 'ItemCode',T0.Dscription As 'Item Name',t0.whscode,
    T0.Quantity As 'Quantity',T0.StockPrice As 'COGS Price',IsNull(Sum(T0.Quantity * T0.StockPrice),0) As 'COGS Value',T0.VatSum As 'Tax Amount',
    IsNull((Case When T3.DocType='I' Then (Case  When T0.Currency = 'INR' Then T0.PriceBefDi Else (T0.PriceBefDi * T0.Rate) End) Else T0.Price End) ,0) As 'Sales Price',
    IsNull((Case When T3.DocType='I' Then (Case  When T0.Currency = 'INR' Then T0.INMPrice Else (T0.INMPrice * T0.Rate) End) Else T0.Price End) ,0) As 'Sales Price',
    IsNull((Case When T3.DocType='I' Then (Case  When T0.Currency = 'INR' Then Sum(T0.Quantity * T0.INMPrice) Else Sum(T0.Quantity * T0.INMPrice * T0.Rate) End) Else T0.LineTotal End) ,0) As 'Sales Value',t9.linetotal as 'Freight',
    T3.DocType As 'DocType',
    (SELECT DISTINCT ISNULL (SUM(rin4.TaxSum),0)
    FROM rin4
    WHERE rin4.StaType = -90
    AND rin4.DocEntry = T3.DocEntry
    AND rin4.LineNum = T0.LineNum) AS 'BED',
    (SELECT DISTINCT ISNULL (SUM(rin4.TaxSum),0)
    FROM rin4
    WHERE rin4.StaType = -60
    AND rin4.DocEntry = T3.DocEntry
    AND rin4.LineNum = T0.LineNum) AS 'Cess',
    (SELECT DISTINCT ISNULL (SUM(rin4.TaxSum),0)
    FROM rin4
    WHERE rin4.StaType = 9
    AND rin4.DocEntry = T3.DocEntry
    AND rin4.LineNum = T0.LineNum) AS 'HeCess',
    (SELECT DISTINCT ISNULL (SUM(rin4.TaxSum),0)
    FROM rin4
    WHERE (rin4.StaType = 1 or rin4.staType = 8)
    AND rin4.DocEntry = T3.DocEntry
    AND rin4.LineNum = T0.LineNum) AS 'VAT',
    (SELECT DISTINCT ISNULL (SUM(rin4.TaxSum),0)
    FROM rin4
    WHERE rin4.StaType = 8
    AND rin4.DocEntry = T3.DocEntry
    AND rin4.LineNum = T0.LineNum) AS 'CST'
    From rin1 T0
    Left Join OITM T1 On T1.ItemCode=T0.ItemCode
    Left Join OITB T2 On T2.ItmsGrpCod=T1.ItmsGrpCod
    Left Join Orin T3 On T3.DocEntry=T0.DocEntry
    Left Join OCRD T4 On T4.CardCode=T3.CardCode
    Left Join OSLP T5 On T5.SlpCode=T4.SlpCode
    Left Join rin12 T6 On T6.DocEntry=T0.DocEntry
    Left Join OCST T7 On T7.Code=T6.StateB and T7.Country='IN'
    Left Join OCST T8 On T8.Code=T6.StateS and T8.Country='IN'
    left join rin3 t9 on t9.docentry = t3.docentry
    WHERE T3.[DocDate] >= [%0] and T3.[DocDate] <= [%1] and t3.U_UNE_GCAT = '2'
    Group By T1.U_grp01,T3.DocEntry,T3.DocNum,T3.DocDate,T0.LineNum,T3.CardCode,T3.CardName,T5.SlpName,T4.IndustryC,T4.U_Une_Zone,
    T6.CityB,T7.Name,T6.CityS,T8.Name,T0.VatSum,T0.Currency,T0.Rate,T3.DocType,T0.Price,T0.LineTotal,
    T2.ItmsGrpNam,T0.ItemCode,T0.Dscription,T0.StockPrice,T0.INMPrice,T0.PriceBefDi,T0.Quantity,t9.linetotal,t0.WhsCode
    Thanks in Advance

    Hi deepak..
    try this
    /* SELECT FROM OSRT P1 */
    DECLARE @FROM AS DATE
    /* WHERE */
    SET @FROM = /* P1.FromDate */ '[%1]'
    /* SELECT FROM OSRT P2 */
    DECLARE @TO AS DATE
    /* WHERE */
    SET @TO = /* P2.ToDate */ '[%2]';
    SELECT T1.U_grp01 AS 'BA',
           T3.DocDate AS 'Posting Date',
           MONTH(T3.DocDate) AS 'PostMonth',
           YEAR(T3.DocDate) AS 'PostYear',
           'AR Invoice' AS 'Type',
           T3.DocNum AS 'Doc No',
           T3.CardCode AS 'Cust. Code',
           T3.CardName AS 'Cust. Name',
           T5.SlpName AS 'Sale Emp. Name',
           T4.IndustryC AS 'Channel Type',
           T6.CityB AS 'BillToCity',
           T7.Name AS 'BillToState',
           T6.CityS AS 'ShipToCity',
           T8.Name AS 'ShipToState',
           T4.U_Une_Zone AS 'Zone',
           T2.ItmsGrpNam AS 'L1',
           T0.LineNum AS 'Row No',
           T0.ItemCode AS 'ItemCode',
           T0.Dscription AS 'Item Name',
           t0.whscode,
           T0.Quantity AS 'Quantity',
           T0.StockPrice AS 'COGS Price',
           ISNULL(SUM(T0.Quantity * T0.StockPrice), 0) AS 'COGS Value',
           T0.VatSum AS 'Tax Amount',
           ISNULL(
                   CASE
                        WHEN T3.DocType = 'I' THEN (
                                 CASE
                                      WHEN T0.Currency = 'INR' THEN T0.PriceBefDi
                                      ELSE (T0.PriceBefDi * T0.Rate)
                                 END
                        ELSE T0.Price
                   END
               0
           ) AS 'Sales Price',
           ISNULL(
                   CASE
                        WHEN T3.DocType = 'I' THEN (
                                 CASE
                                      WHEN T0.Currency = 'INR' THEN T0.INMPrice
                                      ELSE (T0.INMPrice * T0.Rate)
                                 END
                        ELSE T0.Price
                   END
               0
           ) AS 'Sales Price',
           ISNULL(
                   CASE
                        WHEN T3.DocType = 'I' THEN (
                                 CASE
                                      WHEN T0.Currency = 'INR' THEN SUM(T0.Quantity * T0.INMPrice)
                                      ELSE SUM(T0.Quantity * T0.INMPrice * T0.Rate)
                                 END
                        ELSE T0.LineTotal
                   END
               0
           ) AS 'Sales Value',
           t9.linetotal AS 'Freight',
           T3.DocType AS 'DocType',
               SELECT DISTINCT ISNULL(SUM(INV4.TaxSum), 0)
               FROM   INV4
               WHERE  INV4.StaType = -90
                      AND INV4.DocEntry = T3.DocEntry
                      AND INV4.LineNum = T0.LineNum
           ) AS 'BED',
               SELECT DISTINCT ISNULL(SUM(INV4.TaxSum), 0)
               FROM   INV4
               WHERE  INV4.StaType = -60
                      AND INV4.DocEntry = T3.DocEntry
                      AND INV4.LineNum = T0.LineNum
           ) AS 'Cess',
               SELECT DISTINCT ISNULL(SUM(INV4.TaxSum), 0)
               FROM   INV4
               WHERE  INV4.StaType = 9
                      AND INV4.DocEntry = T3.DocEntry
                      AND INV4.LineNum = T0.LineNum
           ) AS 'HeCess',
               SELECT DISTINCT ISNULL(SUM(INV4.TaxSum), 0)
               FROM   INV4
               WHERE  (INV4.StaType = 1 OR inv4.staType = 8)
                      AND INV4.DocEntry = T3.DocEntry
                      AND INV4.LineNum = T0.LineNum
           ) AS 'VAT',
               SELECT DISTINCT ISNULL(SUM(INV4.TaxSum), 0)
               FROM   INV4
               WHERE  INV4.StaType = 8
                      AND INV4.DocEntry = T3.DocEntry
                      AND INV4.LineNum = T0.LineNum
           ) AS 'CST'
    FROM   INV1 T0
           LEFT JOIN OITM T1
                ON  T1.ItemCode = T0.ItemCode
           LEFT JOIN OITB T2
                ON  T2.ItmsGrpCod = T1.ItmsGrpCod
           LEFT JOIN OINV T3
                ON  T3.DocEntry = T0.DocEntry
           LEFT JOIN OCRD T4
                ON  T4.CardCode = T3.CardCode
           LEFT JOIN OSLP T5
                ON  T5.SlpCode = T4.SlpCode
           LEFT JOIN INV12 T6
                ON  T6.DocEntry = T0.DocEntry
           LEFT JOIN OCST T7
                ON  T7.Code = T6.StateB
                AND T7.Country = 'IN'
           LEFT JOIN OCST T8
                ON  T8.Code = T6.StateS
                AND T8.Country = 'IN'
           LEFT JOIN inv3 t9
                ON  t9.docentry = t3.docentry
    WHERE  T3.[DocDate] >= @FROM
           AND T3.[DocDate] <= @TO
           AND t3.U_UNE_GCAT = '2'
    GROUP BY
           T1.U_grp01,
           T3.DocEntry,
           T3.DocNum,
           T3.DocDate,
           T0.LineNum,
           T3.CardCode,
           T3.CardName,
           T5.SlpName,
           T4.IndustryC,
           T4.U_Une_Zone,
           T6.CityB,
           T7.Name,
           T6.CityS,
           T8.Name,
           T0.VatSum,
           T0.Currency,
           T0.Rate,
           T3.DocType,
           T0.Price,
           T0.LineTotal,
           T2.ItmsGrpNam,
           T0.ItemCode,
           T0.Dscription,
           T0.StockPrice,
           T0.INMPrice,
           T0.PriceBefDi,
           T0.Quantity,
           t9.linetotal,
           t0.WhsCode
    UNION ALL
    SELECT T1.U_grp01 AS 'BA',
           T3.DocDate AS 'Posting Date',
           MONTH(T3.DocDate) AS 'PostMonth',
           YEAR(T3.DocDate) AS 'PostYear',
           'AR Invoice' AS 'Type',
           T3.DocNum AS 'Doc No',
           T3.CardCode AS 'Cust. Code',
           T3.CardName AS 'Cust. Name',
           T5.SlpName AS 'Sale Emp. Name',
           T4.IndustryC AS 'Channel Type',
           T6.CityB AS 'BillToCity',
           T7.Name AS 'BillToState',
           T6.CityS AS 'ShipToCity',
           T8.Name AS 'ShipToState',
           T4.U_Une_Zone AS 'Zone',
           T2.ItmsGrpNam AS 'L1',
           T0.LineNum AS 'Row No',
           T0.ItemCode AS 'ItemCode',
           T0.Dscription AS 'Item Name',
           t0.whscode,
           T0.Quantity AS 'Quantity',
           T0.StockPrice AS 'COGS Price',
           ISNULL(SUM(T0.Quantity * T0.StockPrice), 0) AS 'COGS Value',
           T0.VatSum AS 'Tax Amount',
           ISNULL(
                   CASE
                        WHEN T3.DocType = 'I' THEN (
                                 CASE
                                      WHEN T0.Currency = 'INR' THEN T0.PriceBefDi
                                      ELSE (T0.PriceBefDi * T0.Rate)
                                 END
                        ELSE T0.Price
                   END
               0
           ) AS 'Sales Price',
           ISNULL(
                   CASE
                        WHEN T3.DocType = 'I' THEN (
                                 CASE
                                      WHEN T0.Currency = 'INR' THEN T0.INMPrice
                                      ELSE (T0.INMPrice * T0.Rate)
                                 END
                        ELSE T0.Price
                   END
               0
           ) AS 'Sales Price',
           ISNULL(
                   CASE
                        WHEN T3.DocType = 'I' THEN (
                                 CASE
                                      WHEN T0.Currency = 'INR' THEN SUM(T0.Quantity * T0.INMPrice)
                                      ELSE SUM(T0.Quantity * T0.INMPrice * T0.Rate)
                                 END
                        ELSE T0.LineTotal
                   END
               0
           ) AS 'Sales Value',
           t9.linetotal AS 'Freight',
           T3.DocType AS 'DocType',
               SELECT DISTINCT ISNULL(SUM(rin4.TaxSum), 0)
               FROM   rin4
               WHERE  rin4.StaType = -90
                      AND rin4.DocEntry = T3.DocEntry
                      AND rin4.LineNum = T0.LineNum
           ) AS 'BED',
               SELECT DISTINCT ISNULL(SUM(rin4.TaxSum), 0)
               FROM   rin4
               WHERE  rin4.StaType = -60
                      AND rin4.DocEntry = T3.DocEntry
                      AND rin4.LineNum = T0.LineNum
           ) AS 'Cess',
               SELECT DISTINCT ISNULL(SUM(rin4.TaxSum), 0)
               FROM   rin4
               WHERE  rin4.StaType = 9
                      AND rin4.DocEntry = T3.DocEntry
                      AND rin4.LineNum = T0.LineNum
           ) AS 'HeCess',
               SELECT DISTINCT ISNULL(SUM(rin4.TaxSum), 0)
               FROM   rin4
               WHERE  (rin4.StaType = 1 OR rin4.staType = 8)
                      AND rin4.DocEntry = T3.DocEntry
                      AND rin4.LineNum = T0.LineNum
           ) AS 'VAT',
               SELECT DISTINCT ISNULL(SUM(rin4.TaxSum), 0)
               FROM   rin4
               WHERE  rin4.StaType = 8
                      AND rin4.DocEntry = T3.DocEntry
                      AND rin4.LineNum = T0.LineNum
           ) AS 'CST'
    FROM   rin1 T0
           LEFT JOIN OITM T1
                ON  T1.ItemCode = T0.ItemCode
           LEFT JOIN OITB T2
                ON  T2.ItmsGrpCod = T1.ItmsGrpCod
           LEFT JOIN [dbo].[Orin] T3
                ON  T3.DocEntry = T0.DocEntry
           LEFT JOIN OCRD T4
                ON  T4.CardCode = T3.CardCode
           LEFT JOIN OSLP T5
                ON  T5.SlpCode = T4.SlpCode
           LEFT JOIN rin12 T6
                ON  T6.DocEntry = T0.DocEntry
           LEFT JOIN OCST T7
                ON  T7.Code = T6.StateB
                AND T7.Country = 'IN'
           LEFT JOIN OCST T8
                ON  T8.Code = T6.StateS
                AND T8.Country = 'IN'
           LEFT JOIN rin3 t9
                ON  t9.docentry = t3.docentry
    WHERE  T3.[DocDate] >= @FROM
           AND T3.[DocDate] <= @TO
           AND t3.U_UNE_GCAT = '2'
    GROUP BY
           T1.U_grp01,
           T3.DocEntry,
           T3.DocNum,
           T3.DocDate,
           T0.LineNum,
           T3.CardCode,
           T3.CardName,
           T5.SlpName,
           T4.IndustryC,
           T4.U_Une_Zone,
           T6.CityB,
           T7.Name,
           T6.CityS,
           T8.Name,
           T0.VatSum,
           T0.Currency,
           T0.Rate,
           T3.DocType,
           T0.Price,
           T0.LineTotal,
           T2.ItmsGrpNam,
           T0.ItemCode,
           T0.Dscription,
           T0.StockPrice,
           T0.INMPrice,
           T0.PriceBefDi,
           T0.Quantity,
           t9.linetotal,
           t0.WhsCode
    rgds
    Kennedy

Maybe you are looking for

  • Rfc connection error to saposs

    Hi while testing the rfc connection to saposs msg comes timeout occured Error:  timeout occured Location : Saprouter 37.11 on SAPDEV Componenet: NI Counter :  1460 Return code: -93 Subrc: 0 Release : 640 Version : 37 Plz suggest me.

  • Ipod playlists/podcast automatic updates

    Hi, I have subscribed to some podcasts. Is there any way that my iPod can automatically update with the episodes I have not listened to-or with each new days episodes- without me dragging and dropping each episode I want every day, and erasing the ep

  • CCA 3.2.2 Software Pack 8.6.1 and Windows 8

    Hi there, Anyone done this upgrade with Windows 8?  We completed the upgrade successfully and everything updated (it seems), except we cannot connect to the phone system on any vlan at this point.  Cisco told me it was because my laptop i performed t

  • Cannot connect Mac ibook to WRT54G router

    I have a WRT54G router connected to my desktop. My Dell laptop connects without any problems. Now I am also trying to connect a Mac ibook to the same router. The Airport reads the connection, but it does not accept any passwords. The dropdown of conn

  • Server Sizing For Oracle Database

    Hi All, I need a server sizing for the below mentioned architecture: This application is basically for logistics company which we are planing to host it centrally with two server's one server for application and one for oracle database along with DR