vs option? Is there an option to set in visual studio so that when your application encounters an exception that you can prevent the user from being able to select continue A dialog box appears with the option to select details, continue, and quit.Thanks Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
How can you specify the workspace in TF Checkin I haven't found an answer to this so instead of running tf checkin i have created my own custom task using c# and the Team server API. Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
SetTabPicture VS 2008 uses again almost green 0,254,0 and not magenta.
About the final bug that I mentioned, according to the bug report:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx FeedbackID=113955
they fixed it, but I didn't verify it. Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
Global rules for all computers in a company network Hi people, firstly, pleasy excuse my poor english, I hope I can explain you my problem clearly following situation: all of our employees are using Visual Studio 2005 Team Edition, with integrated Code Analysis. Is there a way to ensure, that every employee has turned Code Analysis on, with specific rules I thought about a rules-file on a central network place, but I have no idea how to solve this problem... Best Regards, David Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
URL in Code Check-in Alert Message is not visible I checked the web.config file in the VersionControl folder and it looks good too.
>> Is there such an link(which can not be accessed and
>> give the same error message) for each email alert
This is the actual URL from the email message.
https://cmr.ctadvantage.com:8081/VersionControl/Changeset.aspx artifactMoniker=162&webView=true
Do you get the same error message Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
Physical location of document stored in sharepoint portal Hello Praveen_wm:
These documents are stored in the back Database of the WSS and these documents are encrypted. So you can not find the physical
location of them.
Thanks. Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
Group Membership Security Issue Adam,
The users are members of project Contributors group and Valid Users group only. I am pretty positive that everything is enabled, and error message to the effect that user has no permssions is displayed when something is changed and change is submitted.
Hopefully, it is (will be) fixed in Orcas. I will make a note to test sometime in the future. Thanks for follow up.
Regards, Eugene Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
How to group the project item in solution explorer? Did anyone have idea for this issue Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
Auto Build Numbering of AssemblyFileVersion - Need to stop needed builds Hi,
I am trying to write an add in that increments the AssemblyFileVersion Every time an assembly is built. I have done this, however I have hit a snag. Setting this vaule causes the Assembly to be rebuilt even though nothing else has has changed - How do I stop this.
Here is my increament code
Code Snippet
private void buildEvents_OnBuildProjConfigBegin( string projectName, string projectConfig, string platform, string solutionConfig)
{
if (m_vsBuildAction == vsBuildAction .vsBuildActionClean)
{
return ;
}
Project project = m_applicationObject.Solution.Projects.Item(projectName);
Debug .WriteLine(projectName);
if (project.Kind == PrjKind .prjKindCSharpProject)
{
Property fileVersionproperty = project.Properties.Item( "AssemblyFileVersion" );
string [] fileVersionParts = fileVersionproperty.Value.ToString().Split( '.' );
int buildNumber = Convert .ToInt32(fileVersionParts[3]) + 1;
fileVersionproperty.Value = string .Format( "{0}.{1}.{2}.{3}" , fileVersionParts[0], fileVersionParts[1], fileVersionParts[2], buildNumber);
}
} Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
Any tutorial for GAT? Thanks.
Although I can't promise anything, I'll make sure these requests are heard by the GAT team. And you can expect samples/tutorials in the Clarius toolkit too.
Everyone, keep the feedback coming :-)
thanks, -Victor. Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
Team Foundation - Virtual Server Are there any restrictions/issues in setting up Team Foundation Server on a virtual server as a development server
Thanks, Julie Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
Previous State transition Hi,
I have a current work item with state = 1, I change that workitem to state 2. and save that work item.
Is there any way that i can retrieve the previous state = 1
Please help!!!!
Thanks Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
Assign multiple classes/source-files to a work-item Is it possible to assign multiple classes (or files) which belong to a specific solution/project to a single work-item For instance if you want to create a new task and you know in advance which classes would be affected. Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
Best Practices for Data Generator Based Tests? Randomly generated data may not help too much for your specific scenario. It is true that purely random data may provide less help. However the data we generate are not purely random (Please see the items I listed below). And I also think it is still valuable to provide a set of default data generated for the database if you don't do any specific configuration such as the steps I provided. Here are some of the advantages of our generated data:
(1) It generates repeatable random data. As long as the seeds on the column and other setting are not changed, it always generate the same data everytime which helps you to repro the problems when you run the unittests.
(2) It is not uncontrollable random. You can specify properties such as Max, Min, Percentage Null, Step, Unique and so on to control the kind of data to generate.
(3) It generates data that conform to the foreign key relationships in the database.
(4) It generates unique values when there is unique constraint on a column and even generate unique values when multiple foreign keys on a table have one unique constraint. If you write your own code to generate data like these, it will take much longer time.
(5) Using Regular Expression generator can generate meaningful string type data like address, phone number, email address, url and so on to make your test data more meaningful and readable.
(6) There are more ... Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
DSL Tools support for Visual Studio editions Hi Dr. Borts
I'm sorry to hear you're disappointed with these decisions. For learning features specific to higher versions of Visual Studio at home, can I point you in the direction of
http://www.tryvs2005.com
You can get a 90-day trial edition of VS Professional Edition or a 180 day trial edition of Team Suite there, which hopefully should be enough to be able to learn a lot about these technologies. Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
Report Viewer - New version? Any idea when we can expect a new version of the report viewer. Much as I tried I could not find a way to display html from data stored in a database as html. And I believe that functionality will be in the next version. Otherwise I will soon have to go back to the manual method of producing reports, wasting weeks of work using the report viewer. Thanks Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
Passing a existing report to the ReportViewer control Thanks for clarifying... So basically you are wanting to present previously-generated reports, however you want the advantages of presenting the report via the reportviewer control at runtime.
You're well outside my depth at this point (as I said, no web/server-based experience), perhaps someone else can help you out... Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
Best Approach? ... Websites, Code Libraries, Shared Code, Shared Filesystem I have a massive headache looking at all the possibilities for our team migrating from using VSS to using TFS. TFS has been purchased and installed (working great) but I want to do this the right way from the start. I really need to setup the Team Projects in TFS the best way possible and Im not sure what approach to use. The answer to my first question below may answer all of my questions, but a little guidance would be great. And, a huge thanks to the community as I have spent this entire week watching vids, reading blogs (some install headaches), and articles. Questions: How would I set up a Team Project and or multiple Team Projects in the context of my Architecture below Im currently OVERWHELMED right now with the possible approaches How does the build server know the context of building a "web site" that has references to shared code (compiled and non compiled) How do we manage Stored Procedures and DB schema changes (currently, these are not part of any source control and we manually update each environment during a release) Do we need to install SQL locally, buy the TF DBA edition Background: I have purchased and installed TFS (single server install) with the Build Server (same box) and can build projects successfully Currently just I am using the "Team Explorer". We dont have the arch, tester, or dba versions...but can purchase them if needed. Currently a team of 5 multiskilled developers. All of us do database dev, asp.net dev, console app dev etc The team will never grow beyond 10 people. We currently have been ruined by VSS...we dont need to "migrate" the VSS database, but of course are migrating the way we work and the projects to TFS We have a single Enterprise DataLayer that we try to have every app use (includes a .dll and the Database itself) in addition to any custom data layer that the enterprise doesnt need We have 3rd party shared .dlls and shared web client scripts We have MSCMS which uses the enterprise DL and the 3rd party stuff (Telerik BTW, CMS and non CMS products) We release our websites on a quarterly basis (try to) which may or may not need to integrate with the Data Layer We currently do dev work in a our sandbox's (workstations), set aside the database dev work which has a shared dev environment (now becoming an issue with version integration) OUCH! Architecture (code/files): (this is currently two VS solutions, 1 for mscms stuff, and 1 for non mscms) 1. C# Code Library - EnterpriseData.dll 2. C# Code Library - SearchService 3. Websites (Virtuals) BioView Administration WebServices ApptRequest uwmed (mscms top level web site) hmcweb (mscms top level web site) 4. File System SharedResourcesNet GlobalAppCode (shared compiled code, asp.net UserControls) GlobalContent (Images, .js, etc) Architecture (servers/environment): Web Servers (win2000,2003): Workstations, Dev, Test, Prod DB Servers (2000, 2005 not in prod yet 8 month eta): Dev, Test, Prod Architecture (notes about code/files): Shared 3rd Party Dll's and Web Client Code (javascript) The Web Client Code contains 56mb of 9000 files (VSS pain in the ***) Currently all asp.net 2.0 stuff are "Web Sites" not "Web Projects" We can convert to "Web Projects" if needed. Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
How to get url for new document to add as URL link on associated work item Issue:
Only URL easily accessable to a TeamPlain user is too long to use as a hyperlink.
Details:
1. User is assigned a Work Item
2. User creates document to complete the Work Item and Uploads it to SharePoint Site thru Documents tab in TeamPlain
3. User needs URL to paste into WorkItem hyperlink dialog.
- right clicks on document in Teamplain and clicks "Copy Shortcut" which results in the following:
http://10.8.64.33:8081/docdownload.aspx pid=7&url=http%3a%2f%2fohcleiis4703.offshoredev.ntl-city.net%2fsites%2fAdvantage%2fRelease%252020%2fMegaProcesses%2fMP02%2520-%2520Registration%2fIteration%25201.1%2fRequirements%2fScenario%2520ACT27.2%2520Stamp%2520Organizational%2520Hierarchy%2520on%2520Loan.doc&basename=Scenario ACT27.2 Stamp Organizational Hierarchy on Loan.doc
Addl Info
1. "Real" Url to this document is:
http://ohcleiis4703.offshoredev.ntl-city.net/sites/Advantage/Release 20/MegaProcesses/MP02 - Registration/Iteration 1.1/Requirements/Scenario ACT27.2 Stamp Organizational Hierarchy on Loan.doc
Challenges:
1. The TeamPlain URL is 430+ characters long (the limit is 256, the "Real" one is 203
2. The TeamPlain URL has leading and trailing stuff
- http://10.8.64.33:8081/docdownload.aspx pid=7&url=
- &basename=Scenario ACT27.2 Stamp Organizational Hierarchy on Loan.doc
3. The TeamPlain URL is URL encoded (%3a = /) Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
Can't add x, y, z into CustomDictionary As you've noticed, 'Num' is a term that is harded coded in FxCop 1.35 (it's banned for usage within the Framework). This is fixed in current builds and will be fixed for the next version of Visual Studio/FxCop. Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
Crystal Report's CrystalReportViewer doesn't work on SharePoint site Hi, I tried to place crystal report's (Crystal Report for VS 2005) CrystalReportViewer control to the sharepoint webpart. When I bind data by: ReportDocument.SetDataSource( DataSet dataSet ) I get this message: CrystalDecisions.CrystalReports.Engine.DataSourceException: Unknown Query Engine Error Error in File C:\WINDOWS\TEMP\Customer {E6CF813B-0A4B-4A60-8113-05E6E850454C}.rpt: Unknown Query Engine Error ---> System.Runtime.InteropServices.COMException (0x800002C2): Unknown Query Engine Error Error in File C:\WINDOWS\TEMP\Customer {E6CF813B-0A4B-4A60-8113-05E6E850454C}.rpt: Unknown Query Engine Error at CrystalDecisions.ReportAppServer.Controllers.DatabaseControllerClass.ReplaceConnection(Object oldConnection, Object newConnection, Object parameterFields, Object crDBOptionUseDefault) at CrystalDecisions.CrystalReports.Engine.Table.SetDataSource(Object val, Type type) at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSourceInternal(Object val, Type type) --- End of inner exception stack trace --- at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e) at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSourceInternal(Object val, Type type) at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(DataSet dataSet) at SPPortal.Reports.PrintJunketStatementReport.ConfigureCrystalReports() at SPPortal.Reports.PrintJunketStatementReport.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at SPPortal.Controls.PPWebPartSimple.CreateChildControls() When I try same stuff on normal asp.net page (not sharepoint) everything works well. I don't know if this is problem from Crystal Report or Sharepoint, but I think there is no reason it shouldn't work. Thanks for help... Tomas Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
Database References Work - Sometimes Patrick,
It seems that for now it is only occuring on one machine. When I get the source to a different machine, then I don't have this problem. If I get the source to a different path on the same machine, I still see the problem. So, it seems unlikley that it is due to any project/solution settings. Shall I send you my vpc image ;-)
Seriously, let me know if you still think seeing the project and solution would be helpful. Not being able to use one of my machines is painful, and who know when it will happen to me other machine.
BTW, the problem has morphed so that I cannot use the work around anymore. It just doesn't work. I can delete and readd references and it just errors out the same.
Thanks,
dcb99 Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
mvs 2005 upgrade Hi,
SOAC wrote:
i am looking for enhanced features in progressbars
and windows creation.
There are no differences between the various versions of Visual Studio in this regard. The main differences is the various platforms and types of applications you can develop. Also various IDE features are only present in "larger" versions of Visual Studio.
For example the Express editions can not be used to develop Smart Device applications, and does not provide debugging for XSLT documents for instance.
By the sounds of it you are wanting an enhanced set of GUI controls to use within your own applications. For this you will need to look at third party component libraries, or have a go at creating your own (by deriving from a base class such as UserControl or Control).
Depending upon your exact needs some of the controls within the OpenNETCF Smart Device Framework ( http://www.opennetcf.com/ ) may be of use to you.
What specific capabilities are you looking at adding to your application which the standard GUI controls within the System.Windows.Forms namespace do not support Answering this question will help people suggest possible solutions for you.
Hope this helps,
Christopher Fairbairn. Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
Is there a way to view all file changes under a directory? Ok, I run VSS history to see how it's done there :) You can look at History Sidekick ( http://www.attrice.info/cm/tfs/index.htm ) but I'm afraid they are not doing what you need. Tfs does not provide this kind of functionality in GUI, to do this in command line, you would need to do some scripting (tf history /format:detailed and filter out files not under the parent directory). Of course you can also write custome app that does this and displays it in GUI.
Hope this helps Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
Changing the namespace using the Code model Using the code model you can add namespaces, classes and so on, but you can't change the code once is written. That is, you can't change the namespace of a class such as:
Namespace N1
Class C1
End Class
End Namespace
just setting the namespace property of a CodeClass
So you have to use EditPoints to add / remove the lines of code that belong to a namespace declaration. In the previous example:
- you could delete programatically the lines 1 and 4 to remove the namespace
- you could delete the lines 2 and 3 and insert them at the end of line 4 to move the class outside the namespace. Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
Team Plain custom colums When using Team Explorer, when I create a query, I can add or remove colums that I don't or do want to see by going into the column options. I can't see how to do the same thing when I create a query in Team Plain. Is this not posible
Brandon. Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
Graphic shrinks in size when run outside of Visual Studio 2005 I created a web application which exports a report with a letter image to .pdf file. When I ran the web app within Visual Studio 2005, the image looked fine in .pdf file. However, after I deployed the application to my production server, the letter image shrank to one half.
What causes this problem and how can I fix it Any help is appreciated. Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
Using common source files through more projects This is a desperate call for help. I'm currently migrating projects from VStudio 6 to .Net 2005. We are using SourceSafe 6.0 (all are upgraded to latest builds). Throughout our source code trees, we've been using common source folders, that were used by many projects. By policy we don't use the share functionality of SourceSafe for sharing a SourceSafe folder (it only contributed to creating hell). But we've rarely run into the problem of 2 developers modifying the same common source for different projects, even though there are a hundred of us: the common source files contain base and weathered code, that only need occasional modifications. This used not to be a problem. With .Net 2005 it has become impossible, in the sense that one single source file shared by two projects inside a solution prevent me from putting the solution under Source Safe. VS2005 just won't let me do it. Worse yet: I've noticed that the project files must all be in a subfolder of the project folder (I can't have a source with name ..\Common\SomeFile.cpp). If they are not, VS2005 will rebuild inside the project's folder (in the source safe DB)
the complete tree of folders from the root, thus creating recursion. Is it on purpose Is is a limitation Is there a workaround I can't think of duplicating
hundreds of files through dozens of projects: it would have catastrophic consequences. VS2005 won't even let me exclude single files from a project, so that (within the solution) a single project may control the common source files: I never get the chance to include a selection of files into Source Safe. It's an 'all or nothing' operation, that fails before completion, preventing me from using the 'exclude file from Source Safe' option. Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
Re-distributable assembly Hi,
I created a package (written in C#) for VS2005. My package derives from the base "Package" class which is in an assembly in the VS SDK, "microsoft.visualstudio.shell.dll".
So I believe, to deploy my package on a PC without VS SDK, I should install "microsoft.visualstudio.shell.dll" and some other re-distributable assemblies from the SDK, right If so, what are they Is there any .msi I can run
Thanks!
Michael Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
Problem with Printing Chinese Character over Crystal Report Dear All, Recently, it is found that there might have problem with crystal report printing. I create a crystal report, consist of the report are two part, part one is static Chinese typed header and another one is dynamic data get from dataset. The dataset store a table of worker information, which most of them are chinese written. The crystal report can show all of chinese character, however, it have problem when print the report, the dynamic part of data will print as sqaure ([]), while the static header print naturely. Does anyone know what problem are there Expected Output of printing: all of character can be printed Actual Output: dynamic generate part of cystal report print as square ([]), except static header. the details of the development platform are list below: Development Tools: Visual Basic.Net 2003 Framework Version: .Net Framework 1.1 Crystal Report Version: 10 with sp2 Operating System: Windows XP SP2 Many Thanks andrews Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
Visual Studio DVD Label Hello, I, know its an untypicaly question for this forum. I'm studying Science and we can download microsoft products for free at e-academy.com My question is, if someone could scan the labels for Visual Studio 2005 Pro, Sql Server 2005 Standard and SourceSafe 2005 perhaps someone has the time to do that :) greets from Germany! Dirk Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
Debugger in Visual Studio I have this version of visual studio installed on my development machine. Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 I want to use the debugger for a stored procedure but its not in the menu. I need to verify if this version of visual studio comes with a debugger. I thought it did. Tag: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script Visual Studio
ChrisTullier
I am trying to script the creation of a linked server for my database project. I have placed the command in the LinkedServer.sql file. The issue is that I cannot place the password as clear text in the script. I need to encrypt the password. How can I do this Also, setting up everyones local databases with the link rather than automating it though the script is not an option.
Re: Visual Studio Team System - Database Professionals Encrypting Linked Server password in pre-build script
Richard Waymire - MSFT
No, the password doesn't have a way to be pre-encrypted in a sql script to the best of my knowledge. So you'll have to create the linked server interactively to protect the password.