vsts2008

Which project type / item in VSTS 2008 helps me model a database?

Hello. As per the thread: http://www.experts-exchange.com/Microsoft/Applications/Microsoft%5FVisio/Q%5F24660513.html I should be able to model a database (like I do in Visio 2007) in Visual Studio Team System 2008. I am unable to find how to achieve this. In no project type am I able to find an item that helps me create a Database Model....

how to trigger page refresh

Hello everyone, I am developing a webpart using VSTS 2008 + C# + .Net 3.5 + IIS 7.0 + ASP.Net. I want to refresh the whole page in my WebPart code, refresh I mean the same effect when user press F5 for browser. I did not find a solution yet, any ideas? thanks in advance, George ...

Forms authentication issue

Hello everyone, I am using VSTS 2008 + C# + .Net 3.5 + ASP.Net + IIS 7.0. And I am implementing Forms authentication. I want to know in Forms authentication, how to check whether a user is already authenticated or not? thanks in advance, George ...

VSTS 2008 Database Edition doesn't seem to know 'DATEADD' constants, any ideas?

I'm trying to implement a database build using VSTS 2008 Database Edition. The build always fails on the following constraint: ALTER TABLE [dbo].[tablename] ADD CONSTRAINT [DF_tablename_date] DEFAULT (CONVERT([varchar],dateadd(hour,(-1),getdate()),(1))) FOR [date]; The error that it shows is the following: TSD03082: The name "hou...

Visual Studio 2008 support for new .NET 4

Will Visual Studio 2008 be supported by new .NET 4 from the get go? I'm particularly interested in the System.Collections.Concurrent namespace and the parallel task library, which I would use immediately. Is it worth upgrading to Visual Studio 2010 when it comes out? ...

tab control webpart?

Hello everyone, I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am developing using VSTS 2008 + C# + .Net 3.5 + ASP.Net. And I want to develop a WebPart, like a tab based control, like task manager, items (e.g. processes, users, etc.) are managed by tab on the top for different categories, and in each...

how to use javascript and css in WebPart?

Hello everyone, I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am using publishing portal template. I am developing using VSTS 2008 + C# + .Net 3.5 + ASP.Net. And I want to develop a WebPart, which refers css and javascript (.js) files. My question is (1) how to deploy css/javascript files and (2) ho...

analyze SQL Server performance issue?

Hello everyone, I am developing using VSTS 2008 + C# + .Net 3.5 + ASP.Net + SQL Server 2008 Express. I am working on 32-bit platform with Windows Server 2003. The issue I find is simple SQL statement like select/create a simple table is very small from SQL Server Management Studio. BTW: I think it should be machine specific issue since...

when this javascript function is called?

Hello everyone, I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am developing using VSTS 2008 + C# + .Net 3.5 + ASP.Net. I am learning the following code dealing with javascript, my confusion is for $(function(){...} part of code, when it will be called and what is its function? I did not see any code...

how to deploy the CLR functions in SQL server 2008

I created a SQL Server Project in VS2008 called 'RegularExpression'.In that Project i created a 'Regex.cs' class and i wrote one function regarding Regular Expression. Then i Build the solution. Now My problem is to deploy this solution in SQL server 2008 through scripts.( not just clicking on Deploy in VS2008 ). I succeeded up to dep...

Visual Studio 2008: Updating current code with changes made in previous branch

Our TFS is divided to a "work in progress" directory and several branches of older versions. We made some major changes to the previous version and now we want to apply these changes to the current version. Now, the problem is that I don't see how it can be done easily: I can compare the two versions - but it doesn't let me copy the chan...

how to use blitz_0.9

I down load blitz_0.9,I can build it in vs2008 and get blitzd.lib and blitz.lib but how can i get blitz.dll who have used it give me some advice thank you. ...

update web reference through commandline

Is there a way to update web reference in a Visual Studio 2008 project through command line? I have a test code that reference to a web service.I want to run this against different servers and trying to write a script for this. ...

Embed VSTS unit tests in standalone application

In visual studio there is the so called 'test view' that provides an overview of all unit tests within the current solution/project. I wonder if it is possible to embed this view into a standalone application. The idea is to have a standalone application that lets you run special integration tests on a staging system. Any ideas? ...

Designer.cs is deleted on adding object in DBML

My original dbml file had objects which had data connection to other server/db. As my db is changed to different server and i want to update my spproc when i delete the spproc and drag the new one dbml.designer.cs is deleted. I am using VS 2008 SP1. I can't regenerate all my dbmls as they have lots of tables, sps etc.. Inserting the usin...

Can I export VSTS test results to .ltrar from command line?

I'm writing a script to trigger several VSTS load tests in a row using mstest.exe. I notice there's a /resultsfile option that lets me specify where the test results are stored, but it looks like this will only save a .trx file (which seems to be tied to the controller's test run database). I would like to export this result to an .ltra...

Meet with error -- "Updates are currently disallowed on GET requests"

Hello everyone, I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I have deployed a publishing portal. I am developing a ASP.Net web application using VSTS 2008 + C# + .Net 3.5 + ASP.Net + SharePoint Server 2007 SDK. Here is my code snippets and I got error -- "Updates are currently disallowed on GET req...

start process issue

Hello everyone, I am using VSTS 2008 + C# + .Net 3.5 to develop a console application. And I want to start an external process (an exe file) from my C# application, and I want current C# application to be blocked until the external process stops and I also want to get the return code of the external process. Any ideas how to implement ...

video file download issue

Hello everyone, I am using VSTS 2008 + C# + .Net 3.5 + Silverlight 3.0 + ASP.Net to develop a Silverlight application (a video media player) in browser and the function is simple, just use MediaElement to play a remote video file. The remote server is Windows Server 2008 + IIS 7.0 + IIS Media Bit Rate Throttling Control. Since the req...

ASP.NET/SharePoint master page issue

Hello everyone, I am using SharePoint Server 2007 + C# + .Net 3.5 + VSTS 2008 + ASP.Net. And I am using collaboration portal template. I am developing a custom aspx page and put it in _layout folder of a site and I want to apply default.master of the SharePoint site to this aspx page. Any samples about how to achieve this goal? thanks...