locked
Error- SQL Server Test Configuration RRS feed

  • Question

  • Hi,

    Each time I add any database whether it's local so I have full control or a database on a dev or test server i get the below error after I click ok this happens in VS2013 and VS2012:

    Attempted to perform an unauthorized opertion.

    If I alter the app.config in VS2012 to the configuration manually the tests work.

    Thanks

    Phil

    Thursday, January 22, 2015 12:04 PM

All replies

  • Hi Phil,

    Since this Unit test forum is discuss the test issue, it is used to verify whether there are some logic errors in the methods in C#/C++/VB classes and ASP.Net Web Project/Web Service.

    About your issue, could you please tell me if you try to create data-driven for unit test and then get the error?

    (1)If yes, please tell me how did you add the database in VS2013 or VS2012 and then get the error? If possible, I suggest you can provide me a screen shot about this issue.

    (2)If no, please tell me which kind of application you want to configure the database in VS?

    So I suggest you can provide me more detail message about your issue so that we will better help you.

    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.

    Friday, January 23, 2015 3:20 AM