w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Configuring the ASP.NET Web Site Administration Tool
Check your web config for your connection strings. Then also check your web config for your membership and role providers and check what connection string they are using. Eg: <membership> <providers> <clear /> <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="CHECK HERE!!" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" /> </providers> </membership>

Categories : Asp Net

Could not connect to database on ASP.NET Web Site Administration Tool
It sounds like the connection string in your Asp.net app is not correct. You can script those queries in the database directly if you need to. Check your web.Config file and make sure all of your connections in there are correct. Are you using the simple membership? Or the Asp.net tables?

Categories : Asp Net

How to stop Visual studio/IIS express from creating new every time it is restarted in applicationhost.config
Have you set the URL it should use in the project csproj file? You can lock it down there to localhost and a port number :) For example: <ProjectExtensions> <VisualStudio> <FlavorProperties GUID="{whatever your guid is}"> <WebProjectProperties> <UseIIS>True</UseIIS> <AutoAssignPort>False</AutoAssignPort> <DevelopmentServerPort>12345</DevelopmentServerPort> <DevelopmentServerVPath>/</DevelopmentServerVPath> <IISUrl>**http://localhost:portnum**/IISUrl> <NTLMAuthentication>False</NTLMAuthentication> <UseCustomServer>False</UseCustomServer> <CustomServerUrl> </CustomServerU

Categories : Visual Studio 2012

Visual Studio Express 2012 for Web: Creating Service Reference to WCF Data Service 5.0.0.0 Causes Custom Tool Error
I resolved issues two and three by installing WCF Data Services 5.3.0 RTM Tools. Hope this helps.

Categories : Visual Studio 2012

Django administration styling: Change "Site administration" and subheadings
I used the {% block content_title %}{% endblock %}just before {% block nav-global %}{% endblock %} and added in my Title in between: {% block content_title %} My Title{% endblock %} in the base_site.html file in your templates/admin/ directory, it successfully removed the "Site Administration" string

Categories : Python

Visual studio issues after installing visual studio 2013
In order to build windows 8 apps in visual studio 2013, you must be using windows 8.1. (defined here). This is possibly the issue. You also wouldn't see the windows sdk include path because the wdk would be uninstalled. I would recommend one of two things get visual studio 2012 again, and download the windows 8 sdk get windows 8.1, then install visual studio 2013, and use the windows 8.1 sdk I know, its quite silly.

Categories : Visual Studio

c# visual studio - Better tool to use with formatted text
Check out AvalonEdit from SharpDevelop project. It has declarative formatting with 'out-of-the-box' support for many languages. And it can control any formatting by code as well. https://github.com/icsharpcode/SharpDevelop/wiki/AvalonEdit http://www.codeproject.com/Articles/42490/Using-AvalonEdit-WPF-Text-Editor And it's even available in NuGet https://www.nuget.org/packages/AvalonEdit

Categories : C#

visual studio c# change button tool tip on click
That is exactly what you would do. Just capitalize the 'T' in ToolTip. Maybe add some kind of counter system to determine whether to change it to that tool tip or to the previous one on click if you're going to have it switching back and forth each time.

Categories : C#

Margin tool tip in stylesheet looks off for Visual Studio 2012
Visual Studio will only suggest keywords, like as auto, inherit, and initial, the only other options are values (e.g. 5px, 10em, etc). top, right, bottom, and left are not values for the margin: property. You must be thinking of margin-top:, margin-right:, margin-bottom: and margin-left:, which are different properties entirely.

Categories : CSS

XNA for Visual Studio 2013
XNA is no longer supported. Windows recommends MonoGame. This was actually done a while ago. And I've never seen it included. For me with 2010 Ultimate it was a separate download. From here: [According to a leaked email] "The XNA/DirectX expertise was created to recognize community leaders who focused on XNA Game Studio and/or DirectX development. Presently the XNA Game Studio is not in active development and DirectX is no longer evolving as a technology. Given the status within each technology, further value and engagement cannot be offered to the MVP community. As a result, effective April 1, 2014 XNA/DirectX will be fully retired from the MVP Award Program." As others have commented, it may go well for you regardless of the above facts. I wouldn't count on a "Previe

Categories : Dotnet

How to set up SourceGear DiffMerge as the diff/merge tool for Visual Studio?
Firstly, you need to change the default command line to: C:Program Files (x86)SourceGearVault Clientsgdm.exe I found the parameters in this thread on the SourceGear support forums, but the arguments given there are incorrect and result in the auto-merge being executed in reverse, i.e. old code overwrites new code. The correct arguments are: /m /t1=%6 /t2=%7 /t3=%8 /c=%9 %1 %3 %2 /r=%4

Categories : Visual Studio 2012

Visual Web Developer 2010 Express - creating a ASP.NET Web Site Targetting .NET 2.0
read this it tells you how to change the target framwork http://msdn.microsoft.com/en-us/library/vstudio/bb398202.aspx or

Categories : C#

visual studio 2013 on windows xp
It is not possible. Visual Studio 2013 natively supports .Net v4.5, which does not support Windows XP. For .Net 4.0 on Windows XP, you may try to use Visual Studio 2010 with .Net 4.0. I am not sure if this will work, but I would suggest you to go for Windows 7 for .Net 4.0 and Windows 8 for .Net 4.5.

Categories : Dotnet

VIsual Studio 2013 - Javascript
The JavaScript templates are not installed by default. If you open the New Project dialog, you'll see a link Click here to go online and find templates. Click this link and you'll see all the other templates you can install. The JavaScript ones are in the Samples section. I assume that by tablet apps you mean Windows Store apps, so open that section and take your pick. BTW, this is for Visual Studio 2013 Pro, I haven't got the Express version installed so I don't know if it works there.

Categories : Javascript

In Visual Studio 2013 / ASP.NET MVC 5, How do I add a new Controller?
Updated this answer on Nov 14 2013, after the official VS2013 release to reflect changes in the final release -ds For Visual Studio 2013 (Released Version) Note: The final release brought back the "Add Controller" context menu. Easy Way: Right Click on the "Controllers" folder in your MVC project Add > Controller... Choose a Controller Template. (I prefer MVC 5 Controller Empty) Alternate Way: Right Click on the "Controllers" folder in your MVC project Add > New Scaffolded Item... Choose a Controller Template This method also displays non-controller templates such as views, areas, and more WebAPI features making the list longer. For Visual Studio 2013 (Preview and Release Candidate) Note: VS 2013 Preview and RC did not include the "Add Controller" context menu. To create a ne

Categories : Visual Studio 2013

Visual Studio 2013 - Source Not Available
It means that at the time you hit Break the code being executed was from some external library that you don't have the source for; most likely a call to the base language library, of which you no doubt have lots of calls to all over your application. If you did it often enough eventually you'll happen to break at a point where no library call is executing (the specific code of your program will determine how lucky you need to be for that to happen).

Categories : C#

Add files/folders to a visual studio project using command line tool
You can access Visual Studio automation from VB Script. See the following sample .vbs file that can be run as an executable: Dim dte Dim project Set dte = CreateObject("VisualStudio.DTE.11.0") dte.Solution.Open("C:UserssvDocumentsVisual Studio 2012ProjectsConsoleApplication1ConsoleApplication1.sln") For Each project In dte.Solution.Projects If project.Name = "ConsoleApplication1" Then project.ProjectItems.AddFromFile("C:UserssvDocumentsVisual Studio 2012ProjectsConsoleApplication1ConsoleApplication11.txt") project.Save(project.FullName) End If Next dte.Solution.Close()

Categories : File

How to enable open XML Package Editor power tool for Visual Studio
Anup, Have you tried going to File->Open from Visual Studio? If that opens it from an Office client application as well, then the Visual Studio Package Editor is not the default option for opening documents of that file extension. If the document is a part of a solution (you can just create a new blank solution and add it in) you can right click on the file from Solution Explorer and choose "Open With", from there you can choose to open that file as a "Package File", and you can also select this as the default way to "open" files of that extension in Visual Studio.

Categories : Visual Studio 2010

Is there a good tool to design JQuery Mobile Interfaces in Visual Studio?
There isn't a requirement for this. The same logic why Visual Studio no longer has an HTML "designer", only an editor, for MVC applications. The main reason is interoperability (browser compat) and live editing (Code midway between starting and the user having carried out a number of actions). When you have a JS heavy site the non executed html is not very useful to look at. For live editing Tools like Expression blend are potentially useful but I don't know of anyone who uses it for production. "codiqa.com" is more a platform / prototype tool than a jquery ui design tool. And once you need super custom behaviours you would export their code into your good old editor and start cracking code like you used to. Not saying it isn't useful to get an easy start, but saying that it isn't the

Categories : Visual Studio

Replace visual studio 2012 Diff tool with winmerge when using Microsoft Git Provider
Backed up by that DZone-article, the trick is to configure the diff-tool in git.config: Open the git bash in your repository Create a config section for WinMerge as a diff-tool: $ git config --local difftool.winmerge.cmd '"C:Program Files (x86)WinMergeWinMergeU.exe" "$LOCAL" "$REMOTE"' Configure git to switch to WinMerge as the diff-tool: $ git config --local diff.tool winmerge If you want to have this setting as a global setting, replace the --local switch with --global.

Categories : GIT

Visual studio 2013 preview SPA template
TL;DR Don't use a space in the project name Kiran, I went to reproduce the problem from scratch. I messed around with the first project (trying to get it to work) so much that I didn't think it would be much help in diagnosing the problem. The new project worked fine... Isn't it great when you can't reproduce the problem? Well I looked carefully at what I did differently.. couldn't think of anything, yet yesterday, I spent all evening trying to get this work... I'd recreated the project from scratch several times! Finally I realised... I named my project "Test SPA" whereas today I was too lazy to write such a long name.. just called it "SPA". Just created a new project with a space in the name.. and have successfully reproduced the problem. Let me know if you still need me to send

Categories : Asp Net

Best way to deploy visual studio 2013 project
Your friends computer needs to have the VS 2013 redistributable packages You can perhaps build an installer that either downloads these, or installs them as part of your distribution. Or you can tell your "customers" to download and install them from a suitable link.

Categories : C++

Visual Studio 2013 RC CodeLens not showing up
The option is hidden in Tools -> Options -> Text Editor -> All Languages -> Code Information Indicators The only one that appears to work for us is the references, even though all options are enabled. Update: My missing options were answered here... VS 2013 CodeLens Hope this helps.

Categories : Visual Studio 2013

How do you change your app icon in visual studio 2013?
You might be confused because Visual Studio supports different languages, and its UI is not consistent across those languages. Since you tagged it C++, the "old" rules apply. An application icon is a so-called resource. You have to provide an .ico file, and reference it in a .rc file. The resource compiler (RC) compiles it into a .res file, and the linker then adds it to the EXE.

Categories : C++

How to get TypeScript working with Visual Studio 2013
I found a question on here with an answer that almost worked. But after changing some things around I was able to get this working. These steps slightly deviate from the original, which can be found here. Close Visual Studio. Install Visual C++ Redistributable for Visual Studio 2012 Update 3 x86 version (even if running on an x64 platform; tsc.exe is an x86 application). Download TypeScript for Visual Studio 2012 version 0.9.0.1 Uncompress/Extract the MSI file to a temporary location using https://code.google.com/p/lessmsi/ Copy the directory SourceDirMicrosoft SDKsTypeScript to %ProgramFiles(x86)%Microsoft SDKs Copy the directory SourceDirVS11_EXTENSIONS_DIRTypeScript to %ProgramFiles(x86)%Microsoft Visual Studio 12.0Common7IDEExtensionsMicrosoft Copy the the two files in the SourceDirV

Categories : Asp Net

Qt 4.8, Visual Studio 2013 compiling error
Have you run "vcvars32.bat" before compiling? It seems the environment variables of VC++ are not appropriately set. See http://msdn.microsoft.com/en-us/library/f2ccy3wt.aspx for informations about the environment of VC++. bye

Categories : Qt

ASP.NET 4.0 Visual Studio Express - Parse error
check your namespace that is assigned to WebForm1. When I encounter this error it's typically due to me changing the namespace and not updating the line in .aspx file. It may look like namespace MyRenamedNamespace { public class WebForm1 { } } in which case the line in the .aspx file should read <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="MyRenamedNamespace.WebForm1" %>

Categories : Asp Net

"Always-indent" style for visual studio express
Go to Tools -> Options choose then Text Editor -> All Languages -> Tabs There you can specifiy: Tab size Indent size Insert spaces (instead of a tab)

Categories : C#

Extending Visual Studio 2012 Express
With Visual Studio Express products, there's one Visual Studio for each kind of application: Windows Phone Desktop Windows 8 Store Web So you have to install multiple Visual Studio Express, using different versions. For desktop: Express 2012 for Windows Desktop See http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-products#product-express-summary

Categories : C#

How to debug YAF with visual studio 2010 Express
A simple answer (found somewhere on stackoverflow,lost where but thanks anyway):- Just needed to add the project to the website solution By default, the solution is not shown in the solution explorer window To get the solution added to the soluton explorer: tools->Options -> Projects and Solutions then check the "Always show solution" box Then right click the solution in the solution explorer window to add the project.

Categories : Visual Studio 2010

Qt5, Visual Studio 2012 Express and OpenMp. How to?
I finally got all the required elements to get it compiled with openmp from Qt Creator: Add #include <omp.h> to the source, which is not required if you compile with the command line mentioned above. Add QMAKE_CXXFLAGS += -openmp to the project file. It wont work with -fopenmp. No need for any openmp lib like I did ( LIBS += -openmp ) neither for QMAKE_LFLAGS += -openmp Compile as release. With debug it has no impact on performance. The other optimization options are already configured in mkspecswin32-msvc2012 qmake.conf Hope this helps someone else.

Categories : Visual Studio

connect visual studio and sql express on amazon EC2
Assuming that you have a connection string (to server ec-xxxxxxx.xxx.amazon.com), your problem could be that the .Net instance (let's call it NET) and the SQL Server instance (SQL) don't have the rights to see each other. Create two instances with the different security groups On both groups, you'll like want to open RDP (you probably have that already as I can read) On the SQL instance security group create an inbound rule for port 1433 and open it only for the security group of WEB. Otherwise, the whole world can access your SQL Server Express database. Like this, only the WEB instance can access it. You need to paste the security group id of WEB into the inbound rule for SQL to do that. Good luck.

Categories : Sql Server

Why use XAML in visual studio express for windows 8?
Drag and drop creation of UIs when using XAML creates very poorly formatted XAML and since there are a significant number of things which are most easily done in XAML (data templates for instance), it's easier to simply construct your UI in XAML from the start.

Categories : Xaml

directx 9 with visual studio 2012 express
You should be able to use Direct3D 11 whilst still targeting a Direct3D 9 device via the D3D_FEATURE_LEVEL enum, which you can specify in your D3D11CreateDeviceAndSwapChain.

Categories : C++

Sharepoint 2013 testing in visual studio Update 1
For Web service load test I suggest SOAP UI. It is open source (look for soapUI not soapUI pro) and extremely easy to use. You can create the tests and the load / stress tests against the wsdl and execute them once the implementation is there.

Categories : Sharepoint

Visual Studio 2013 Preview Not Responding frequently
RESOLVED! It was git causing the problem. I had a local repository set at c:Projects which contained all my various project sub-folders. The debug dump file I created for the VS programmers allowed them to narrow it down to git. Removing the local repository fixed my performance issue where VS 2013 is at least usable now. The VS programming team still needs to resolve the continuous re-parse of the folder though. Anyone with a very large repository will end up with this issue.

Categories : Visual Studio

Is there a way to host my asp.net page through visual studio 2013 (globally)?
your page cannot be "global" in the sense of everyone on the internet can access it unless you deploy it to a machine for such tasks. I personally deploy to Amazon Web Services, a small micro instance. Now, if you would like to test to see how your information reacts, you can write a script to interact with it, but i feel you are more or less wanting to run your local host as a outward facing server and then ping it with client requests of sorts. Any wya you look at it, get a domain name. Determine if you are going to host it, with port forwarding (i dont reccomend it unless you have good internet and dedicated machines) or using Amazons WebServices and Cloud processing as a deploy point.

Categories : Asp Net

Develop Sharepoint 2013 365 Workflow in Visual Studio
According to this article it's possible, though probably not really nice. You will have to deploy your Workflow as a SharePoint App. Which means you will only be able to call the webservices. Another option which might be worth looking at is Nintex, which has a module for office 365 as well. Nintex has alot of useful functions, though I don't know how good the office 365 version is. You would have to check whether it suits your requirements.

Categories : Visual Studio

Typescript compile on save with Visual Studio 2013?
Have you added the typescript files using drag'n'drop? Then it could be that the build action of the files has the wrong value. Use the property window of the files (F4 or alt + enter) and verify the build action there...

Categories : Typescript

What is the difference between msvcr120.dll and msvcr120_app.dll in Visual Studio 2013?
In Visual Studio 2013, the C++ Runtime DLLs used for Desktop apps are different from those used for Windows Store apps. Desktop apps use the runtime DLLs named such as msvcr120.dll, msvcp120.dll, vcamp120.dll, vcomp120.dll, vccorlib120.dll and so on. Binaries built using the C++ Libs located in “$(VCInstallDir)lib" have a dependency on these DLLs. Store apps use the runtime DLLs names such as msvcr120_app.dll, msvcp120_app.dll, vcamp120_app.dll, vcomp120_app.dll and vccorlib120_app.dll. Binaries built using the C++ Libs located in “$(VCInstallDir)libstore" have a dependency on these DLLs. The primary difference is that the Store DLLs (those with _app in their names) have been implemented entirely using the Windows API available for Store apps. This can be verified by running "d

Categories : C++



© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.