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

VS 2013 error: "Attempted TextBuffer edit operation while another edit is in progress"

$
0
0

I´m using Visual Studio 2013 Version 12.0.21005.1 with VB.NET on Framework 4.5.50938, OS is Windows 7 SP1 32 Bit.

I´m randomly getting the error message

"Attempted TextBuffer edit operation while another edit is in progress"

when trying to edit a source file. The file then remains inaccessible until I restart Visual Studio.

This message seems to appear at random and out of nowhere, sometimes after running or debugging the program, sometimes in the middle of editing. I can edit one file, switch to another one and receive this error.

Sometimes I can work half an hour before this message appears, sometimes only a couple of minutes. I´ve been looking all over the web for solutions but can´t find anything.

This error is beginning to severely disturb my work, so any ideas would be highly appreciated.


Additional Help in XML/HTML parsing (XPath)

$
0
0

Hi,

I rather often have to parse HTML or XML files and extract soem informations from them.

Is there a Tool/Plugin for Visual Studio (2010) that help me doing this more efficient?

Maybe that helps me finding the XPath of a element my cursor is pointing at, or something similar?

Load test error, requires Ultimate (which I have)

$
0
0

I use Visual Studio 2013 Ultimate, logged in to MSDN and have a registrered product key. When I try to run a load test I get: "Visual Studio Ultimate is required to execute the test".

When I choose Help > Register I can see "LIcense Product key applied" and "Ultimate 2013".

First of all I installed 2013 Premium, then I installed Ultimate and uninstalled the Premium. Can this be an error because of this? I did run a repair and restarted my computer but it did not help.

Thanks.

wcf Service

$
0
0

Hi

I created a Wcfservice and it was running fine. but when I am trying add service reference from the client it is not able to find the service though service is running.

what could be the reason?

thank you

Which (Visual Studio) product do I need ?

$
0
0

Hi.

I have (for the moment) the following needs:

1) create/develop C#/.NET applications

2) create/develop C++ Desktop application (w/MFC ? GUI)

To be more specific:

Reg. 1) I would like the "latest and greatest" C#/.NET IDE

Reg. 2) I have received some older code, previously created in Visual C++ version 6 (with MFC) which I need to modify.
The code is quite simple, and it contains the MFC part.
I have already downloaded the Visial C++ 2010 Express (free version), but unfortunately, it did not give me the GUI support I needed (MFC was not included).

My question is :

Will (one single product of) Visual Studio 2013 give me the tools needed in order to work with both these technologies/issues.

If so, which version of Visual Studio is recommended (supports this) ?

Best Regards

Terje Bøhler

Stale license

$
0
0

I have been using Visual Studio 2013 Premium for a few weeks.

Now I suddenly can't start it.
I get the message:

"This license will expire in 2147483647 days.
Your license has gone stale and must be updated."

When I click the provided update link I get the message:

"Sorry, we ran into a problem
Exception has been thrown by the target of an invocation."

Reinstalling hasn't helped.

Visual Studio 2008 SP1 - Number ???

$
0
0

hi

have 2 entries in vs2008, "947888" and "945140" and both seems to be the sp1 for vs2008. don't unterstand...

when i search for it, it seems that both are sp1 for vs2008...

can you explain me. thx.

regards, jan

Adding project to Visual Studio 2013 triggers build

$
0
0

Hi,

I experiencing very strange problem: if I adding Windows Phone project to my solution - it triggers the whole solution build. After I press "Add Project" and I choose first template in the list ("Windows Phone App"), I see "Creating Project" message appears (modal dialog, so I can't click anything). In the same time, behind the dialog, I see that visual studio started build of the whole solution - without I asked it to do that. Since "Creating Project" dialog is modal, I can't abort this build and have to wait until it ends (and since I have C++ projects there - i have to wait 5-30 minutes).

After build is finished, "Creating Project" dialog closes and I see my project added.

This is very, very annoying. I hoped that Update 1 will fix this problem - but it still there.

Any ideas?

Thanks


VS 2012 report project query designer greyed out

$
0
0

The graphical editor stopped working while editting a report project dataset. Now it shows all the button greyed out. It now only works in "Edit as Text" mode. I can't seem to find a fix.

"CreateInstance failed for package": uninstalling assemblies in vs2012

$
0
0

I am getting a series of errors when I open VS2012. I had added some references to some assemblies, then removed them but VS is still looking for them. There is some Google chatter about how I have to "remove the manifest and package definitions" but no specific direction on how. Below is one of the errors found in ~\AppData\Roaming\Microsoft\VisualStudio\11.0\ActivityLog.xml that referenceextensions.en-US.cache and extensionSdks.en-US.cache

but I can't edit the files directly: 

  <entry>
    <record>59</record>
    <time>2014/01/28 19:47:13.419</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>CreateInstance failed for package [Telerik.VSX.UserSettingsPackage.UserSettingsPackage, Telerik.VSX.UserSettingsPackage.2013.3.1316.0, Version=2013.3.1316.0, Culture=neutral, PublicKeyToken=0dfdc51bd06071b4]</description>
    <guid>{94C35263-71D0-4F81-886E-C1E23EA9C837}</guid>
    <hr>80070002</hr>
    <errorinfo>Could not load file or assembly 'file:///C:\Users\murphym2.AMERICAS\AppData\Local\Microsoft\VisualStudio\11.0\Extensions\f5p5ktts.vhv\Telerik.VSX.UserSettingsPackage.2013.3.1316.0.dll' or one of its dependencies. The system cannot find the file specified.</errorinfo>
  </entry>

Please advise


Micheal

Can't add tables from Server Explorer to my DBML

$
0
0

I added the DBMLDataContext to my project in Visual Studio 2013. I was able to drag and drop from the Server Explorer the tables from the SQL Server that I wanted. Yesterday, while working on it, I started getting told that a column in a table was not valid. So I tried to open the DBML and Studio told me there was no valid editor for the file. So I deleted the DBML and added a new one. Now I can open it but when I try the drag/drop from Server Explorer, I get the error, "Unable to cast object of type 'System.Object[]' to type 'System.ComponentModel.AttributeProviderAttribute[]'". Can't find anything online about this error.

I found a few other threads but nothing like this. 

I also get the error message when I try to add a new Data Source.

I added a new DBML and get the same error for it too. 

VS2010 after installing VS2012 - redistributables

$
0
0

When VS2012 came out I installed it. It appeared at the time to have partially deleted VS2010 in that there is no longer a VS2010 application on my machine, but a lot of projects try to launch it. Annoying. Any thoughts on this welcome.

However, that's not my problem.  I came today to rebuild an oldish project which is c# but with a C++ COM object doing low level stuff.  I use Install LE as my installer.  That can no longer find the VC10 merge modules that the COM stuff needs to run.

I've found the 2010 redistributable installer, but when I run it, it tells me it can't, because 'A newer version of Microsoft Visual C++ 2010 Redistributable has been detected on the machine.'.

Having already faced problems with VS2012 C++ and XP, I'm reluctant to attempt to recompile the COM object unless I really have to.

Can anyone help?

Thanks 

Iain


Iain Downs

Problems with Software versions deploying Web App and DB (ASP.NET, Windows Server, IIS, SQL Server, ASP.NET, .NET)

$
0
0

Hello, 

I would like to get some advice and to find the best solution for my project.

I am creating the database and web application which going to be for user interactions with database.

Database and web app going to be deployed on windows server 2003 x32 , IIS6, Visual Studio 2010 ultimate, SQL server 2008. Non of it is express versions. That's the all information I have right now. 

I am working on Win 8.1 x64  Professional, SQL server 2012 Express, Visual Studio 2012 express for Web, IIS8 Express. So far I am just learning and trying new things. Express version should be enough to finish my goal. 

I would like to get an opinion on that. What options do I have ? What Version of Visual Studio, Database, ASP.NET, IIS

I read it's possible to deploy MVC 4.0 with .NET 4.0 on IIS6 upgrading .NET framework to version 4 ? What about x32 and x64 versions ? 

Please help me to find the right way. 

Can't activate Visual Studio 2013 Professional

$
0
0

I have an MSDN Action Pack Development and Design subscription.

I have downloaded and installed Visual Studio Professional 2013, and it says the license is a "Trial extension (for evaluation purposes only)" and that the license will expire in 90 days.

From within Visual Studio I have signed in to my Microsoft account, but this doesn't result in the Visual Studio product being activated.

Is there some 'trick' to this to get Visual Studio registered / activated with an MSDN subscription?

I'm not sure this is the right forum, I don't post here usually.

Thankful for any help / advice.

Matthew Jones.

Getting offline product key for VS Express 2013 for Desktop

$
0
0

I have installed VS Express 2013 for Desktop on a machine on which Internet connection is not available. I never entered any product key in that. And it is now giving me message as : 

Your trial will expire soon and you will no longer be able to access this product. Sign in to extend the trial or enter a product key to continue without interruption.

Can I generate a product key for this online through my live id and enter in my VS installation on non Internet connected machine.


Which VS edition is best for me?

$
0
0

I need a Development tool that can :

Develop C#/.NET applications

Develop C++ Applications (With GUI: MFC or similar)

Any help would be appreciated

Kind regards

Paul



Visual studio 2012 localized winforms glitch

$
0
0

Hi everyone. I have a strange problem working on visual studio 2012. I am developing a win form application and it should by localized to the Arabic language however when I change the form language to Arabic the win form designer goes ballistic and can't display the form in design time correctly it displays an empty form designer and another window opens in the background displaying the form but cannot be activated, any ideas ?

VS Project fails to run with specific project name

$
0
0

My development team is working on a solution with several projects. We share this solution via TFS. Recently one of the developers joined in one development of one of the projects (called "VMC14"). This project works (debugs, runs, etc) on all other developer computers. However when this new developer got the latest source he found he couldn't run it. He could run every other project within the solution, just not this one project. Whenever he tried it would build without error but then die upon running. Sometimes even freezing the VS2012. He upgraded to 2VS2013 (which most of us were using) and had the same issue. We even tried building a release on someone else's computer and running that exe on his. That failed to run as well.

Eventually one of the other programmers found that it was the name of the project that was the problem. He found this out by creating a new empty project on the troublesome system name "VMCTest" and that failed to run as well.

So the question is why would the name of the project be an issue? And why only on this one computer? What setting on his computer would clash with the project name? My guess is that it has to be a setting somewhere because the computer itself is the exact same computer we all have (we all got replacements at the same time last year).

If anyone has any theories, I would love to know. Currently the only workaround we have is to rename the output for the project on his system. Not a workaround that's great.

How do I remove Publish Name appendage of "-1"?

$
0
0

Lately when I Publish Projects, they are published with a suffix of

-1 appended to the published name, e.g. ProjectName becomes

ProjectName-1. I can delete the old folder (ProjectName) which

I’ve done. However, I don’t like to see the -1 appended to the

upgraded current project. How do I rename the correct components to remove the “-1” without

screwing things up? Is this something I can do in Windows

Explorer or is it something I need to do via Visual Studio? And,

if Visual Studio, how do I do it? You might ask why I haven’t tried Windows Explorer, and my answer

is: I don’t want to go through the “pain” of restoring the project

if this isn’t the right option.



Terry 01


Issue with Local Debug in VS 2013 (HTTP Error 401.0 - Unauthorized)

$
0
0

I found a strange issue and I'm not sure how to solve it.

I pulled a solution from TFS on both my Desktop and Laptop.

On both, when I debug the solution in VS 2013, I get the following error:

HTTP Error 401.0 - Unauthorized You do not have permission to view this directory or page.

The same code runs properly in VS 2012.

On the Desktop, if I debug it in VS 2012 first, then stop debugging I can debug successfully in VS 2013 until I close VS 2012.

On the laptop, if I try the same trick, I get an error that VS is unable to launch the IIS Express Web server because the port is already in use.

So it seems that when I debug in VS 2012 some credentials are being passed that are not being passed in VS 2013 (I'm guessing because of some change in the way this is handled?).

So what changed, and how can I update the solution so that VS 2013 can debug without first debugging in VS 2012?

NOTE: I've also asked this question at StackOverflow here

Viewing all 21115 articles
Browse latest View live


Latest Images

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