Dear Developers/All:
Many of you have already heard about the terms "tight coupling", "loose coupling" and "cohesion", i did too and while reading in the MSDN magazine i found very interesting article about this topic and would like to share it with you and hope you will find it useful when designing your code and i am sure it is.
Check it out @: http://msdn.microsoft.com/en-us/magazine/cc947917.aspx
Regards,
Hamzeh Ayesh
Tuesday, October 28, 2008
Thursday, October 23, 2008
Is SOA a Product?
HI All,
Many of us hear about SOA, some of them are experts in that domain but the majority wonder is SOA (Service Oriented Architecture) a product that we can buy or what is it exactly. I have read very useful article and simple one and would like to share it with you, it explains about SOA in a simple way that will let you understand what is SOA when you discuss this with any IT professional.
Check it out at http://www.microsoft.com/soa/about/faq.aspx#bpmfaq
Regards,
Hamzeh Ayesh
Many of us hear about SOA, some of them are experts in that domain but the majority wonder is SOA (Service Oriented Architecture) a product that we can buy or what is it exactly. I have read very useful article and simple one and would like to share it with you, it explains about SOA in a simple way that will let you understand what is SOA when you discuss this with any IT professional.
Check it out at http://www.microsoft.com/soa/about/faq.aspx#bpmfaq
Regards,
Hamzeh Ayesh
Sunday, October 19, 2008
Microsoft Learning Snacks
Hi all:
Check out the MS learning snacks @ http://www.microsoft.com/learning/snacks/default.mspx which includes free presentations for the latest technologies.
Regards,
Hamzeh Ayesh
Check out the MS learning snacks @ http://www.microsoft.com/learning/snacks/default.mspx which includes free presentations for the latest technologies.
Regards,
Hamzeh Ayesh
Monday, September 22, 2008
Video Streaming in SharePoint 2007/Media Player in SharePoint 2007
The idea came that I need to do video streaming in SharePoint 2007, I did small research and found 2 ways to do such a thing:
Method1:
1. Add Content Editor Web Part into your page.
2. Edit the properties of the web part.
3. Click the “Source Editor”
4. Simply copy and paste this code:
<\OBJECT id="VIDEO" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject">
<\PARAM NAME="URL" VALUE="http://sitename:42875/Documents/CocaCola-Jump.wmv">
<\PARAM NAME="animationatStart" VALUE="true">
<\PARAM NAME="transparentatStart" VALUE="true">
<\PARAM NAME="SendPlayStateChangeEvents" VALUE="True">
<\PARAM NAME="AutoStart" VALUE="false">
<\PARAM name="uiMode" value="mini">
<\PARAM name="AutoRewind" value="true">
<\param name=enableContextMenu value=false>
<\OBJECT>
Explanation: the idea behind this code is simply you create an object with a classid that indicates windows media player version 7. This code will create an embedded instance of windows media player and plays the video you uploaded in your document library.
Method2: Media Player Web Part
It’s a readymade media player web part that runs an instance of windows media player and plays all the type of files the player can play, and the credit for this web part goes to the owner who built it as you will see in the link.
1. Download the web part from this link: http://www.sharepointblogs.com/files/folders/ajp/entry3059.aspx
2. Copy the mediaplayerwebpart.dll to the bin folder of your MOSS web site.
3. Open the web.config of your site and add SafeControl entry like this: <\SafeControl Assembly="MediaPlayerWebPart, version=1.0.0.0, Culture=neutral, PublicKeyToken=4907dffeafb11512" Namespace="NFWebParts" TypeName="*" Safe="True" />
4. Inside your site, go to Site Actions > Site Settings > Modify All Site Settings > Gallery > Web Parts
5. Click New > select the media player web part > populate gallery
6. Now your web part is there, you can use it in any page and play videos
Hope this article was useful for all.
Regards,
Hamzeh Ayesh
Method1:
1. Add Content Editor Web Part into your page.
2. Edit the properties of the web part.
3. Click the “Source Editor”
4. Simply copy and paste this code:
<\OBJECT id="VIDEO" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject">
<\PARAM NAME="URL" VALUE="http://sitename:42875/Documents/CocaCola-Jump.wmv">
<\PARAM NAME="animationatStart" VALUE="true">
<\PARAM NAME="transparentatStart" VALUE="true">
<\PARAM NAME="SendPlayStateChangeEvents" VALUE="True">
<\PARAM NAME="AutoStart" VALUE="false">
<\PARAM name="uiMode" value="mini">
<\PARAM name="AutoRewind" value="true">
<\param name=enableContextMenu value=false>
<\OBJECT>
Explanation: the idea behind this code is simply you create an object with a classid that indicates windows media player version 7. This code will create an embedded instance of windows media player and plays the video you uploaded in your document library.
Method2: Media Player Web Part
It’s a readymade media player web part that runs an instance of windows media player and plays all the type of files the player can play, and the credit for this web part goes to the owner who built it as you will see in the link.
1. Download the web part from this link: http://www.sharepointblogs.com/files/folders/ajp/entry3059.aspx
2. Copy the mediaplayerwebpart.dll to the bin folder of your MOSS web site.
3. Open the web.config of your site and add SafeControl entry like this: <\SafeControl Assembly="MediaPlayerWebPart, version=1.0.0.0, Culture=neutral, PublicKeyToken=4907dffeafb11512" Namespace="NFWebParts" TypeName="*" Safe="True" />
4. Inside your site, go to Site Actions > Site Settings > Modify All Site Settings > Gallery > Web Parts
5. Click New > select the media player web part > populate gallery
6. Now your web part is there, you can use it in any page and play videos
Hope this article was useful for all.
Regards,
Hamzeh Ayesh
form submission exceeded the maximum length error message when you upload a file to your Windows SharePoint Services Web site
Problem:
I was trying to upload a file of a 50 MB size in a SharePoint document library and I got this error due to exceeding the maximum allowed file size: “Unhandled Exception: Microsoft.SharePoint.SPException: The form submission cannot be processed because it exceeded the maximum length allowed by the Web administrator. Please resubmit the form with less data”.
Cause:
This problem happened due to exceeding the maximum upload size limit.
Resolution:
You can resolve this problem by raising the max allowed upload limit in one of 2 ways:
First method:
1. Go to SharePoint Central Administration.
2. Go to ” Application Management”.
3. Then go to “Web Application General Settings”
4. Go to the property “Maximum Upload Size” and change the max upload size to whatever you want.
Second method:
This way I found it in the web but personally it didn’t work with me but you can try it also and see if it reflect .
1. Go to your web.config file of your SharePoint site.
2. Change the value of the property maxRequestLength to whatever size you prefer as: <\httpRuntime maxRequestLength="51200" />
Regards,
Hamzeh Ayesh
I was trying to upload a file of a 50 MB size in a SharePoint document library and I got this error due to exceeding the maximum allowed file size: “Unhandled Exception: Microsoft.SharePoint.SPException: The form submission cannot be processed because it exceeded the maximum length allowed by the Web administrator. Please resubmit the form with less data”.
Cause:
This problem happened due to exceeding the maximum upload size limit.
Resolution:
You can resolve this problem by raising the max allowed upload limit in one of 2 ways:
First method:
1. Go to SharePoint Central Administration.
2. Go to ” Application Management”.
3. Then go to “Web Application General Settings”
4. Go to the property “Maximum Upload Size” and change the max upload size to whatever you want.
Second method:
This way I found it in the web but personally it didn’t work with me but you can try it also and see if it reflect .
1. Go to your web.config file of your SharePoint site.
2. Change the value of the property maxRequestLength to whatever size you prefer as: <\httpRuntime maxRequestLength="51200" />
Regards,
Hamzeh Ayesh
Thursday, September 11, 2008
The service did not respond to the start or control request in a timely fashion, you need administrator privileges to be able to start the service
Problem:
I was trying to access my SharePoint site and it wasn’t opening, I found that the SQL Server services was not running and when I tried to run it, it failed and generated the error: “The service did not respond to the start or control request in a timely fashion, you need administrator privileges to be able to start/stop this service. (SQLSAC)”
Cause:
I have searched the even log and found the error: “The file "C:\Program Files\Microsoft SQL Server\MSSQL.3\MSSQL\DATA\mastlog.ldf" is compressed but does not reside in a read-only database or file group. The file must be decompressed.” I did search the web and found that the cause of such error happens because all the files related to the SQL under the path “C:\Program Files\Microsoft SQL Server\MSSQL.3\MSSQL\DATA\” was all compressed. This could happen due to many reasons but in my case it happened because I run the windows disk cleanup tool to clean temporary and unused files and this service compressed few files and part of them was the SQL data files.
Resolution:
Simply go to the path “C:\Program Files\Microsoft SQL Server\MSSQL.3\MSSQL\DATA\” or any other reported paths, then right click the file and remove the compressed property then try to run the service again and it will work smoothly.
I guess it’s an interesting one and hope this helps too.
Regards,
Hamzeh Ayesh
I was trying to access my SharePoint site and it wasn’t opening, I found that the SQL Server services was not running and when I tried to run it, it failed and generated the error: “The service did not respond to the start or control request in a timely fashion, you need administrator privileges to be able to start/stop this service. (SQLSAC)”
Cause:
I have searched the even log and found the error: “The file "C:\Program Files\Microsoft SQL Server\MSSQL.3\MSSQL\DATA\mastlog.ldf" is compressed but does not reside in a read-only database or file group. The file must be decompressed.” I did search the web and found that the cause of such error happens because all the files related to the SQL under the path “C:\Program Files\Microsoft SQL Server\MSSQL.3\MSSQL\DATA\” was all compressed. This could happen due to many reasons but in my case it happened because I run the windows disk cleanup tool to clean temporary and unused files and this service compressed few files and part of them was the SQL data files.
Resolution:
Simply go to the path “C:\Program Files\Microsoft SQL Server\MSSQL.3\MSSQL\DATA\” or any other reported paths, then right click the file and remove the compressed property then try to run the service again and it will work smoothly.
I guess it’s an interesting one and hope this helps too.
Regards,
Hamzeh Ayesh
Thursday, August 21, 2008
The service did not respond to the start or control request in a timely fashion, you need administrator privileges to be able to start/stop service
Problem:
I was trying to run the SQL 2005 service but it failed and generated the error: “The service did not respond to the start or control request in a timely fashion, you need administrator privileges to be able to start/stop this service. (SQLSAC)”
Cause:
I have searched the even log and found the error: “The file "C:\Program Files\Microsoft SQL Server\MSSQL.3\MSSQL\DATA\mastlog.ldf" is compressed but does not reside in a read-only database or file group. The file must be decompressed.” I did search the web and found that the cause of such error happens because all the files related to the SQL under the path “C:\Program Files\Microsoft SQL Server\MSSQL.3\MSSQL\DATA\” was all compressed. This could happen due to many reasons but in my case it happened because I run the windows disk cleanup to clean temporary and unused files and this service compressed few files and part of them was the SQL data files.
Resolution:
Simply go to the path “C:\Program Files\Microsoft SQL Server\MSSQL.3\MSSQL\DATA\” or any other reported path, then right click and remove the compressed property then try to run the service again and it will work smoothly.
I guess it’s an interesting one and hope this helps too.
Regards,
Hamzeh Ayesh
I was trying to run the SQL 2005 service but it failed and generated the error: “The service did not respond to the start or control request in a timely fashion, you need administrator privileges to be able to start/stop this service. (SQLSAC)”
Cause:
I have searched the even log and found the error: “The file "C:\Program Files\Microsoft SQL Server\MSSQL.3\MSSQL\DATA\mastlog.ldf" is compressed but does not reside in a read-only database or file group. The file must be decompressed.” I did search the web and found that the cause of such error happens because all the files related to the SQL under the path “C:\Program Files\Microsoft SQL Server\MSSQL.3\MSSQL\DATA\” was all compressed. This could happen due to many reasons but in my case it happened because I run the windows disk cleanup to clean temporary and unused files and this service compressed few files and part of them was the SQL data files.
Resolution:
Simply go to the path “C:\Program Files\Microsoft SQL Server\MSSQL.3\MSSQL\DATA\” or any other reported path, then right click and remove the compressed property then try to run the service again and it will work smoothly.
I guess it’s an interesting one and hope this helps too.
Regards,
Hamzeh Ayesh
Subscribe to:
Posts (Atom)