Tuesday, October 20, 2009

BizTalk Error: Project Creation Failed

Post from: http://blogs.msdn.com/kerreybpi/archive/2009/05/12/biztalk-error-project-creation-failed.aspx


The error message appears on the status bar when you try to add a BizTalk 2009 project in Visual Studio 2008.
Error Details: “Create BizTalk Project …. Project Creation Failed”

This problem may occur after you applied SP1 for VS.


Browse to the installation folder of BizTalk 2009, run setup.exe, and choose “Repair” button, after that, you will work out the issue.

Wednesday, October 14, 2009

Error when using Upload File or New Data Source option in Report Manager

Post from: http://social.msdn.microsoft.com/forums/en-US/sqlreportingservices/thread/af7650a8-148c-455e-99f3-3384b073e66f/

I have just installed SQL Server 2008 and am having problems using Report Manager. Initially, I had problems accessing Report Manager so I removed the SSL identifies on both the web service and report manager website using the configuration manager.

This solved the problem of accessing Report Manager. However, if I now click on either the "Upload File" or "New Data Source" buttons in Report Manager I get the following error:

"Internet explorer cannot display the webpage".


Go to: C:\Program Files\Microsoft SQL Server\MSRS10.SQL2008\Reporting Services\ReportServer
Open: rsreportserver.config
Set value of "SecureConnectionLevel" to 0 (zero);
Restart your Report Server.

Saturday, October 10, 2009

Rebuild master DB SQL Server 2008

1. From a command prompt window change to the following directory:

"C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Release"

2. Next paste the following into the command prompt window and press “Enter”:

Setup.Exe /Action=RebuildDatabase /InstanceName=MSSQLSERVER /SqlSysAdminAccounts=Admin /Quiet

If you have SQL configured for Mixed Authentication Mode use the same syntax except you must also provide the /SAPWD parameter to specify the SA password. If you don't, you will get an error.

Thursday, October 1, 2009

JavaScript in C#

Page.ClientScript.RegisterStartupScript(GetType(), "hideWatermark", "<script type="\">function hideWatermark(element){ if (element.value == 'Fill to change display name') { element.value = ''; } element.style.color = 'black'; }</script>");

control.Attributes.Add("onfocus", "javascript:hideWatermark(this)");