SQL Server 2008, can't save changes to tables

When you design a table in a database and then try to make a change to a table structure that requires the table to be recreated, the management tools will not allow you to save the changes.
You will get an error stating, “You have either made changes to a table that can’t be re-created or enabled the option Prevent saving changes that require the table be re-created.”

What a pesky problem.  It prevents you from making progress when you making database changes. It’s a good thing you can turn it off.

In Management Studio, go to Tools –> Options –> Designers –> Tables and Designers and uncheck the Prevent Saving Changes that require table re-creation option.

Now Management studio will work like expected.

Performance Point Server, approval's don't work

When you create an approval workflow in Performance Point, it appears to work.  Unfortunately it doesn’t.  When a user submits an excel template, to an approval it actually save the data to the database.  You can the record in your fact table to see what happens.

This is too bad that doesn’t work.  This one of those easy pieces of functionality. that sells the whole product..

Performance Point BizSystemFlag and what they mean

My last blog focuses on what the BizSystemFlag field and what it needs to be to get data into the Application database.  So I figured I should mention what other values it can be and what they mean.

Here are the options:

0 – Do nothing with this record
100 – Record is already in the database
200 – New record to move to app database
300 – Updated record
400 – Record will be deleted
900+ – Error Code

SharePoint WSP right click add solution

For anyone doing SharePoint development I have one of the best tips I would recommend to anyone (a coworker of mine, Bo Cherry, found this tip).  You can add a solution with just right clicking on a WSP.  No more stsadm commands (mostly).  You have to edit your registry (don’t forget to back it up first), but it is well worth it.  From what I have seen, if you use the right click option, you have less trouble deploying solutions  than just using stsadm to deploy.

Just open notepad, add the following code and save as a .reg file.
Now double click the new file and there you go.  The add solution choice will only come up when you right click on a WSP file.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.wsp]
@="wspfile"

[HKEY_CLASSES_ROOT\wspfile\shell]

[HKEY_CLASSES_ROOT\wspfile\shell\Add Solution]

[HKEY_CLASSES_ROOT\wspfile\shell\Add Solution\command]
@="C:\\Program Files\\Common Files\\Microsoft Shared\\web server extensions\\12\\BIN\\stsadm.exe -o addsolution -filename \"%1\""

 

I have tried changing the code to add a deploy solution to the context menu, but it was very flaky.  Sometimes it worked and sometimes it didn’t.  Not worth the trouble.  So I just use the UI to deploy the solution.

Performance Point Server 2007 cycle tip

When you creating a cycle in Performance Point set the assignment start time (defaults to current date time), so that you have the time to setup the form assignment.  You don’t want a cycle to start until you have the form assigned.  It could be a little unpredictable.

Enable IIS 6 Compression

So I copied this post from a coworker of mine, Dennis Bottjer

IIS compression makes a huge difference and it’s an easy batch file to set it up.

 

How to Enable IIS 6.0 Compression for SharePoint:

Microsoft’s Internet Information Server (IIS) has long support HTTP Compression.  However, supporting and implementing compression are two different things.  Many settings within IIS are easily configured from the IIS Admin GUI.  Unfortunately, enabling and configuring compression is not supported through the GUI and requires editing the IIS Metabase.  THe metabase can be edited manually or updated from a command prompt.  The commands can be combine into the following script:

Script:

cd c:\inetpub\adminscripts

REM Turn On Compression
cscript adsutil.vbs set w3svc/filters/compression/parameters/HcDoDynamicCompression true
cscript adsutil.vbs set w3svc/filters/compression/parameters/HcDoStaticCompression true

REM Set Compression to High Level
cscript.exe adsutil.vbs set w3svc/filters/compression/gzip/hcdynamiccompressionlevel "9"
cscript.exe adsutil.vbs set w3svc/filters/compression/deflate/hcdynamiccompressionlevel "9"

REM IIS 6.0 Only

REM cscript.exe adsutil.vbs set w3svc/filters/compression/gzip/hcscriptfileextensions "css" "js" "asp" "exe" "axd" "aspx"
REM cscript.exe adsutil.vbs set w3svc/filters/compression/deflate/hcscriptfileextensions "css" "js" "asp" "exe" "axd" "aspx"

iisreset
pause

Recommendations:

File Extensions:

Consider Adding: “ascx”, “ashx”, “asmx” “xml”

Testing:

Test the various file extensions and compression levels.  Perhaps start with a compression level of 7 to 8 or 9 after monitoring CPU utilization.  The results of compression can be monitored using Fiddler.

SQL Server 2008 sp1 released

So SP1 for SQL 2008 has been released by Microsoft.  You can download it here.  There is not much info about what is included.  It appears to be a cumulative update.  You can slipstream it with SQL server install image.  You can uninstall the service pack separate from the DB engine.

Community Credit, live writer plug in

A coworker of mine (David Mccollough) told me about Community Credit.  You use the website to track how your giving back to the developer community, ex. any blog posts or presentations you give at user groups, etc.

There is also a live writer plug-in, so when your posting it automatically updates Community Credit.

Here is the link that explains how to install the plug-in for 32 bit windows.

If you have 64 bit windows the path to the plug-in directory is “C:\Program Files (x86)\Windows Live Writer\Plugins”.

Want to learn Performance Point Server 2007

If you’re interested in learning about Performance Point Server 2007, here are some links to start with.

Technet white papers (go ahead and read or skim over them). http://technet.microsoft.com/en-us/library/bb794633.aspx

Video Tutorials on creating dashboards. http://www.microsoft.com/business/performancepoint/learning/training.aspx

List of books that MS recommends as resources. http://www.microsoft.com/business/performancepoint/learning/books.aspx

SharePoint 2010 preliminary requirements

http://blogs.msdn.com/sharepoint/archive/2009/05/07/announcing-sharepoint-server-2010-preliminary-system-requirements.aspx

News about the next version of SharePoint, it going to be all 64bit.

SQL Server 2008 intellisense not correct

Sometimes when you writing TSQL in sever 2008 you will get the red squiggles (indicating you typed a table or field name incorrectly).    Yet everything will compile and run correctly, so what’s the deal.


To fix this problem you just need to press ctrl+shift+r, which will rebuild the sql cache responsible for intellisense.’

SPSource, a SharePoint helper

Here is the link to SPSource on codeplex.  Basically it allows you create your sites/lists/content types/etc in the SharePoint UI and export it all out as CAML.  This is a big saver (if your using CAML for deployment) for site creation/deployment.

http://www.codeplex.com/SPSource/Wiki/View.aspx?title=Home

 

It is a command line tool that takes one input parameter, the url to your site.  It will create the xml files for you.

This is much easier than hand coding the CAML for your site.

Where I see this adding tremendous value is where you have a customer who you have deployed a SharePoint site for.  They make changes through the UI (add navigation/sites/etc) and now your code base and the prod site are out of sync.
You can use SPSource to pull down what it takes to create their modified site and merge it with your code.

SharePoint service pack 2 hotfix - expiration date

When you install SP 2 for SharePoint it will change the expiration date of SharePoint to be a trial product. This does not affect WSS 3.0. For a work around you can re-enter your product ID into Central Admin (but who knows their product id). Here is the link for x86 and here is the link for x64.

stsadm Technical Reference for SharePoint 2007

Micorosoft posted on TechNet a technical reference for stsadm (done with SilverLight).  Much easier to use than help from the command line.

http://technet.microsoft.com/en-us/office/sharepointserver/cc948709.aspx

Summay of changes with SharePoint 2010

Microsoft has been very quiet about the new features of SharePoint 2010, but they have finally started providing some info. They have produced some videos explaining some of the new changes here. I was going to watch them, but I did find a someone else who watched them and blogged about it. So here is a summary of the changes that Microsoft has announced. I did copy all this below from Craig Roth. I wanted it on my blog so I would be able to remember where it is. Sharepoint 2010 Overview (Tom Rizzo)
  • Mentions how they are supporting all browsers (although he tellingly stumbles when trying to say “Safari” … )
  • Promises great strides in social computing
  • Went around the SharePoint 2010 donut:
    • Sites
      • Sites are all about sharing information
      • Mentions a further push into extranets and internet sites
    • Communities
      • Plans to support a hierarchical structure of communities
      • “Regardless of how they come together” [implies to me embracing end user creation and maintenance of their own communities rather than just enabling administrators to create communities]
    • Content
      • People-centric, LOB-centric
      • “We’ve been Working hard to manage content from creation to disposition and destruction … ”
      • Will enhance ability of users to discover content
      • [our analysis of SharePoint 2007's enterprise content management showed weakness at the later stages of the process , so beefing up capabilites around disposition and discovery seem to show positive action from Microsoft to close the gap]
    • Search
      • FAST will be combined with existing SharePoint search.
      • More investments have been made in uncovering hidden assets
      • People search will be (better) blended with search.
      • At 8:22 he says “You’ll be able to find rich people across your organization”. [I guess that's handy if Bill Gates works at your company and you need to borrow money for lunch]
      • There’s a plug for the business connectivity services (formerly business data catalog) in terms of searching structured data
    • Insights
      • Combining the rest of SharePoint with the business intelligence stack. [not really any detail here, or nothing new to talk about]
    • Composites
      • “Rapidly create dynamic bus solutions” [At the SharePoint conference in 2006, none other than Bill Gates said building composites is the #1 capability of SharePoint. If they're going to get away from the "portal" word which is increasingly watered down then this is a good choice. Composite applications encompasses portals, but also other important styles of web apps made from piece parts including any type of assembly of web services or RESTful services, mashups, or business process management]
  • Features shown in the demo
    • User interface
      • The Office ribbon now shows up all over SharePoint and is removable, customizable, contextual
      • He showed live editing of text in a website, and as you mouse over different font sizes you get preview of fonts just like in Word 2007
      • He showed a very fat client-like resizing of images, adding a border, etc.
      • You can add Silverlight with an out of box Silverlight web part
      • There’s the ability to apply PowerPoint themes to sites (colors, fonts, etc.)
    • Business connectivity
      • You’ll be able to put a Visio diagram directly in SP, and since Visio can have links to get live data from business systems that means live data too [neat!]
      • Forget BDC: it’s now BCS. There’s a new acronym: Business Connectivity Services (BCS) to replace the business data catalog (BDC)
      • Instead of just sites in SP designer 2010, it has lists, workflows, etc.
      • Also has an item in SP designer called “entities” for creating connections to bus data
      • Demoed a SQL connecter that auto-creates CRUD (create, read, update, delete)
      • You cal see a BCS data set in SharePoint and it looks like a list, but it’s a SQL database. Demoed filtering.
      • You can also click “edit item” and update the item. [I hope they improve the interface. It refreshes and fills the whole screen with a data dump of the row. Not at all like editing in a cell]
      • Demoed creating a new doc from SharePoint in Word which has a bunch of fields defined in BCS. You can select a customer name from the list and it fills in all the fields from that record in the document information panel
    • Work with data in richer ways
      • Microsoft finally clarified that Groove (new name=SharePoint Workplace) is the rich client for SharePoint. [wow, that took a long time for something we knew was going to happen]
      • Workplace can sync info from a SharePoint site
      • Showed in SP workspace how he can edit info offline, and then synced back up by selecting “Connect to server” and “Sync supplier list”. [Not sure why its so manual. In Notes you don't have to hit "connect" then "sync". Maybe there are automated, scheduled options too that weren't shown. I hope so]
    • Tom emphasized that these are just some of the features – not an exhaustive list.
SP 2010 for IT professional video (Richard Riley)
  • He mentioned on premise or as SaaS
  • Beta later this year, general availability 1st half of 2010
  • Goal is to scale up and out with high reliability [just as Bill Pray noted in his thoughts on Exchange 2010, it seems many of the administrative enhancements for SharePoint 2010 are to help it support SaaS rather than to just help current on premises installations]
  • [bookmark] IT professional productivity
    • Central admin: he mentioned “easier to find” and ribbon UI [he didn't mention any actual functionality changes]
    • There’s a best practice analyzer
      • It analyzes health, performance, and has reporting
      • Rules can regularly run and send pop ups with issues encountered. Admins can build rules and automatically apply fixes
      • There is a new logging database, extensible with custom data and custom reports
  • Scalable unified infrastructure
    • Large lists will not hang the system anymore [yahoo!]
    • The admin can set thresholds for how many rows max will be returned. And there’s a “happy hour” when you can get larger responses from queries.
  • Unattached content database recovery
    • Admins can browse content in repositories, create an export, and upload to list
  • Flexible deployment
    • You can detach a 2007 database and attach it to 2010
    • When you migrate to 2010 it keeps UI the same, but you can select an option to switch user experiences
SP 2010 for Developer (Paul Andrew)
  • Developer productivity
    • Paul talked about the Visual Studio 2010 SharePoint tools
    • There is a new visual Web Part designer and team foundation server
    • You can look at lists and other server items from the server explorer within VS without having to go to SharePoint
    • Can specify deployment configuration such as a package WSP file that can include custom installation steps
    • Demoed click and drag creation of a Web Part with a button that calls LINQ query
  • Rich platform
    • There is the ability to use LINQ to access SharePoint lists including joins
    • The new client object model can be used to run code on the client machine (.NET, Javascript, Silverlight)
    • Paul also mentioned the Silverlight Web Part and business connectivity services
  • Flexible deployment
    • Paul talked about solution deployment [but frankly I got distracted at this point and don't have notes here. I believe this is an attempt to address SP2007 weaknesses around staging from test to QA to production]
Data connectivity services
  • In the demos, DCS still showed as BDC in VS 2010 since it’s not finished yet
  • Paul showed how it supports creating methods for BCS CRUD
  • In SharePoint you can create an “external list” now, which means data from the BCS
  • There are new “list” menus in the ribbon bar in the SharePoint web UI
  • Demoed using Silverlight to fill a data grid with data from a SharePoint list. With Silverlight, it’s running on the client so things like sorting the list are done without calls back to the server

SSIS Error using a stored proc as source

SSIS is a great tool to move data around.  Sometimes it’s easier to use a stored proc to pull together some data before you do stuff with it.

To use a stored procedure you can use an OLE DB source (in a Data Flow task) SQL command.

Works great, but if it doesn’t and you get the error code 0xC02092B4, you will have to add to your stored procedure.

Just add the following 2 lines to the top of your stored procedure:

SET NOCOUNT ON
SET FMTONLY OFF

This will clear up the metadata issues with SSIS trying to understand what your stored procedures outputs.

So you want to retrieve your test results?

When you create a test project in Visual Studio, you can load test your application, but you won’t be able to save/view results without a storage type set to database.  You can check your storage type by checking the properties on the Run Settings. (if you set it to none, you will be able run the test)

image

By default you do not have a database to store the results of you load test.  (Why your not asked during installation to create one is beyond me).

You need to run the SQLscript to create the LoadTest database.

Here is the path to the script C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\loadtestresultsrepository.sql

You will also need to set your connection string.  You need to go to Test –>Administer Test Controllers.  The click the ellipse (…) to set your connection string.

image

Now that you have a database and your connection string set,you can use the database storage type.

image

Can't open a Visual Studio test project

The test tools in Visual Studio can help you stress test your application.  The only problem is that they are not included with the regular developer edition of Visual Studio.  So if have the wrong version installed you need to uninstall and reinstall a version that does have those project types (like Team Suite).

What I found though was after you uninstalled and reinstalled you were not able to open/create test projects. 

The project types were there, but you receive an error:  The following project languages must be installed C#, C++, VB.NET (or something like that).  Everything else will work, but the test project template.

What you have to do in go to Control Panel –> Programs and Features (or add/remove programs) and do a Repair/Reinstall on your install of Visual Studio.
After that finishes you can now open/create test projects.

image

PerfomancePoint Server 2007, want to create dimensions from a csv file

When you create dimensions in PerformancePoint Server you have an option to create a dimension from a csv file.

This sounds like a great way to kick start your dimensions because you can take a csv file with data and upload it to create a dimension and  have it populated with some data.

Great idea, but only if you know the format of the csv file.
The first 2 rows are header records that must be there to define the dimension and hierarchy before you list the column headers.

See the screen shot below.

image
If you have data, go ahead and add it in, so you create the dimension you can also have it import your data to give you a head start.

PerformancePoint Server 2007, why can't I synchronize dimensions/models

If you create an application in Performance Point and start creating dimensions/models and you notice Synchronize all dimensions to Staging Area.. is grayed out, you wonder what it is going on. The problem is that your user is not in the Modeler Role. Once your user is added to the role you will have no problem synchronizing. I find this to be weird behavior since you just created the application (and app and staging database). I would assume you be in the correct role to synchronize by default, but apparently that is not the case. This through me for a loop because I was able to open other applications that I created and would have no trouble synchronizing. I have to dig through the PerformancePoint Server Operations Guide.

 

I do also have SP3 installed.

Tweet from Outlook

Outlook is the one application I have open all day long.  I don’t like most twitter apps.

So I was happy to find an add-in for outlook that will tweet for you.  It can stuff all your new tweets in a folder (or your inbox) and you can save everything you tweet in a folder (like sent mail)

If puts a new toolbar in Outlook.

image

 

 

Here is the link

http://www.techhit.com/TwInbox/twitter_plugin_outlook.html

Compress you CSS

A great way to help with performance of your website is to compress (or minify) your CSS and javascript. Removing spaces, comments, etc will shrink the size of your files which will decrease the payload of your page.  Usually the larger your site the larger your CSS will be.

The only disadvantage to compress your CSS is maintenance (since your entire CSS file ends up on one line it’s difficult to read/maintain).My approach to this is to have 2 CSS files in your project, one compressed and the other not.  I have my code reference the compressed file.  When changes are needed I update the non-compressed file, recompress, copy and paste the results over the compressed file.

Of course you only need to compress your CSS files when you move to production.

Here is a link to site that will compress your CSS

http://www.lotterypost.com/css-compress.aspx

They have a link that will compress your javascript using YUI compressor or Microsoft Ajax Minifier.

 

 

Track Changes to objects in your database

Ever have the need to be able to track changes to the objects in your database? This code sample was provided by a friend, Josh Shilling. It provides you with a change log on your database. This will be helpful in multi developer environments when you think someone made a change to your database, but you don’t know what changes were made. So you can run Select * from dbversion.ChangeLog to see what changes have been to your db objects. I had a hard time getting the image of the results to show. image
GO
/****** Object: Table [DBVersion].[ChangeLog] ******/
SET
ANSI_NULLS ON
GO
SET
QUOTED_IDENTIFIER ON
GO
SET
ANSI_PADDING ON
GO
CREATE
TABLE [DBVersion].[ChangeLog](
[LogId] [bigint] IDENTITY(1,1) NOT NULL,
[DatabaseName] [nvarchar](256) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[EventType] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[ObjectName] [varchar](256) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[ObjectType] [nvarchar](25) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[SqlCommand] [nvarchar](max) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[EventDate] [datetime] NOT NULL DEFAULT (getutcdate()),
[LoginName] [nvarchar](256) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
PRIMARY
KEY NONCLUSTERED
(
[LogId] ASC
)
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, _DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
)
ON [PRIMARY]
GO
SET
ANSI_PADDING OFF
--Trigger
GO
/****** Object: DdlTrigger [ddltrg_ObjectRevisionHistory] ******/
SET
ANSI_NULLS ON
GO
SET
QUOTED_IDENTIFIER ON
GO
CREATE
TRIGGER [ddltrg_ObjectRevisionHistory]
ON
database
FOR
CREATE_PROCEDURE, ALTER_PROCEDURE, DROP_PROCEDURE,
CREATE_TABLE
, ALTER_TABLE, DROP_TABLE, CREATE_FUNCTION, ALTER_FUNCTION, DROP_FUNCTION,
CREATE_INDEX
, ALTER_INDEX, DROP_INDEX, CREATE_TRIGGER, ALTER_TRIGGER, DROP_TRIGGER,
CREATE_STATISTICS
, DROP_STATISTICS, UPDATE_STATISTICS, CREATE_SCHEMA, ALTER_SCHEMA,
DROP_SCHEMA
, GRANT_DATABASE, DENY_DATABASE, REVOKE_DATABASE, CREATE_USER, ALTER_USER,
DROP_USER
, CREATE_VIEW, ALTER_VIEW, DROP_VIEW
as
BEGIN
SET NOCOUNT ON
DECLARE @data XML
SET @data = EVENTDATA()
INSERT INTO DBVersion.ChangeLog
(databasename, eventtype, objectname, objecttype, sqlcommand, loginname)
VALUES
(
@data
.value('(/EVENT_INSTANCE/DatabaseName)[1]', 'varchar(256)'),
@data
.value('(/EVENT_INSTANCE/EventType)[1]', 'varchar(50)'),
@data
.value('(/EVENT_INSTANCE/ObjectName)[1]', 'varchar(256)'),
@data
.value('(/EVENT_INSTANCE/ObjectType)[1]', 'varchar(25)'),
@data
.value('(/EVENT_INSTANCE/TSQLCommand)[1]', 'varchar(max)'),
@data
.value('(/EVENT_INSTANCE/LoginName)[1]', 'varchar(256)')
)
END
GO
SET
ANSI_NULLS OFF
GO
SET
QUOTED_IDENTIFIER OFF
GO
ENABLE
TRIGGER [ddltrg_ObjectRevisionHistory] ON DATABASE

 

Visual Studio 2008 web test recorder not working on 64-bit

The load test in Visual Studio are a great help to stress/performance test you applications.  With the web test you “should” be able to record actions as you use your application.  When you add a web test IE starts and there should be recorder bar on the left.

image

When ever I created a web test I never saw the web test recorder bar show up.  I didn’t even know I was missing it.  So, I was never able to get to do anything besides record that you launched a page which helps you test page load time, but doesn’t help you when your trying to determine the response time when clicking a button on your page.

After a little research (little as in there are few articles explaining this problem), I found a blog post explaining why the web test recorder not working.  It turns out to be a 64-bit issue.  There are some registry keys that need to be deleted, so IE will rebuild what explorer bars are available.

Here is the link to the article.

http://weblogs.asp.net/jdanforth/archive/2009/09/05/visual-studio-2008-web-test-not-recording-on-64-bit-windows-7.aspx

The short version is close all IE’s, run regedit, then delete the following keys

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\
Discardable\PostSetup\Component Categories\{00021493-0000-0000-C000-000000000046}
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\
Discardable\PostSetup\Component Categories\{00021494-0000-0000-C000-000000000046}

SharePoint error in Event Log

If you notice the following error in the event, there is a simple fix.

The Execute method of job definition Microsoft.Office.Server.Administration.ApplicationServerAdministrationServiceJob (ID c7f87cbb-e67d-44a2-9061-5321094aa81e) threw an exception. More information is included below.

 

Open Com Services and check the permissions on OSearch and IIS Admin Services.
The WPG group need to have permissions on Local Launch and Local Activate.

TFS 2008 get latest version automatically

When using  the Visual Studio integration for TFS 2008, you will notice that the latest version will not be retrieved when you start making changes to a file.

There is an option that you need to have an option.  To get to this option perform the following steps:

Launch Visual Studio 2008

Click Tools->Options

Expand the Source Control section

Click on Visual Studio Team Foundation Server

Ensure that the Get Latest version of item on check out is checked.

Now when you check out a file if you don’t have the latest version, it will prompt that you don’t and fetch it for you.

So you want to blog on ASP.NET

When I first started blogging I wanted to blog on asp.net.  I have a friend who already blog’s on asp.net (David Mccollough) and I asked him what the steps were (because they are not on asp.net).

Here is what he told me.

Well it’s a multistep process.

1st you have to create an account to be able to login, which I assume you have already done.

2nd you have to read the terms of use here.  http://www.microsoft.com/info/cpyright.mspx. By the way there is nothing you have to sign here, unless they have changed it. I was kinda of confused at first, because I was looking for some way of saying that I had read them.

3rd Then you have to send an email to Joe Stagner, here is the link for that: http://www.misfitgeek.com/Email.aspx Make sure you tell him that you agree to the terms of use that you read in step 2, you also have to send him your username from step 1. I think I also included who I was, who I worked for and that I had a desire to contribute to the .NET community.

4th Before you first post you need to read this: http://www.misfitgeek.com/WeblogsaspnetNewBloggerFeedGrowth.aspx

Here is the original link to his blog post that outlines the process: http://www.misfitgeek.com/2008/06/16/JoinUsWithABlogOnWeblogsaspnet.aspx

SharePoint Error tab in navigation

If you notice your navigation has gone away and you have a tab called “Error:”, you have a problem.  You may also notice that authenticated users can’t navigate your site.

This is caused when you have setup the Site Collection output cache with “Page Layouts can use a different page output cache profile”.

Here is an another article explaining this problem in more detail.

http://www.sharepoint-tips.com/2007/09/wrokaround-error-in-navigation-when.html

What does that PerformancePoint error code mean

When you validating your label tables in PerformanePoint, any errors are reported by  their error codes (ex 930).

If you would like a little more detail about what the error codes mean, then check out the dbo.SystemErrorDetails table.

It contains a list of error codes and descriptions. 

This was a big help for me to determine what I doing wrong when trying to validate my data.

SSIS Error using a stored proc as source

SSIS is a great tool to move data around.  Sometimes it’s easier to use a stored proc to pull together some data before you do stuff with it.

To use a stored procedure you can use an OLE DB source (in a Data Flow task) SQL command.

Works great, but if it doesn’t and you get the error code 0xC02092B4, you will have to add to your stored procedure.

Just add the following 2 lines to the top of your stored procedure:

SET NOCOUNT ON
SET FMTONLY OFF

This will clear up the metadata issues with SSIS trying to understand what your stored procedures outputs.

So you want to retrieve your test results?

When you create a test project in Visual Studio, you can load test your application, but you won’t be able to save/view results without a storage type set to database.  You can check your storage type by checking the properties on the Run Settings. (if you set it to none, you will be able run the test)

image

By default you do not have a database to store the results of you load test.  (Why your not asked during installation to create one is beyond me).

You need to run the SQLscript to create the LoadTest database.

Here is the path to the script C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\loadtestresultsrepository.sql

You will also need to set your connection string.  You need to go to Test –>Administer Test Controllers.  The click the ellipse (…) to set your connection string.

image

Now that you have a database and your connection string set,you can use the database storage type.

image

Browser Compatibility Check for IE versions

When doing web development you rarely have a one browser to support.  Having to test with multiple browsers is hard and even more difficult with different versions of the same browsers.  Now there is a solution for different versions of IE.  I used to keep different VM’s with different versions of IE.  That was quite a pain.

There is now a tool that will allow you to view you web pages in different versions of IE (5.5, 6, 7, and 8).