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

Windows Store App

$
0
0
System.Security.SecurityException
Designer could not be started because of a permissions issue on the drive to which it is installed. Please check the permissions of the folder before trying to start the designer.

Visual Studio Crashes when opening DataSources with a class that has a List of the same class as Property

$
0
0

Using Visual Studio 2015 Update 1, C#, .dotNet 4.6

  1. Create a New Windows Forms Application
  2. Add a new class 'MyClass'
  3. Add the following code:
        public List<MyClass> TestList {
            get { return null; }
        }

4. Save and Build

5. Add New Data Source

6. Select 'Object', Click Next

7. Locate 'MyClass' and select it

8. Click Finish

9. Switch to Form1.cs [Design]

Visual Studio crashes

This will work with any implementation of a List<> of the same class.

A video where the issue happens is at https://youtu.be/8e9ivtHT2uE


Visual studio hangs when creating Azure App Service from Server Explorer

$
0
0

Whenever I try to create an Azure App Service from inside Visual Studio via the Server Explorer Visual Studio hangs. I also get a message that Visual Studio is waiting for an internal operation to complete.

The "Create App Service" window shows up and a generic Web App Name is added however the circles next to Web App Name textbox (that I assume should turn into a green check-mark) is frozen and I can't edit or do anything in the window. The entire window is completely frozeon. The only way to exit this state is by killing Visual Studio.

This issue is happening on both Windows 7 and Windows 10, both with Visual Studio 2015 professional, both with Azure SDK 2.8.1

How to hide warning scribblies in VS Code?

$
0
0

hi

how can i hide the warning scribblies in vs code, in html mode?

thx

License issue Design modus Microsoft DTPicker 6.0 (SP4)

$
0
0

Hi,

In a Siemens WinCC editor on a PC with Win7 SP1 32-bit we use the ActiveX Microsoft DTPicker 6.0 (SP4). MS Visual Studio 2008 V 9.0.30729.4462 QFE is installed. However, the error message is sent by MS: License information not found. You do not possess a valid license for the design mode.

What can we do? 

Thanks.

Michael

Broken project property page in vs c++ projects when using english language

$
0
0

Hi

I installed visual studio enterprise on my laptop and i do not know why, but the installer must have concluded that I am speaking German and so he installed vs with the German language. So of course I want my vs in English (how else am I supposed to search for the error messages) and installed the English language package from here: https://www.microsoft.com/en-us/download/details.aspx?id=48157

So far so good. Everything is in English now, except when I enter the project properties of an C++ project, the site is nearly empty containing only the options for code analysis. While writing this I am also noticing that there are some German controls left as well.... It looks like this:

I have another computer and there it works fine (except there are also "Abbrechen" and "Übernehmen"). So here is a pic how it should look like:


I also tried to repair vs but that won't help. Last thing is to reinstall it, but I am a little afraid about that and normally "repair" does the job.

Is there anything else I could do? Did I miss some update?

Here the about-screen from the laptop:


And here from the computer where it works:


Thank you very much for your help.



VS2015 Error after update .vbproj not recognised

$
0
0

I have been using VS2015 Community for approx 3mths.  Apart from being slower when debugging and loading compared to VS2010 it worked fine. 

I updated the application.  After updating I could not load my projects.  In solutions explorer it states the project is incompatible - The application is not installed.

When I look at Help -> About Microsoft Visual Studio , it says the Visual Basic is installed.

If I create a new project using VB the follow error:

C:\Users\Username\AppData\Local\Temp\3qlms2fl.lry\temp\WindowsApplication1.vbproj cannot be opened because its project type(.vbprof) is not supported by this version of the application.

to open it, please use a version that supports this type of project.

I am using windows 10. I have reinstalled about 6 times and repaired about 6 times as well but nothing seems to be fixing the problem.

It appears I may have to revert back to 2010 version if this cant be fixed

If anyone could help it would be appreciated.

Thx

Visual Studio 2015 - cannot save tables in Service-Based Database

$
0
0

In Visual Studio 2015 I create a new 'Service-Based' database

I edit the database (create tables and add data)

When I want to save the table, I select 'Save All"

VS 2015 then prompts me where I want to save 'dbo.Table.sql' and its default save location is My Documents

The same exact thing is happening when I connect to a database in SQL express.

Why cant I save my tables ????

Thank you in advance !!!

Brandon




DatePicker in XAML and Visual Basic

$
0
0

Hello. I have a problem with DatePicker.

I have two datepickers (DatePicker1 and DatePicker2). I need the user choices a date in DatePicker1, and then sets the DatePicker2 with the chosen date incremented in 5 days. May someone help me? Thanks

run bottom is changed to "Attach to a process"

$
0
0
Hi,

I am trying to run a C code in microsoft visual studio 2015. 
For some reason, the run bottom is changed to "Attach to a process".
And when I attach any of the process, the process wouldn't start to run (command prompt would'nt open).
Thanks

Visual Studio Code on Mac will not open a window

$
0
0

I have been using Visual Studio Code for about 2 weeks now. All of a sudden I can't get it to open any windows.  

The only menu item is Code.  Under Code the only option is quit.

When I right click on the icon on the bottom it shows a number of documents.   I click on a document and nothing happens.

Show all windows shows a list of documents but again I click on one and nothing.

I do have 4 monitors at home where I do some of my work.  Could the windows be stuck on one of the monitors?  Should it not consolidate if I go to 1?

I have tried uninstalling and deleting the HOME\Application Support\Code folder with no changes.

VS 2015, Bootstrap 2.3.2, problem setting a link from one pdf doc to the middle of a different pdf doc.

$
0
0

Hi, someone else created the framework for our new website using Visual Studios 2015 and Bootstrap 2.3.2.  We are now on our own and are transferring documents from our old website to the new website.  I have minimal website experience.  Using Acrobat DC Pro, I'm trying to give our users the ability to click on a reference in pdf Document A so that a new window opens up directly to the referenced section in pdf Document B.  I've set both a bookmark and a destination in the middle of Document B and I've named both the bookmark and the destination as Article9.

When both pdfs are on my computer desktop, linking to the named destination works, it brings me to the middle of Document B, but when I drop the documents in Visual Studios, the link doesn’t work at all in Chrome, IE or Firefox, I assume because it’s trying to pull the documents from my computer instead of the website.

  

If I leave Document B in Visual Studios, then on my computer desktop try to rework the link in Document A, I go to Tools>Edit>Link>Add or Edit>draw the box around the reference>Open a Web Page>copy and paste the link to Document B.  Then I've tried various endings to the url link, but the link from Document A keeps bringing me to the top of Document B instead of the middle.  I've tried:

.pdf#Article9

.pdf#nameddest=Article9

.pdf#page=22

 

Then in Document A I tried to rework the link again:  Execute a Menu Item > Run a javascript > app.launchURL("xxx.xxx.xxx.xxx/PDF/forms/B-2A_Std._Articles_Aug_2001.pdf#nameddest=Article9", true);

Using this method the link semi-works from the test website: it brings me to the top of Document B instead of bringing me to the middle of the document, which is the same problem I had in the first place.

Please let me know how to correctly write the syntax of the link, or is there another way of getting the result?

Thanks!

How to view simple html page?

$
0
0

hi

i created a single html file in VS Express Web. 

When i type CTRL-SHIFT-W, nothing happens. 

How to view this file in web browser?

thx

Solution stuck loading and projects initializing

$
0
0

We had a third party company recently create a website for us and send over the solution
which is in Visual Studio 2012. When I open the solution the first time,
everything works as usual. However, after closing and reopening, it gets stuck
on initializing all but one of the projects (see screen shot below).

This is my first use of the 2012 software outside of a little tinkering I've done with it
a few months ago. I have tried repairing the program and even uninstalling then
reinstalling. I've also installed the recent Update 2, but the issue continues
to happen. I'm just unable to open it after the first time.

I checked with the company who created the solution, and of course they have no issues. I
had one of my coworkers install VS2012 and he has no issues with it. So, any
ideas what the issue is with my computer. I'm hoping there is a setting that I
just have to adjust.

I am running Visual Studio Professional 2012. Thanks in advance for any assistance.



VS Studio 2015, how to remove phone emulators?

$
0
0
I have updated VS to 10.0.10586.0 and the new emulators were installed with the update and they are working fine.  My problem is with the original 10.0.10240.0 phone emulators.  The are still in the "run" list and when selected, they cannot be found so they will not run.  My Target and Min Versions are still 10240.  So my question is how do I remove the old emulators from the run list?  Is there a way using VS 2015 or do I need to uninstall Windows 10 for Mobile Image 10.0.10240.0 to remove them?

How to fix "the name 'Http' does not exist in the current context"

$
0
0

Hello

I Recently created my project and, there was some erros and stuff. 

In the start there was 12 Errors. It was "WinApis" there is dont worked That is fixed now.

But as you can see on this image: https://gyazo.com/69bbdf3ecdd06db8362a1262fb3a48dc

There come this error up: The name 'Http' does not exist in the current context

When i add a new project to my projcet. And i found a source code called "Steamhttp" code to fix the three last errors. I copied the code 

and inserted in my project. But it still dont work.  I must have a working source code for "SteamHttp" to fix the last Errors.  I need help to find a "steamhttp" source code.I hope this making sense, you can ask for more pictures or better explaining.

Regards Jens


Visual Studio Crashes on opening Data Sources window

$
0
0

I have this very weird problem

When I select my project in the solutions explorer and i then open up the data sources and i can see all my data sources

When i then open up any form the datasources list goes away and my visual studio crashes

the error in the event viewer is the following

Faulting application name: devenv.exe, version: 14.0.24720.0, time stamp: 0x564ea97e
Faulting module name: clr.dll, version: 4.6.1055.0, time stamp: 0x563c0f73
Exception code: 0xc00000fd
Fault offset: 0x00014264
Faulting process ID: 0x30b0
Faulting application start time: 0x01d131b730eae76f
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Report ID: 7753c615-440d-4af9-a873-394282ee82ed
Faulting package full name:
Faulting package-relative application ID:

Data Tools for VS 2015

$
0
0

Hi

Is there no data tools for VS 2015?

Regards

Andy


CRM 4, SQL Server and .Net developer using C#

Amount of memory that can be accessed

$
0
0
Is there a limit of memory that can be allocated and accessed with Visual C++ 2013 -- 64 bit?

sqlpackage is not generating CREATE database script

$
0
0

Visual Studio 2010 has VSDBCMD tool to generate deployment scripts from VS database projects. We used this tool to generate CREATE database script (.sql file), that we run on SQL Server management studio to create a new database and its entire schema. We used the following parameters to generate the script.

vsdbcmd.exe      /Action:Deploy       /DeployToDatabase:-      /Script:MyDatabase.sql      /ManifestFile:$(TargetDir)\MyDatabase.deploymanifest     /Properties:TargetDatabase=MyDatabase

After we converted our database projects to VS 2013, we tried to use SQLPACKAGE.EXE tool to generate the same CREATE deployment script. But we couldn't successfully create one. The problem with SQLPACKAGE tool is that it requires TargetFile, TargetDatabaseName& TargetServerName parameters. Even if TargetFile won't even exist when we create the db first time, we can manage by providing some values to the TargetFile and TargetDatabaseName. But TargetServerName is the main problem. We wouldn't even know until the script is deployed on a server. But SQLPACKAGE is forcing us to provide a TargetServerName while generating the script itself. Just for testing, we gave some local server name, it still didn't generate the same CREATE script that VSDBCMD generated. This is still generating, update/insert scripts. Here is the command, we're using.

sqlpackage.exe /Action:Script /TargetFile:"MyDataBase.dacpac" /TargetDatabaseName:MyDatabase /TargetServerName:MyServer /p:CreateNewDatabase=True /SourceFile:"MyDataBase.dacpac" /OutPutPath:"C:\MyDatabase.sql" /Variables:DefaultDMDataPath={SQL_DATA_PATH}\

Please let us know how we produce a CREATE script using SQLPACKAGE.EXE so we get the .sql file that we can later deploy through management studio?

Thanks,

Raj


Raj Muthusamy

Viewing all 21115 articles
Browse latest View live




Latest Images

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