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

No Visual Studio 2013 Update 2 Download for msdia120.dll (Ref. KB2927432)

$
0
0

We have a system with msdia120.dll (Visual Studio 2013 Debug Interface Access Library, path: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Packages\Debugger\msdia120.dll) installed but was pointed out by auditor that the file (version 12.0.21005.1) has security vulnerability according to KB2927432.

In the KB2927432 (https://support.microsoft.com/en-hk/help/2927432/description-of-visual-studio-2013-update-2)  we are suggested to upgrade to Microsoft Visual Studio 2013 Update 2, so that the msdia120.dll can be updated to version 12.0.30501.0.

However I could not download this update as it is already removed from Microsoft website. (from link "Download the latest Visual Studio 2013 update package now").

Is there anywhere I can download the update, or the file in particular? If not, any advice on this please? Thanks!



Visual Studio Community and Python

$
0
0

Unsure where to post this question, but here goes.

I installed Visual Studio Community on desktop Windows 10 pro 64 bit.

If I create a project using (Python Windows Console)

Default title: Python Application

a Python interpreter is generated that seems to function properly.

If I create projects using (Python Windows Desktop)

Default titles: IronPython Application; IronPythonWindows Forms Application;

IronPython WPF Application

none of them run because of a message 'Failed to launch debugger IronPython|2.7-32'

Question: is the Visual Studio implementation of Python self-contained or do I have to look elsewhere to resolve this issue?

Thanks much for any direction...

John S.



jssd


What is the connection string to MSSQLLocalDB ?

$
0
0

I am using VS 2019 community, wpf c# app and I created a database and table in the SQL Server Object explorer. Now I want to connect and query this table so what is the connection string I should use ?

           

SqlDataReader rdr = null; SqlConnection con = null; SqlCommand cmd = null; string ConnectionString = "Data Source=(localdb)\MSSQLLocalDB;server=localhost;database=New Database"; con = new SqlConnection(ConnectionString); con.Open();



Is there a simple way to add some fake data to sqlDataReader ?

$
0
0
I googled alot and found unit testing , stups but I really just need to enter like 3 rows in sqlDataReader for quick testing so how I can do that ?

VS2008 - Users experiencing "Faulting module name: MSVCR90.dll"

$
0
0
Just to note, I am not a programmer by trade. Hobbiest at a stretch. 

We are forced to use VS2008 as our code is from early 2000s.

Many users of our application are getting the following error in Event Log.

Faulting module name: MSVCR90.dll, version: 9.0.30729.9619, time stamp: 0x5c4bd872
Exception code: 0xc0000417 
Fault offset: 0x000532cd
Faulting process ID: 0x47d0
Faulting application start time: 0x01d5ba26ae5225eb
Faulting application path: C:\Program Files (x86)\Steam\steamapps\common\game\game. exe
Faulting module path: C:\WINDOWS\WinSxS\x86_microsoft .vc90. crt_1fc8b3b9a1e18e3b_9. 0. 30729. 9619_none_508d9c7abcbd32b6\MSVCR90. dll
Report ID: 7f76a236-78fd-4c15-adaf-9df03438f5dd
Faulting package full name: 
Faulting package-relative application ID: 



They have "Microsoft Visual C++ 2008 Redistributable Package (x86)" installed. 



Any ideas?




Can I use VSCommunity in this scenario?

$
0
0

Thanks for taking the time to read my question. I've read the VS Community License but I'm still not sure if I can install and use VS Community on a production computer.

My scenario is as follows:

I'm a student working for a science company (non-enterprise). This company acquires local post-secondary students; as part of their education, they develop web applications for the company that are free to use by anyone.

My question is: Are we, the students, allowed to install and use VS Community if we satisfy any or a combination of the following questions with regards to following the License Terms above:

For 1b:

1. Do the web applications have to be open source (e.g. Has a MIT License) or can they be non open source to qualify?
2. Do the web applications constitute as academic research as part of this pertains our education and the science community use it as a free knowledge base resource?
3. Does it matter if the web applications have advertisements for the company's products?

Aside: Can the sole contractor developer at the company also use VS Community if we meet all or any of the above requirements? Are there any other things I should know?

Thank you!

VS Licensing: Student License question

$
0
0
The University I was studying under had purchased a volume license for Microsoft Imagine that allowed students like me to get access to a free Product Key of Visual Studio 2019 Enterprise, etc. Now that I have left my institution I am curious about the license limitations. Am I still entitled to the Product Key I received and are there any limitations applied to it such as am I allowed to use the VS Enterprise license key for personal business use (eg: Just me using VS Enterprise but for my work)? 

I have looked through the Visual Studio 2018 License agreementsinside but there was no reference to what happens. I found a post discussing the License for Windows 10 Education which was stated Andre Da Costa that the key is a full license. I also found a question asking if using Visual Studio Pro/Enterprise is a company is allowed on a user's license which it seems to be okay.

So to reconstruct my question; I have a license for VS 19 Enterprise that I use personally and now that I have taken a position at a workplace that does not have VS Licenses I am wondering if it is allowed in the License for me to use my own copy of VS 19 within the workplace professionally. I have asked the IT Dept in my workplace and they have stated If it is allowed in the licensing terms then I may my license. 

With the 3 references above I believe that I am allowed but I would like an official word on this so I can pass the message on. 

Thanks,
Callum.

Can't login to my visualstudio (subscriptions list) 715-123150

$
0
0

When I'm trying to access to my subscriptions list or product keys (at my.visualstudio.com) I receiving error (this error appears from several months from now):

  • Something went wrong!



    We are sorry, but our system has detected a problem with your account.
    If you are still getting this error message after 24 hours, please contact support with the date and time you started having this problem and with your subscription information. Message code: 715-123150.

Anyone can help with that?


How to add proper version of DLL to the project?

$
0
0

Hello folks,

Have one more strange question for you.

I use a log4net logger tool in my projects.
Packages not used, do update manually.
Tool updated and latest version is 2.0.8.0. Used build with old signing key.
Reference to the DLL in the projects was replaced by removing and adding reference. 

Studio 2015 Community did this without any problem and properties window show that proper version added.
But application begin fail on ClickOnce installation.

I review the prroject and find following:

<Reference Include="log4net, Version=1.2.12.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL"><SpecificVersion>False</SpecificVersion><HintPath>..\log4net\v.2.0.8\log4net.dll</HintPath></Reference>

I review other projects and find references for 1.2.10.0 version of log4net. 
I was not able to replace this reference using Studio 2015 - each time I remove the DLL and add it again a wrong version are scribed in the project file.

Version 1.2.10.0 and version 1.2.12.0 of log4net.dll are in the GAC, but as far as I known this should not affect scripting a reference in the project.

Can anybody tell me how to get proper reference script in the project? 

P.S. Studio 2019 Community also installed on the system.


Sincerely, Highly skilled coding monkey.

How do I build a VS 2013 project in VS 2019?

$
0
0

Hi! I have a project built using VS 2013 but, now I want to use it in VS 2019...Is it possible to do so?

If yes, how?

Restsharp always get empty response with twitter

$
0
0
0this is always return empty content just in twitter
var client =newRestClient("https://www.twitter.com/web/search/topsearch/?query=hisham");
           client.Timeout=-1;var request =newRestRequest(Method.GET);IRestResponse response = client.Execute(request);Console.WriteLine(response.Content);

but in instagram it work fine like that

var client =newRestClient("https://www.instagram.com/web/search/topsearch/?query=hisham");
            client.Timeout=-1;var request =newRestRequest(Method.GET);IRestResponse response = client.Execute(request);Console.WriteLine(response.Content);

VS2019 16.4.1 - how to cease all the 'background tasks'?

$
0
0

My VS always run something as a background process. How can I stop these unsolicited 'tasks in queue'? They take too much of time and make my VS unresponsive.

ASP.Net Core project solution not loading in Visual studio 2017

$
0
0

Hi,

I am creating a new asp.net core 2.2 sample project in visual studio 2017 Professional, I am

able to create but that is not visible in solution explorer once created successfully. Although I am able to compile/run by .Net core command-line interface.

Screenshot attached


TFS Repro Steps History

$
0
0
I am interested in obtaining all the repro steps for Work Items in Team Foundation Server 2012.   When doing a query I am only able to view the most current step, unless I click on each work item and it will display all the repro steps.  I am not sure how I can write a query or use another method to be to see all the steps for all work items and be able to export to a file (Excel, etc).   Thanks in advance for any info. 

JSON Outline tool not appearing in VS 2015 or 2017

$
0
0

When I open a JSON ARM file the outline does not appear in the Cloud Explorer window. I also do not get intellisense for the template. Here is the file

{"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#","contentVersion": "1.0.0.0","parameters": {

  },
  "variables": {

  },
  "resources": [

  ],
  "outputs": {

  }
}


Allegro - Cannot open file ..../Program.obj Error:0x80070002

$
0
0

Hello Everyone !

I have problem with latest allegro library, after install it from nuGet and type some basic code i have an error - Cannot open file ..../Program.obj Error:0x80070002 :/ 

Help me ! 

Thank You,Sebastian

VS2019 community (16.4.2) - SQL Server Database projects not supported

$
0
0

Hi,

I'm experiencing difficulties to create SQL Server Database projects or open exting SQL Server Database project (created with VS2015)

Workloads for datastorage and processing are installed.

However, no template is available to create a new sql server database project.

If I try to open an existing sql server database project, VS prompts project not supported.

Any advice on how to troubleshoot is greatly appreciated.

Thanks

Bodo


How to diagnose VS closing automatically for a solution?

$
0
0

VS 2019 opens a solution, then closes it automatically in 5 to 20 seconds without any error message.  It opens other solutions without any problem.  The problematic solutions contains UWP app projects.

Is there a VS log for each solution?


Hong

SSRS Issue

$
0
0
I am using VS 2019, c# and SQL Server 2016.  I can create a separate application with a WinForm using a 15.1400.0 Datareader connected to a table in the Database and it works fine.  If I try to integrate that same WinForm into my existing application I am getting a CS0234 Error: The type or namespace name 'Reporting' does not exist in the namespace 'Microsoft'.  The references are exactly the same in both projects.  I have tried deleting all of the Nuget packages and Adding them.  I have tried deleting all of the toolbox items an adding them.  I am not sure why I am getting this error and it is strange that it does not occur when I isolate the functionality in a separate application.  Can someone help?

Strange message after downloading VS.NET

$
0
0
Hey all
I wanted to download the latest version of VS.NET 2017 Pro, got the online installer version15.9.28307.960.
As usual, I used this command to download:

vs_professional.exe --layout C:\VS.NET --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.Net.ComponentGroup.TargetingPacks.Common --add Microsoft.Net.ComponentGroup.4.7.DeveloperTools --add Microsoft.VisualStudio.Component.DiagnosticTools --add Microsoft.VisualStudio.Component.Windows10SDK.16299.Desktop --lang en-US

Download was completed in the Command Bar, just one difference this time, I had 2 lines in yellow with a strange message I've never seen before:

Setup expects one or more channel manifest in the repository.
Setup expects one or more channel manifest in the repository.

Following by the normal green "Setup completed successfully."
What are those above 2 lines (same text)?
Some error in downloading or my command has to be updated somehow?
Thanks for the advise.
Viewing all 21115 articles
Browse latest View live


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