Archive for May, 2008
How to disable the navigation of top level asp.net menu element
As I am working on development of menu for the asp.net application , The scenario is like
Employee -> Add -> Edit -> View
Project -> Add ->Edit ->View
When the Employee was being clicked , the above set was duplicated as I was able to see as follows
Employee -> Add -> Edit -> View
Project -> Add ->Edit [...]
Posted: May 28th, 2008 under Uncategorized.
Tags: asp.net, menu
Comments: none
sql server System.Data.SqlClient.SqlError: Directory lookup for the file access is denied
I searched online to find the solution for the above error , I was trying to restore a sql server filename.bkp file to my sql server 2005.
The resolution is pretty simple , go to the directory C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data ,
add the users group with full control and then retry, you are through.
Thanks!
Posted: May 27th, 2008 under Uncategorized.
Tags: backup, sql server 2005
Comments: none
Site collection features installation
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\>cd C:\Program Files\Common Files\Microso
ft Shared\web server extensions\12\BIN
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsa
dm -o uninstallfeature -name CustomMasterPages
Operation completed successfully.
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsa
dm -o installfeature -name CustomMasterPages
Operation completed successfully.
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsa
dm -o uninstallfeature -name CustomMasterPages
The feature with ID ‘b50d1476-3faf-49fd-a980-3fd66927e622′ is still activated wi
thin this farm [...]
Posted: May 23rd, 2008 under Uncategorized.
Tags: Master Pages, MOSS
Comments: none
MOSS Installation and configuration
I was able to install MOSS on win 2003 server R2 with service pack2 , I am on the way to configure the same .. I download the trial version officeserver.exe which is around 240 MB from the Microsoft’s website. before running the setup make sure you have .net 3.0 frame work installed and [...]
Posted: May 20th, 2008 under Uncategorized.
Comments: none
Facts about correlation sets, correlation types and convoys
The correlation set can have a maximum of three properties used for correlation on the receive shapes.
The parallel and sequential convoy can exist in the same process but they should have different correlation sets.
For ordered delivery of messages use sequential convoys with ordered delivery set to true on the receive port.
A correlation set is a [...]
Posted: May 17th, 2008 under Uncategorized.
Tags: correlation sets, correlation types and convoys
Comments: none
Enterprise library how to pass parameters dynamically
I’ve found a pretty good way to accomplish the task of passing stored procedure parameters dynamically to the function
In calling program use the following to call the function
static void Main(string[] args)
{
datatype variable= functionName ( string storedProcName, new object[] {”value1″,”value2″})
// can even pass new object[] {} for no parameters
}
called function details
static int functionName(string storedProcedureName, params object[] [...]
Posted: May 15th, 2008 under Uncategorized.
Tags: Enterprise library, parameters, stored procedures
Comments: none
Embedding charts in SSRS tables
I have found a good way of embedding charts in the SSRS tables. create a group by clicking on the details row of the table and drag and drop the chart on the column where you want to display.
Drag the columns containing the integer data from the dataset onto the data field of the chart [...]
Posted: May 14th, 2008 under Uncategorized.
Tags: charts, SSRS
Comments: none
The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing.
When I try to connect Sql Server reporting services to display reports at home, I frequently encounter such errors. The Sql Server doesn’t get initialized on it own.Please find the snap shot captured from the reporting services configuration tool.
Resolution: in short reconnect the database
click on database setup (above Initialization) -> input the server name, database [...]
Posted: May 12th, 2008 under Uncategorized.
Tags: SSRS
Comments: none
Microsoft.Reporting.WebForms.AspNetSessionExpiredException: ASP.NET session has expired
I was trying to display the SSRS Reports on the sharepoint and I encountered this error.
The resolution for the above error is to set the AsyncRendering property of the ReportViewer control to False
Posted: May 12th, 2008 under Uncategorized.
Comments: none
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Check the sql server connection string, you will encounter this error if there is a typo/ flaw in the connection string section of the web.config. I encountered the above error when there was a duplication data source entry.
Posted: May 10th, 2008 under Uncategorized.
Comments: none