Urgent:- VS 2005 Error : " The operation could not be completed. Unspecified error" Hi all
i am having VS 2005 Professional Editon on Windows Xp. i am getting an eror in VS 2005 :- "The operation could not be completed. Unspecified error" . Once this error is thrown then i cannot do anything in VS2005, not even close the message box or Visaul studio. the error comes after the first build.Once i have run the solution and then build it or change some code or controls again the error is thrown up.
i did a reinstall. still the error persists.Please help me out as it is Urgent. Please find me a way to troubleshoot this.
Thanks in Advance Tag: Visual Studio Debugger Visual Studio 2005 debugger - forms don't get updated Visual Studio

Error using CreateProjectAction - Invalid URI: The URI is empty.. I couldntfind a lot of information about this Action. I use a value provider I wrote to get the template location. The template is one I created from a simple project that I've left unchanged other than adding the WizardExtension section to the vstemplate. I just added the files to the a sub-folder of the Templates\Projects folder of my GAT solution, after unzipping the template created by visual studio. The error message I get is:
Code Block
*) Error: 0 : Microsoft.Practices.RecipeFramework.ActionExecutionException: An exception occurred during the binding of reference or execution of recipe GenerateClassT4. Error was: Action CreateProject failed to execute: Invalid URI: The URI is empty.. You can remove the reference to this recipe through the Guidance Package Manager. ---> System.UriFormatException: Invalid URI: The URI is empty. at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) at System.Uri..ctor(String uriString) at Microsoft.VisualStudio.TemplateWizard.Wizard.Execute(Object application, Int32 hwndOwner, Object[]& ContextParams, Object[]& CustomParams, wizardResult& retval) at EnvDTE.SolutionClass.AddFromTemplate(String FileName, String Destination, String ProjectName, Boolean Exclusive) at Microsoft.Practices.RecipeFramework.Library.Actions.CreateProjectAction.Execute() at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName, Dictionary`2 inputValues) at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName) at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionCoordinationService.Run(Dictionary`2 declaredActions, XmlElement coordinationData) at Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution) --- End of inner exception stack trace --- at Microsoft.Practices.RecipeFramework.Recipe.UndoExecutedActionsAndRethrow(Exception ex) at Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution) at Microsoft.Practices.RecipeFramework.Recipe.Execute(Boolean allowSuspend) at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(String recipe, IAssetReference reference, IDictionary arguments) at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(IAssetReference reference) at Microsoft.Practices.RecipeFramework.RecipeReference.OnExecute() at Microsoft.Practices.RecipeFramework.AssetReference.Execute() at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeMenuCommand.OnExec() at Microsoft.Practices.RecipeFramework.VisualStudio.AssetMenuCommand.Invoke()
My action is defined as:
Code Block
<Action Name="CreateProject" Type="Microsoft.Practices.RecipeFramework.Library.Actions.CreateProjectAction, Microsoft.Practices.RecipeFramework.Library"> <Input Name="ProjectName" RecipeArgument="ServiceName"/> <Input Name="Template" RecipeArgument="Template"/> <Input Name="ProjectFolder" RecipeArgument="ServiceName"/> <Output Name="Project"/> </Action>
And my vstemplate file is:
Code Block
<VSTemplate Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Project"> <TemplateData> <Name>WCFService1</Name> <Description>WCF Service Application for my app</Description> <ProjectType>CSharp</ProjectType> <ProjectSubType> </ProjectSubType> <SortOrder>1000</SortOrder> <CreateNewFolder>true</CreateNewFolder> <DefaultName>WCFService1</DefaultName> <ProvideDefaultName>true</ProvideDefaultName> <LocationField>Enabled</LocationField> <EnableLocationBrowseButton>true</EnableLocationBrowseButton> <Icon>__TemplateIcon.ico</Icon> </TemplateData> <TemplateContent> <Project TargetFileName="WCFService1.csproj" File="WCFService1.csproj" ReplaceParameters="true"> <Folder Name="App_Data" TargetFolderName="App_Data" /> <ProjectItem ReplaceParameters="true" TargetFileName="IService1.cs">IService1.cs</ProjectItem> <Folder Name="Properties" TargetFolderName="Properties"> <ProjectItem ReplaceParameters="true" TargetFileName="AssemblyInfo.cs">AssemblyInfo.cs</ProjectItem> </Folder> <ProjectItem ReplaceParameters="false" TargetFileName="Service1.svc">Service1.svc</ProjectItem> <ProjectItem ReplaceParameters="true" TargetFileName="Service1.svc.cs">Service1.svc.cs</ProjectItem> <ProjectItem ReplaceParameters="true" TargetFileName="Web.config">Web.config</ProjectItem> </Project> </TemplateContent> <WizardExtension> <Assembly>Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</Assembly> <FullClassName>Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate</FullClassName> </WizardExtension>
</VSTemplate>
It seems from the error that its more likely to be something wrong with my template. I've confirmed that the Template argument has a correct path to my template. Does the project folder need to exist/be created Or is that created by the action I've confirmed that all the files mentioned in the template exist where the template is. I'm not sure what URI its talking about. I just wanted to get a basic plain project creation going, before making changes, so I havnt touched any of the files involved yet. Does anyone have any idea what might be wrong Tag: Visual Studio Debugger Visual Studio 2005 debugger - forms don't get updated Visual Studio

TFS Source control and VS2005 integration with SCSF Not sure of the best place to post the question so please excuse me if this isn't the best place and point me to where to post.
We were using good old VSS, and started using the Smart Client Software Factory with the Guidance package, integrated into VS2005. Everything seemed to be working fine.
We then moved the solution into TFS a few months ago. We reached a point where we needed to use SCSF and add something in, only it is no longer working.
I've uninstalled/reinstalled. No difference.
One thing I did notice is that if I use the Guidance Package Manager, click on a recipe there, and a pop-up with the source tree is shown, but everything is disabled. Even if it is checked out, it still shows as disabled there.
Could there be any connection to the source being disabled and the work space in TFS
At one point while using TFS, there was a problem and I needed to create a new work space. Did I perhaps do something incorrect there Tag: Visual Studio Debugger Visual Studio 2005 debugger - forms don't get updated Visual Studio

test rig error when submitting test to controller machine We are having this error when attempting to submit a test to a controller machine:
Error Returned:
The server has rejected the client credentials.
VS GUI shows this as test run error:
Failed to Queue Test Run 'DOMAIN/user1 (2006-12-14 15:29:33)' with id {58cc3b3c-a512-4ac0-8110-7c4bbc6846b6}: System.Security.Authentication.InvalidCredentialException: The server has rejected the client credentials.
Security Scenario
DOMAIN/user1 is a domain account added as a user on controller machine, and is a member of administrators/power users/and all groups created during controller installation. Also added to agent machine.
Also, a local account named user2 was created on workstation,server and agent machines with same password. This user was added to all the groups as the other account. I still get the same error when signing on and submitting with this account as well. Tag: Visual Studio Debugger Visual Studio 2005 debugger - forms don't get updated Visual Studio

Message box with yes / No option and how to trap the result Hi ,
I have been developing a Java script application and would like to know the syntax for displaying a message box with a Yes / No option. And how to trap the result programatically.
Thanks Tag: Visual Studio Debugger Visual Studio 2005 debugger - forms don't get updated Visual Studio

Link or reference between generated code and webtest itself. Hello,
My question is next: I'm trying to modify my webtest (to add verifications and other staff) using it's generated code.
After I click on the Generate Code button I'm getting the C# code which I would like to change. The problem is that I don't know how exactly to update my changes in the webtest - I cannot run just C# class.
If you did it, please help me by some simple example.
Thank you in advance,
Vitaly Tag: Visual Studio Debugger Visual Studio 2005 debugger - forms don't get updated Visual Studio

How to deffine which changes will appear in Check-in window? Hello,
Is it possible to define what kind of Changes will appear in Check in window, for instance if I locked some file, I don't want to see it every time I check in some other changes
Thank you. Tag: Visual Studio Debugger Visual Studio 2005 debugger - forms don't get updated Visual Studio

Cannot add project with changed path to source control I created a new Team Project and configured source control in Visual Studio Team Suite to use the TFS plug-in for source control. I then added an empty Visual Studio solution to source control from within Visual Studio. No problem. It shows under source control and I can check it in and out. I have a number of existing projects that I want to move into this new structure. So I copied an existing project folder -- putting the project folder in the local solution folder and then right-clicked on the solution and chose Add Existing Project. It did indeed add the existing project to the solution, but it is not in source control; there is no symbol next to the project or its files, ie. the yellow plus like there is for new projects. Note that I can create a NEW project under the solution and it does get added to source control. The new project is also one level down in my workspace folder. Please let me know what I am doing wrong. Thanks for any help in advance. Tag: Visual Studio Debugger Visual Studio 2005 debugger - forms don't get updated Visual Studio

How can I copy and customize the IronPython example Are there a few steps which I can follow to create my own Language Server, VSPackage by using the IronPython example The solution's paths seem to be all relative to the SDK installation and also it seems to use a dll IronPython.dll which is in the SDK. I've tried copying the solution to a new location, changing the names and rebuilding but I ran into lots and lots of compiler errors, is there an easier way Tag: Visual Studio Debugger Visual Studio 2005 debugger - forms don't get updated Visual Studio

PLK verification failed for package Hi,
We are trying to create the installable version for CVS source control plug-in
I have created a new product in the http://www.vsipmembers.com site
Requested the PLK for the product
The package load analyser gives an error saying
Package Load Key(PLK) verification failed for package {f43e10ac-fbbd-4cfd-97e3-6ffc567073bf}.
Plk verification was based on the following entries in the registry -
CompanyName - Synechron Technologies
ProductName - VS-CVS plugin
ProductVersion - 1.0
MinEdition - Standard
ID - 150
when we try to debug the we are getting the following error
--------------------------- Microsoft Visual Studio --------------------------- Package Load Failure
Package 'Wachovia.Cib.Applications.Plugins.CVSSccProvider.SccProvider, Wachovia.Cib.Applications.Plugins.CVSSccProvider, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f918416c5fbab3cb' has failed to load properly ( GUID = {F43E10AC-FBBD-4CFD-97E3-6FFC567073BF} ). Please contact package vendor for assistance. Application restart is recommended, due to possible environment corruption. Would you like to disable loading this package in the future You may use 'devenv /resetskippkgs' to re-enable package loading. --------------------------- Yes No ---------------------------
I am not sure if I have missed out on any step or I have used wrong info while generating PLK.
I have request for another PLK, but haven't got it yet. How long does it take for a PLK generation .
Thanks in advance
Narsimhan Tag: Visual Studio Debugger Visual Studio 2005 debugger - forms don't get updated Visual Studio

SKU011.CAB solution Go into Registry Editor (Start, Run, "regedit"). Go to HKEY_LOCAL_MACHINE, Software, Microsoft, Office, 11.0, Delivery. There should be only 1 directory under Delivery, which is your DownloadCode (mine was 90000409-6000-11D3-8CFE-0150048383C9). Select that directory. On the right side of the screen, right-click on CDCache. Change the value to 0.
honestly works with out a hitch. Tag: Visual Studio Debugger Visual Studio 2005 debugger - forms don't get updated Visual Studio

How to set any object's text vertical-Center? Hi, friends, I know it's a stupid question, but I still could not find the answer.
Drag any object to the crystal report, and see the text of it. You will see the text is always close to top. You could find a property named HorAlignment, that will control the text to be center in level direction. But, how to make it to be center in vertical direction
I can't find any property named VerAlignment or something else.
Thanks. Tag: Visual Studio Debugger Visual Studio 2005 debugger - forms don't get updated Visual Studio

Integrate VSTS with SAP Hi,
We maintain all our projects(.NET, J2EE, etc.,) in SAP and it contains complete repository of Projects details from end to end. We are trying to make all our .NET development environments and its projects to VSTS. I am more interested in getting help from MS regarding intergrating VSTS with SAP. By default I know VSTS maintains its database in SQL Server 2005. Can some one help me in this area - Thanks Tag: Visual Studio Debugger Visual Studio 2005 debugger - forms don't get updated Visual Studio

Install Professional over VS Team Suite trial? Can we install a purchased Visual Studio 2005 Professional over the Trial version of the Visual Studio 2005 Team Suite edition We tried and it failed. Tag: Visual Studio Debugger Visual Studio 2005 debugger - forms don't get updated Visual Studio

Just want a logo on top of the report Hi ,
I am new to Crystal Reports, I am using Crystal Reports -11 for Visual Studio 2005.
I just want to put my company logo on top of every report.
I tried with "Insert Picture" option but it is not working, surprisingly when I export the same report to PDF the image is getting displayed in the PDF version of the report.
Can anybody help me out in this issue.
Regards, Pravin Tag: Visual Studio Debugger Visual Studio 2005 debugger - forms don't get updated Visual Studio

Status change in hierarchical workitems I created a small hierarchy of workitems starting from a Scenario which was to be "Fulfilled By" certain tasks. I would expect that
1. Either, if the tasks are active then scenario should not have been able to be set to "Resolved" or "Closed". - I could do both wihout changing the status of fulfilling tasks.
2. Or, When I set the status of Scenario to "Resolved" or "Closed" then status of fulfilling tasks should also get set to the same ie "Resolved" or "Closed". - This does not happen, tasks remain in active state.
It somehow does not seem logical. Is there some reason behind such behaviour or is this behaviour expected to change by the time of RTM Tag: Visual Studio Debugger Visual Studio 2005 debugger - forms don't get updated Visual Studio

Project won't show up when "Always show Solution" option isn't checked We have our own custom project that we created and everything is working great.
However, based on a user's profile when they install Visual Studio, the option for Projects & Solutions general tab for "Always show Solution" may or may not be checked.
For some reason our project will not show up in the solution explorer if they do not have this option checked. Is there some property that we need to return to allow our project to exist even without viewing the solution
Any help would be greatly appreciated. Tag: Visual Studio Debugger Visual Studio 2005 debugger - forms don't get updated Visual Studio

Help Files Will not load! I am having a rather big problem. I don't know when it originated but I just noticed it lately when I pulled Visual Studio 2005 out. Apparently, The problem has something to do with HTML Help files. Here's a couple of the problems I've had: 1. CHM files will load but in the right pane where it should display the content...it's completely blank. The left column works and displays the index etc...It's just the content that will not show. 2. Windows Help will not work..I click it and nothing happens 3. In C++ Visual Studio 2005 Express, I can not create a new project. The window that normally pops up for the project wizard (after you name the project), is completely white/blank like the CHM's. It just sits there until I click the [X] on it and then it displays the following error: http://www.galaxypcs.com/uploads/visual_studio_error.JPG Tag: Visual Studio Debugger Visual Studio 2005 debugger - forms don't get updated Visual Studio

tests via test rig test agents have lower request rate than testing locally? There are two test environments that I'm working with: one is Windows Server 2003, the other is Windows Server 2003 x64. The tests on win2k3 x86 work as expected: testing on a test rig with test agents allows a larger request rate than just one local machine. However, the opposite appears to be true for the win2k3 x64 environment: test agents are maxing out cpu time and the net request rate is lower than if the tests were run on one local machine. What would cause this behavior Incorrect configuration setting Win2k3 x64 Something else
thanks,
Chris Tag: Visual Studio Debugger Visual Studio 2005 debugger - forms don't get updated Visual Studio

How to construct the loop hierachy structure for the program? Hi Andy, I want to construct the loop hierachy structure for the program. The whole program will be represented only by loops. For the code segments without an actual loop, I assume that they reside in a "for loop" with iteration 1. For example, I have the following code void main () { int a, b, c; int A[10], B[10], C[10]; a = b + c; --------------------------for_loop_1 b = a - c; for (int i=0; i<10; i++) ------------for_loop_2 {
A[ i ] = B[ i ] + C[ i ]; ----------- for_loop_3 B[ i ] = A[ i ] - C[ i ]; for (int j = 0; j< 10; j++) ----for_loop_4
a = a + 1;
b= b+1; -----------------------for_loop_5 c = c-1; } a = b + c;----------------------------for_loop_6 b = a - c; } Then the program is a loop tree as follows, program consists of for_loop_1, for_loop_2, for_loop_6, and for_loop_2 consists of for_loop_3, 4, and 5. program for_loop_1 for_loop_2 for_loop_6 for_loop3 for_loop_4 for_loop5 How should I build this, base on the LoopNesting sample code I am not very clear about how to find the start and end of a code segment, like for_loop_1, for_loop_5, and for_loop_6 Thank you very much! Regards, Ray Tag: Visual Studio Debugger Visual Studio 2005 debugger - forms don't get updated Visual Studio

Exporting to Excel Using Old Code I am trying to create a page to export a report to a pdf. I am using the same code I used in Visual Studio 2003, but it can't find the report class. Is it because the rpt file is not in the same namespace as the export code Here is my code. Is there an easier way to do this in 2005
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Imports System.IO
Namespace DocumentComments
Partial Class pdfActivityReport
Inherits System.Web.UI.Page
Dim oRpt As New rptActivityReport()
# Region " Web Form Designer Generated Code "
'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
End Sub
Private Sub Page_Init( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
InitializeComponent()
Dim ActivityReport As New dsActivityReport
Dim ta As New dsActivityReportTableAdapters.Get_ActivityReportTableAdapter
ta.Fill(ActivityReport.Get_ActivityReport, "1/1/2007" , "1/11/2007 11:59 PM" )
oRpt.datasource = ActivityReport
End Sub
# End Region
Private Sub Page_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load
'Put user code to initialize the page here
ExportReport()
End Sub
Sub ExportReport()
' ********************************
'Check to see if the application directory has a subdirectory called "Exported".
'If not, create the directory since exported files will be placed here.
'This uses the Directory class of the System.IO namespace.
' First we must create a new instance of the diskfiledestinationoptions class and
' set variable called crExportOptions to the exportoptions class of the reportdocument.
Dim crDiskFileDestinationOptions As DiskFileDestinationOptions = New DiskFileDestinationOptions()
Dim crExportOptions As ExportOptions = oRpt.ExportOptions
'Export to PDF
'append a filename to the export path and set this file as the filename property for
'the DestinationOptions class
crDiskFileDestinationOptions.DiskFileName = TEMP_DIRECTORY & "ActivityReport.pdf"
'set the required report ExportOptions properties
With crExportOptions
.DestinationOptions = crDiskFileDestinationOptions
.ExportDestinationType = ExportDestinationType.DiskFile
.ExportFormatType = ExportFormatType.PortableDocFormat
End With
'Once the export options have been set for the report, the report can be exported. The Export command
'does not take any arguments
Try
' Export the report
oRpt.Export()
Catch err As Exception
Response.Write( "<BR>" )
Response.Write(err.Message.ToString)
Finally
Dim file As System.IO.FileInfo = New System.IO.FileInfo(TEMP_DIRECTORY & "ActivityReport.pdf" ) '-- if the file exists on the server
RedirectFile(file)
End Try
End Sub
End Class
End Namespace Tag: Visual Studio Debugger Visual Studio 2005 debugger - forms don't get updated Visual Studio

Visual Studio Team Suite, 180-day trial version - Visual Studio Tools for Office I am having trouble with a part of the Visual Studio Team Suite free trial. I downloaded and installed Visual Studio Team Suite and now am trying to use the Visual Studio Tools for Office (VSTO) with Access to try creating a RunTime Access DB. I see the VSTO package was dowloaded (I see the files in Windows Explorer), but the packaging wizard is not appearing anywhere.
Any advice
Thanks in advance!!! Tag: Visual Studio Debugger Visual Studio 2005 debugger - forms don't get updated Visual Studio

Strong name validation failed for Microsoft.TeamFoundation.Client assembly. Hi,
I have TFS SDK 2007.02 installed. I have given reference to 'Microsoft.TeamFoundation.Client assembly. When I run application , I get following error:
Could not load file or assembly 'Microsoft.TeamFoundation.Client, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)
Any ideas to solve this.
Regards Tag: Visual Studio Debugger Visual Studio 2005 debugger - forms don't get updated Visual Studio

programmatically render and export as PDF hello the scenario is the folloing : i have designed a report with several subreports and input parameters. it is deployed to the report server. the main report only renders the subreports and only has datasources for the multi valued parameters. now I would like to run and export this report as PDF from within a WinForms application programmatically. I am looking for any examples, sample code or reference, that could help. thanks Tag: Visual Studio Debugger Visual Studio 2005 debugger - forms don't get updated Visual Studio

Tonny

Dear forum,

I have been developing applications in VB 6 for a number of years, and now want to start using VB with Visual Studio 2005. Doing so, I run into a problem with the Debugger, that is best illustrated through a very simple example :

I create an application with 1 form and with 1 button. Upon clicking the button in the form, it changes its text in a straightforward way:

I then set a breakpoint at the line "i = i + 1" and start the debugger. It creates Form1 and in it the button with text "Button1". When I click the button, the execution stops at the breakpoint, as expected. However, the button text still says "Button1". Even if I step past the Button1.Refresh() command, the button still shows the "Button1" text. Only upon exiting the Sub, my Button text gets correctly updated.

Such a behaviour was not found in VB 6, where the debugger resulted in immediate updates of the forms I built.

I believe the reason that your control is not repainting after stepping over the Refresh is due to the fact that while stopped at a breakpoint your application is not able to respond to the Paint message that Refresh causes to occur. While I'm not an expert on VB6, that product had a very different model for both how it's application runtime worked (the VB runtime vs the new .NET runtime) and also how debugging was implemented.