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

"This Page Can't be displayed" error is obtained when running Visual Studio 2012.

$
0
0

Hi Guys,

I am stuck with the below error for more than weeks. Any help would be deeply appreciated.

I am getting the error as "This page can't be dispalyed" whenever i run my application. Previously, my soultion was in TFS server and server was in client location and I was able was able to run solution without any issues. Now source code is moved to TFS online and now i am getting this each time when i try to run the solution.

My environment details are here:

OS: Windows 7 (64 bit)

Visual Studio 2012

FrameWork: 4.0

Regards,

Deepak


Git integration crashed “SccProviderPackage failed to load” (Visual Studio 2015 RC)

$
0
0

Suddenly, Visual Studio started showing this error at startup: "SccProviderPackage failed to load".

Also, the Team Explorer window stopped showing the proper section for Git.

I've repaired the instal uninstalled/installed and restarted several times. NOTHING fixes the issue.

Please, notice that it's Visual Studio 2015 RC.

The activity log (ActivityLog.xml) says this:

  • 174 Begin package load [SccProviderPackage] {7FE30A77-37F9-4CF2-83DD-96B207028E1B} VisualStudio 2015/06/15 09:31:26.510
  • 175 ERROR SetSite failed for package [SccProviderPackage] {7FE30A77-37F9-4CF2-83DD-96B207028E1B} 80131500 VisualStudio 2015/06/15 09:31:26.556
  • 176 ERROR End package load [SccProviderPackage] {7FE30A77-37F9-4CF2-83DD-96B207028E1B} 80131500 VisualStudio 2015/06/15 09:31:26.561

The Team Explorer window shows this:

Team Explorer

System.InvalidOperationException: Operation is not valid due to the current state of the object. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.TeamFoundation.Git.Provider.ServiceProviderExtensionMethods.EnsurePackageLoaded(IServiceProvider serviceProvider, Guid packageGuid) at Microsoft.TeamFoundation.Git.Provider.ServiceProviderExtensionMethods.EnsureSccAndTfPackagesLoaded(IServiceProvider serviceProvider) at Microsoft.TeamFoundation.Git.Provider.Repositories.GitTeamProjectExtendedInfoProvider.set_ServiceProvider(IServiceProvider value) at Microsoft.VisualStudio.TeamFoundation.TeamExplorer.ConnectPage.ConnectPageVS.Initialize(Object sender, PageInitializeEventArgs e) at Microsoft.TeamFoundation.Controls.WPF.TeamExplorer.Framework.TeamExplorerPageHost.Initialize(TeamExplorerPageContext context)

I would appreciate any help. Thanks!


Desde España / From Spain


VS 2012 Find and Replace changes Look in to All Open after a search in Current Document

$
0
0

I'm using Visual Studio 2012, Update 3. I'm working in an SQL script, but have noticed it in C# code as well.

To replicate:

Bring up Find and Replace (I use Ctrl-H)

I Set the 'Find what' and 'Replace with' values, then set 'Look in' to Current Document

I Click 'Replace All'

Message comes up 'x occurrence(s) replaced.' 

I press OK

Visual Studio switches 'Look in' to 'All Open Documents'even though I had selected 'Current Document'

If I don't notice that this was changed and do another Find and Replace I can mess up other open documents where I do NOT want to do the Replace.

Is there a way to turn off this behavior?


M Kenyon II


exception language in windows 8.1 and visual studio 2013

$
0
0

Since I got a new computer with windows 8.1 on it, debugging in visual studio is frustrating: system errors (exceptions) are received in Hebrew instead of English. I live in Israel but that does not mean that the professional language for development should be Hebrew!

Everything I tried in changing region and language has not helped.

Please help me to set up the system so that I will get system errors and exceptions in English likeI used to in windows 7

Synchronizing fields in Visual Studio and MTM with TFS

$
0
0

Dear Sir or Ms.,

How does one go about synchronizing fields in Visual Studio and MTM with TFS?

Steve Marsten


Steven Marsten

install-package error 400 no matter what I try

$
0
0

I've looked through and tried several solutions on this issue and none seem to fit my exact issue.

No matter what package I try to install:

install-package : An error occurred while loading packages from'https://api.nuget.org/v3/index.json': The remote server returned an error: (400) Bad Request.
At line:1 char:1
+ install-package EntityFramework
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

It could be Sqlite.  Anything.  I tried several just from the autocomplete.  Same issue every time.

The only suggestion I saw that I haven't tried is to reinstall Visual Studio 2012 completely.  4 upvotes on that suggestion. 

This just started happening after I messed around with getting Sqlite to install.  Went through several steps and now I think it's euchred.

Windows 8.


DLL cannot be deleted during build - Visual Studio build fails

$
0
0

I have a Visual Studio 2012 BizTalk based solution that has 14 projects in it

As I go to build the solution, on what appears to be random occurrences, the build of the solution fails

What happens is that Visual Studio hits a maximum retry count of 10 on the DLL in question, and stops the build

It claims that another process has the DLL open. Using the sysinternals tool kits, the only program that has the file opened is Visual Studio itself. There is only one copy running

If I go to the destination folder of the build, the DLL is there. I cannot delete it until I shut down the only running copy of Visual Studio.

When I then close down Visual Studio, delete the DLL in question, and fire back up, I will be able to compile and build the solution for awhile, then the problem reoccurs

Has anyone ever encountered this? How did you solve it?

I am wondering if its something to do with parallel compiles and dependencies, and Visual Studio is fighting with itself?


Scott K Berger

Suitable Replacement for WindWard for an XML Data Source Merge

$
0
0

Currently I have an application that does a data merge using an XML data source in Windward and returns a PDF populated with the xml data to my application.  This works fine for my application but it is not feasible for us to have licenses for the Windward application installed on all of our supports staffs PCs, developers PCs, and we want to replace Windward from our application.

Our machines all have Microsoft Office installed and it was suggested that I look into doing a XML data source merge with Microsoft Office somehow.  Is there a way to accomplish this?  Does anyone have suggestions?

Sorry if this is not in the right forum.  If it should be somewhere else please let me know.

Any advise would be appreciated and thank you in advance!


Visual Studio Python Tutorial

$
0
0

I hope this is the correct area to post this question...

After watching the Visual Studio Python Tutorial https://www.youtube.com/watch?v=uZGZNEyyeKs , I learned of a short cut that doesn't seem to work for me.  In the video starting at time 2:30, the presenter states that there is an auto fill for the main block.  

I tried to type main, then hit the tab button, but that does not seem to work.  Where did I go wrong here?


What happened to F1 Help? No longer get "regualr" Windows stuff, its all weird?

$
0
0

I must be missing something big, but ever since VS2012, the help when you press F1 goes somewhere that I have no idea what is being referenced. I just want the regular help!!!

Example: Highlight CreateProcess in VS2012, using C++ and MFC based project. You get a page about AXE create process. 

What the heck is AXE? I have VS 2012 and have no idea why that page would even come up. Should it not be a LITTLE more aware of the project type? Sheesh, I liked the old help MUCH better, at least you got someplace reasonable.

Not able to create new project

$
0
0

I am facing the problem when i try to create a new project then after entering the name when i hit the ok button it gives the following message

Value does not fall within the expected range

please help me

Online Data Display

$
0
0
I'm new to Visual Studio and am wondering what the best course of action would be for collecting data via my local computer's serial port and displaying the data attractively online where the end user could view the data by logging in with a username and password. I know visual basic and am willing to learn whatever to accomplish this. I don't know what project/web site types in visual studio to do this (if even possible).

Visual Studio Settings Aren't Saving!

$
0
0
Every time I open Visual studio, it resets all my settings. It's just really tedious to change all of them every time I reopen VS. Please help!

Not able to edit designs in blend studio 2013

$
0
0

When ever i try to open a mainpage.xaml file in blend it can not be loaded. it gives the following error message

System.OperationCanceledException
The registration of the app package required by the designer took too long to complete and was canceled. Reload the designer to try again.
   at Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.CreateDesignerProcess(String applicationPath, String clientPort, Uri hostUri, IDictionary environmentVariables, Int32& processId, Object& processData)
   at Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.ProcessIsolationDomain..ctor(ProcessDomainFactory factory, IIsolationBoundary boundary, AppDomainSetup appDomainInfo, FrameworkName targetFramework, String identifier, String baseDirectory)
   at Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary)
   at Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary)
   at Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.Initialize()
   at Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.CreateInstance[T](Type type)
   at Microsoft.Expression.DesignHost.Isolation.IsolatedObjectFactory.Initialize()
   at Microsoft.Expression.DesignHost.Isolation.IsolationService.AttachEvents(IsolatedObjectFactory objectFactory)
   at Microsoft.Expression.DesignHost.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget)
   at Microsoft.Expression.DesignHost.IsolatedDesignerService.CreateLease(IIsolationTarget isolationTarget, CancellationToken cancelToken, DesignerServiceEntry& entry)
   at Microsoft.Expression.DesignHost.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken)
   at Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.InvokeWithCulture[T](CultureInfo culture, Func`2 func, CancellationToken cancelToken)
   at Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.<>c__DisplayClassa`1.<StartTask>b__6()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()

Please help me to come out

Zoom of image in form in Visual Basic 2012 and Visual Basic 6 - how to get result in 2012 like in VB6?

$
0
0

Hi!

I created in Visual Basic 6.0 editor of images 48×48 pixels by creating block of elements using Picture boxes. All was ok until I upgraded from XP to Windows 8 - Visual Studio 6.0 is not possible to install also software written in Visual Basic 6.0 is very, very slow that rendering grid of elements program written above was long time and editing near impossible.

So, I upgraded to Visual Studio 2012. My experience with elements of Picture boxes gave me idea editing image directly as a single image and later modify it to wanted format... bit per bit - so - pixels

Zoom in VB6 was correct - no blur, pixelized...

now in VB2012 was image zoom blurred, unclear!

So, Q is simple: How to get not blurred image in zoom 800% ?

Thank you for every help.

Miro


Visual Studio 2015 CTP6

$
0
0

After migrating all the projects to VS2015 CTP6, We observed that 32 bit applications are crashes during start up.

Application Event log reports Status Access Violation – 0xc0000005 ( First Chance exception with C-Runtime mfc140.dll)

Do we need any patch to update in 32 bit for VS2015 CTP6.

Stepping while debugging randomly crashes at certain points.

$
0
0

Hello,

I hope I'm posting this at the right place.

While debugging my C# project in Visual Studio 2013 (Update 4) and stepping through the code, when i reach certain points of the code VS will crash. I have restarted both VS and the PC itself, doesnt seem to help. Looking in the event viewer I can see the following:

Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IndexOutOfRangeException
Stack:
   at Ilrun.Stuff.DecodeOpcode(Byte[], Int32, Int32 ByRef)
   at Microsoft.VisualStudio.VIL.VisualStudioHost.Interpreter.GetCodePathsHelper(Microsoft.VisualStudio.Debugger.InteropEE.IDebugExpressionEvaluator, Microsoft.VisualStudio.Debugger.InteropEE.IDebugBinder, Microsoft.VisualStudio.Debugger.InteropEE.IDebugSymbolProvider, Microsoft.VisualStudio.VIL.DebuggerHost.CorFunction, System.Reflection.Mock.MethodBase, UInt32, Int32)
   at Microsoft.VisualStudio.VIL.VisualStudioHost.Interpreter.GetCodePaths(Microsoft.VisualStudio.VIL.DebuggerHost.ICorDebugFrame, Microsoft.VisualStudio.Debugger.InteropEE.IDebugExpressionEvaluator, Microsoft.VisualStudio.Debugger.InteropEE.IDebugBinder, Microsoft.VisualStudio.Debugger.InteropEE.IDebugSymbolProvider, Int32)
   at VSDebugEngine.ShimManagedEE.EntryPoint.Microsoft.VisualStudio.Debugger.ComponentInterfaces.IDkmSteppingCodePathProvider.GetCodePaths(Microsoft.VisualStudio.Debugger.Stepping.DkmSteppingCodePathSource, Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame, Microsoft.VisualStudio.Debugger.Stepping.DkmStepUnit)
   at Microsoft.VisualStudio.Debugger.EntryPoint.IDkmSteppingCodePathProvider_GetCodePaths(IntPtr, IntPtr, IntPtr, Microsoft.VisualStudio.Debugger.Stepping.DkmStepUnit, NativeXapiArray ByRef)

To make the problem even weirder; the crashes it will randomly stop happening, and then pop up again, this time at some other location in the code. It is not exclusive to my machine either, it happens to my colleague aswell (While debugging the same project).

The location in code where the debugger decides to crash can be at seemingly completely arbitrary code lines. The code it has chosen to crash for me right now is:

while (node != null)
{  <-------- Stepping through this curly brace crashes VS
    // ...

I dont really know what to do at this point, this is extremely aggravating.

Thanks,


Error : DEP0001 Unexpected Error: Package could not be registered. (Exception from HRESULT: 0x80073CF6)

$
0
0

Hello people. I read a lot about this specific error but no matter what i do it still giving me a headache...

If anyone could help me, im really stuck with this..

Unexpected Error: Package could not be registered. (Exception from HRESULT: 0x80073CF6)

Thanks a lot.

Using Ctrl-tab requires pressing the enter key in visual studio

$
0
0

When switching between documents in vs2012 with Ctrl-Tab, the document switch window doesn't disappear until I've pressed tab to select an entry and then hit enter key.

that the window only stayed up as long as you held down Ctrl and then when released it switched to the currently selected document. This is really annoying if you want to just hit ctrl-tab quickly to go to the last document.

Earlier was working fine.

I turned of the accessibility setting.

I tried reset the vs 2012.

But nothing work for me .

Please help me


Ramakant Verma .NET Consultant(Windows Azure, Windows Phone8,Windows 8,ASP.NET,Silverlight)

To sign into this application the account must be to the ... directory

$
0
0

 I've created a resource group in Azure and gave a developer(Jim) in my team specific rights for that resource group.

Jim can login into the new azure portal and explore the resources in the resource group. All Fine.

When Jim tries to login into azure via Visual Studio 2013, he got the error:

"An error occured during the sign in process: AADSTS: To sign into this application the account must be added to the a....6 (=guid) directory"

Please see the following thread for print screens: https://social.msdn.microsoft.com/Forums/azure/en-US/321a70cd-077f-434c-bbc6-5444241732c9/to-sign-into-this-application-the-account-must-be-to-the-directory?forum=WindowsAzureAD

ps: Azure support suggested to post my question here

Viewing all 21115 articles
Browse latest View live


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