Compact Server 4.0 not working in Visual Studio 2014 app

I have an application that uses Microsoft SQL Server Compact version 4.0. The application works on Windows 8 and it works on windows 7, but it doesn't work on Small Business Server. I created the application with a compact server so it would be flexible
enough to be installed on anyone's computer. The error I am getting is as follows
"A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.
(provider: sQL Network Interfaces, error: 52-Unable to locate a Local Database Runtime installation. Verify that SQL Server Express is properly installed and that the Local Database Runtime feature is enabled.)"
I verified that the install folder has permissions and the application is running as administrator. Does anyone have an idea of what else I should check? I was looking at Visual Studio and I didn't see how to set "remote connections". Plus the
application works on my machine (where it was designed).
Thanks for any help you can provide.
Hmm... I feel like I have more questions than answers. If you find my reply helpful please mark as Answer below. Thanks.

Hi Trewaters,
SQL Server Compact has been deprecated from Visual Studio 2013. Refer to this
connect item.
According to the error message, I recommend you install SQL Server 2014 Express or SQL 2014 LocalDB, which can be downloaded from below link.
http://www.microsoft.com/en-us/download/details.aspx?id=42299
LocalDB is created specifically for developers. It is very easy to install and requires no management. While LocalDB is meant for developers, the regular SQL Server Express will continue to exist as a free SQL Server edition, fully compatible with and easily
upgradeable to higher SQL Server editions.
For more information about SQL Server LocalDB, you can review the following articles.
http://blogs.msdn.com/b/sqlexpress/archive/2011/07/12/introducing-localdb-a-better-sql-express.aspx
http://www.mssqltips.com/sqlservertip/2694/getting-started-with-sql-server-2012-express-localdb/
Thanks,
Lydia Zhang

Similar Messages

  • Ctrl+Tab not working in Visual Studio 2013 in Remote Desktop

    My PC is W81, and I'm RDing into a W7 machine running Visual Studio 2013 SP4.
    When I press Ctrl+Tab (and hold), I very briefly see the usual editor window list come up, but it goes away and the editor does not switch.
    If I hold Ctrl+Tab and let the repeat start, the same thing happens in rapid succession, but the current tab still never changes.
    I have of course rebooted both client and server, and made sure my keyboard wasn't at fault and toggled all the keys.  No dice.
    Thanks.

    Sorry, but that doesn't get me the original behavior, where I can tab through the list or double-tab, triple-tap TAB to visit the last, second to last, or third to last file I visited (or I could use the visual navigator).  I frequently use these commands,
    and it's really slowing me down.
    Can I please get an admission this is a bug and a commitment to fix it?

  • Scrolling Header works in Visual Studio but not on Report Server 2008

    2008 R2 Reporting Services. My scrolling header works in Visual Studio but not when deployed to the Report Server and viewed in IE 9. I have read most every post on this issue and can't find a solution. I have the fixed data properties
    set correctly. Any suggestions?
    Help appreciated! 
    Linda

    Hi Linda,
    As a suggestion, I would try to delete the deployed version and instead of deploying ther RDL file, i would try to upload the file and test it.
    If the issue exisit, then I would download the exisiting version from the reportserver and compare the xml versions of the two reports and check if the propoerty is getting over written while deploying.
    HTH,
    Ram
    Please vote as helpful or mark as answer, if it helps

  • SharePoint DatePicker is not working in Visual webpart

    Hi,
    The sharepoint date picker is not working for Visual webparts created in VS 2012 (SP 2013).
    In my visual webpart, I added the form digest, and then the sharePoint date control.
    <script type="text/javascript" src="/_layouts/15/datepicker.js"></script>
    <SharePoint:DateTimeControl ID="dtDate" runat="server" DateOnly="true" />
    I get the "/ error in Application". Many websites are saying to add the below line to the datepicker:
    <SharePoint:DateTimeControl ID="dtDate" runat="server"
    DateOnly="true" DatePickerFrameUrl="<%
    $SPUrl:~sitecollection/_layouts/15/iframe.aspx %>" />
    But adding the "DatePickerFrameUrl" gives error in the "InitializeControl()" method available in OnInit().
    Error: The name InitializeControl does not exist in the current context.
    I have checked this:
    http://developmentsimplyput.blogspot.in/2013/04/sharepoint-datetimecontrol-issue-when.html
    http://sharepoint.stackexchange.com/questions/57092/sharepointdatetimecontrol-crashes-in-sp2013-webpart
    but did not solve the issue. Also creating a root site for just a DatePicker control is not an option for me.
    Has anybody found a solution to this?
    How to use the SharePoint datepicker in visual webpart for SP 2013?
    Thanks

    hi
    did you try to investigate the initial error more deeply, e.g. check stack trace in the logs? In our case it worked quite straightforward (but it was in SP2010) by adding the following control on ascx control:
    <SharePoint:DateTimeControl ID="Foo" OnDateChanged="StartTimeChanged" HoursMode24="true" FirstDayOfWeek="1" AutoPostBack="true" runat="server" />
    If it is problematic to check logs, you may create custom control which inherits OTB DateTimeControl, override appropriate methods in it and then check the error in debugger:
    public class MyDateTimeControl : DateTimeControl
    Blog - http://sadomovalex.blogspot.com
    Dynamic CAML queries via C# - http://camlex.codeplex.com

  • I would like to know why when i make a web page and test in my local browser it works fine then when i tranfer to my server i does not work fine example i used javascript to put a prompt bar on a page and it worked fine local but on server not working

    how come when i make a web site and i test it in my local server it works fine when i tranfer to server certain things do not work example i used javascript to put in a prompt bar for a newsletter page at the server it did not work but at local it did also it works at MOZZILLA but not internet explorer i also have cs4 was wondering if there is a way to test a page in dreamweaver and then transfer   THANK YOU X-FACTOR-MEDIA

    In future, please try to make the subject line of your posts shorter. In this case the following would have been sufficient: "JavaScript works locally, but not on remote server".
    Short, but meaningful subject lines make it easier for others to identify what your question is about, and often bring faster help.

  • Lion Server DNS service not working for locally created zones. Caching working fine.

    OS Lion Server DNS service not working for local zones. Was fine under Snow leopard server but Lion server upgrade has severely broken my DNS and web sites. Zones look fine under Server Admin but keep getting "query failed (SERVFAIL) for xxxx at /SourceCache/bind9/bind9-42/bind9/bin/named/query.c:3921" in the logs. BTW - Server Admin cant seem to see the log file either.
    Surely someone actually tested that DNS still worked on Lion?

    I upgraded from Snow Leopard Server to Lion Server on day 01.  I hit the same issue where, after the upgrade, my Lion Server stopped serving names for my private local domain.
    I finally took a few minutes to figure out what was wrong.  After turning on debug logging and looking through the logs, I found my particular issue, now resolved.
    The issue I had was, when the domain initially was setup when I installed Snow Leopard Server, for some reason it created a zone just for the server (in my case, something like zone "s-01.mydomain.priv"), and a separate zone for all the other machines (zone "mydomain.priv", containing all the private IPs for my local domain).  I never messed with it because it worked, but generally I would have put all of them in the same zone.
    My zone "mydomain.priv" had a nameserver and mail exchanger entry for my server, s-01.mydomain.priv.  I could see this in the Server Admin app on the DNS bubble, Zones tab, mydomain.priv selected, and the General Info panel.  This was fine in Snow Leopard.  This was failing the zone load in the updated bind for Lion Server, though.  The issue was that the "mydomain.priv" zone was referencing the s-01.mydomain.priv server, which was not defined in the "mydomain.priv" zone but rather in the "s-01.mydomain.priv" zone.
    My fix:
    1. In Server Admin, add the server to the zone "mydomain.priv".  I put an A record (Add Machine) in the "mydomain.priv" zone for my server named s-01.mydomain.priv.
    2. shut down DNS on the OS X Lion Server (hit the Stop DNS button on Server Admin).
    3. edit /etc/named.conf by hand, removing the specialized zones that contianed just the server.  In this case, it would be the section titled 'zone "s-01.mydomain.priv"' and the section titled 'zone "3.10.1.10.in-addr.arpa"'.  Your in-addr.arpa zone name will change based on whatever your server IP address was.  My internal one happened to have s-01.mydomain.priv mapped to 10.1.10.3.
    4. Once the specialized zones for just the server were removed, I started the DNS up again.  Instead of serving four zones as it had in OS X Snow Leopard Server, it now servers two zones.  And, now, it is resolving my local machines for the mydomain.priv zone.
    YMMV.  I did note that it wasn't totally necessary to do step 3, but I never really understood the need for the specialized domain, and keeping it around would have a copy of data that would just confuse things.
    Hope that helps.  That's been the only hiccup I've noticed updating to OS X Lion Server thus far.

  • Get error when passing server name to Crystal Reports in Visual Studio 2012

    Hello,
    I work on Visual Studio 2012 with Crystal Report 13.0.12 (both developer and run-time). When I pass the name of the server to the Crystal Reports, I get an error -- Failed to open the connection.  Database Vendor Code 17.  I use SQL OLEDB as the provider.  It worked before.  Not sure what has happened.
    Any help is much appreciated!!!
    John

    Hi,
    See this: Failed to open the connection - database vendor code 17
    --dj

  • SQL Server Data Tools – Business Intelligence for Visual Studio 2013 (SSDT BI) and SSIS on SQL Server 2012

    This great blog entry titled
    SQL Server Data Tools - Business Intelligence for Visual Studio 2013 (SSDT BI), link below, highlights the lack of support for SSIS projects using SQL Server 2012, VS 2013 and SSDT BI for VS 2013. I see there is a new version
    on SSDT BI for VS 2013 (12.0.2430.0, File Name: SSDTBI_x86_ENU.exe, Date Published: 10/27/2014) link below.
    Does this version support SSIS projects using SQL Server 2012 using VS 2013 and SSDT BI for VS 2013?
    http://blogs.msdn.com/b/analysisservices/archive/2014/04/02/sql-server-data-tools-business-intelligence-for-visual-studio-2013-ssdt-bi.aspx
    http://www.microsoft.com/en-us/download/details.aspx?id=42313

    Hi cjrinpdx,
    According to the picture, it seems that we can use SSIS 2012 support is not included in SSDT-BI for VS 2013. And based on the previous versions, SSIS always different from SSRS, SSAS.
    SSDT-BI for Visual Studio 2012 supports versions of SQL Server as follows:
    SSAS project can target SQL 2012 or lower
    SSRS project can target SQL 2012 or lower
    SSIS project can target only SQL 2012
    The following blog is for your reference:
    http://blogs.technet.com/b/dataplatforminsider/archive/2013/11/13/microsoft-sql-server-data-tools-update.aspx
    Since I have no environment to test this at this moment,
    I recommend you that submit the feedback at
    https://connect.microsoft.com/SQLServer/. 
    Thank you for your understanding.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Known Issue: Windows Emulators Are Not Supported When Visual Studio Installed in a Virtual Machine (Windows 10 Insider Preview SDK and tools, April 2015 release)

    If you install Visual Studio 2015 with the Windows 10 Mobile emulators in a virtual machine, setup will succeed but the emulators will not be available as valid debug targets.

    The Windows Emulators require a physical machine that runs Windows 8.1 (x64) Professional edition or higher, and a processor that supports Client Hyper-V and Second Level Address Translation (SLAT). The emulators will not run when Visual Studio is installed
    in a Virtual Machine (VM).
    The emulators for Universal Windows app development work best with Windows 10.

  • Error installing SQL Server Data Tools - Business Intelligence for Visual Studio 2013

    Hi
    I am trying to install SQL Server Data Tools - Business Intelligence for Visual Studio 2013 and am getting the following error
    This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package.
    I am running
    Windows 8.1 x64
    SQL Server 2014 Developer Edition x64
    Visual Studio 2013 Professional
    Any help would be appreciated.
    Thanks
    Biztalk Developer

    Could you please check if Windows Installer service is running and is in automatic startup mode.
    The other thing is, if you’re running an x64-based SQL instance (64-bit), make sure to select “New Instance” on the Installation Type page, and NOT “Add features to an existing instance”. 
    http://stackoverflow.com/questions/24989187/64-bit-microsoft-sql-server-data-tools

  • Logitech mouse buttons not working in photoshop cc 2014

    logitech mouse buttons not working in photoshop cc 2014 winds 8.1. Is this a common problem?
    I have updated the latest drivers and have a few buttons programmed with keyboard shortcuts that used to work in previous versions of Photoshop but don't work now.
    Scrolling with mouse in bridge stopped working in cc butI see it is now working.
    any ideas?

    Many Photoshop extensions are not compatible with Photoshop CC 2014 for Adobe removed support for Flash Panels in CC 2014. Many extensions panels are flash based.  Check with the developer to see if their blendmein extension works with CC 2014.
    Adobe does not maintain Photoshop so it backward compatible with prior versions of Photoshop.  This brakes things like action scripts plugins extensions etc. Keep old version of Photoshop installed....

  • I have a problem with my MacBook Pro is the almost of my app not working at all like a app store and terminal and other important apps please if u can help me as fast as you can cuz i don't wanna format it that's why am on Mac now not win ?

    i have a problem with my MacBook Pro is the almost of my app not working at all like a app store and terminal and other important apps please if u can help me as fast as you can cuz i don't wanna format it that's why am on Mac now not win ?

    Abdussalam.A,
    you mentioned that Terminal does not work at all for your MacBook Pro. What currently happens when you run Terminal? In what way does it not work?

  • Bridge CC Tools - Photoshop - Batch does not work in Photoshop CC 2014.

    in Bridge CC Tools - Photoshop - Batch does not work in Photoshop CC 2014. At first I didn't even see the option but I reinstalled Photoshop CC and now I see the menu option but when I try it there is a message that I need to use Photoshop CC. So I open Photoshop CC and the same thing happens? I can't seem to make it work.

    Kitty,
    Your screen shot is in the virus scanning queue, where it can linger for minutes, hours, days or weeks.
    If you use the camera icon in the reply editor's formatting bar, you can embed your image in your post, where it will be viewable instantly.
    then:
    As for your issue, make sure all applicable scripts are checked in Bridge preferences:

  • CC 2014 nik efex - My Nik Efex filters are not working in Photoshop CC 2014 - they appear under plug-ins and seem to work, but after running and clicking okay, no new layer appears - seems to have no effect.  The separate menu panel does not appear either

    My Nik Efex filters are not working in Photoshop CC 2014 - they appear under plug-ins and seem to work, but after running and clicking okay, no new layer appears - seems to have no effect.  The separate menu panel does not appear either.  Help with this?

    BINGO !!!!
    Thanks so much Woodsroad. I had the exact same problem with my Dell Windows 7 64 bit with AMD Radeon 6700 Video card.
    All the video tests passed with flying colors.
    The sniffer rename trick fixed the problem.
    Thank goodness for the internet!

  • Lotus Notes Application in Visual Studio

    Hi All,
    My company currently has a old VB application running in lotus notes. This imports a XML file, calls a stored procedure on a SQL DB tranforms the file, calls another stored procedure, then loads the file data into the SQL DB.
    We are now looking at migrating it to a modern platform. I was initially thinking of creating a new visual studio 2008 or 2010 SSIS solution. But I have found the rules of the transforming have not been documented and so are buried in the Lotus
    Script\VB code & modules. So unless the rules can be documented into logic loops so I can't apply them to the XML nodes. I have also found Artin Soft
    http://msdn.microsoft.com/en-us/ff793478 free upgrade tool but this is for VB6.
    So I have two questions.
    1. Is there an lotus notes reference in Visual Studio 2010 for lotus notes classes such as NotesSession, NotesDatabase, NotesDocument? So the VB package could be opended and understood by visual studio.
    2. Can anyone suggest another migration path from lotus script to VB.net?
    Thanks

    Hi,
    Welcome to MSDN forum.
    Your issue is out of support range of VS General Question forum which mainly discusses
    the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor, moreover
    Lotus notes is third-party product,we don't support it.
    Visual Studio itself does not support Lotus Notes script.
    Visual Studio official does not provide some references for Lotus Notes. I can’t ensure whether you said Lotus Notes is identical to IBM Lotus Domino, based on
    this document, IBM provides some supports for using Lotus Domino in Microsoft .Net App. So I suggest you to consult on Lotus Notes to check whether they provide some supports for migrating
    Lotus Notes script to VS2010 Visual Basic .Net, I think that they can provide you better answer.
    Thanks,
    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.

Maybe you are looking for

  • Recording from eurosport

    Trioed to do a recording the other day from eurosport and all looked well ,BUT  on playback later  it shrunk to the top left hand quarter of my screen making it impossible to watch , it was showjumping by the way   the previous week they had overlapp

  • Help with my Program

    Hi, I am new to Java. I have to write a program in which there is a class called Account that returns a balnce if somebody withdraws money from his/her bank account. If for eg. they have $300 in their account and they withdraw $200 it should give $10

  • IPod touch and Facebook App

    Last night I deleted cookies in Safari and now I when I choose to use the Facebook app, I get the msg cookies are not enabled. How do I resolve this? Thank you

  • Detete content of the cube option in infopackage not visible

    Hi All, We are using BW7.0. I have a requirement and where I have to create infopackge and DTP. When I load every time it has deleted the content of the Cube and load the data to the data target. I have the option to delete the content of the cube in

  • Wrong dr and cr entries

    Hi guys, due to some accounting errors, the following situation arised where One account is debited in excess amount of 8000 and the other account is credited in amount of 8000. Now they want the reversal to take place..that is credit the first accou