Different row counts between SQL management studio and Visual Studio

Hi
I'm pulling data from a NAV database using a stored procedure containing a Pivot (due to bad table design), the problem is my SQL management studio is returning 53 rows of records yet Visual studio is only returning 5.
I initially copied the query from management studio into VS to create my dataset, however after returning very few records I used a stored procedure instead.
Unfortunately the same result occurred, 5 records instead of 53,
Is there something different between the two systems, perhaps VS doesn't like something in the Pivot?
Can anyone help?
Thanks
Charlie
CREATE
PROCEDURE [dbo].[PosReleaseTestPrepared]
--@Date AS DATETIME
AS
BEGIN
-- -- SET NOCOUNT ON added to prevent extra result sets from
-- -- interfering with SELECT statements.
-- SET NOCOUNT ON;
--    -- Insert statements for procedure here
DECLARE @cols
NVARCHAR(MAX),
@stmt NVARCHAR(MAX)
SELECT        @cols
=
ISNULL(@cols
+
+
+ ES.Code
+
FROM          
(SELECT       
Code
FROM            dbo.[Branston
Live$Enquiry Step]
WHERE        [Enquiry Code]
=
'PREPARED')
AS ES
SELECT        @stmt
=
    SELECT *
    FROM
    (SELECT PR.[Entry No_], PR.[Mobile User Code], PR.[Failure Step Code],PR.[Item No_], PR.[Customer No_] ,[Enquiry Step Code],  Value
     FROM dbo.[Branston Live$Positive Release] PR
      LEFT OUTER JOIN dbo.[Branston Live$Positive Release Step] PRS
       ON PR.[Entry No_] = PRS.[Positive Release Entry No_]
     WHERE PR.[Enquiry Code] = ''PREPARED'') PR
     PIVOT
      MAX(VALUE)
      FOR [Enquiry Step Code] in ('
+ @cols
+
     ) AS P'
EXEC
sp_executesql@stmt
END
GO

Hi Satheesh, Latheesh
I'm using a shared data source in VS, the server and database are definitely pointed to the right location. As is the Stored procedure/SQL query. The table names "PositiveRelease" are bespoke to us and therefore are easy to recognise.
Below is one of the 5 records from the VS report:
Mobile   User Code
Customer   No 
Item   No 
Failure Step Code
Depot   Date
PP_GY
102980
S10586
DEPOT_DATE
17/02/14
Below is the record from the SQL management studio, you can see it is pulling through matching records.
Mobile User Code
Customer No_
Item No_
Failure Step Code
DEPOT_DATE
PP_GY
102980
    S10586
DEPOT_DATE
17/02/2014

Similar Messages

  • SQL Server Express and Visual Studio 2013

    In February I installed Visual Studio 2013 Professional. Looking in the Control Panel at all my installed programs, I see that I have a bunch of SQL server-related programs loaded, from the 2013 install and also from installs of previous Visual Studio versions.
    I've never done a thing with SQL server express, and am completely clueless about using it. I've already wanted to take a crack at it but it always seemed too daunting, so I backed off. It seems, however, that over the years the integration of SQL Server Express
    with Visual Studio is getting more and more seamless. Here is a list of all the SQL Server-related programs on my computer, with the ones installed automatically from the Visual Studio 2013 install bolded so they'll stand out. What I'm wondering is if I have
    everything I need to use SQL Server Express with Visual Studio 2013:
    Microsoft SQL Server 2005                                                  
    Microsoft Corporation   11/4/2013
    Microsoft SQL Server 2005 Mobile [ENU] De...                     
    Microsoft Corporation   4/29/2007
    Microsoft SQL Server 2008 R2 Data-Tier App...                    
    Microsoft Corporation   1217/2011
    Microsoft SQL Server 2008 R2 Data-Tier App...                    
    Microsoft Corporation   1217/2011
    Microsoft SQL Se1Ver 2008 R2 Management ...                   
    Microsoft Corporation   1217/2011
    Microsoft SQL Server 2008 R2 Transact-SQL ...                    
    Microsoft Corporation   12/7/2011
    Microsoft SQL Server 2012 Command Line ...                 
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server 2012 Data-Tier App Fr...              
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server 2012 Express LocalDB                 
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server 2012 Management Ob...               
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server 2012 Native Client                        
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server 2012 Transact-SQL Co...                    
    Microsoft Corporation   9/21/2012
    Microsoft SQL Server 2012 Transact-SQL Ser...            
    Microsoft  Corporation 2/10/2014
    Microsoft SQL Server 2012 T-SQL Language ...             
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server Compact 3.5 Design T...                     
    Microsoft Corporation   2/14/2008
    Microsoft SQL Server Compact 3.5 SP2 ENU                       
    Microsoft Corporation   5/25/2010
    Microsoft SQL Server Compact 4.0SP1 ENU                        
    Microsoft Corporation   9/21/2012
     Microsoft SQL Se1Ver Data Tools - enu (11.1....                 
    Microsoft Corporation   5/19/2013
     Microsoft SQL Server Data Tools - enu (12.0....            
    Microsoft Corporation  2/10/2014
     Microsoft 
    SQL Server Data  Tools Build   Utiliti ...              
    Microsoft Corporation   5/19/2013
     Microsoft 
    SQL Server Data  Tools Build   Utiliti ...         
    Microsoft  Corporation 2/10/2014
     Microsoft SQL Server Database Publishing ...                     
    Microsoft Corporation   2/14/2008
    Microsoft SQL Server Database Publishing ...                      
    Microsoft Corporation   5/25/2010
    Microsoft SQL Server Native Client                                      
    Microsoft Corporation   4/1/2011
    Microsoft SQL Server Setup Support Files (E...                    
    Microsoft Corporation   4/1/2011
    Microsoft SQL Se1Ver System CLR Types                             
    Microsoft Corporation   1217/2011
    Microsoft SQL Server VSS Writer                                         
    Microsoft Corporation   4/1/2011

    Hello,
    Please read the following resources:
    http://msdn.microsoft.com/en-us/library/ms233763.aspx
    http://stackoverflow.com/questions/20333518/how-to-create-a-database-in-ms-visual-studio-2013
    http://msdn.microsoft.com/en-us/vstudio/bb643825.aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Different file count between Photo Elements 12 and Lightroom 5.

    To Whom it might concern:
    When I check properties the file count in Photo Elements 12 is different than that of Lightroom 5.
    In one case Photo Elements shows 743 files and 51 folders and lightroom shows 734 files.
    I counted each a every file and found Lightroom to have the correct count and Elements the same count
    but properties shows a count of 743.
    Please answer.
    Albert F Schwartz Jr
    E-mail - [email protected]

    If you think you have found a bug, you should report it to Adobe here: http://feedback.photoshop.com/
    This forum is not the place for bug reports

  • How to achieve Incremental deployment of Code Files to different environments of windows azure using TFS and Visual Studio ?

    Hi
    We are new to Windows azure and are developing a web application. In the beginning of the project , we have deployed complete code using Sitefinity Thunder to different environments which actually publish complete code. But now as we are in the middle of development
    , we are just required to upload any new files created which can be quite less in numbers (1 or 2 or maybe few). Now if we deploy with thunder , it publishes all files and then deploys complete code which takes good amount of time. Hence we are thinking to
    attach each Azure Cloud Service which is actually a different environment like staging, UAT to a TFS branch and then just check in code from local development machine to TFS and then deploy only checked in files to azure environment linked to TFS.
    I hope this possible but if you can help send some links where I can see how to achieve this , that will be helpful. 
    Also I would like to know whether a single cloud service can be linked to a single TFS branch or multiple cloud service can be linked to a single TFS repository? Why I am asking is – because we want to deploy a checked in files revision number to a staging
    cloud service and then will test there and then if everything works well then will be required to deploy these revision files to the next cloud UAT cloud service and then production cloud service. Please help.

    Hi,
    We can use TFS to manage our azure cloud service application code, refer to the following to get more information about how to deploy sitefinity to azure.
    #http://www.sitefinity.com/documentation/documentationarticles/manually-deploying-your-project-to-windows-azure
    #http://www.youtube.com/watch?v=E2aZ7lE1JUA
    #http://www.sitefinity.com/documentation/documentationarticles/sitefinity-azure-configuration
    If any question about sitefinity, please redirect to sitefinity forum:
    http://www.sitefinity.com/developer-network/forums if the issue was related with azure, welcome to post again.
    Best Regards
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to install BIDS for SQL Server 2008 R2 and Visual Studio 2008(SSRS,SSIS)

    Hi,
    I want to install SQL Server 2008 R2 and Visual Studio to use SSRS tool, where to download these application. And my System Configuration is Window 8.1,64 Bit.
    Please share step by step information to download and installation. Kindly Reply soon. 
    Thank you
    Pravesh Kumar

    Hi Pravesh Kumar,
    As Visakh16 suggestted that you can download sql 2008 r2 standard and developer editon.
    If you have a subscription associated with your Microsoft account, you can download sql 2008 r2 standard and developer editon from below link, but these two editions are not for free:
    https://msdn.microsoft.com/subscriptions/securedownloads/
    Microsoft also provide the evaluation edition for free use of 180 days. This software is for evaluation and testing purposes. The evaluation is available in ISO format. Web, Standard, Enterprise and Datacenter editions are available via the same download:
    http://www.microsoft.com/en-us/download/details.aspx?id=11093
    More details information about the feature supported by different editions in the article below:
    Features Supported by the Editions of SQL Server 2008 R2
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Release management with Azure and Visual Studio Online (Cloud TFS)

    What strategy would you use to manage the releasing of versioned software to Azure cloud services (web and worker roles)? We are not looking for continuous integration. We are using Visual Studio 2013 and Visual Studio Online (Cloud TFS).
    At one point, we were releasing straight from Visual Studio using the Azure Cloud Project Publish tool. This is really bad practice in my opinion as you can never be sure what you are really releasing. Additionally, there is no automated control on the labeling
    or branching of code, or the running of unit tests and code analysis checks.
    Next, we employed Release builds on Visual Studio Online. Before deployment, one would edit the appropriate Build Definition (whether it be for Test or Production by and filling in the code label (under the "Get Version" build property) that is to
    be released. This would then get the appropriate code (by the label specified), build it, and release it to whatever cloud service is specified in the targeted Cloud Project profile (this is using the AzureContinuousDeployment.11.xaml template).
    There is still a degree of manual intervention involved. Also, the fact that a version of code is built every time before it is released is not ideal (as far as I understand it would be better if it was packaged once).
    Microsoft Release Management tools
    look ideal for the job, but are not supported with Visual Studio Online.
    Is there a better way of handling our releases?

    /waves hand.. These are not the tools you seek. You are looking for continuous integration.
    Although CI has the word continuous in there, it does not mean "all the time, every checkin". It can easily refer only to those bits you want to release - -and the way to tell the system which bits you want released is to merge them to a Releases
    branch.
    If you do this, not only do you get all the joy of controlled CI, but you guarantee what you release is exactly what is controlled in your SCM - under the Releases branch, preferably tagged or otherwise noted as a particular release. That means you can also
    rollback to a previous release by simply reverting to a previous release in your SCM!
    Of course you don't have to let it happen automatically, you can set it up to build 'continually' and then remove the check on the SCM to see if any changes have been committed. You can replace this with the manual build button.

  • Hi, I would like to know if is it possible to install windows on mac pro , because I need to have some application like SQL server and visual studio, and they could not be install on mac

    hi, I would like to know if is it possible to install windows on macbook pro , because I need to have some application like SQL server and visual studio, and they could not be install on mac

    Windows on a Mac

  • Different row count for select versus insert in XML query

    Hi,
    I encounter a situation where a SELECT * returns a different rows count than an INSERT INTO... (SELECT *) by xmltable join. This makes no sense at all!!!
    In breif, I tried to convert xml data into traditional relational tables. I wrote an xml query to select data from xmltable... I checked row count. When I used "create table as select" that was the same query above, I got correct row count. However when I used "insert into select" that was the same query above, I got the wrong info in the table I just inserted.
    Does any one have any idea what caused this issue? Thanks for your help.

    DUPLICATE post
    count of rows in a schema tables

  • Difference between a Managed Bean and Backing Bean

    hi
    i am new to JSF made my 1st appl today ...
    couldnt clearly understand difference between a Managed Bean and Backing Bean , anybody know the difference?
    Regards
    dsdsf

    These are two terms that means the same .... A backing bean is a normal web term, in JSF specifically it is termed as managed bean as this' backing bean' configurations in faces-config.xml are termed within 'managed-bean ' tags.
    Cutting the long story short its a bean class . period :)

  • Lenovo Yoga with Windows 8 Pro, Office 2013 and Visual Studio

    For you developer types, I just wanted to post a message and let you know my experience with Lenovo Ideapad Yoga 13 as a development machine. I bought Lenovo Ideapad Yoga 13 from Bestbuy for $999.99. As expected, it came with a crap ton of bloatware installed by Lenovo.
    Here is a summary of what I did to it (I take no responsilibity for accuracy of below information. You are on your own if you decide to follow them. I am just putting this down from my memory so that I can look it up in the future if I ever need to do this again).
    INITIAL CLEANUP
    Installed Lenovo hotfix for partition cleanup/merging: http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS033035
    Installed Lenovo Touchpad driver fix.
    CAUTION: I take no responsibility for below steps. I am writing them from memory and if you decide to follow them and end up making your machine unusable, you are on your own as Lenovo might not honor your warranty.
    BACK UP ENTIRE DISK (requires an empty USB flash drive for booting and another external USB drive for backup)
    Copied Drivers from D_Backup folder to the external USB hard drive (plugged into USB 3.0 port).
    Installed Paragon Backup & Recovery 2012 Free: http://www.paragon-software.com/home/br-free/
    Created Paragon Backup & Recovery boot USB flash drive with default Linux recovery environment option (flash drive plugged into USB 2.0 port).
    Shutdown Lenovo Yoga.
    Plugged in the Paragon Backup & Recovery boot USB flash drive (USB 2.0 port). 
    Pressed the one key recovery button (next to power button). Went to BIOS.
    In the BIOS, enabled Legacay mode and made Legacy high priority and saved the changes.
    The machine booted into Paragon Backup & Recovery mode. From there, made a backup of entire disk to the external USB hard drive.
    Shut down the machine, pressed the one key recovery button (next to power button). Went to BIOS. Turned off Legacy mode and switched back to UEFI boot mode and saved the changes and restarted the machine.
    Logged into the machine and verified that everything was good and checked the external USB drive to verify that the backup image was present.
    MAKE WINDOWS 8 PRO BOOT USB FLASH DRIVE (requires a second empty USB flash drive and a second computer with Windows 7. This USB Flash Drive has to be between 4GB to 32GB as Windows won't format 64GB flash drives to FAT32 mode)
    (Note: I installed Windows 8 Pro in UEFI mode. See http://pcsupport.about.com/od/windows-8/a/install-windows-8-usb.htm)
    You need a licensed ISO image of Windows 8 Professional Full version (not the upgrade version) from your MSDN or Technet subscription or create an ISO from the Windows 8 Pro full version DVD.
    Download Windows 7 USB/DVD Download Tool on the computer with windows 7.
    Plug in the second empty USB flash drive (has to be at least 4GB but less than 32GB) into the computer with Windows 7.
    Using Windows 7 USB/DVD Download Tool and the ISO file, create the Windows 8 Pro bootable USB Flash drive.
    Create a new folder on your computer disk, for example, C:\WIN8USB.
    Copy all the files from your USB flash drive to the newly created folder (created in the previous step).
    Right click on the USB drive icon in Computer window and select “Format…” from the context menu. Make sure you select “FAT32 (Default)” in “File system” drop down menu. Click “Start” and wait till the drive gets formatted. This step is needed because NTFS is not readable by BIOS in UEFI boot mode. During formatting, MBR is preserved so the thumbdrive is still bootable.
    Copy all the files from the folder you created earlier (C:\WIN8USB, for example) to the formatted drive. Your Windows 8 installation USB drive is ready to install in UEFI mode.
    WIPE THE DISK PARTITIONS
    Shut down the machine, pressed the one key recovery button (next to power button). Went to BIOS, enabled Legacay mode and made Legacy high priority and saved the changes.
    Booted into Paragon Backup & Recovery boot USB flash drive again. This time, I deleted all partitions on the primary disk (Disk 0). CAUTION: This WILL wipe your hard disk and will make your machine unusable!!! 
    Shut down the machine, pressed the one key recovery button (next to power button). Went to BIOS. Turned off Legacy mode and switched back to UEFI boot mode and saved the changes and shut down the machine.
    At this point, the disk is wiped clean. All factory installed software and recovery partitions are gone!!!
    INSTALL WINDOWS 8 PRO
    Plug in the USB Flash Drive with Windows 8 Pro install files.
    Windows 8 Installer would show the unallocated disk space. I can't remember the exact details but either I had to click on Delete or New to delete and then create a new GPT partition. The entire partition was about 119GB.
    From that point, follow the Windows 8 Pro installation steps.
    After booting up into Windows 8 Pro, plug the external USB drive that had the drivers folder backed up from D_backups.
    Install all the drivers from this folder (I was able to install everything except for one Intel fast boot one because of missing partition but my Yoga still boots up just as fast).
    Go to device manager to check and everything should be good now.
    Run Windows Update.
    You should now have about 101GB free on C: drive!!
    INSTALL VISUAL STUDIO, SQL SERVER and OFFICE 2013 ON LENOVO YOGA 13
    I installed the following in that order:
    Microsoft SQL Server 2008 R2 Developer edition (I installed all components, everything!). Then I installed latest service pack.
    Microsoft Visual Studio 2010 (I installed all components, everything!). Then I installed latest service pack.
    Microsoft SQL Server 2012 Developer edition(I installed all components, everything!). Then I installed latest service pack.
    Microsoft Visual Studio 2012(I installed all components, everything!)
    I ran Windows update and also installed Nov 2012 updates of SQL Server Data tools.
    I then installed Office 2013 Pro Plus.
    MAKE LENOVO YOGA 13 MORE SECURE
    Go to Control Panel and enable Windows Defender (it is included by default in Windows 8 and is anti-virus and anti-malware solution)
    Enable full hard-disk encryption using BitLocker feature of Windows 8 Pro. Since Lenovo Ideapad Yoga 13 doesn't have hardware TPM, you have to enable password based option. For this, follow the steps here: http://rics.partners.org/show_article.php?id=274. 
    Basically, you go to GPEDIT.MSC and Open Computer Configuration => Administrative Templates => Windows Components => BitLocker Drive Encryption => Operating System Drives. From the right pane double-click "Require additional authentication at startup. Select Enabled radio button and check the box for "Allow BitLocker without a compatible TPM...". Click OK and close the policy editor. Then Right-click your C drive in the Computer folder, click Turn on BitLocker. Then select Enter a password instead of USB option. Then provide a strong password (make sure to write it down and put it in a SAFE place, if you lose the password, no one can boot into your hard disk). Then select Save to a file and save it to the External Drive. Select "Encrypt entire drive...", click Next. When this is done, you will get a pop-up on the lower-right a prompt to restart the computer. Restart your PC. Enter the encryption password created earlier. If you are successful in getting into Windows, you're all set.
    I also hooked up to Skydrive and used BoxCryptor to encrypt my files in cloud.
    The available free disk space should now be about 54GB.
    I verified that Lenovo Yoga 13 works like a champ with no slowdown with Visual Studio 2010, Visual Studio 2012 and SQL Server Management Studio open simultaneously and Bitlocker enabled!
    The keyboard right SHIFT key is small but other than that, it can work as a great portable development machine and Microsoft Reader is great for reading PDF eBooks.
    So if you are a Developer on Microsoft platform, go right ahead. Lenovo IdeaPad Yoga 13 is great for running Visual Studio 2010 and Visual Studio 2012 (1600x900 resolution is totally usable) while on the move. Since I have only had this machine for a few days, I can't tell much about the long term reliability.
    Solved!
    Go to Solution.

    Thank you for posting this. I am in this exact situation. I purchased a yoga 13, and installed Visual Studio Express 2012 for Windows Phone. As it turns out, the Windows Phone Emulator ONLY works in a Windows 8 Pro environment. Since the Yoga doesn't have a disc drive, I shared my W7 computer's cd drive, then put in Windows 8 Pro, so that it could install onto the Yoga. Well, after the installation was done, I tried running my program again and ran into the same issue. It prompted me that my environment must be Windows 8 Pro! I thought that Windows 8 Pro already installed but, what confuses me is that I see no indication that Windows 8 Pro installed. When I go to the System Window, it reads: "Windows 8". Should it read Windows 8 Pro?
    Ultimately, I'd like to know, are you able to execute the Windows Phone Emulator? I'm not sure as to whether the Yoga has the hardware capability (needs to be SLAT enabled or something like that?), I HOPE it is able to, and judging by your post, it seems like it but I'd love to know your perspective on my approach.
    Please let me know if this makes sense, as I'm new to this kind of thing but really want to start development for Windows Phone.

  • Question about creating association between Sharepoint BDC entities using Visual Studio 2010

    I am following this tutorial:
    http://blogs.msdn.com/b/vssharepointtoolsblog/archive/2010/08/02/walkthrough-of-creating-association-between-sharepoint-bdc-entities-using-visual-studio-2010.aspx
    I am getting the following error:
     There is an error in the TypeDescriptors of Parameters on Method with Name 'CustomerToOrder' on Entity (External Content Type) with Name 'Customer' in Namespace 'BdcAssociationSample.BdcModel1'. The TypeDescriptors incompletely define where the Foreign
    Identifiers of Entity 'Order' in Namespace 'BdcAssociationSample.BdcModel1' are to be read. That Entity expects exactly '1' Identifiers, but only '0' TypeDescriptors with the correct Association were found from which to read them.
    I have viewed the following:
    http://lightningtools.com/business_connectivity_services/the-typedescriptors-incompletely-define-where-the-identifiers-of-entity-x-are-to-be-readbcs-error/
    after reading that article, I am still not sure what setting I am missing.  Does anyone have the full working source code from the msdn article linked above?

    Hi,
    According to your post, my understanding is that you got the symbols not loaded error.
    First try rebuilding your project by right mouse click the project > Rebuild If that doesn't work, try a clean of the project (right mouse click on the project > clean)
    If that didn't work check this:
    Right mouse click your project
    select [Properties]
    select the [Build] tab
    make sure [Define DEBUG constant] and [Define TRACE constant] are checked
    Click the [Advanced] button at the bottom of the Build tabpage
    Make sure that [Debug Info:] is set to [full]
    Click [OK] and rebuild the project ;
    Hope that works for you! (step 6 generates the .pdb files, these are the debugging symbols)
    What’s more, you can clean & re-compile the code, then install the respective dlls one more time to GAC (just remove them before adding to GAC again), do an IISReset to check whether it works.
    More reference:
    http://stackoverflow.com/questions/2155930/fixing-the-breakpoint-will-not-currently-be-hit-no-symbols-have-been-loaded-fo
    http://stackoverflow.com/questions/2301216/the-breakpoint-will-not-currently-be-hit-no-symbols-have-been-loaded-for-this-d
    http://geekswithblogs.net/dbutscher/archive/2007/06/26/113472.aspx
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Oracle 10g express, Windows Vista and Visual Studio 2005

    Hello,
    I have Oracel 10g express and Visual Studio 2005 professional, all installed on Windows Vista and working fine.
    I want to use the .net tools but I have had problems to install the wright version for this environment. Has anybody have this same configuration working? What are the downloads I need to have and the steps to have the .net oracle tools working ?

    It can be done:
    1) Download and install XE. Don't download the special "ODT for XE"
    2) Download and install ODAC 11g with ODT into a different directory than XE
    3) Copy over the TNSNAMES.ORA from the XE install into the new Oracle home.

  • Whats the difference between executing a package from SQL and Visual Studio?

    Hi,
    We have a package that is currently failing to run when deployed to SQL. This has been tried from a schedule and also executed manually both are failing.
    I have tried from Visual studio running on various machines (windows 8, server 2012) and in all cases run perfectly.
    I am trying to understand the differences between deploying to SQL and running from VS so maybe I can figure out why this is happening.
    I have the following errors when I run from SQL.
    DTS_E_PROCESSINPUTFAILED - all errors like this point to the 'Sort' tasks in the script
    dts_e_processinputerror not enough storage is available
    I have tested in four environments and all fail from SQL but not from VS!
    Last night I tried from my laptop and executed the package from SQL - it didn't fail but was still running in the morning so I terminated. Note this takes around 20 mins running from VS! why would it be so quick from VS but fail or take so long on SQL?
    The test running at the moment is on a server with dynamic memory currently at 14GB. I decreased SQLs RAM to 4GB and it hasn't failed yet but has been running for two hours. Before changing this the package failed after a short time.
    I thought it may have something to do with running from a virtual machine but doesn't explain why it couldn't run locally on my laptop.
    All ideas welcome :) Many thanks,
    Davina

    I will try to address issues one by one
    The error doesn't seems to be related to SSISDB configuration mode. It may be because of
    Change in package definition (please confirm that the package which you are running on your laptop is the same on your msdb? - reload your SQL package from MSDB in BIDS/SSDT and recreate your source and destination components)
    As your error message shows, "not enough memory available" (may be because of multicast)  - Usually you can override this error by restarting SQL Server [not an optimal solution but it work & if that work it shows that your package fills
    the memory - Keep an eye on task manager]
    Make sure that your statics on table are updated [run EXEC sp_updatestastics] 
    Make sure your indexes are not de-fragmented [run rebuild indexes]
    If you are dealing with many rows may be 40000 * 12 (because of multicast) = 4,800,000 rows the try to separate package. 
    Check your excel file format/column data type is correct
    Check user permission who is running the job has required permission on folder/file.
    Understand that sort is a blocking transformation and it requires all your data in memory before it sorts. so, if there are large number of rows then your complete memory will be occupied. 
    Difference between Visual Studio & BIDS/SSDT
    Nothing much, other than BIDS runs on 32 bit while jobs on 64 bit (but there run time environment are configurable, though) 
    There shouldn't be any performance difference until your
    package is on network location because transferring data to the network may slow the package. If package runs on SQL Server it uses SQL buffer pool to fetch data via SQL statement and then SSIS works on its own memory allotment. 
    Hope this will help you to understand and fix the issue.
    Glad to help! Please remember to accept the answer if you found it helpful. It will be useful for future readers having same issue.

  • How to manage connectivity between Oracle 11g &9i Database and Visual Studio 2010 professional in window 7

    Hi,
     I am not able to resolve the error of
    “ORA-12514: TNS:listener does not currently know of service requested in connect descriptor”
    Below Link is the indication,  related to that error.

    Hi Surbhi.Gupta,
    Thank you for posting in MSND forum.
    According to your descriptiom, I suggest you could try the following blog to connect to Oracle from Visual Studio check your issue again.
    Reference:
    http://blogs.msdn.com/b/kaevans/archive/2009/07/18/connecting-to-oracle-from-visual-studio.aspx
    In addition, as you said the error message, I did some research about this error message. So I suggest you could refer then following thread to check your error, maybe you will get some useful message.
    http://dba.stackexchange.com/questions/36370/oracle-11g-listener-fails-with-ora-12514-and-ora-12505-errors
    However, since this issue is related to the third-party database oracle, so if possible, I suggest you could try to post your issue directly to this Oracle official website:http://www.oracle.com/us/corporate/contact/about-your-account-070507.html
    , you will get better support.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Connectivity between sql server 2000 and oracle 9i

    Hi friends....
    i am developing application in which i require some data from sql server2000 tables...
    tell me how i can establish connection in between these 2 database and how can i transfer specific rows to oracle....tell me how it is possible to writting stored procedures in sql....or procedures in oracle.....i used DTS (data transfer scheme) but it transfer whole database ot table...but i want to transfer only specific rows in table...
    help me out from it?
    thanx in advance...

    There are a number of ways...
    You can certainly use DTS to extract a subset of rows and move them to Oracle. You'll need to define the WHERE clause when defining your DTS steps.
    You can use Oracle Heterogeneous Connectivity to create a database link to SQL Server from Oracle and pull the data over via straight SQL, i.e.
    INSERT INTO local_table
      SELECT * FROM remote_table@sql_server_dblink WHERE extract_conditionYou can do a similar thing in SQL Server where you use linked servers to connect to Oracle from SQL Server and push the data
    This list can go on, but these should get you started.
    Justin

Maybe you are looking for

  • Camera new d810 not showing pix up in raw files in elements 11

    camera new d810 not showing pix up in raw files in elements 11 and lightroom 4

  • How can I take a pic

    Hi Can not detect the font of the text, I was wondering if I can take a pic of the original text and paste it in the editing pdf, is it possible to do this and how can I take a pic of the selected area of the pdf?

  • Exception Details: java.lang.IllegalArgumentException table1.

    Hi when i try to add some of the data to the database from the jsp page it is showing like Unhandled Exception: Exception Details: java.lang.IllegalArgumentException srni.Table1.ID Really i am frustrated by doing this from past 2 months. Any help wou

  • Can PAP2 recover from firmware download disruption

    If the PAP2's download of its firmware or config file are disrupted, does it recover gracefully and try again or will it be corrupted? Thanks

  • How to create Links help

    A question I should know the answer to but it has slipped my mind. I select a group of words and make a link.  Say the words selected is a name.  I go ahead and make a link.  In use this updates the browser window I am in. How do I instead create a n