Archive for March, 2009

March 18, 2009

Flash Movie overlaps the DNN Menu

When you inserted a flash movie in a Dotnetnuke Text/HTML content pane, the menu used to hidden on top of that inserted flash object. for that you have to add a parameter <param name=””wmode”” value=””transparent”” /> in code behind and insert the wmode=”transparent” entry in the embed tag as below :

<p><param name="”wmode”" value="”transparent”" />
<embed menu="false" loop="true" play="true"
type="application/x-shockwave-flash" width="636"
src="/DNNSite/Portals/0/SafatImages/safat_a.swf"
wmode="transparent"
pluginspage="http://www.macromedia.com/go/getflashplayer"
style="width: 636px; height: 133px">
</embed></p>

finally the page should look like this :

image002

.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, “Courier New”, courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }

.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, “Courier New”, courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060;

Advertisements
March 15, 2009

Failed to retrieve data for this request Microsoft.Sqlserver.SmoEnum

when i tried to expand the MSDB folder in SQL 2005 Integration Services i got the following error.

“Failed to retrieve data for this request. Microsoft.Sqlserver.SmoEnum”

SQLIntergratoinServices

without any problem Management Studio successfully connects to the Notification Services and was sure too that i have allowed remote connections via named pipes and TCP/IP. But 😦 when i tried to expand the MSDB folder i m getting that error. so i was thinking and trying to find a solution for this.

finally, Hurrah!

the solution is to update a configuration file with the proper servername\instancename.

you have to update the MsDtsSrvr.ini.xml located in the path : C:\Program Files\Microsoft SQL Server\90\DTS\Binn\ MsDtsSrvr.ini.xml as below :

Original file without the modification :

<?xml version=”1.0″ encoding=”utf-8″?>
<DtsServiceConfiguration xmlns:xsd=”http://www.w3.org/2001/XMLSchema” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”>
<StopExecutingPackagesOnShutdown>true

</StopExecutingPackagesOnShutdown>
<TopLevelFolders>
<Folder xsi:type=”SqlServerFolder”>
<Name>MSDB</Name>
<ServerName>.</ServerName>
</Folder>
<Folder xsi:type=”FileSystemFolder”>
<Name>File System</Name>
<StorePath>..\Packages</StorePath>
</Folder>
</TopLevelFolders>
</DtsServiceConfiguration>

file with the updated values :

<?xml version=”1.0″ encoding=”utf-8″?>
<DtsServiceConfiguration xmlns:xsd=”http://www.w3.org/2001/XMLSchema” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”>
<StopExecutingPackagesOnShutdown>true

</StopExecutingPackagesOnShutdown>
<TopLevelFolders>
<Folder xsi:type=”SqlServerFolder”>
<Name>MSDB</Name> <ServerName>MACHINENAME\SQLINSTANCENAME</ServerName>
</Folder>
<Folder xsi:type=”FileSystemFolder”>
<Name>File System</Name>
<StorePath>..\Packages</StorePath>
</Folder>
</TopLevelFolders>
</DtsServiceConfiguration>

more details :

http://msdn.microsoft.com/en-us/library/ms137789(SQL.90).aspx

March 11, 2009

The SPPersistedObject, PolicyConfigService Name=PolicyConfigService Parent=SPFarm Name=SharePoint_Config, could not be updated because the current use

when i was creating a Records Center in MOSS 2007, suddenly i had to encount for an error :

03/11/2009 10:44:59.45 w3wp.exe (0x0D44) 0x0D3C Windows SharePoint Services Topology 8dyu High The SPPersistedObject, PolicyConfigService Name=PolicyConfigService Parent=SPFarm Name=SharePoint_Config, could not be updated because the current user is not a Farm Administrator.

so the workaround for this error is :

  1. Select you Web Site under Application Pools
  2. Right click => select properties
  3. Go to Identity tab and change the User Credentials to the same credentials that is being used to login to the Sharepoint Central Administration site.
  4. Dont forget to do a iisreset.
March 5, 2009

How To Debug WebParts in VS 2008

If we need to debug a WebPart which is being integrated into Sharepoint Website then have to modify the existing values in web.config as below :

<customErrors mode=“Off” />

<compilation batch=”false” debug=”true“>

Once the web.config is updated then you can directly set a breakpoint in your webpart source code and can debug in a Visual Studio environment.

1. Open your web part solution in VS 2008
2. Open Moss site or Web part page in a IE (Web Browser)
3. Place a Breakpoint in your code
4. Select Attach to Process from the DEBUG menu from the VS.
5. From the available process list select “w3wp.exe” & click on attached button.

March 5, 2009

This solution contains two assemblies with the same name, or the SharePoint server already has an assembly with the specified name.

if you prompted for an error “This solution contains two assemblies with the same name, or the SharePoint server already has an assembly with the specified name.” at the time of deploying a custom web part or any component in sharepoint as the solution you have to do this :

See if the feature (webpart, lists, etc) that you’re trying to add still exists in the “C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES” path. if its then remove and try to deploy it again.

March 3, 2009

Configuring Microsoft CRM 4.0 in Windows 2003 Server

As i have promised earlier i thought to post you the steps to install the Microsoft CRM 4.0 in Windows 2003 Server. The installation task used to kick of by running the setup file as the usual routine and follow the screen shots as depicted below to complete the installation task.

clip_image002

clip_image004

clip_image006

clip_image008

clip_image010

clip_image012

clip_image014

clip_image016

Enter the Licensing Keys in above text boxes.

clip_image018

Accept the Terms & Conditions.

clip_image020

clip_image022

clip_image022[1]

clip_image024

Enter the name of the SQL Server 2005.

clip_image026

clip_image028

clip_image030

clip_image032

clip_image034

clip_image036

clip_image038

clip_image040

clip_image042

if you didn’t select a Email router server name then the installation wizard prompts you for the following dialog box.

clip_image044

clip_image046

clip_image048

clip_image050

clip_image052

clip_image054

Successfully installed CRM in the machine and its on Live.

clip_image056

March 3, 2009

Configuring Windows 2003 Active Directory

After completion of the steps as i have described in my previous post “Configuring the Windows 2003 DNS Server” you can run the “dcpromo” command to start installing the Active Directory in your Windows 2003 Server.

clip_image002

clip_image004

clip_image006

clip_image008

clip_image010

clip_image012

Enter the full DNS name of the new domain, for example – marketing.mycompany.com – this must be the same as the DNS zone that you have created in the previous post “Configuring the Windows 2003 DNS Server” at the time of configuring the DNS.

clip_image014

clip_image016

clip_image018

clip_image020

clip_image022

clip_image024

clip_image026

clip_image028

clip_image030

clip_image032

clip_image034

clip_image036

clip_image038

image

March 3, 2009

Configuring the Windows 2003 DNS Server

i thought to share the experience of installing a DNS in Windows Server 2003. As the starting point you have to install the DNS Services from the Windows Components.

The path you have to follow is this :

Start => Settings => Control Panel => Administrative Tools => Add/Remove Programs => Add/Remove Windows Components.

After that select Networking Services and click Details. Make sure to click Domain Name System (DNS) and click OK.

Once you finished installing the DNS via the Administrative Tools you can find the DNS Manager snap in as depicted below.

clip_image002

clip_image004

clip_image006

1. Creating a Forward Lookup Zone (please follow the screens one by one)

clip_image008

clip_image010

clip_image012

clip_image014

clip_image016

clip_image018

2. Creating a Reverse Lookup Zone (please follow the screens one by one).

clip_image020

clip_image022

clip_image024

clip_image026

clip_image016[1]

clip_image028

clip_image030

March 2, 2009

The instance name must be the same as computer name.

when you changed the Computer Name when there is already a SQL Server 2005 instance running (exists) in your system, then you may have to face “The instance name must be the same as computer name” at the time of installing the Microsoft CRM 4.0 Server.

As the solution you have to make sure the exact name of the SQL Server instance running in your computer. for that execute the following command in Query Analyzer :

select @@Servername

if the above commands gives you the output as the old server name

Then execute the following command:

sp_dropserver ‘old_sql_server_instance_name’, ‘droplogins’
GO
sp_addserver ‘new_sql_server_instance_name’, ‘local’
GO

March 1, 2009

Successfully Installed the Microsoft CRM 4.0 Server

After sometime of struggle to install DNS (Domain Name Server) and the AD (Active Directory) i was able to install the Microsoft CRM 4.0 in my machine successfully. I am planning to update you guyz with screen shots in due course.

The summary of the CRM installation is :

  • OS should be a Server Operating System (Win 2003/2008)
  • Install & Configure the Domain Name Server
  • Install & Configure the Active Directory
  • Install Microsoft Dynamics CRM 4.0

CRM in Action :

untitled

March 1, 2009

The report server cannot decrypt the symmetric key used to access sensitive or encrypted data in a report server database.

Ooops what is this error!!!

when i was configuring MS SQL Reporting Services 2005 on the way to installing Microsoft CRM Server i had to encounter for the error:

"The report server cannot decrypt the symmetric key used to access sensitive or encrypted data in a report server database. You must either restore a backup key or delete all encrypted content. Check the documentation for more information. (rsReportServerDisabled) (rsRPCError)"

the solution for that error is to delete the Encryption Key in the Reporting Services Configuration.

the step is :

Start => Programs => Microsoft SQL Server2005 => Configuration Tools => Reporting Services Configuration => Encryption Keys.

SQLReporting