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

Missing "virtual path" web application property

$
0
0

Hi, 

I have a project (Web Application) in Visual Studio 2010 where I can set virtual path. Now, I have moved to VS2013 and found that virtual path property missing. Could you tell me how I can fix that if I want to work in debugging and following step by step each operator.

Thanks


How to open a PDF file using ASP.net

$
0
0

Hi,

I'm a newbie in developing a simple program using ASP.net. I want to view a PDF file that is stored in (1)local machine and (2) web server. Several suggestions, answers listed in programming sites, but I can't seem to apply it in my program. Please help me. Thanks.

Often need to login to Visual Studio due to "your license has gone stale" error

$
0
0

I use Visual Studio on 3 different machines (2 only use 2015 CTP6 and 1 uses 2013 and 2015), and often (I cant find a pattern) I get prompted with "your license has gone stale" and I have to relog with my MSDN credentials

This is really annoying as I have to also receive an email with a security number in it, and I have to login each time even though I click "Dont ask again, I login from this device often"

Am I the only one who 1-3 times a week get prompted with this?

Generate Local Resource clears asp.Content

$
0
0

In Visual Studio 2013, having selected a .aspx file, I click on the menu item "Tools/Generate Local Resource". 

The message in the output window shows that the resource was generated:
---
Start creating resource content and adding 'meta' attributes to server controls and directives.
Finished creating resource content and adding 'meta' attributes.
---

However, in the .aspx file everything between <asp:Content> and </asp:Content> has been cleared.

This does not happen always, but it happens quite often.

Does somebody know a solution to this problem?

Binding datasource to charts

$
0
0

Hi,
   I need to display 5-6 charts in my application. All the charts will display data from the same table at the same time. The difference between each chart is dependent on the value of a column (criteria). Now is it advisable to add a bindingsource to each of the charts or is there a better way to do this considering performance of the application. 

natvis not working on crash dump

$
0
0

I was trying to look at an object in a crash dump and it is not giving me the representation that I specified in the .natvis file.

Is it a feature not to use the natvis when debugging a crash dump? :/

Using VS2013 U4

A


Adrian

how to do regstration of Visual studio express 2008

$
0
0
Hi I have some supporting Development tools, which run on the 2008 platform. I on my new PC installed the visual studio Express 2008, but after month its blocked by missing registration. When I follow the registration link, the site is closed. SO how can I get the visual studio Express 2008 back in operation

Designer buffer synchronizer encountered unexpected host version number. Received 506, expected 505.

$
0
0

Please help me with this error.  I've been working on a Silverlight 5 project using Visual Studio 2013 with Update 2.  I also use Telerik controls but I'm not sure that has anything to do with anything.  The designer hasn't been working for days giving me the bazaar error message:

XamlParseException:  [Line: 0 Position: 0]

at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)

InnerException: None
Now, on top of this today I get this error (which I think is related to the above and to MS Expression):
System.InvalidOperationException

Designer buffer synchronizer encountered unexpected host version number. Received 506, expected 505.

---> System.InvalidOperationException: Designer buffer synchronizer encountered unexpected host version number. Received 506, expected 505. Server stack trace: at Microsoft.Expression.DesignHost.DesignerTextBufferSynchronizer.TextChangeImpl(RemotableHostTextContentChange changes) at Microsoft.Expression.DesignHost.DesignerTextBufferSynchronizer.<>c__DisplayClass1.<Microsoft.Expression.DesignHost.IDesignerTextBufferSynchronizer.TextChange>b__0() at Microsoft.Expression.DesignHost.DesignerTextBufferSynchronizer.MarshalIn(Action action) at Microsoft.Expression.DesignHost.DesignerTextBufferSynchronizer.Microsoft.Expression.DesignHost.IDesignerTextBufferSynchronizer.TextChange(RemotableHostTextContentChange changes) at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerTextBufferSynchronizer.<>c__DisplayClass2.<TextChange>b__1() at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.InvokeWorker() at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.Invoke(Boolean waitingInExternalCall) at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.InvokeCall(Call call) at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.DirectInvoke(Boolean inbound, Action action, Int32 sourceApartmentId, Int32 targetApartmentId, Int32 originId, WaitHandle aborted) at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.DirectInvokeInbound(Action action, Int32 targetApartmentId) at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalIn(Action action, Int32 targetApartmentId, CancellationToken cancelToken, CallSynchronizationMode syncMode, CallModality callModality, String methodName, String filePath, Int32 lineNumber) at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalIn(IRemoteObject targetObject, Action action, CallSynchronizationMode syncMode, CallModality callModality, ApartmentState apartmentState, String memberName, String filePath, Int32 lineNumber) at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerTextBufferSynchronizer.TextChange(RemotableHostTextContentChange changes) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerTextBufferSynchronizer.TextChange(RemotableHostTextContentChange changes) at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerTextBufferSynchronizer.<>c__DisplayClass3.<TextChange>b__2(IRemoteDesignerTextBufferSynchronizer ds) at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.<>c__DisplayClass4`1.<MarshalOut>b__3() at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.InvokeWorker() --- End of inner exception stack trace --- at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.WaitForCompletion(NestedCallContext nestedCallContext, BlockingCall call, WaitHandle timeoutSignal) at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalOutSynchronous(Action action, Int32 targetApartmentId, WaitHandle aborted, WaitHandle timeoutSignal, CancellationToken cancelToken, String methodName, String filePath, Int32 lineNumber) at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalOut(Action action, Int32 targetApartmentId, WaitHandle aborted, CancellationToken cancelToken, CallSynchronizationMode syncMode, WaitHandle timeoutSignal, String methodName, String filePath, Int32 lineNumber) at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut[TValue](RemoteHandle`1 targetObject, Action action, CallSynchronizationMode syncMode, ApartmentState apartmentState, String methodName, String filePath, Int32 lineNumber) at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut[TValue](RemoteHandle`1 targetObject, Action`1 action, CallSynchronizationMode syncMode, ApartmentState apartmentState, String methodName, String filePath, Int32 lineNumber) at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerTextBufferSynchronizer.TextChange(RemotableHostTextContentChange changes) at Microsoft.Expression.HostUtility.Text.HostTextBufferSynchronizer.LocalBufferWrapper_Changed(Object sender, RemoteTextContentChangedEventArgs args) at Microsoft.VisualStudio.ExpressionHost.HostServices.HostTextBuffer.TextBufferWrapper.OnBufferChanged(Object sender, TextContentChangedEventArgs e) at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler`1 eventHandlers, TArgs args)
This is accompanied with Designer crashes and long timeouts in Visual Studio.


Application Developer Manufacturing


WDK 8.1 update download issue and integration problem with VS Express 2013

$
0
0

I have VS Express 2013 in my machine and want to download the WDK 8.1 Update. However, I am facing two issues:

1. The download site says : "You have to register for downloading. Click on continue to register and download". On doing so it asks for what I want to download. Then it redirects to the page saying "Thank You for downloading". However, it has been more than 10 times since yesterday and yet no file has popped up for download. It is the same problem with other machines.

2. On installing WDK 8.1 from softonic, it has created a separate folder and shows no way for its integration with VS express 2013. I do not get any "Windows driver functionalities" in VS Express 2013.

Could somebody point me where I am wrong.

Thank You in advance

LNK1123 error

$
0
0

I have visual studio 2010 on a windows7 machine. When I start a new project I get the error build failed. LNK1123 fatal error...

However, if I build any of the old codes that were written some time ago they are built fine. Any help would be great. Thanks.

Not able to install VS 2013

$
0
0

Hi, I have Windows 7 SP1, with all the latest update, currently having issues installing VS 2013 with the following error, and have basically tried everything, can you please help?

[0D78:2338][2015-04-27T09:44:37]i000: MUX:  ExecuteError: Package (vs_professionalcore) failed: Error Message Id: 997 ErrorMessage: Error 997.Overlapped I/O operation is in progress.

[1D10:0E04][2015-04-27T09:44:37]e000: Error 0x80070643: Failed to install MSI package.
[1D10:0E04][2015-04-27T09:44:37]e000: Error 0x80070643: Failed to execute MSI package.
[0D78:2338][2015-04-27T09:44:37]e000: Error 0x80070643: Failed to configure per-machine MSI package.

Thank you in advance.

Shahram Vahidi

IIS Express 8.0 Very Slow

$
0
0

Hi All,

I have a web role solution in development (on Win8.1, VS2013, IIS Express 8.0, Azure Tools 2.5)

It has been a bit slow 30-40 seconds (quite slow) for requests unitil the middle of today

Now it takes over 2-3 or more minutes for each request

This is from the home page
NameOffset DurationKey
Wait‎‎0 ms< 1 ms
Start‎‎0 ms< 1 ms
Request‎‎0 ms27.43 s
Response‎+ 27.43 s15 ms
Gap‎‎+ 27.45 s111.79 s

If I debug the code there is a long wait for the debuger to start then all is fine, then a long wait for the response to send

Requests for external content e.g. js libs from google are sub second, running without the debugger fixes the issue, but makes debugging impossible

No performance issues in production

I have been through a number of fixes
- clearing symbols
- deleteing tempary files 
- repairing IIS Express

Need Help, to diagnose and fix this

Thanks

Wayne



Visual Studio Express 2013 with Javascript

$
0
0

I've developed an app that I'd like to test on a windows based tablet here in my home office. Is there any way to simply take the generated app and run it on my tablet without moving it to the store?

Please note that I'm a newbie to the Visual Studio environment and I'm using the free Express download currently.

Thanks in advance - JustWannaLearn

LANGUAGE PROBLEM

$
0
0

Hello Everybody,

I develop Windows phone apps. When I put it to store, even i did not set up the basque language, it appears. I could not solve it. My default language is just English (usa). How can i remove basque language?

How to refresh an UpdatePanel without asyncpostback

$
0
0

i have a pop up which has formview and a save button. i want to refresh update panel when i click save button which is in pop up.

how can i do this without asyncpostback? thanks for helps


EF 6 Stored Procedure not available unless restarting Visual Studio 2013 Community

$
0
0

Hi people,

When I add a new Stored Procedure using EF 6 in Visual Studio 2013 Community, everything is there when looking in Model Browser, that means Complex Type is there, Function Import is there, and the Stored Procedure is there, everything is absolutely there but when trying to use it in MVC 5 it's not visible even if I SAVE, COMPILE, RECOMPILE, SAVE AGAIN Even perform an Update From database (which doesn't make sense anyway since it's already all there) nothing seems to work unless I restart Visual Studio then and only then I can use the new Stored Procedure.

Any trick, idea, workaround for not having to restart VS to see the new Stored Procedure would be greatly appreciated because it's insane each time we add a new SP we have to restart VS,

Lotus notes and SSIS ODBC connection not working

$
0
0
I have created an ODBC source.  I tried using this in SSIS workflow ODBC, when I test the connection, it crashes my Visual Studio 2010

[Windows 10]OnAdvertisementReceived

$
0
0

I tested samples from windows 10 and I've got a problem with running bluetoothadvertisement. I'm not sure that this post should be here but I not found better place (it's between visual-.net-winrt-windows).

First, in latest build I could scan devices in bluetooth settings, now I have disabled bluetooth (I use CSR dongle) in 10061.

BTW. Why microsoft do not provide how to enumerate LE devices via win32 API ? Should we dig this by oursefvs ?

Now, back to the OnAdvertisementReceived event. When I start to enumerate device (have name, manufacture data and of course MAC from OUI) I received this event with parameters, in BluetoothLEAdvertisementReceivedEventArgs I should have full information about device but I do not have ...

It's look like only rssi is OK, for rest

Advertisement = 'eventArgs.Advertisement' threw an exception of type 'System.AccessViolationException'

DeviceId = 'eventArgs.DeviceId' threw an exception of type 'System.AccessViolationException'

AdvertisementType = -33763633

BluetoothAddress = 0

Timestamp = {1/1/1601 1:00:02 AM +01:00}

when I scan this device by system in windows which allow me to do this (10041 ??) I saw everything in BT settings panel.

I know that this is preview build but I do not know where to send such info.

Thank you

Bartosz

vs2012 freezes after changing debug options for csproj

$
0
0

If I try to change anything in C# application properties, debug page, Visual Studio 2012 freezes forever.

I kill it from the O/S, and restart Visual Studio. Sometimes the setting I was trying to make will be there, but usually not.

Is there some magic settings file that I can delete to fix this problem?

Can I edit these options outside of Visual Studio somehow?


davidw

Remote debugging

$
0
0

How can I debug my web application when it runs from non development machine? Is installing VS on the remote box the only option?

Thanks

Viewing all 21115 articles
Browse latest View live


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