Atlas, how I love thee
The new Atlas control from Microsoft are really very nice. If you have not see them yet, check them out here. My only gripe is that I still cannot get Atlas and Sharepoint 2003 to play nice together. Has anyone out there had any luck with this?
Tuesday, September 26, 2006
Monday, June 26, 2006
Hosting Web Services on your Sharepoint Box(s)
I ran into this AGAIN today. Of course it's been so long since the last time that I had forgotten the fix.
If you try and host Web Services on your Sharepoint server, it will fail horribly. And the only error you get is the very informational HTTP 500 can not load page. Nice. So I looked at a web.config for one of my older web services and found the missing piece! (Will need to remove extra spaces and the "!" add to allow post to show)
< !webservices >
< !protocols >
< name="HttpPost">
< /protocols >
< /webServices >
< !-- Set the trust back to Full. WSS configures a very restrictive trust policy that does not allow most applications to run correctly. -- >
< !trust level="Full" originurl="">
Addinig those lines of code should have you back up and running!
If you try and host Web Services on your Sharepoint server, it will fail horribly. And the only error you get is the very informational HTTP 500 can not load page. Nice. So I looked at a web.config for one of my older web services and found the missing piece! (Will need to remove extra spaces and the "!" add to allow post to show)
< !webservices >
< !protocols >
< name="HttpPost">
< /protocols >
< /webServices >
< !-- Set the trust back to Full. WSS configures a very restrictive trust policy that does not allow most applications to run correctly. -- >
< !trust level="Full" originurl="">
Addinig those lines of code should have you back up and running!
Monday, June 12, 2006
Wednesday, May 10, 2006
Wednesday, March 22, 2006
SharePoint and .Net 2.0
I ran into a couple of problems with Sharepoint and the 2.0 Framework the other day. None of the custom web parts I have written were working properly. in fact they wern't working at all. In the past i did all of my testing with the 2.0 Framework on a Virtual Sharepoint server, which just had a default install of Sharepoint. Our corporate Intranet is very heavily customised and includes several custom web parts [server controls actually] (written by yours truely) that were added to the template files. The biggest offender was my "TopNav" control (which renders a dynamic drop down, tabbed control based on the portal layout of the site). The TopNav was killing the portal. This didnt surprise me overmuch since its one of the more complex controls.
With the TopNav removed, the portal would render, but every other control spit out a "Object not set to an instance of an Object" error. So far, the only way I have seen to get around this is to open the projects in VS 2005 and re-compile the projects. This of course up-sizes the code to 2.0. Thats not really a bad thing, but then you are committing yourself to 2.0 at that point. Well, I guess you already did that when you installed the framework on your server. Oh well.
With the TopNav removed, the portal would render, but every other control spit out a "Object not set to an instance of an Object" error. So far, the only way I have seen to get around this is to open the projects in VS 2005 and re-compile the projects. This of course up-sizes the code to 2.0. Thats not really a bad thing, but then you are committing yourself to 2.0 at that point. Well, I guess you already did that when you installed the framework on your server. Oh well.
Wednesday, March 15, 2006
Tuesday, March 14, 2006
HOWTO: Install a .Net 2.0 WebPart in Sharepoint 2003
Yes, you too can write all your web parts in VS 2005 and host them on your existing Sharepoint 2003 install. Its kind of tricky thou so I'll try and explain the steps.
1. Download and install "Son of SmartPart" from here
2. Follow the installation Guide included in the ZIP file you just downloaded.
3. **IMPORTANT** You MUST change the root web site to run as ASP.Net 2.0xx. If you do not do this your site will not function properly.
3a. Also, you need to make the Web.Config changes found here or your hosed. Dont run the stsadm command like the article, it won't work (or it didn't for me anyway). Just make the changes that it says the command will make.
4. Remember to add your user control to the UserControls folder and the assembly for it to the BIN folder.
5. Done! Thats it, you can now run a User Control developed in .Net 2.0 Framework on your Sharepoint 2003 portal.
Enjoy!
1. Download and install "Son of SmartPart" from here
2. Follow the installation Guide included in the ZIP file you just downloaded.
3. **IMPORTANT** You MUST change the root web site to run as ASP.Net 2.0xx. If you do not do this your site will not function properly.
3a. Also, you need to make the Web.Config changes found here or your hosed. Dont run the stsadm command like the article, it won't work (or it didn't for me anyway). Just make the changes that it says the command will make.
4. Remember to add your user control to the UserControls folder and the assembly for it to the BIN folder.
5. Done! Thats it, you can now run a User Control developed in .Net 2.0 Framework on your Sharepoint 2003 portal.
Enjoy!
Wednesday, February 22, 2006
Sharepoint is weird
So, I had an issue today where Document Libraries, only under "My Sites", would not display. They threw a very helpful "An unknown error has occured". Of course this only seemd to happen on My Site Doc Libs, not anywhere else on the portal. To make a long story short, apparently the spsHeader_Personal.ascx file does not like the PersonalProperty tags. No idea why. All the other header files work fine with them. Oh well, word to the wise.
Tuesday, February 14, 2006
Yahoo! UI Library - Now with more Y!
My coworker Matt sent this link along: Yahoo! UI Library it looks pretty cool if you need to write rich client web applications. AJAX too!
Wednesday, January 25, 2006
My objects in VB.NET 2.0
M-Dollar: My oh My: Loving the My objects in VB.NET 2.0
Great article on the new My classes in .Net 2005
Great article on the new My classes in .Net 2005
Subscribe to:
Posts (Atom)