Quantcast
Channel: Visual Studio General Questions forum
Viewing all 21115 articles
Browse latest View live

Visual Studio 2012 It's not declared. It may be inaccessible due to its protection level

$
0
0

Hello guys.

I'm facing a problem with Visual Studio 2012 and watch window when debugging my application.

When debugging my application, using attach to process I'm unable to see variable values in watch Window, when I try to watch a variable it says  "<variablename> Its not declared. It may be inaccessible due to its protection level".

My application was migrated from Visual Studio 2005 to VS2012 but I still use .NET 2.0 due to some restrictions.

This error happens to some methods on my solution and I can't watch local variables only.

Thanks.


Can't make text editor to use bold fonts

$
0
0

Hi,

I go to Tools -> Options, then select "Fonts and Colors".

choose "Show settings for: Text editor" and choose Consolas for "Plain text". OK so far.

However, now I choose "Bold" in the bold switch and the font does not change at all, it's still the Regular Consolas.

How can I fix this? I'm fed up of deleting the consolas.ttf every time a new program reinstalls it :)

Thanks!

Upgrading from VS pro to VS Prem

$
0
0

We've upgraded a VS user from pro to premium using a volume license step-up sku.  How can we upgrade this installation without losing any of their work for the Azure and Windows Store items.  Will we lose any end-user progress with this upgrade?

Visual Studio 2015 CTP 6 ---No Javascript Editor

$
0
0

I have installed Visual Studio 2015 CTP 6,But there is no Javascript Editor at all in it!!! Although all the other Text Editors seems there.Is it normal?

Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version=11.0.0.0

$
0
0

Hi,

I currently installed VS 2012 Ultimate Edition, Visual Web Developer 2012 Express Edition and MS Sql server 2008 R2.

When i go to add a data connection (sql server 2008 r2) in Visual studio 2012.

The steps followed were:

1. Open Server Explorer.

2. right click on Data Connections

3. Click on Add Connection

4. In Choose data source: Microsoft Sql Server and Data Provider:.net framework data provider for sql server

5. Add server name: ALVI\SQLEXPRESS and the database name: Customer

6. Click test Connection: i have got the message: "Test Connection Succeeded"

7. Click OK

"unable to add data connection. could not load file or assembly 'microsoft.sqkserver.management.sdk.sfc' verision=11.0.0, culture=netural, publickkeytoken=89845dcd8080cc91' or one of its dependenciec. The System cannot find the file specified."

I have already tried this method.

1) Microsoft SQL Server Management Objects
2) repair installed on Microsoft SQL Server System CLR Types

3) Microsoft SQL Server 2008 Native Client.

what's the problem? and what i need to do?


Thanks

ALVI


Difference between a workspace file and a solution file

$
0
0

Hi There,

I’m having trouble understanding the project hierarchy  in Visual Studio. More specifically, what the difference between a workspace file and a solution file?

I have a folder with a load of visual studio project files (VC++ 6), 1 solution file and 1 workspace file (VC++ 6 Workspace) and i'm wondering where to start first, does a workspace hold a solution or vice versa?

For info i suspect these may of been developed in older version of VS, I'm running 2010

Many Thanks


Could not load file or assembly Microsoft.SqlServer.management.sdk.sfc version 11.0.0.0 on Visual Studio Ultimate 2014 Update 4

$
0
0

I am getting the infamous  "Could not load file or assembly Microsoft.SqlServer.management.sdk.sfc version 11.0.0.0." The set up of my system is Visual Studio 2013 Ultimate update 4 and my SQL server is 12.0.2000 Express. I am also using SQL management studio 2014. I read other comments and blogs, and reinstalled the SQL Express 12.0.2000, but no luck yet. 


Visual Studio 2013 Versus SQL Server

$
0
0

Hello:

I have just installed Visual Studio 2013 and I would like to upgrade my SQL Server from 2005 Express. I have downloaded SQL 2012 but I cannot get Mangement Studio to download (apparently others have had this problem as well). I was attempting the download at MS Download Center.

Can I use SQL Server 2014 with Visual Studio 2013? And does the management studio download as well?

Thanks.



Can Visual Stuido 2013 Express be installed on Vista

$
0
0

Is there a workaround that would allow installing Visual Stuido 2013 Express on my Vista (x32) laptop?

Thanks.

--John

Visual Studio 2013 Missing Design, Source and Split buttons

$
0
0

Operating system Windows 8.1 preview.

When editing a HTML file in Visual Studio 2013 Preview or Visual Studio Express 2013 for Web, the Design, Source and Split tabs are missing from the bottom left of the editor even though the "Enable HTML Designer" box is checked in the Options drop down. 

This behavior occurs in the Web install of Visual Studio 2013 Preview and both the Web install and .iso install for Visual Studio Express 2013 Preview for Web. 

Finding Memory leaks in C using Visual Studio 2013

$
0
0
You cannot vote on your own postI am using Visual Studio 2013, and taking a course in C programming and we started talking about memory bugs detaction, in particular memory leaks, and how to detect them using Valgrind on Linux.

I want to know if there is a way to detect such memory leaks using VS 2013. I tried searching online but it just leads to lots of articles and blogs and msdn posts and blogs with lots of words like dump files, and analyzing them, etc which is weird because:

1) It sounds so complex, convoluted and unintuitive it is actually hard to comprehend it.

2) The main reason this is weird is due to the fact that VS is the most advanced IDE around and Microsoft spends so much money on in, yet from what I have read it seems that there is no simple way to use VS to detect memory leaks- certainly no way that's as simple as Valgrind where I only have to compile the program and run the command valgrind -leaks-check=yes ProgramNameand it simply prints to me all location it thinks there is a memory leak and describes the error (like not freeing memory after allocating it with malloc hence having "dead" memory after the program finishes, or accessing memory that's out of the array bounds)                                                                                                                                                                So my question is how to use VS 2013 in order to achieve the same results and to find out First in high level if there are memory leaks in the program, and Second - to detect in a simple manner where those leaks are- preferably without involving dump files (not that I know how to use them anyway in VS).

Visual Studio Community Edition Download Location?

$
0
0

Hello! We've recently started using VS Community Edition in our office and it's becoming very time consuming to set up a new machine with it, since the installer downloads the entire thing.

Is there a download location for VSCE or some alternative to the installer that would allow me to transfer VSCE to a new machine via flash drive? I searched for Visual Studio Community Edition download location and could not find anything, so forgive me if this question has been asked/answered elsewhere already.

Thanks!!

~Jake

Output a file into a custom location

$
0
0

I have a web project where an output folder is set to /bin. I have a few xml files included into the project that I would like to place into application's root folder. Can I do that?

Thanks

Publishing a beta extension with an expire date in Visual Studio Gallery

$
0
0

  Hello 

 Can I publish a beta extension with an expire date in Visual Studio Gallery ? For I wish to sell the final product through the Visual Studio Gallery.

Visual Basic 2008 Express Edition Registration woes

$
0
0

Has Anybody found a permanent fix for VB 2008 Express registration?  I've been doing the "delete the registration folder in regedit" thing, which buys me a month, but this is really getting ridiculous....Does anybody have a method that works for longer than a month?  Registration page is a 404 from the "register now" dialog within the VB software.....

Thanks for any help anyone can offer.....

JoeP


Visual Studio Express 2013 with Javascript

$
0
0

I've developed an app that I'd like to test on a windows based tablet here in my home office. Is there any way to simply take the generated app and run it on my tablet without moving it to the store?

Please note that I'm a newbie to the Visual Studio environment and I'm using the free Express download currently.

Thanks in advance - JustWannaLearn

Tablets Windos OS

$
0
0

I have a Acer Tablet with Windows O.S. I can't get apps that I have made in Visual Studio 2008 or from Visual Studio 2013. The cpu is the Atom Z3735G Quad-core 1.33 GHZ. It is Windows 8.1. My Desktop is also Windows 8.1 and they run fine. What might I be missing.






Hobbyest

NullReferenceException with GetDirectoryEntry()

$
0
0

The following code works within Visual Studio,but after it's deployed and ran through IIS, I get the 'NullReferenceException: Object reference not set to an instance of an object' error.

The error happens on the bold line below.  If it works in Visual Studio and not through IIS, how should I set up IIS?  I'm assuming they way IIS is setup is causing this error to pop up.  The value is not null for my test search that I am doing.  I search the same ID in Visual Studio and through the IIS.

        Try
            objSearcher.PropertiesToLoad.Add("employeeid")
            objSearcher.PropertiesToLoad.Add("sAMAccountName")
            objSearcher.PropertiesToLoad.Add("description")
            objSearcher.Filter = "(employeeid=*" & txtStudentID.Text & "*)"
            oResults = objSearcher.FindAll

            For Each objSearchRes In oResults

                If Not objSearchRes.GetDirectoryEntry().Properties("employeeid").Value = "" Then

Sophos Firewall blocking local debugging on VS 2013

$
0
0

Sophos Firewall is blocking local debugging on VS 2013. Unfortunately the firewall log isn't saying much about what is being blocked. The article below says uninstalling and reinstalling would work but that doesn't seem to be the right solution. 

https://social.msdn.microsoft.com/Forums/en-US/56ef23f8-5906-448e-b967-4da3bd2f981d/x64-unrecognized-error-occoured-in-the-windows-web-services-framework-vs-2013?forum=vsdebug


Visual Studio Crashes when creating a database project.

$
0
0

See the thread discussing this problem: SQL Server 2008 R2 which version of Visual Studio

In a nutshell, I want to use Visual Studio 2008 to manage my database and business intelligence projects for SQL Server 2008 R2.  I followed all the instructions given by the moderator in the previous thread, who eventually asked me to post the issues here.  In particular, this part:

----------------------------------------------------------------------------------------------------------------------

I installed Microsoft Visual Studio Team System 2008 Database Edition GDR R2.

Then I attempted to add a new database project.  First, there is still no template for SQL Server 2008R2.  So, I selected the SQL Server 2008 database project template.  When I clicked OK in the Add Project dialog, I received the error message:

"Exception has been thrown by the target of an invocation"

I have installed all available service packs

----------------------------------------------------------------------------------------------------------------------

What should I do to avoid this Exception?

Viewing all 21115 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>