harry 4/1/2009 18:52 | pls can you show me the path to the web config to place those .dll,
becos i drop it at C:\Inetpub\wwwroot\wss\VirtualDirectories\80 and it did not work error message " unable to add selected web part(s).
digital clock: A web part or web form control on this page cannot be displayed or imported. the is not registered as safe.
thanks |
|
Juerg 4/2/2009 09:40 | The correct path to put the DLL (for a typical default Sharepoint installation) is
C:\Inetpub\wwwroot\wss\VirtualDirectories\80\bin
Your error message indicates that the SafeControl entry to be added to the Web.config file is either missing or not properly formatted. You can find the web.confg file at:
C:\Inetpub\wwwroot\wss\VirtualDirectories\80
Please put the entry as described into the section. Make sure to add it on a single line. Use Notepad for editing (not WordPad or some other fancy editor).
|
|
Cesar 4/9/2009 11:24 | i don't seem to have a <SAFE controls> section in my web.config file. could it have a different name? Thx. |
|
Juerg 4/9/2009 17:35 | You should be able to see the "SafeControls" section quite at the top of the file. See below the top of a typical Sharepoint web.config file:

|
|
Jamie 4/14/2009 06:16 | When I offset the time by 0.5 hour (some time zones aren't on the even hour), the clock doesn't display the correct time |
|
Cesar 4/16/2009 18:43 | Thanks. My web.config looks very different, there's no line anywhere.
does this mean I have no access to the right file? thx again. |
|
Jim 4/17/2009 08:46 | I am trying to get these web parts to work with SBS 2008 - Company Web. I can see them listed in the miscellaneous section of Add Web Parts but I get an error as follows: "Unable to add selected web part(s).
Yahoo Weather Forecast: Cannot import this Web Part".
My web.config is at C:\inetpub\wwwroot\wss\VirtualDirectories\4721\ and I put the dlls in C:\inetpub\wwwroot\wss\VirtualDirectories\4721\bin. |
|
Juerg 4/20/2009 13:30 | Jim, you have to put the Weather Forecast Web part DLL into the GAC of your Sharepoint server at c:\windows\assembly instead of the local bin directory for Sharepoint security reasons (The Weather web part needs to access an external RSS feed provided by Yahoo).
|
|
Juerg 4/21/2009 10:59 | Jamie, we have updated the Digital Clock web part to properly accept fractional time zone offsets (as eg. Adelaide/Australia which is offset by +7.5 hours relative to Zurich/Switzerland. Please re-download the ZIP file and replace the web part DLL. |
|
peter 5/4/2009 16:35 | Really appreciate the web parts you've made available. Thank you!
A couple issues we've noticed when using this web part.
1) If you have a time zone offset of "0" (zero) for a world clock, that world clock will display seconds. (the work around is to do a 24hr offset. )
2) The offset seems to be based on the users local time/clock, not a global timezone offset (GMT). Therefore, when we deploy this tool to a site that has users from around the world, the times are wrong.
Are you seeing these same issues?
Thanks again! |
|
Juerg 5/6/2009 14:44 | we have updated the web part which now will correct the selected world clock displays based on the user’s local GMT time zone offset. Please re-download the ZIP, extract and replace the DLL. Please note that you will have to reset IIS if you deployed the DLL to the GAC. |
|
Matthew Lindgren 5/22/2009 20:13 | I am having some problems adding the webpart to my MOSS enviroment. I have added the files to the assembly directory under windows, and I have edited the web.config Safecontrol area do an iisreset, however when I import the webpart I get a msg that the web part is not safe. |
|
Juerg 5/25/2009 10:16 | Matthew, it looks like your SafeControls entry is missing in Web.Config (see Instructions above, step 3). You probably either forgot to add the „SafeControl” entry to the Web.Config file or you applied it to the wrong Web.Config file. The correct location of this file on your Sharepoint server is most probably at
C:\Inetpub\wwwroot\wss\VirtualDirectories\80 |
|
Matthew Lindgren 5/27/2009 15:55 | I dont believe that is the problem. Here is a snippet from my web.config file.
<SAFECONTROL Safe="True" TypeName="*" Namespace="Microsoft.SharePoint.SampleParts" Assembly="Microsoft.SharePoint.SampleParts.ChatterBox, Version=12.0.0.0, Culture=neutral, PublicKeyToken=48e046c834625a88" /> <SAFECONTROL Safe="True" TypeName="*" Namespace="DigitalClockWebpart" Assembly="DigitalClockWebpart, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a4d7592bb8c741f" /> <SAFECONTROL Safe="True" TypeName="*" Namespace="StockChartWebpart" Assembly="StockChartWebpart, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c0a4beab3e056152" /> <SAFECONTROL Safe="True" TypeName="*" Namespace="AESQLWebpart" Assembly="AESQLWebpart, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3c00ea9a41262cc3" />
The Chatterbox webpart is available in the enviroment but the others are not. When I Import the webpart file. It loads but clicking on the part gives this error. A Web Part or Web Form Control on this Page cannot be displayed or imported. The type is not registered as safe. |
|
.c 6/4/2009 00:13 | love it. SO easy. Thank you |
|
Vinny T 6/25/2009 04:56 | Hi, I followed the instructions above and I'm encountering an error once I try to add the web part to my desired page "Unable to add selected webpart(s). Digital Clock: Cannot import this Web Part. Any ideas? |
|
Juerg 6/25/2009 14:15 | Vinny, can you check if the trust level in your web.config file is set to “WSS_Minimal” ? If so, you will have to set it to “medium” as follows: <trust level="WSS_Medium" originUrl="" /> |
|
Marian 6/25/2009 15:14 | Hi Juerg,
Is there a way to get that gray frame away? The squared frame around the webpart, so only clock shows...
Thank you |
|
Juerg 6/25/2009 18:30 | Marian, we now have added a new "Clock Background Color" property. If you specify "white" (or any other desired background color), the gray border frame will be suppressed. Please re-download the ZIP file, extract and replace the DLL, followed by an IIS reset.
|
|
David 7/1/2009 01:09 | I found an interesting thing in this web part. The date is from SharePoint server, and the time is from the user's computer. I think it's better both the date and the time should get from user's computer as the users are probably not in the same region as the server is. |
|
ContraCorners 7/13/2009 18:03 | Would it be possible to add serperate "Daylight Savings Time" controls to each time zone? I'd like to display the current time in several locations. Some use the US ruleds for when to stop and start DST. Some use the English rules and some don't have DST at all. |
|
Dave 7/15/2009 19:01 | I get the same error - Unable to add slected Web part(s) AE Digital Clock: Cannot import this Web Part
Copied the DLL to the Web App Bin directory, modified the Web.config files with the SafeControl line, Modified the Trust level to Medium, Uploaded to the Gallery... Thoughts?
|
|
Kerrie 8/28/2009 17:09 | Very Very Very Cool! Thank You! |
|
Ben 10/1/2009 16:25 | I have added the .dll to the assembly folder, and added the SafeControl. However, my web.config is in C:\Inetpub\companyweb, I do not have a "wss" folder in my "wwwroot" folder.
The error I get is "Cannot recognize the XML namespace of this Web Part." |
|
Basic 10/22/2009 11:05 | Hello there !
I really would like to have this part implemented, but I am an absolute novice in working with sharepoints and obviously I miss something, concerning locating the Web.Config file .
I tried to access C:\Inetpub\wwwroot\wss\VirtualDirectories\80 , but I am not getting anywhere. I cannot access C:\Inetpub at all.
When I search for Web.Config I only get one result in the Visual Studio Projects folder, but I suppose this is different.
Is there any alternative way to locate and modify this file ?
Thank you very much for you time and support ! |
|
pierre 12/8/2009 16:27 | Thank you for this great clock webpart, just one last improvement : a css in order to fully customize its appearence.
Thanks! |
|
hussein 12/24/2009 21:57 | Vinny/dave
make sure u copy the dll into the correct virtual directory bin folder.
|
|
Sathya 1/28/2010 20:36 | We have single sharepoint farm with multiple Site collections suporting 40K users.
Does the price still remains the same or it varies on per WFE server or site. |
|
Juerg 1/29/2010 10:09 | Sathya,
the web part license applies to each web front end server. |
|
David 1/29/2010 19:15 | If I have to Front-end servers, do I need to buy 2 licenses? |
|
Benny 2/10/2010 17:53 | I wondered if you provide the source code when you buy the licence for the web part, so I can customize it. |
|
Juerg 2/11/2010 10:16 | Benny, we provide the source code (for non-commercial internal use only) as part of the premium annual support (see bottom of right-hand pane on this page) |
|
Brian 2/19/2010 16:01 | Per, Dave's Post on 7/1/2009, we are also experiencing this issue. The date seems to be taken from the SharePoint server while the time is from the user's computer. Is this still a known issue? Any chance a fix will be made in the future to pull the date from the user's computer? |
|
Juerg 2/19/2010 18:21 | Brian,
we fixed this a couple of days ago. Just re-download the Zip package and replace the DLL. |
|
Munna 3/11/2010 07:54 | Hi,
i would like to know how to activate the license on entire web application instead per webpart.
thnx. |
|
Juerg 3/11/2010 09:57 | Munna, you can add the License Key to your web.config (typically found at c:\inetpub\wwwroot\wss\virtualdirectories\80) <appSettings> section as follows:
<appSettings> . . <add key="AEDC" value="AEDC-x-xxxxx-xxxxx-xx-xx" /> </appSettings>
Replace the “x” characters with your actual key value. |
|
Mari 3/26/2010 19:49 | For the digital clock display, if we add, say, 7 other world clock time zones to the display, will it wrap around to the next row in the webpart display if we fix the width of the webpart? |
|
Juerg 3/26/2010 20:40 | Mari,
you can control this by inserting asterisk characters to force "line breaks" between world clocks (see description of the "World Clock Locations" setting above) |
|
maylin 3/28/2010 16:50 | Hi, i edited the web.config successfully, but how to activate the webpart on entire web application for another user can use it? |
|
Juerg 3/29/2010 09:32 | maylin,
are you referring the the appSettings license key setting ?
This setting actually activates the web part license for the entire web application. |
|
Pierre 3/29/2010 16:15 | When I add a second clock webpart on the same page, the second one doesn't work: I have the date but no time....
As Mari, I've modified my web.config to activiate on a webappliction, but it still ask me for key license. |
|
Juerg 3/30/2010 10:29 | Pierre, we've now added the capability to place multiple clocks on a page. Regarding adding the license key to web.config: we've added this feature on February 14, so it might well be that do don't have the most recent version. Please re-download the Zip file, extract and then replace the DLL. |
|
Pierre 3/31/2010 16:10 | Indeed the new dll solved the appsettings issue and partially the multiple clock webpart issue.
Partially because now I have 1 webpart with my current time and the World Clock Locations time but on the other one I just have my current time and no World Clock Locations time!! (Only the location is sown without the time) :( |
|
Juerg 4/1/2010 12:28 | Pierre,
we've now also fixed this. Thus now also the world clocks work OK if you place multiple clock web parts onto the same page. Please re-download the updated Zip file and replace the DLL. |
|
Pierre 4/6/2010 11:02 | Thank you Juerg, it now works like a charm, this is a great webpart with a great support !! |
|
hn 4/30/2010 22:17 | Will this webpart work on sharepoint 2010 |
|
Juerg 5/3/2010 09:37 | hn, yes the web part will work fine on SP 2010. |
|
siddiqui 5/24/2010 05:59 | Cant we change the font-size for date? its too big for the page. |
|
Juerg 5/25/2010 13:14 | siddiqui, we have now added a new „Date display font size” setting to the web part’s configuration pane. Please re-download the updated Zip package, extract and then replace the DLL (followed by an “iisreset” if you placed the DLL in c:\windows\assemby) |
|
EC 6/23/2010 19:19 | When I run install.bat, I get the following error.
Object reference not set to an instance of an object.
AEDigitalClockWebpart.wsp: The Solution installation failed. |
|
Juerg 6/23/2010 19:25 | EC, please note that you will need to have the following permissions for this operation:
- Sharepoint Farm Administrator (you need to be part of the WSS_RESTRICTED_WPG group).
- SQL Server Sharepoint Configuration & Content Database (Full Control)
You can also try to run the command via the right-mouse button menu’s “Run as Administrator” |
|
Amy 7/8/2010 16:48 | We bought the license version, but when I try to use the analog clock I get a 403 page error. The only way I can get back to the page is if I delete the webpart by using contents=1 and deleting the web part. We added the DLL correctly, we added the safecontrol, and we went in and added the key. Any help? |
|
Juerg 7/8/2010 17:09 | Amy,
the analog clock requires Macromedia Flash to be installed on the client machine. If Flash is not installed, the client attempts to download Flash from the Macromedia site which might not be allowed in your environment. |