SQL Server not working

I had been creating a solution with SQL DB before I upgraded to Windows 7.  (64bit system)    Then SQL2005 doesn't work.         all my programs are messed up with the "Ignore and Continue"
screen on all my forms.  I uninstalled SQL and went looking for a newer version.  I installed SQL2012, but VB won't let me connect to it.  I've tried this in a new project that is nothing but a blank form and a new database object
- it won't let me set up the database (new connection)
The error is: "Failed to generate a user instance of SQL server due to a failure in starting the process for the user instance."
Shoud I get a different version of VB (2008)? 
Do I need to uninstall and re-download SQL?
Do I have the right SQL app? (I now have SQL2012 - 64 bit)

Hi,
Welcome to MSDN.
I am afraid that this is not the proper forum for this issue, since this issue is mainly related to SQL Server, you could consider posting this issue in
SQL Server forums for more dedicated supports.
In addition, I found some similar threads, if you are using SQL Server Express, you could refer to this thread:
Failed to generate a user instance of
SQL Server due to a failure in starting the process for the user instance.
If your application is ASP.net project and you are using SQL Server Express, you could refer to this solution:
Problems with SQL Server Express user instancing and ASP.net Web Application Projects
Thanks for your understanding.
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.

Similar Messages

  • Force encryption on SQL Server not working?

    Hello Everyone,
    I'm running SQL Server 2008 64-bit. I've installed a self-signed cert on the box and set  "Force Encryption"  and restarted SQL server. 
    I setup a client machine to trust the authority of the cert installed on the server. When I connect to that SQL server from SSMS from a client machine and select the "encrypt connection" option in the client Connection properties, SSMS correctly complains
    that the cert on the server does not match the computer name I asked to log into . This is because, although the cert is trusted, the dns name dos not match the CN in the cert <- Perfect, exactly what I am expecting.
    When I connect to the same SQL server from the same client but  UNCHECK "encrypt connection" on the client, I'm able to login. Considering I've checked the "Force Encryption" on the server, the server should have rejected the connection. Why not?
    Ameer Deen

    Hi all,
    We are implementing a Merge Synchronization solution which involves three SQL Servers located on three Azure locations worldwide and one on-premises location. We need to secure communications between all servers. We are evaluating the encryption of all server
    communications through SSL:
    http://technet.microsoft.com/en-us/library/ms191192.aspx
    When we configure one server (let’s call it server A) to accept only encrypted connections (with Force Encryption=Yes) we still can connect from other server (let’s call it server B) that do not have the certificate installed. We would expect the server
    B to fail in the attempt of connect as server A should only accept encrypted communications and those should need the certificated to encrypt/decrypt everything (commands and data).
    We have also review the following forum post that is very similar to this one:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/bde679d9-ff83-4fa7-b402-42e336a97106/force-encryption-on-sql-server-not-working
    In all cases the Microsoft answer is:
    “When the
    Force Encryption option for the Database Engine is set to YES, all communications between client and server is encrypted no matter whether the “Encrypt
    connection” option (such as from SSMS) is checked or not. You can check it using the following DMV statement”
    When we run the provided DMV statement to check if encryption is enabled:
    -- To check whether connections are encrypted between server and clients
    SELECT encrypt_option
    FROM sys.dm_exec_connections
    We get “TRUE”. So theoretically encryption is enabled.
    Then:
    Why can we run SQL statements against server A from server B (with SSMS) without any certificate?
    Are we wrong when we expect server A to refuse any client that do not have the right certificate?
    How can server B, without any certificate, decrypt the data encrypted by server A?
    Our intention is to encrypt all server in the same way so all of them will accept only encrypted communications. We are assuming that the Merge Agent will be able to communicate with the Publisher and the Subscriber through this encrypted environment. May
    anyone please confirm ti?
    Thanks for your help.
    Best Regards
    Benjamin Moles

  • Multiple instance SQL Server not working between VM's

    I'm working with SQL Server 2014 running on Windows Server 2012 R2 Azure VM and having problems connecting to the SQL Server instance from a Windows Server 2012 R2 VM running IIS. The connection string and setup is the same as I have been using for several
    years. The main difference is I am now running multiple instances on the SQL Server. Firewall is configured properly, SQL is in mixed authentication mode, configuration is identical to all the servers as ones configured in the past. Would there be anything
    in the Virtual Network or in Azure that needs configured?

    Is this VM deployed in a Virtual Network? If so, make sure to use static IPs, so that, in case the VM is rebooted, the IP remains constant. If not, this may be the cause of your problem, the IP will change when the VM reboots.
    If you've tried to connect to the VM from outside the Virtual Network, then you need to create an endpoint for the SQL port. This needs to be configured for each instance of SQL Server on the VM.

  • DB Links pointing to  sql server not working

    Hi,
    We created a db link to fetch data from sql server we are getting the following error
    Link : "APPS_EDW_WALT.WORLD"
    Error : ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from APPS_EDW_WALT
    Please let us know how to resolve the same.
    praavan

    Hi Praavan,
    Please provide Oracle and OS versions.
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Cause: An attempt to call an external procedure or to issue SQL to a non-Oracle system on a Heterogeneous Services database link failed at connection initialization. The error diagnosed by Net8 NCR software is reported separately.
    Action: Refer to the Net8 NCRO error message. If this isn't clear, check connection administrative setup in tnsnames.ora and listener.ora for the service associated with the Heterogeneous Services database link being used, or with 'extproc_connection_data' for an external procedure call.Please refer to following links:
    ORA-28545: error diagnosed by Net8 when connecting to an agent error URGENT
    http://dbaforums.org/oracle/index.php?showtopic=6684
    HTH,
    Thierry

  • Sql is not working after changing from MsAccess into sql server

    Following Sql  is not working after changing from MsAccess into sql server. 
    sum(trn.sales) as sales,
    sum(trn.cost) as cost,
    sales - cost as profit // Here is not working . can we not use sales a column. Please advise
    from trn
    Kind Regards
    pol
    polachan

    It will not work if use two different column from the table or column  from two  different table
    Example
    sum(trn.sales * trn.rate) as salesAmount,
    sum(trn.cost) as cost,
    sum(trn.salesAmount)-sum(trn.cost) as profit ----- Here is not working . can we not use sales a column. Please advise
    from trn
    Regards
    polachan

  • Just upgraded to Lion an am discovering that I cannot send email photos from within iPhoto. Error message says bad Internet connection or server not working, when that's not the case. Never happened in Snow Leopard! Help!!!

    Just upgraded to Lion an am discovering that I cannot send email photos from within iPhoto. Error message says bad Internet connection or server not working, when that's not the case. Never happened in Snow Leopard! Help!!!

    what email service - Yahoo mail have been acting up lately
    you can try setting Mail as your email client - it resolves this pfoblem for some people
    LN

  • What will you do if any SQL is not working.in oracle 10g...apps 11.5.10.2

    What will you do if any SQL is not working. in oracle 10g....apps 11.5.10.2

    928714 wrote:
    yes sir.If you help me in answering my questions i wll be very thankful to you sir.
    tnx,I haven't a clue.
    As you have been advised in many of your posts, go study the documentation for whichever specific topic you are interested in.
    For me to answer your questions, I would need to go get that documentation.
    Then I would need to read that documentation.
    Then I would need to write a forum post that interprets what I think I learned from that documentation.
    It is so very much faster if YOU go do that instead of posting to a forum and expecting others to do it. You will remember what you study for a lot longer time if you teach yourself.

  • Yahoo outgoing mail server not working.

    My yahoo outgoing server not working on iPod touch or iPad it says apple.smtp.yahoo failed...incoming is ok so far...this outgoing mail failure just started about a couple of days back....anyone else having this problem?????what should I do?rediffmail account does not get set up either so just unable to use any of my emails. :(

    Hello, and welcome to the Discussions.
    I get 100% success pinging mail.adelphia.net, and if at your home venue where Adelphia is your ISP, then I think no separate Authentication is required. Port 25 would be the proper port. However, if you are not at home, and the provider of internet connection limits you to using only authenticated SMTP then you would not able to use mail.adelphia.net as the Outgoing Server.
    Are you at the venue where Adelphia is the ISP?
    Ernie

  • TS2621 why my outgoing mail server not working after ios 6 upgraded

    why my outgoing mail server not working after ios 6 upgraded

    Ask your carrier to send you the settings over wifi and then install them that way.
    I'm on giffgaff and I used the giffgaff app from the store to sort this out.
    Overall though I must say Apple has let itself down on this as why isn't something written in the ios script that keeps the original settings??
    Very Poor indeed and I held off using Apple products for years for this very reason!!

  • SQL Server not releasing memory

    Hello,
    I have created one stored procedure, which inserts data into 1 table.
    It inserts around 1 million records at a time using XML input.
    Problem is with SQL server memory I think. When I run this stored procedure and check the performance in the morning when server is not so busy, it finishes with less than 10 seconds.\
    However, if I continuously test this stored procedure multiple times, it gives huge variation in performance.
    Also, I call this stored procedure from C# front and there I have made sure that I am disposing Connection object every time.
    After few runs, I have to restart my server computer as it doesn't allow me to run any of the query on that server.
    So my question is :
    What is that which occupies whole server memory?
    Is there any thing which I can write in stored procedure to release memory once it is done?
    Please assist me on this.
    Thank you,
    Mittal.

    Hello,
    I have created one stored procedure, which inserts data into 1 table.
    It inserts around 1 million records at a time using XML input.
    Problem is with SQL server memory I think. When I run this stored procedure and check the performance in the morning when server is not so busy, it finishes with less than 10 seconds.\
    However, if I continuously test this stored procedure multiple times, it gives huge variation in performance.
    Also, I call this stored procedure from C# front and there I have made sure that I am disposing Connection object every time.
    After few runs, I have to restart my server computer as it doesn't allow me to run any of the query on that server.
    So my question is :
    What is that which occupies whole server memory?
    Is there any thing which I can write in stored procedure to release memory once it is done?
    Please assist me on this.
    Thank you,
    Mittal.
    >> 1. What is that which occupies whole server memory?
    Probably your application or the other application, but this need to be checked and not guess! Your machine execute hundreds if not hundreds of thousands applications on the same time! most of them are services that you do not see any
    GUI. The SQL Server itself might execute hundreds if not hundreds of thousands transactions and these might interfere one another (lock tables or rows, use the same resources and so on).
    * as a first test you should try to execute the query using a more reliable application like the SSMS. I recommend to try execute the query throw the SSMS several times and check the behavior.
    >> 2. Is there any thing which I can write in stored procedure to release memory once it is done?
    There are several option to free memory that used by SQL Server, but do you really need it?!? This is probably not the solution for your case. in the best option it will only give you a workaround.
    * SQL Server do not use more resources that you let it (configure it). If you are using SQL EXPRESS than you have some limitations regarding the resources (for example memory and CPU and database size...).
    Make sure that you configure the SQL Server not to use to much resources, so that other applications like the operating system will have what they need! There is no logic in restart the machine if the only
    problem is with specific application (unless you have problems like memory leak which in rare cases can not be treat otherwise)
    http://mrbool.com/how-to-clean-up-memory-sql-server/29242
    https://msdn.microsoft.com/en-us/library/ms178067.aspx?f=255&MSPPError=-2147217396
    ** start monitor the SQL Server resources, locks and waits
    https://technet.microsoft.com/en-us/library/aa213039(v=sql.80).aspx
    http://www.brentozar.com/sql/locking-and-blocking-in-sql-server/
    *** Give us more information instead of stories :-)
    Post codes that you use, post DDL+DML and so on.
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]

  • Distributed transaction using linked server not working in SQL Server 2008 64 bit

    Hi. I have had an issue trying to get distributed transactions to work in SQL Server 2008 using a linked server. The error message I get is
    OLE DB provider "SQLNCLI10" for linked server "pod1" returned message "No transaction is active.".
    Msg 7391, Level 16, State 2, Line 3
    The operation could not be performed because OLE DB provider "SQLNCLI10" for linked server "pod1" was unable to begin a distributed transaction.
    My Environment:
    Windows Server 2008 Enterprise 64 bit, SQL Server 2008 Enterprise 64 bit
    Problem occurs with multiple different builds of SQL Server 2008 - I have been able to reproduce the problem with 10.0.1600.0, 10.0.1779.0 (CU 2), as well as 10.0.2531 (SP1)
    I am aware that other people have had this issue and have reviewed all existing posts. I have verified that the MSDTC is configured correctly on both machines. I have also used DTCTester to verify that DTC is working correctly on all machines in question.
    None of the mentioned resolutions has solved this problem for me.
    I am not seeing this problem occur on my 32 bit test machines - it is only occurring if at least one of the two machines is 64 bit.

    Hi All,
    I realise that this topic may be a little bit out-of-date but if someone gets here from some search engine trying to find a solution for DTC problems, this MAY be useful.
    So... I recently had the same issue, tried all the approaches described in KB and other articles, but it didn't help. Because my task to solve this was not of the highest priority I forgot about it for some time.
    Today I was troubleshooting some other issue and, by accident discovered source of that first problem:
    In the EventViewer I found Error entry logged by MSDTC saying:
    "The local MS DTC detected that the MS DTC on vm-server1 (other machine name that also runs DTC - my comment) has the same unique identity as the local MS DTC. This means that the two MS DTC will not be able to communicate
    with each other. This problem typically occurs if one of the systems were cloned using unsupported cloning tools. MS DTC requires that the systems be cloned using supported cloning tools such as SYSPREP. Running 'msdtc -uninstall' and then 'msdtc -install'
    from the command prompt will fix the problem. Note: Running 'msdtc -uninstall' will result in the system losing all MS DTC configuration information."
    So I followed suggestion and run:
    msdtc -uninstall
    msdtc -install
    This solved my problems with DTC. Hope it will help someone.
    Piotr

  • Transact-SQL debugger not working in SQL Server 2008: "...debugger does not support SQL Server 2005 or earlier..."

    I have recently installed SQL Server 2008. When I try to execute a query against an Access database, I receive this debugging error:
    "Unable to start Transact-SQL debugger. The Transact-SQL debugger does not support SQL Server 2005 or earlier versions of SQL Server. (SQLEditors)"
    Nor will the query execute; I get a transport-level error 0. Any thoughts?

    Hi Davidmhjr,
    >>Unable to start the Transact-SQL Debugger. The Transact-SQL Debugger does not support SQL Server 2005 or earlier versions of SQL Server. (SQLEditors).
    Have you tried to restart the server once you have installed SQL Server 2008? As Naomi N mentioned please check the version of SQL Server you are using.
    If you tried to connect to SQL Server 2005 from SQL Server 2008 SSMS, you would not be able to debug and get this error, it happens because T-SQL debugger includes both server-side and client-side components. The server-side debugger components are installed
    with each instance of the SQL Server 2008 Database Engine. The client-side components are installed when you install the SQL Server 2008 client-side tools.
    So it works with SQL Server 2008 only so far. Another way is you can triy to use SQL Server 2005 SSMS to connect to SQL Server 2005.
    More information about configuration requirement to run T-SQL debugger as below, please refer:
    There are no configuration requirements to run the Transact-SQL debugger when SQL Server Management Studio is running on the same computer as the instance of the SQL Server Database Engine. However, to run the Transact-SQL debugger when SQL Server Management
    Studio is running on a different computer from the instance of the Database Engine, you must enable program and port exceptions by using the Windows Firewall Control Panel application on both computers.
    On the computer that is running the instance of the Database Engine, in Windows Firewall, specify the following information:
    •Add TCP port 135 to the exceptions list.
    •Add the program sqlservr.exe to the exceptions list. By default, sqlservr.exe is installed in C:\Program Files\Microsoft SQL Server\MSSQL10.InstanceName\MSSQL\Binn, where InstanceName is MSSQLSERVER for the default instance, and the instance name for
    any named instance.
    •If the domain policy requires network communications to be done through IPsec, you must also add UDP port 4500 and UDP port 500 to the exception list.
    On the computer that is running SQL Server Management Studio, in Windows Firewall, specify the following information:
    •Add TCP port 135 to the exceptions list.
    •Add program ssms.exe (SQL Server Management Studio) to the exceptions list. By default, ssms.exe is installed in C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE.
    Hope it is helpful.
    Regards, Amber zhang

  • SQL Logging not working in SSIS 2008

    Hello,
    I have packages created in SSIS 2008 and I am trying to enable logging in them. I specified a SQL Server provider and gave it a working SQL Server DB connection as the configuration. I chose to log all the events from the Details tab, then I executed the package. It ran without errors, but no logging occured. Actually neither the logging table, nor the stored procedure that should perform the loggign were created. These exact steps used to work with SSIS 2005 and they'd generate the table, stored proc and start storing logging information. For testing, I also added to the same package logging options a text logging and a SQL Profiler log providers. These were created successfully and have logs entered in them. I tried different DB connections on different servers, but still the table and sp are not even getting created. Any ideas?
    Best Regards,
    Ketara

    Had the same problem. When I read the documentation Microsoft explicitly states that you must use an OLEDB provider for SQL Server logging. I checked, and mine was the "SQL Server Native Client" rather than the "Microsoft OLE DB Provider for
    SQL Server". When I switched out the driver, it worked. 
    The log table is under System Tables called: dbo.sysssislog
    The stored procedure that populates the table is under System Stored Procedures called: dbo.sp_ssis_addlogentry

  • SQL Server not Starting Up - Could not open error log file system error = 5(Access is denied.)

    Hi guys,
     I am working on issue with SQL Server 2008 R2 .. we rebooted the server and after that all SQL services is not coming up. below is the error from eventlog...
    SQL Server running under NetworkService account and has full control on this files..
    from Config Manager ....
    The request failed or the service did not respond in a timely fashion....
    From Event log..
    initerrlog: Could not open error log file 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Log\ERRORLOG'. Operating system error = 5(Access is denied.).
    Any idea or workaround..?
    Thanks..
    Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach

    Finally I found solution and was able to bring back online the SQL Services...
    I had a very similar issue with the following error (event log):
    Description:
    The SQL Server (MSSQLSERVER) service terminated with service-specific error 17058 (0x42A2).
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    Event Type:      Error
    Event Source:      MSSQLSERVER
    Event Category:      (2)
    Event ID:      17058
    Date:            19/05/2012
    Time:            10:20:14
    User:            N/A
    Computer:      NSQLXX
    Description:
    initerrlog: Could not open error log file 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'.
    Operating system error = 5(error not found).
    In this case the ERRORLOG file had been marked as read only. This was following a scheduled automated boot.  -This
    was culprit
    MSSQL wouldn't not start until this file had been changed.
    http://www.experts-exchange.com/Database/MS-SQL-Server/Q_23951723.html
    Thanks everyone for your kind replies and time...
    Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach

  • SQL expression not working, newbie. Malformed?

    Hi, I'm a newbie to CR. I've got a report that works which I want to add a SQL expression field to that returns the text from a column in one table when another column in that table is equal to the string result of concatenating the values of two columns from a different table.
    This is my SQL expression. I'm using CR XI R2.
    SELECT
        "Windows_Notes"."NOTES_61"
    WHERE
        ("Windows_Notes"."KEY_61" = '"RMA_Detail"."RMANUM_52" + "RMA_Detail"."RMALIN_52"')
        AND ("Windows_Notes"."LINE_61" = '0000')
    There are actually two WHERE clauses as you can see above. Anyway, this isn't returning any data even though I can see in SQL Server Management Studio that the data is there. Even if I get rid of the concatenation and use a static value that I know should work (like '8000002501'), I get no results. As soon as I insert this SQL expression field into the report, the whole page is just blank. If I remove it again, everything shows up like before.
    Any hints or solutions? I just made my first report last night, so this may be a stupid question.
    Thank you.

    Thanks to you both for the performance tips. I got it working just before you guys answered with this line:
    {Windows_Notes.KEY_61} = {RMA_Detail.RMANUM_52}+{RMA_Detail.RMALIN_52} and {Windows_Notes.LINE_61} = '0000'
    And now I've run into yet another fun problem. This one may be more difficult to tackle. Sometimes there will be no rows returned from that query. If there is a result I am including a string in the report from Windows_Notes.NOTES_61 which just contains optional notes for RMA numbers in our company. (like a short description of the customer's problem)
    Sometimes there are no notes entered. When this is the case, the report is no longer showing those RMAs, heh. How can I get it to just display nothing in the notes column but still show the rest of the fields when that query returns no rows?
    I tried removing the previous code from the record selection forumula, then creating a formula field with the following:
    if ({Windows_Notes.KEY_61} = {RMA_Detail.RMANUM_52}+{RMA_Detail.RMALIN_52} and {Windows_Notes.LINE_61} = '0000') then (
        {Windows_Notes.NOTES_61}
    And I insterted that formula field onto the report instead of the Windows_Notes.NOTES_61 database column directly. It didn't work. I'm not clever enough after one day's experience with Crystal Reports...

Maybe you are looking for

  • User-Exit for MR1M/MIRO

    The unplanned delivery costs can be posted with the help of the User Exit EXIT_SAPLMRMH_014 (for Transaction MR1M / MIRO). It is not possible to settle planned delivery costs. To pass Unplanned Delivery costs (freight), you have to fill also the tax

  • Where'd the pretty noise go?

    I have a Macbook Pro that I bought last week...and whenever I closed the lid(the screen) the speaker's used the make a short noise. But now I dont hear that noise anymore...how do I get it back? Thanks Aakash

  • Email submit not workign in Quiz?

    I have created a simple quiz in Captivate 3. When I preview the project in Captivate, it works correctly and the submit results button launches my mail and dumps in the quiz results like it is suppose to. BUT... When I publish the quiz, save as a .sw

  • Can someone help me find a way to import my bookmarks into Firefox 4.0?

    I've recently suffered a computer crash. I had everything saved on an external hard drive, and now I'm trying to import the places.sqlite that supposedly holds the bookmarks into Firefox. Firefox refuses to recognize this file. I have seen this quest

  • I tunred on my min mac today and it keeps telling me to power off i do this and it keeps telling me the same thing

    i tunred on my min mac today and it keeps telling me to power off i do this and it keeps telling me the same thing