Wednesday, 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

Sunday, 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

Wednesday, 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.

Thursday, March 05, 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.

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.

Tuesday, March 03, 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

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