Problem with Visual Studio 2010, c# and SQL Server

Several years ago, I programmed in Fortran. In order to get my stack of punch cards to run, I needed a couple of cards that said to the central computer what to do; It was very difficult to get this information as if it were some sort of secret. Today, I am using Visual Studio 2010, and programming in c#. It seems to work OK, but when I try to create a situation of SQL, I find that Windows authentication does not work; If I connect as long as administrator, I can see the database administrator; If I sign my name, I don't see a database created under my name, so that Windows authentication does not work. It seems that I need to know this little piece of information that nobody wants to tell me. I would like to work with an application that I'm developing, but if I can't trust him, I can't use it. I need seamless connections and unequivocal. Help!

Hello

It is not a community forum for Visual Studio.

Try the Visual Studio forums.

http://social.msdn.Microsoft.com/forums/en-us/category/VisualStudio

Don

Tags: Windows

Similar Questions

  • I have the version of visual studio 2010 ultimate and aparently there is a beta version of it 2011 and I would like to know if I can install the ultimate version 2011

    Hello, I have the version of visual studio 2010 ultimate and aparently there is a beta version of it 2011 and I would like to know if I can install the 2011 ultimate overwrting the 2010 release of visual studio 2010 ultimate version. should I uninstal it manually first? (even if I deleted the main application, some remained after) what should I do? I need help with this problem because I don't know if I need to uninstall the version of 2010 in order to install the new 2011 beta version or I just have to update like a normal program?

    Hello

    You'd be better suited post directly in the Visual Studio Forum for your questions.

    "" Installation and configuration of visual Studio".

    http://social.msdn.Microsoft.com/forums/en/vssetup/threads

    See you soon.

  • Compiling with Visual Studio 2010 beta

    Hello

    I know that only Visual Studio 2005 is supported for the Acrobat SDK kit. But maybe one of you is also experimenting with visual Studio 2010 and got to work.

    I get the following error message. Anyone solves this problem.

    Error error 105 MSB3073: the command "if not"¬roSDKPIDir %"has ==" "has if not exist"% ¬roSDKPIDir"mkdir"% ¬roSDKPIDir""»»
    If not "% ¬roSDKPIDir' a ==" "a 'C:\Users\test\Documents\Visual Studio 2010\Projects\EPapers_Button\EPapers_Button\Debug\EPapers_Button.dll' copy '% ¬roSDKPIDir'"»
    If not "¬roSDKPIDir %" == «"echo EPapers_Button copied to '% ¬roSDKPIDir'.»
    If '% ¬roSDKPIDir' == ""echo not executed. " No value of the AcroSDKPIDir environment variable.

    ': VCEnd ' came out with code 255.

    Thanks for your help.

    I think that you should disable this type of Vista security.  Or you run VS "Run as Administrator".

  • Strange problem with Visual Studio

    Hello.

    I hope to be in the right section.
    For some time (I can't say precisely how much, maybe since I've upgraded to Windows 10) I have a problem with Visual Studio 2013.
    In practice, after a few minutes, what is open (without doing special things, even just type code) goes down. comes the message "Not responding" and I have to restart to continue working (say that work this way, it becomes impossible).
    I tried to reinstall but I have not solved, I have also the same problem even with Visual Studio 2015.
    The strange thing is that this problem is only with my user account, and with the remote desktop, sessions instead works without problem.
    What is the problem?

    Thanks a lot to all

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • XMP Toolkit with Visual Studio 2010 (or CCG)

    How to compile the XMP Toolkit with Visual Studio 2010 (Professional)?

    When I try to upgrade VS2008 project files, VS says they are "corrupt."

    A solution to compile the XMP Toolkit on Windows using GCC4 would help a lot, but it seems there are a few parameters for several Unix derivatives.

    Hello Duisol,

    Please take a look at the post I made recently on the forum, it includes a fix to add the compilation of gcc on windows.

    http://forums.Adobe.com/message/4421413#4421413

    Matthew

  • Install KB3024777 to fix a problem with KB3004394 on Windows 7 and Windows Server 2008 R2 now not authentic

    Separated from this thread.

    Joachim

    When first pose the problem? Was it before or after the December updates?

    KB3004394 and KB3024777 appear in view update history? Or do they appear in installed updates?

    Gerry, thanks for your post. I have the same problem as Joachim started this thread. I am running Windows 7 sp1. I have a Dell computer and it's certainly a legitimate copy of Windows (confirmed computer 'properties' and it is enabled).

    By your post, I saw just to update and the KB3004394 (installed on 12/10/2014) and KB3024777 (installed on 12/12/2014) show as comfortable. I usually leave the Windows download updates automatically and I install them to stop. I watched the second update and according to Microsoft.com:

    Install KB3024777 to fix a problem with KB3004394 on Windows 7 and Windows Server 2008 R2

    The KB 3004394 update which was dated December 10, 2014 can cause additional problems on computers that run Windows 7 Service Pack 1 (SP1) and Windows Server 2008 R2 SP1. This includes the inability to install future updates. This new update is available to remove KB 3004394 from your computer.

    My problem is, as of today 14/12/2014, I still get the pop up "this computer is running not windows genuine', even with KB3024777 installed.

    Any thoughts?

    Thank you

    Bob C

    Right-click on CMD

    Click on run as administrator

    At the command prompt, type the following commands:

    slmgr.vbs - ipk xxxx-xxxx-xxxx-xxxx (to replace the specified in the current product key)

    xxxx-xxxx-xxxx-xxxx - represents your product key

    Press enter on your keyboard

    Then type: slmgr.vbs - ato (this will force the activation)

    Leave the command prompt

    Restart your computer

  • compatibility of Windows 7 Home Premium with Visual Studio 2010, Visual Studio 2012, Sql Server 2008 and can be Sql Sever 2012.

    Hi, I'm going to buy a new laptop in which I get Windows 7 Home Premium. I'm going to use MS Visual Studio 2010, Visual Studio 2012, Sql Server 2008 and can be Sql Sever 2012. I'll use the other tools of development also. I just want to know fact these races of software in this operating system.

    It's the operating system have a compatibility issue with these software or other tools of development.

    Best place to look is the MS site for these products and consider the requirements specified

  • Scrolling Touchpad with Visual Studio 2010 problem

    Hallo,

    I had a problem with my type of coverage and Visual Studio 2010.

    I can not get the scroll of two fingers on the Visual Studio 2010 code editor. For unknown reasons, this only works when an initial open an editor window. But the problem is if I change the window or click somewhere else (when he first loses focus after opening).

    Two strange things are first of all, it looks like something (maybe windows itself) blocking the scrolling-signal and tries to move the window visual studio [1] and the second zoom gestures still work perfect to change the size of the text of the edotir.

    I've read that Visual Studio has some scrolling problems but such nut "sometimes I got the signal, sometimes not. So I thought that it is perhaps more a Windows 8.1 - 2 Surface Pro - Surface Type Cover - Bug.

    This problem has been since the beginning of the Installation Visual Studio-(one of the first installations), so I don't think it causes a third party program.

    Next to windows says that all drivers are up-to-date.

    Here is my system:

    Surface Pro 2

    TypeCover 2

    Windows 8.1

    Visual Studio 2010 SP1

    Thanks for the replies.

    Fabian

    [1] the same effect occurs if you want to scroll in Chrome without additonal settings/addons which make possible.

    Hallo Shiho,

    Thank you for your reply and your interest. I checked the problem once again and discovered that this is a problem in visual studio, because it does not block the signal of scrolling, but just go to the wrong window! Even if the cursor focus to the editor, it scrolls in the Properties window. If the cursor is in a function, it displays the properties of this function. Normally this property list is greater that the small window so TI fixers signals scroll to scroll in the list instead in the function code.

    So maybe the solution is just a change on the visual studio settings. The problem is not this more irritating because the work without a property showcase is a temporary solution too.

    Next to with a mouse wheel scrolling works properly (in the Editor window).

    To answer your questions:

    Yes, the view still works in other programs or applications in the Visual Studio property problem.

    Thanks again.

    Fabian

  • What license should I provides, in India, rely on Microsoft Visual Studio 2010 Professional and Visual Studio Light Switch

    (1) if I want to build and sell, small PRODUCTS (but not services) (as a freelancer) based on Microsoft Visual Studio 2010 and last Visual Studio Light Switch, what license (s) devrais I provides, in India?

    (2) how can I get the license at a low price?

    (3) in the case if I hold a license and build the product, then what are all the license, my client should have? Ex: If I build a medical billing software, make my customer need to have the permit to switch to Visual Studio or Microsoft SQL Server 2008?

    (4) can I use Microsoft SQL Server 2008 Express on the deployment site (my client), or if my client needs to obtain a license for the database, and then which version of SQL Server 2008 build be cheaper?

    Thanks in advance,

    Hill.

    For support with Visual Studio, please click on the link below. Thank you.

    http://social.msdn.Microsoft.com/forums/en-us/categories

  • I CAN'T GET THE WINDOWS MEDIA PLAYER! Self-registration FAILED with Visual Studio 2010!

    Hello world!

    I just bought the Visual Studio 2010 Professional Edition, registered and everything. I have the Windows XP operating system and I wanted to do a media player using WindowsMediaPlayer, I. I saw on YouTube that all you had to do was simply right click, add click on choose the elements and go to components and click on WindowsMediaPlayer. I couldn't find that if I used Google and found that he had to go in System32, then click wmp.dll. After I did, he said

    "Self-registration impossible C:\WINDOWS\system32\wmp.dll.

    I want this thing so BADLY!

    Any help would be VERY VERY LARGELY APPRECIATED!

    Thank you

    TheElevatorMaster

    Hello
     
    Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the public to MSDN development.
    Please post your question in the MSDN Visual Studio category. 
     

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • MsWinsock.ocx does not work with Visual Studio 2010 on Windows 7, but works with VS 2005 on Windows 7

    Recently, we had the updates below...

    VS 2005 for VS 2010

    .NET framework 2.0 to 4.0

    Infragistics 8.2 to 11.2 (controls)

    OS - Windows XP to Windows 7

    After the updates above, MSWinsock.ocx created problems with windows 7 that worked Flory with windows XP. Then, we solved this known issue (by registering as an administrator). Basically, we use MSwinsock.ocx for the purpose of generation/report view. Now after you resolve the issue of registration MSwinsock, reporting works very well for VS2005/.net Framework 2.0/infragistics8.2 in machine windows 7 but it does not with VS 2010/.net framework 4.0/infragistics 11.2 in the windows machine 7. Is there something that we are missing to make this work in VS 2010 as well?

    Hi Renon,

    I suggest you to post the question on the forum of Visual Studio support on the link below.

    http://social.msdn.Microsoft.com/forums/vstudio/en-us/home?category=VisualStudio

    Feel free to write us if you have any related issue of Windows. We will be happy to help you.

  • Problem with the West with Visual Studio 2010 and Oracle 12

    I can't get the OCCI driver to work. The following code generates an error of access violation in the createConnection call:

    #include < Windows.h >

    #include < occi.h >

    #include < exception >

    #include < sstream >

    using namespace oracle::occi;

    int main (int argc, char * argv) {}

    std::ostringstream s;

    try {}

    Environment * env = Environment::createEnvironment (Environment::DEFAULT);

    Oracle::OCCI:connection * ptr_conn = nullptr;

    ptr_conn = env-> createConnection ('test', 'test', ' localhost:1521 / web ");

    env-> terminateConnection (ptr_conn);

    } catch (SQLException & to) {}

    s < < "SQLException:" < < se.getMessage () .c_str (); "."

    } catch (std::exception & e) {}

    s < < e.what ();

    } catch (...) {

    log. Error ("unknown exception.");

    }

    OutputDebugStringA (homobasidiomycetes () .c_str ());

    }


    This piece of code is executed directly in VS2010 on a box of 8.1 to win. He is bound with oraocci12d.lib and compiled with the option/MDD.

    I use the instant client libraries.


    If anyone has experienced this?

    It seems I was a little liberal with the displacement of libraries linked to in the instant client, i.e. copy the lib file and function of .dll files to another location.

    Execution of the executable in the instant client directory with present all the dll solved this problem. I didn't because DependencyWalker said

    me, everything was fine.

  • How do I use Visual Studio 2010/2013 and the Acrobat SDK kit to create an application that will be the password protect a PDF file?

    I can use some other 3rd party tools that will allow me to open a PDF file, add user passwords and save it.  How can I do that using the SDK?  Looking for a simple solution... Thank you

    OK, so the SDK is a complete non starter because

    -the SDK is to work with Acrobat

    -Acrobat isn't for the server.

    There are Adobe PDF Library, which provides a large part of the plugin API and CAN be used to make applications. Separate issue, DataLogics licenses (individual courses).

  • Problem with Oracle with Visual Studio development tools

    I have Visual Studio 2010 Ultimate and SQL Server 2008R2 with Visual Studio 2008 (BIDS) installed on my laptop (Windows 7 SP1).

    I installed Oracle Developer Tools for Visual Studio.  I connect to Oracle 11 GR 1 material.

    He worked for a while, but has stopped working.  When I check the Options window in any Visual Studio under Oracle development tools, I get the error message:

    An error has occurred this loading property page.

    Don't know what I've got to break.

    Does anyone know what I can do about it?

    Thnaks,

    Fred

    I have not seen this error. I suggest you reinstall Oracle Developer Tools for Visual Studio.

  • Unit test, Visual Studio 2010 digital input read event

    Hello!

    I have problems in Visual Studio 2010, using NOR-DAQmx, but ONLY in a unit test project. I have compiled a dll that uses a DigitalChangeDetection task handler. The dll work very well in a draft standard form, but does not work in a Test project.

    I used .NET Framework 4.0 with success. Tried to switch to .NET framework 3.5, but it is not possible for a test project in Visual Studio 2010.

    When I start my test, it works fine until the event is raised. Once he does, the test will stop without exception or detail except the following result:

    "The agent process was stopped during the execution of the test."

    Nothing is caught in the trap in debugging.

    Also, I get the following in the Event Viewer error message:

    Log name: Application
    Source: VSTTExecution
    Date: 2010-12-01 11:32:31
    Event ID: 0
    Task category: no
    Level: error
    Keywords: Classic
    User: n/a
    Computer: xxx
    Description:
    The description for event ID 0 in source VSTTExecution is not found. Either the component that triggers this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

    If the event is on another computer, the display information had to be saved with the event.

    The following information has been included in the event:

    (devenv.exe, PID 5592, walk on 73) OutOfProcessStrategy.ProcessMonitorThread: The Agent process was closed unexpectedly. will attempt to restart

    the message resource is present, but the message is not in the string/message table

    The event XML:
    http://schemas.Microsoft.com/win/2004/08/events/event">
     
       
        0
        2
        0
        0 x 80000000000000
       
        10312
        Application
        xxx
       
     

     
        (devenv.exe, PID 5592, walk on 73) OutOfProcessStrategy.ProcessMonitorThread: The Agent process was closed unexpectedly. will attempt to restart
     

    I understand that Visual Studio 2010 is not yet officially supported so here's my 2 questions:

    -I'm the only one experiencing this problem? (Easily duplicated by taking the sample project: DotNET3.5\Digital\Read Values\ReadDigChan_ChangeDetection_Events and extract the relevent part of to put in a separate dll so that you can try to UnitTest in a project UnitTest.)

    -Update on what NOR-DAQmx will rely on VS2010? (I read here: http://forums.ni.com/t5/Measurement-Studio-for-NET/Support-for-Visual-Basic-2010-NET-4-Framework/m-p... this is supposed to be before the end of the year, but no updates would be great because I could not find any information on it)

    Best regards

    Pierre-Luc

    Hello Pierre,.

    As NOR-DAQmx is not yet officially supported in Visual Studio 2010, it is not quite clear why this problem occur. At this point, the official release date has not been announced yet, however, please continue to check the updates to www.ni.com/support (drivers and updates). Thank you

    Best regards

    M Ali

    Technical sales engineer

    National Instruments

    www.NI.com/support

Maybe you are looking for