Answer Questions
athadu Report showing #Error for enum type fields
I have my business object containg enum type member variable but when passed to report as " =Fields!E.Value" in report viewer control i get #Error in thet field Does this mean that Enum type variables cannot be passed to report I have tried on simple example http://msdn2.microsoft.com/en-us/library/ms251784(VS.80).aspx added public enum Enumeracija { rrrrrrrr, tttttt } and added and modified: private Enumeracija e; public Product( string name, int price, Enumeracija en) { m_name = name; m_price = price; e = en; } public Enumeracija E { get { return e; } } then added to new filed to report and still get: ...Show All
Eslam Afifi Demo III: Offline Application – WebService
Hello all, The N-Tier demo has finally arrived. This demo shows you how to take the server side code, basically the ServerSyncProvider along with all SyncAdapters that we build in the last demo, and expose it as a web service. On the client side, you generate a web service proxy and build a thin wrapper around it to be able to plug it into the sync agent. These steps and more are described in the accompanying readme.txt file. For more details and to download the project please visit my blog at: http://blogs.msdn.com/synchronizer/ Download sample: http://blogs.msdn.com/synchronizer/attachment/1554160.ashx Hi Nick, Good stuff. I looked at the code and I think it is really useful to move the settings to XML config file. I ...Show All
Perry Loh How Can I generate the Help file for Dependency DLLs. ?
I have all the assemblies in one bin folder. now I want to generate the common .chm files for all the assemblies as well as thier dependencies. I got lot of reference which generates the standalone .chm file and I am able to do so successfully but not found any source which helps to generate help file for dependencies and link it to common .chm files and give us only one .chm file. Regards, alok Alok, Could you email me a screen shot so that I can understand the differences Anand.. Hey Anand, Good news. I am able to generate the .chm file with respective <summary>. I realized that we have to change the .xml file name in sandcastle.config file in <!-- Copy in comments --> ...Show All
Laurentiu Nicolae How do I delete a debug project from VS 2005's Start Page ?
I know how to make a VS 2005 project disappear from the Start Page. I, simply, delete the project's files and that's it. I recently debugged a svchost app. Now it shows up in the Start Page, but I don't want it there. How do I remove a debug project from the Start Page I was told, in this thread : http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=300505&SiteID=1 that "There should be a .sln file somewhere on disk. If you delete that file, then click on the item in the start page it will ask if you wish to remove that item." Indeed, there was a .sln file...*and* a .suo file in \Windows\system32. But, after deleting both the .suo and the .sln files, when I click the svchost project in the Start Page Project List, VS 2005 o ...Show All
Frens Localization Support
Are there any plans to have better localization support in the Orcas CTP's The current method of localizing XAML using LOCBAML and manually editing csprog files is not very developer friendly. The Winform designer has a property (Localizable) that when set will automatically move all strings to resources. Steve Mark, We used VS 2005 to do the actual localization. Steve Steve, this is an area we are continuing to investigate however we have no firm plans for any changes at present. What changes would you like to see mark Thanks! mark Steve, thanks for the feedback. Do you do the actual localization in Visual Studio or just use Visu ...Show All
Prashweenet asmx interop
Hello trying to get a asmx Web Service client talking to a WCF self hosted service( or windows service) but when i run wsdl i get C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin>wsdl http://localhost:22 223/NotificationManager wsdl Microsoft (R) Web Services Description Language Utility [Microsoft (R) .NET Framework, Version 2.0.50727.42] Copyright (C) Microsoft Corporation. All rights reserved. Error: There was an error processing 'http://localhost:22223/NotificationManager wsdl'. - There was an error downloading 'http://localhost:22223/NotificationManager w sdl'. - The request failed with an empty response. and a different simple service C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin>wsdl http://vmware-x ...Show All
compaks Read ClaimSets in BeforeSendReply of IDispatchMessageInspector
Hi, We are working with a IDispatchMessageInspector and we want to read the user's claims in the BeforeSendReply method but when we read OperationContext.Current.ServiceSecurityContext.AuthorizationContext.ClaimSets We get 'System.ServiceModel.OperationContext.Current.ServiceSecurityContext' threw an exception of type ' System.ObjectDisposedException ' Using OperationContext.Current.ServiceSecurityContext.AuthorizationContext.ClaimSets in the AfterReceiveRequest method works great. We are using the June CTP. How can we read the user's claims in the BeforeSendReply method of the IDispatchMessageInspector Thanks Jp.- I am using July CTP,i am able to access claimset,i am using wsh ...Show All
JIM.H. "Unable to attach to the process" error when debuging Excel application
In developing an Excel application under Visual Studio .net, it failed to attach Excel to the debugger. From the "Process" tab, I could see the Excel application was listed as "Debugger Process". After I detatched it, clicked "Attach" and selected Common Language Runtime, I received the error message "Unable to attach to the process. There is no managed code running in the process. In order to attach to a process with the .net debugger, managed code must be running in the process before attach". The system worked without any problem before, then failed to attach to the debugger without any reason I could think of. There wasn't any change to the system during this time. The development environment ...Show All
Appel How to get a VS global service from a custom debugger?
Hi, I am trying to obtain a VS Service from the TextInterpreter sample custom debugger. As far as I can see there is no way to obtain an IServiceProvider in the DE. I tried to implement IDebugENC which has a StartDebuggingSession([in] IServiceProvider*), but either Edit and Continue is not supported in custom DE or I need to set some flag that I am not aware of or something because it is never called. My DE needs to access data that I implemented in my VSPackage as a global service. If it is not possible to access a service, is there another way to access my data source from the DE Thanks! Charles Anybody knows a workaround Thanks Charles Hi Charles, Since debug en ...Show All
Delusion7 vb file problem with visual sourcesafe
I'm using visual sourcesafe internet. I have a problem checking in VB files. ASPX files seem to be ok. I receive this message when checking in a VB file: there was failure uploading the URL http://domain/sourcesafe/vssupload_db1/ ... Do you want to retry the operation. I can create the vb file and the file is initially added to sourcesafe. But once I start making changes, it will not check back in and produces the error above. Any help is appreciated. A few other people have reported an issue with large files and the HTTP service. edit: I've opened a bug on Connect to track this issue https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx FeedbackID=253333 ...Show All
AJB123 VSS 2005 install not installing VS 2005 plugin.
Hello, Not sure what's going on but has anybody successfully been able to get the VSS 2005 install to complete successfully and when finished, have the VSS plug-in available in Visual Studio 2005 I have enabled the IIS compatiblity. I right click and run the vss setup as administrator. I get no error messages but afterwards, if I click on file there is no source safe option. Also, when I try to open a website, source safe isn't an option. My database server is on a remote W2k3 server. I need the add-in for Visual Studio to open projects from databases on remote servers. Also, I have tried installing VS 2005 SP 1 beta. (Not that I could see how it would make a difference but tried none the less.) Any ideas of how to get this ...Show All
SuriP sample service doesn't work on Windows XP 64
Hello, I tried to make a windows service that hosts a WCF service. Naturally, I've tried the sample first. It crushes raising an error: System.ServiceModel:Incorrect function at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen() at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener) at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback) at System.ServiceModel.Channels.HttpChannelListener.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.DatagramChannelDemuxer`2.OnOuterListenerOpen(ChannelDemuxerFilter filter, IChannelLi ...Show All
Filipe S. XBAP and default browser
Hi, I got the following problem since I uninstalled the February CTP and installed the May CTP instead: When I press Ctrl-F5 in Visual Studio for a XBAP application, Firefox is started instead of IE. Since Firefox doesn't understand XBAP, I cannot run or debug the application as easily as before. I know how to change the default browser for a HTML application, but I didn't find such a setting for XBAP applications. Any hint welcomed! Greetings, Laurent Hi, AFAICS it's still the case in the November CTP. However, the workaround I found works OK: In Firefox, open the menu Tools / Options / Downloads. Then click on "View & edit actions" and change the action for XBAP applications to the Windows Presentation Host. Now when ...Show All
Geogy How to write text to a console from a web application on the server
Hi all, Are there any ways to debug a web application with VS2005 on the server by writing text to a console like J2EE web app I read an article about using a listener with either trace or debug objects to write text to a console but I could not make it work. Please help if you know how to do it. Regards, JDang Writing to the event log may be a way to duplicate this. You could also use OutputDebugString and use a debugprint utility to see these messages when you need to. jdang wrote: Are there any ways to debug a web application with VS2005 on the server by writing text to a console like J2EE web app I read an article about using a listener with either trace or debug ...Show All
Mike Martin24365 Copy/Paste
Is it normal that when I selected a shape, the copy/paste operations are disabled I suppose copy and pasting of shape is not supported Is there an easy way to make it work Thanks! Mike i am using visual studio 2003. i have searched in my machine, not able to find the mentioned dll. is that new in 2005 else any alternate approach to build the logic. to be more detail...i need to copy normal controls(textbox, label,...) and also third party controls(syncfusion grid and chart). when the user drags the control i am generating xml (my own) for the particular control. the user can save the stuff and when reopens agains, reading the data from the xml and creating the controls. Thank ...Show All
