<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www.sharepointblogs.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Another Hack&amp;#39;s SharePoint Experiences</title><link>http://www.sharepointblogs.com/avelez/default.aspx</link><description>I&amp;#39;ve been playing with SharePoint for a few years now.  Every now and again I&amp;#39;ll post something that I found interesting about SharePoint or computing in general.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP2 (Build: 20611.960)</generator><item><title>Tip o' the day: Getting the Content database information of a specific site</title><link>http://www.sharepointblogs.com/avelez/archive/2006/07/11/tip-o-the-day-getting-the-content-database-information-of-a-specific-site.aspx</link><pubDate>Tue, 11 Jul 2006 06:06:00 GMT</pubDate><guid isPermaLink="false">1f6a1193-f4bb-4480-a5ae-b538d8b20f46:731</guid><dc:creator>andrewjvelez</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.sharepointblogs.com/avelez/rsscomments.aspx?PostID=731</wfw:commentRss><comments>http://www.sharepointblogs.com/avelez/archive/2006/07/11/tip-o-the-day-getting-the-content-database-information-of-a-specific-site.aspx#comments</comments><description>&lt;p&gt;Here&amp;#39;s a way to get the server and database name of the content database that a site belongs to using C#:&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;using Microsoft.SharePoint;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;using Microsoft.SharePoint.Administrator;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;public class Test&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;{&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;private static SPGlobalAdmin oGlobAdmin = new SPGlobalAdmin();&lt;br /&gt;&lt;/p&gt;&lt;/font&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;public static SPVirtualServer GetVirtualServerBySite(SPSite oSite)&lt;br /&gt;&amp;nbsp;&amp;nbsp;{&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;foreach(SPVirtualServer iServer in oGlobAdmin.VirtualServers)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;foreach(SPSite iSite in iServer.Sites)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(iSite.ID == oSite.ID)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return iServer;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;throw new IndexOutOfRangeException(&amp;quot;Unable to find site in configuration database: &amp;quot; + oSite.Url);&lt;br /&gt;&amp;nbsp;&amp;nbsp;}&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;public static void Main(String[] Args)&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;{&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;SPSite oSite = new SPSite([Your site&amp;#39;s URL here]);&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;SPVirtualServer oVS = GetVirtualServerBySite(oSite);&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;string SPContentDBServer = oVS.ContentDatabases[0].Server;&lt;br /&gt;string SPContentDB = oVS.ContentDatabases[0].Name;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;Console.WriteLine(SPContentDBServer);&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;Console.WriteLine(SPContentDB);&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;}&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;}&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Hopefully someone finds this the least bit interesting...Personally I&amp;#39;m trying to recreate the connection string for the SharePoint DB, but shhhhh, don&amp;#39;t tell anyone.&amp;nbsp; Mucking w/ the SharePoint databases is not supported by MS.&lt;/p&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=9083" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=731" width="1" height="1"&gt;</description></item><item><title>Alerts</title><link>http://www.sharepointblogs.com/avelez/archive/2006/06/23/alerts.aspx</link><pubDate>Fri, 23 Jun 2006 23:15:00 GMT</pubDate><guid isPermaLink="false">1f6a1193-f4bb-4480-a5ae-b538d8b20f46:732</guid><dc:creator>andrewjvelez</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.sharepointblogs.com/avelez/rsscomments.aspx?PostID=732</wfw:commentRss><comments>http://www.sharepointblogs.com/avelez/archive/2006/06/23/alerts.aspx#comments</comments><description>Anyone ever notice a common practice with Microsoft: how they make something that is ALMOST useful, but stop right at the place where they are juuust at the cusp of something being great and just make it OK?&amp;nbsp; It&amp;#39;s something that we notice here at my work...&lt;br /&gt;&lt;br /&gt;Anyways, for just about the past 2 years I&amp;#39;ve been trying on-and-off to find a way to customize and automatically trigger alerts.&amp;nbsp; I&amp;#39;ve been told that is a bad idea, but unfortunately we need it.&amp;nbsp; Last month I attended SharePoint Experts SharePoint programming class, and since I&amp;#39;ve been tinkering a bit w/ Web Part coding, etc.&amp;nbsp; (Aside: It was a good class...you probably got more out of it if a) you are experienced with SharePoint and b) you go having an idea of what you want SharePoint to do, rather than an expectation of learning what SharePoint CAN do.&amp;nbsp; Imagination is helpful when it comes to programming web parts).&lt;br /&gt;&lt;br /&gt;Since the class I&amp;#39;ve gotten a requirement to find a way to automatically create an alert for every creator of an item in a specific task list.&amp;nbsp; Evidently the people in my company are too stupid to actually check on the requests they make, and instead pepper others with status update questions.&amp;nbsp; One could make a point that this is really a training issue rather than a coding issue, but if every item does need an alert going to the creator, it would save time to programmatically do that rather than have everyone create an alert every time they make an item.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve been playing with the SPAlert class, and let me tell you, it&amp;#39;s a pain in the butt.&amp;nbsp; First of all, I&amp;#39;d like a function to find all the alerts on a given list or item.&amp;nbsp; Here&amp;#39;s where that first rant plays in: Microsoft evidently thought that the only time someone might want to query the alerts is on a per user basis only.&amp;nbsp; Uh huh...&amp;nbsp; So I had to build a procedure to get the creator of the list item, which isn&amp;#39;t as easy as you&amp;#39;d think.&amp;nbsp; I would have thought that since every item has a creator, there might be, oh I don&amp;#39;t know, a Creator property on the SPItem class.&amp;nbsp; Nope.&amp;nbsp; You need to do this:&lt;br /&gt;&lt;br /&gt;&lt;font face="Courier New"&gt;SPSite oSite = new SPSite(&amp;quot;Your site URL&amp;quot;);&lt;br /&gt;SPList oList = oSite.OpenWeb().Lists[&amp;quot;Your list name&amp;quot;];&lt;br /&gt;SPListItem oItem = oList.GetItemById(&amp;quot;Item ID&amp;quot;);&lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;string userValue = oItem[&amp;quot;Created By&amp;quot;].ToString();&lt;br /&gt;int index = userValue.Index Of(&amp;#39;;&amp;#39;);&lt;br /&gt;int id = Int32.Parse(userValue.Substring(0, index));&lt;br /&gt;SPUser itemCreator = oSite.OpenWeb().SiteUsers.GetByID(id);&lt;br /&gt;&lt;br /&gt;&lt;font face="Times New Roman"&gt;Yeah...that&amp;#39;s great.&amp;nbsp; This was actually in the SDK, if you looked under SPListItem and scrolled waaaaaaaaaaay to the bottom.&amp;nbsp; So MS knew you might want to do this, but didn&amp;#39;t put the functionality in to do it for you.&amp;nbsp; Oh yeah, and you can&amp;#39;t inherit from SPListItem to put this in yourself, b/c there&amp;#39;s no default constructor.&amp;nbsp; Sweet!&lt;br /&gt;&lt;br /&gt;So you get the user, and then you have to loop through all the alerts that the user has.&amp;nbsp; You need to compare if the AlertType, the List, and (if you are doing an Item alert like me) the Item ID are all the same on each alert.&amp;nbsp; If someone has a better way to do this, let me know.&amp;nbsp; Once you determine that the user doesn&amp;#39;t already have an alert set up (b/c the user might also have a list level alert already set up), you can add an alert.&amp;nbsp; I haven&amp;#39;t gotten that far yet.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m considering just writing a stored procedure to do that check for me.&amp;nbsp; I&amp;#39;ve looked into the DB a bit, and there are various values depending on the alert type/frequency you are searching.&amp;nbsp; The immediate alerts are in the ImmedSubscriptions Table, and the daily/weekly alerts are in the SchedSubscriptions table.&amp;nbsp; Here&amp;#39;s what the values are:&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;          &lt;div id="SharePoint Alert Table_31434" align="center"&gt;    &lt;table cellpadding="0" cellspacing="0"&gt;               &lt;tr&gt;    &lt;td class="xl6931434"&gt;Change    Type&lt;/td&gt;    &lt;td class="xl7031434"&gt;EventType (DB)&lt;/td&gt;    &lt;td class="xl7031434"&gt;Frequency&lt;/td&gt;    &lt;td class="xl7131434"&gt;Notify Freq (Sched)&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td class="xl7231434"&gt;All&lt;/td&gt;    &lt;td class="xl7331434" align="right"&gt;-1&lt;/td&gt;    &lt;td class="xl7431434"&gt;Immed&lt;/td&gt;    &lt;td class="xl7531434"&gt;&amp;nbsp;&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td class="xl7631434"&gt;Add&lt;/td&gt;    &lt;td class="xl7731434" align="right"&gt;1&lt;/td&gt;    &lt;td class="xl7431434"&gt;Immed&lt;/td&gt;    &lt;td class="xl7531434"&gt;&amp;nbsp;&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td class="xl7831434"&gt;Changed&lt;/td&gt;    &lt;td class="xl7931434" align="right"&gt;2&lt;/td&gt;    &lt;td class="xl7431434"&gt;Immed&lt;/td&gt;    &lt;td class="xl7531434"&gt;&amp;nbsp;&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td class="xl8031434"&gt;Deleted&lt;/td&gt;    &lt;td class="xl6631434" align="right"&gt;4&lt;/td&gt;    &lt;td class="xl6731434"&gt;Immed&lt;/td&gt;    &lt;td class="xl8131434"&gt;&amp;nbsp;&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td class="xl7231434"&gt;All&lt;/td&gt;    &lt;td class="xl7331434" align="right"&gt;-1&lt;/td&gt;    &lt;td class="xl8231434"&gt;daily&lt;/td&gt;    &lt;td class="xl6531434" align="right"&gt;1&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td class="xl8331434"&gt;Add&lt;/td&gt;    &lt;td class="xl8431434" align="right"&gt;1&lt;/td&gt;    &lt;td class="xl8231434"&gt;daily&lt;/td&gt;    &lt;td class="xl6531434" align="right"&gt;1&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td class="xl7831434"&gt;Changed&lt;/td&gt;    &lt;td class="xl7931434" align="right"&gt;2&lt;/td&gt;    &lt;td class="xl8231434"&gt;daily&lt;/td&gt;    &lt;td class="xl6531434" align="right"&gt;1&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td class="xl8031434"&gt;Deleted&lt;/td&gt;    &lt;td class="xl6631434" align="right"&gt;4&lt;/td&gt;    &lt;td class="xl6831434"&gt;Daily&lt;/td&gt;    &lt;td class="xl8531434" align="right"&gt;1&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td class="xl7231434"&gt;All&lt;/td&gt;    &lt;td class="xl7331434" align="right"&gt;-1&lt;/td&gt;    &lt;td class="xl8631434"&gt;weekly&lt;/td&gt;    &lt;td class="xl6531434" align="right"&gt;2&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td class="xl8331434"&gt;Add&lt;/td&gt;    &lt;td class="xl8431434" align="right"&gt;1&lt;/td&gt;    &lt;td class="xl8631434"&gt;weekly&lt;/td&gt;    &lt;td class="xl6531434" align="right"&gt;2&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td class="xl7831434"&gt;Changed&lt;/td&gt;    &lt;td class="xl7931434" align="right"&gt;2&lt;/td&gt;    &lt;td class="xl8631434"&gt;weekly&lt;/td&gt;    &lt;td class="xl6531434" align="right"&gt;2&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td class="xl8031434"&gt;Deleted&lt;/td&gt;    &lt;td class="xl6631434" align="right"&gt;4&lt;/td&gt;    &lt;td class="xl8731434"&gt;weekly&lt;/td&gt;    &lt;td class="xl8531434" align="right"&gt;2&lt;/td&gt;   &lt;/tr&gt;      &lt;tr&gt;    &lt;td&gt;&lt;br /&gt;&lt;/td&gt;    &lt;td&gt;&lt;br /&gt;&lt;/td&gt;    &lt;td&gt;&lt;br /&gt;&lt;/td&gt;    &lt;td&gt;&lt;br /&gt;&lt;/td&gt;   &lt;/tr&gt;     &lt;/table&gt;    &lt;/div&gt;  &lt;br /&gt;When I finish my code (including SPs) I&amp;#39;ll post it here if someones interested.&amp;nbsp; What I have yet to overcome is how exactly do I trigger the alert creation.&amp;nbsp; I&amp;#39;m considering writing a web control I can plug into create item page, but I don&amp;#39;t know if I can both call the Submit form routine and the create alert stuff I&amp;#39;m making.&amp;nbsp; I&amp;#39;m also considering creating a service to check on new list items and adding the alerts on the back end.&amp;nbsp; I&amp;#39;m honestly not sure.&amp;nbsp; If someone has ideas on that, I&amp;#39;d love to hear them.&lt;br /&gt;&lt;br /&gt;Anyways, it&amp;#39;s good to be back after 2 years.&amp;nbsp; Hopefully I&amp;#39;ll post w/ more frequency.&lt;br /&gt;&lt;br /&gt;Tips I learned:&lt;br /&gt;if you ever end up with a really long list [mine had 10000+ items]  don&amp;#39;t get an item by doing SPList[ItemID].&amp;nbsp; I ended up getting memory  leaks and things died.&amp;nbsp; Use SPList.GetItemById(ItemID).&amp;nbsp; You&amp;#39;ll be a  happier person for it&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=8588" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=732" width="1" height="1"&gt;</description></item><item><title>SharePoint Database/List Best Practices???</title><link>http://www.sharepointblogs.com/avelez/archive/2004/05/21/sharepoint-database-list-best-practices.aspx</link><pubDate>Sat, 22 May 2004 01:44:00 GMT</pubDate><guid isPermaLink="false">1f6a1193-f4bb-4480-a5ae-b538d8b20f46:733</guid><dc:creator>andrewjvelez</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.sharepointblogs.com/avelez/rsscomments.aspx?PostID=733</wfw:commentRss><comments>http://www.sharepointblogs.com/avelez/archive/2004/05/21/sharepoint-database-list-best-practices.aspx#comments</comments><description>&lt;p&gt;Anyone out there have a reference to what the best practices for programming SharePoint are?&amp;nbsp; Specifically, how much normalization one should use in their database/lists?&amp;nbsp; Here&amp;#39;s my scenario:&lt;/p&gt;  &lt;p&gt;I&amp;#39;d like to create a Time Off Request and Reporting application.&amp;nbsp;It would have the following operation:&lt;/p&gt;  &lt;ul&gt;  &lt;li&gt;Employees would go to a form to request a period or day as PTO&lt;/li&gt;  &lt;li&gt;Managers would be alerted to the request and either approve or deny it (which would then update the employee&lt;/li&gt;  &lt;li&gt;When the scheduled day came, the manager would confirm that the employee did or didn&amp;#39;t take the day off&lt;/li&gt;  &lt;li&gt;Payroll&amp;nbsp;would be able to run a report of the data to see who took what time off.&amp;nbsp; Managers could run the same report for their departments.&amp;nbsp; Employees could not.&lt;/li&gt;&lt;/ul&gt;  &lt;p&gt;With a normal database application, I&amp;#39;d have 4 related tables: Employees, Departments, Administrators (but actually, this could be a boolean field for the employee table), and the&amp;nbsp; PTOData table.&amp;nbsp; However, I&amp;#39;m not sure if you can write all of these within the context of SharePoint lists.&amp;nbsp; Anyone have any ideas?&amp;nbsp; Should I just create separate tables, and only use SharePoint as a wrapper?&amp;nbsp; Let me know what you think!&lt;/p&gt;  &lt;p&gt;BTW - Dustin - I asked my manager if they&amp;#39;d send me to the dev training.&amp;nbsp; If I can go, this is something I&amp;#39;d like to cover.&amp;nbsp; For those of you who also would like to go, but are afraid of asking your boss for a few grand, I can send you my request document (the sucker was 2 1/2 pages long!) as a template.&lt;/p&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=471" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=733" width="1" height="1"&gt;</description></item><item><title>SMigrate Bug</title><link>http://www.sharepointblogs.com/avelez/archive/2004/05/13/smigrate-bug.aspx</link><pubDate>Fri, 14 May 2004 00:27:00 GMT</pubDate><guid isPermaLink="false">1f6a1193-f4bb-4480-a5ae-b538d8b20f46:734</guid><dc:creator>andrewjvelez</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.sharepointblogs.com/avelez/rsscomments.aspx?PostID=734</wfw:commentRss><comments>http://www.sharepointblogs.com/avelez/archive/2004/05/13/smigrate-bug.aspx#comments</comments><description>&lt;p&gt;I think I found a bug in using SMigrate to move a site - it&amp;#39;s only a minor one.&amp;nbsp; I&amp;#39;m putting it here because I&amp;#39;m not sure where to submit bugs to Microsoft anymore, and I&amp;#39;m not willing to spend an hour to figure it out.&lt;/p&gt;  &lt;p&gt;Here&amp;#39;s the scenario: I used SMigrate to copy our production WSS site collection to some development servers.&amp;nbsp; It worked great, actually: the prod server was mis-configured to use a&amp;nbsp;MSDE database rather than a Web Farm w/ SQL, but when I moved it to a server w/ that configuration, it moved the data into SQL just fine.&amp;nbsp; However, when I went to add a Web Part to the development server, it tried to connect to the old server&amp;#39;s web part library.&amp;nbsp; I know this because it prompted me to log into the old server.&lt;/p&gt;  &lt;p&gt;I&amp;#39;m not sure how to fix it quite yet, but I&amp;#39;m going to hack into the database in the next few days to figure out where it&amp;#39;s storing the old server&amp;#39;s name.&amp;nbsp; If I find anything, I&amp;#39;ll update you.&lt;/p&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=433" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=734" width="1" height="1"&gt;</description></item><item><title>Starting to feel constricted...</title><link>http://www.sharepointblogs.com/avelez/archive/2004/05/12/starting-to-feel-constricted.aspx</link><pubDate>Thu, 13 May 2004 00:58:00 GMT</pubDate><guid isPermaLink="false">1f6a1193-f4bb-4480-a5ae-b538d8b20f46:735</guid><dc:creator>andrewjvelez</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.sharepointblogs.com/avelez/rsscomments.aspx?PostID=735</wfw:commentRss><comments>http://www.sharepointblogs.com/avelez/archive/2004/05/12/starting-to-feel-constricted.aspx#comments</comments><description>&lt;p&gt;I&amp;#39;m starting to feel pretty constricted by SharePoint.&amp;nbsp; There&amp;#39;s a lot of little things that I&amp;#39;d like to customize that you just can&amp;#39;t with SharePoint right out of the box.&amp;nbsp; For instance, I&amp;#39;ve gotten requests to make attachments open in a new window when you click on them.&amp;nbsp; In fact, most of my limitations seem to come from the inherent inflexibility of the out of the box web parts.&amp;nbsp; Yes, you can change some of the attributes.&amp;nbsp; However, in order to customize the display of the data, you need to convert the views from web parts to data views.&amp;nbsp; Of course, in a data view, you can&amp;#39;t edit the data.&amp;nbsp; It&amp;#39;s all very frustrating...I wish you could edit the default web parts...If you know a way, please let me know.&lt;/p&gt;  &lt;p&gt;I&amp;#39;d like to be able to automatically create alerts for the people who actually submit an item to issue lists, rather than only send out an email only to the person the problem is assigned to.&lt;/p&gt;  &lt;p&gt;Also, there aren&amp;#39;t any books on using only SharePoint, at least none I could find.&amp;nbsp; The documentation is pretty sparse.&amp;nbsp; It seems like the primary method for learning SharePoint remains seminars like those put on by SharePoint Experts.&amp;nbsp; They are good classes, don&amp;#39;t get me wrong, but they are few and far between.&amp;nbsp; Not only that, but the price for a book would be around $50 - $70, while classes are around $2000 w/o room and board.&amp;nbsp; You do the math...&lt;/p&gt;  &lt;p&gt;It looks like in order to get SharePoint to do what&amp;nbsp;we want it to do, we&amp;#39;re going to have to write custom web parts and web pages.&amp;nbsp; That isn&amp;#39;t too big of a problem, as that the SDK does in deed seem to have a lot of information in it.&amp;nbsp; I&amp;#39;m just ignorant of how to code specifically for SharePoint, and I have a pretty high learning curve to overcome to learn it.&amp;nbsp; Dustin, when&amp;#39;s the next coding class?!&lt;/p&gt;  &lt;p&gt;Enough ranting for me.&amp;nbsp; If you have any ideas how to correct or work around my problems, let me know, please! ;)&lt;/p&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=422" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=735" width="1" height="1"&gt;</description></item><item><title>Upgrading from Windows 2000 to Windows 2003 and Sharepoint</title><link>http://www.sharepointblogs.com/avelez/archive/2004/04/27/upgrading-from-windows-2000-to-windows-2003-and-sharepoint.aspx</link><pubDate>Tue, 27 Apr 2004 20:16:00 GMT</pubDate><guid isPermaLink="false">1f6a1193-f4bb-4480-a5ae-b538d8b20f46:736</guid><dc:creator>andrewjvelez</dc:creator><slash:comments>11</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.sharepointblogs.com/avelez/rsscomments.aspx?PostID=736</wfw:commentRss><comments>http://www.sharepointblogs.com/avelez/archive/2004/04/27/upgrading-from-windows-2000-to-windows-2003-and-sharepoint.aspx#comments</comments><description>&lt;p&gt;This is actually a problem with the Windows upgrade, but nonetheless the problem manifested itself while trying to install the sharepoint central database.&lt;/p&gt;  &lt;p&gt;I had a development computer that was running Windows 2000 Server.&amp;nbsp; I wanted to run SharePoint and use Visual Studio.Net 2003 to create some web parts.&amp;nbsp; However, to do so, I had to upgrade to Windows 2003 Server.&amp;nbsp; Normally I don&amp;#39;t upgrade, since problems occur.&amp;nbsp; However, I had heard some good things with the upgrade wizard. Note to self: never believe them.&amp;nbsp; The upgrade itself went smoothly, however, I started having problems once I tried installing SharePoint.&lt;/p&gt;  &lt;p&gt;The installation itself was smooth, but once I had to configure/create the central database, I started having problems.&amp;nbsp; I&amp;#39;d fill out all the information, but every time I&amp;#39;d click submit I would be forwarded to a generic error message screen.&amp;nbsp; I then tried creating the DB from the command line, by running: &amp;#8220;&lt;font face="Courier New"&gt;stsadm -o setconfigdb -databaseserver [name] -databasename [db name]&amp;#8221;&lt;/font&gt;&lt;font face="Arial"&gt; &lt;/font&gt;&lt;font face="Times New Roman"&gt;Then I got a&amp;nbsp;decent error: GetTextExtentPointI could not be located in msdart.dll.&amp;nbsp; I found some good information &lt;a href="http://http://www.webservertalk.com/message101815.html"&gt;here&lt;/a&gt;, and it fixed my problem for now.&amp;nbsp; Basically, you need to copy over the oledb32.dll from another server that got a fresh install of Windows Server 2003 to the upgrade server.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;I hope that helps someone else out.&lt;/p&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=338" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=736" width="1" height="1"&gt;</description></item><item><title>Microsoft and the CSS demons</title><link>http://www.sharepointblogs.com/avelez/archive/2004/04/23/microsoft-and-the-css-demons.aspx</link><pubDate>Fri, 23 Apr 2004 19:01:00 GMT</pubDate><guid isPermaLink="false">1f6a1193-f4bb-4480-a5ae-b538d8b20f46:737</guid><dc:creator>andrewjvelez</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.sharepointblogs.com/avelez/rsscomments.aspx?PostID=737</wfw:commentRss><comments>http://www.sharepointblogs.com/avelez/archive/2004/04/23/microsoft-and-the-css-demons.aspx#comments</comments><description>&lt;p&gt;Like I&amp;#39;ve mentioned before, I&amp;#39;ve customized a lot of my sharepoint site by changing the style sheet and backend standard graphics.&amp;nbsp; Unfortunately, the limitation is that you have to rely on Microsoft&amp;nbsp; to properly assign stylesheet classes properly to all the elements. For reference, here&amp;#39;s &lt;a href="http://www.csulb.edu/~avelez2/insideloop.png"&gt;a link to a screen shot of my page&lt;/a&gt;, since the gallery still won&amp;#39;t work.&lt;/p&gt;  &lt;p&gt;My latest issue was that a user suggested the colors in the list view nav bar change from the default blue to white.&amp;nbsp; I didn&amp;#39;t have a problem with this one bit - I viewed the source of the list page, found the link, and saw that it belonged to class ms-toolbar (fairly intuitive, huh?).&amp;nbsp; So I opened the style sheet (Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\LAYOUTS\1033\STYLES - default location) and changed the sheet to have color: #FFFFFF;.&amp;nbsp; Problem solved.&lt;/p&gt;  &lt;p&gt;However, someone coding the web part had a brain fart, because any links within the web part are assigned the same class.&amp;nbsp; However, the background at this point is also white, so you get invisible text.&amp;nbsp; I didn&amp;#39;t even realize that until I got another complaint not 5 minutes later.&amp;nbsp; Unfortunately, this wasn&amp;#39;t a case of a higher level tag being assigned the ms-toolbar class: it was the a tag itself.&amp;nbsp; Now, will someone please explain why your class would be called ms-toolbar, and you&amp;#39;d have something in the main content window be assigned to the ms-toolbar class?&amp;nbsp; It didn&amp;#39;t and still doesn&amp;#39;t compute for me.&lt;/p&gt;  &lt;p&gt;So, if anyone out there has any ideas for how to work around this, I&amp;#39;d love to hear them.&amp;nbsp; Right now, I just changed the color of ms-toolbar to #990000 so that you can see it in both places.&amp;nbsp; It&amp;#39;s still hard to see against my orange background, though.&amp;nbsp; Shoot me a line if you have any ideas.&lt;/p&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=332" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=737" width="1" height="1"&gt;</description></item><item><title>Alright!  Got the listeners to work!</title><link>http://www.sharepointblogs.com/avelez/archive/2004/04/09/alright-got-the-listeners-to-work.aspx</link><pubDate>Fri, 09 Apr 2004 11:49:00 GMT</pubDate><guid isPermaLink="false">1f6a1193-f4bb-4480-a5ae-b538d8b20f46:738</guid><dc:creator>andrewjvelez</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.sharepointblogs.com/avelez/rsscomments.aspx?PostID=738</wfw:commentRss><comments>http://www.sharepointblogs.com/avelez/archive/2004/04/09/alright-got-the-listeners-to-work.aspx#comments</comments><description>&lt;p&gt;Addendum: People have been asking me why I wanted to do this. I explained it in a previous blog (I think) but here&amp;#39;s the short version:&lt;/p&gt;  &lt;p&gt;I have an Issues List for internal system operations.&amp;nbsp; If a phone goes down, or a computer dies, a user could enter a ticket into the system.&amp;nbsp;However, most of our users are ignorant as to who would fix each type of issue.&amp;nbsp; So I have two drop down boxes: a Category and Assigned to.&amp;nbsp; When you select a certain category, the assigned to box automatically changes to the person who handles that type of issue. The “listener“ therefore is used to listen to the onChange event for the category.&lt;/p&gt;  &lt;p&gt;------------------------------------------------------------------------------&lt;/p&gt;  &lt;p&gt;W00t!&amp;nbsp; I got&amp;nbsp;the listeners to work.&amp;nbsp; Here is the JavaScript, and then I&amp;#39;ll explain it below:&lt;/p&gt;&lt;span&gt;  &lt;p&gt;window.onload = startup;&lt;br /&gt;function startup()&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;setAssignment();&lt;br /&gt;&amp;nbsp;document.forms[0].elements[getElementIndex(&amp;quot;OWS:Category&amp;quot;)].onchange = setAssignment;&lt;br /&gt;}&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;function setAssignment()&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;var getCategoryTagIndex, getAssignToTagIndex, getCategoryText;&lt;br /&gt;&amp;nbsp;getAssignedToTagIndex = getElementIndex(&amp;quot;AssignedTo&amp;quot;);&lt;br /&gt;&amp;nbsp;getCategoryTagIndex = getElementIndex(&amp;quot;OWS:Category&amp;quot;);&lt;br /&gt;&amp;nbsp;getCategoryText = getSelectedElement(document.forms[0].elements[getCategoryTagIndex]);&lt;br /&gt;&amp;nbsp;setAssignedTo(document.forms[0].elements[getCategoryTagIndex], document.forms[0].elements[getAssignedToTagIndex]);&amp;nbsp;&lt;br /&gt;}&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;function setAssignedTo(CategoryObj,AssignedToObj)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;switch(CategoryObj.options[CategoryObj.selectedIndex].text)&lt;br /&gt;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;case &amp;quot;LoopNet.com website error&amp;quot;:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;searchAssignedTo(&amp;quot;[User Name]&amp;quot;, AssignedToObj);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;case &amp;quot;InsideLoop website error/suggestion&amp;quot;:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;searchAssignedTo(&amp;quot;&lt;a href="mailto:avelez@loopnet.com"&gt;[User Name&lt;/a&gt;&amp;quot;, AssignedToObj);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;case &amp;quot;E-mail&amp;quot;:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;searchAssignedTo(&amp;quot;&lt;a href="mailto:afong@loopnet.com"&gt;[User Name]&lt;/a&gt;&amp;quot;, AssignedToObj);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;case &amp;quot;Network file access&amp;quot;:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;searchAssignedTo(&amp;quot;&lt;a href="mailto:aaghaian@loopnet.com"&gt;[User Name&lt;/a&gt;]&amp;quot;, AssignedToObj);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;case &amp;quot;Phone problem&amp;quot;:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;searchAssignedTo(&amp;quot;&lt;a href="mailto:afong@loopnet.com"&gt;[User Name&lt;/a&gt;]&amp;quot;, AssignedToObj);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;case &amp;quot;Local workstation problem&amp;quot;:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;searchAssignedTo(&amp;quot;&lt;a href="mailto:etransue@loopnet.com"&gt;[User Name]&lt;/a&gt;&amp;quot;, AssignedToObj);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;case &amp;quot;Other&amp;quot;:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;searchAssignedTo(&amp;quot;&lt;a href="mailto:avelez@loopnet.com"&gt;[User Name]&lt;/a&gt;&amp;quot;, AssignedToObj);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;default:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;searchAssignedTo(&amp;quot;[User Name]&amp;quot;, AssignedToObj);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;break;&lt;br /&gt;&amp;nbsp;}&lt;br /&gt;}&lt;br /&gt;function searchAssignedTo(userName, AssignedToObj)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;for(i = 0; i &amp;lt; AssignedToObj.options.length; i++)&lt;br /&gt;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;if (userName.toLowerCase() == AssignedToObj.options&lt;img src="http://www.sharepointblogs.com/emoticons/emotion-55.gif" alt="Idea" /&gt;.text.toLowerCase())&lt;br /&gt;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;AssignedToObj.options&lt;img src="http://www.sharepointblogs.com/emoticons/emotion-55.gif" alt="Idea" /&gt;.selected = true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;return;&lt;br /&gt;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;}&lt;br /&gt;}&lt;br /&gt;function getSelectedElement(selectObj)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;return selectObj.options[selectObj.selectedIndex].text;&lt;br /&gt;}&lt;br /&gt;function getElementIndex(elementName)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;var e;&lt;br /&gt;&amp;nbsp;e = -1;&lt;br /&gt;&amp;nbsp;for (i = 1; i&lt;br /&gt;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;var temp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;temp = document.forms[0].elements&lt;img src="http://www.sharepointblogs.com/emoticons/emotion-55.gif" alt="Idea" /&gt;.name;&lt;br /&gt;&amp;nbsp;&amp;nbsp;if(temp.indexOf(elementName)&amp;gt;= 0)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;e = i;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;return e;&amp;nbsp;&lt;br /&gt;}&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;br /&gt;//--&amp;gt;&lt;/script&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;&lt;/span&gt;  &lt;p&gt;I hope this shows up, since it&amp;#39;s javascript. Basically I put this at the end of my issues form, right after the end table tag. This is so that the page loads before the script runs, allowing time for the web part to load.&amp;nbsp; The first thing I do is set the window.onload event handler to be my startup function.&amp;nbsp; That way the values are set on every page load.&amp;nbsp; Within that I run two other commands.&amp;nbsp; First, I run the setAssignment function, to do the initial setting of the assigned task, just in case the user doesn&amp;#39;t change it.&amp;nbsp; Then I set the onchange event for my Category to be the setAssignment again.&amp;nbsp; You&amp;#39;ll notice a couple of things.&amp;nbsp; First of all, we aren&amp;#39;t sure of the names of the form or the drop down list.&amp;nbsp; So instead of using the name, we use the forms[0] element and then search for the element index for the category drop down list.&amp;nbsp; So, here&amp;#39;s a description of the functions:&lt;/p&gt;  &lt;div&gt;&lt;span&gt;startup&lt;/span&gt;: is the window.onload event handler&lt;/div&gt;  &lt;div&gt;&lt;span&gt;setAssignment&lt;/span&gt;: the event handler for the Category select drop down box. It calls the functions to find the indexes of the Assigned To box and the Category box, then passes those objects to the actual function that changes the assignment.&lt;/div&gt;  &lt;div&gt;&lt;span&gt;setAssignedTo&lt;/span&gt;: the function that actually changes the assignment. It takes two parameters: the assigned to box object and the category box object. It reads the category, then loops through a switch. The switch reads the category, and then sets the proper assignment. If none of the options are found, then it sets the assignment to the administrator (me).&lt;/div&gt;  &lt;div&gt;&lt;span&gt;searchAssignedTo&lt;/span&gt;: basically just a loop that checks the the name given to the name in the assignment box. If they are the same, it sets that selectedIndex to true. It could be included in the setAssignedTo function, but this saves having to code it a grip of times&lt;/div&gt;  &lt;div&gt;&lt;span&gt;getSelectedElement&lt;/span&gt;: gets the name of the element passed to it. I had it here for debugging purposes; it can be removed.&lt;/div&gt;  &lt;div&gt;&lt;span&gt;getElementIndex&lt;/span&gt;: gets the index of the element that matches the string you pass into it. Be careful here. You want ot make sure that you pass the right name in. I thought I could search for an element with the word Category in it, but you can&amp;#39;t. You need to look for OWS:Category. So watch yourself. You can find these names by opening the form and then browsing through the source.&lt;/div&gt;  &lt;p&gt;So that&amp;#39;s basically it. Let me know if you have any questions on this, and I&amp;#39;ll be happy to explain. It took a team effort here to come up with the right script. Hopefully this will save you some time.&lt;/p&gt;&lt;/span&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=304" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=738" width="1" height="1"&gt;</description></item><item><title>Setting up JavaScript listeners</title><link>http://www.sharepointblogs.com/avelez/archive/2004/04/07/setting-up-javascript-listeners.aspx</link><pubDate>Wed, 07 Apr 2004 21:29:00 GMT</pubDate><guid isPermaLink="false">1f6a1193-f4bb-4480-a5ae-b538d8b20f46:739</guid><dc:creator>andrewjvelez</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.sharepointblogs.com/avelez/rsscomments.aspx?PostID=739</wfw:commentRss><comments>http://www.sharepointblogs.com/avelez/archive/2004/04/07/setting-up-javascript-listeners.aspx#comments</comments><description>&lt;p&gt;UPDATE: I got this to work - see the next post!&lt;/p&gt;  &lt;p&gt;So I&amp;#39;m trying to set up a listener on my Issues list.&amp;nbsp; It&amp;#39;s not going well.&amp;nbsp; Microsoft looks to be using some kind of custom drop down box, rather than a stardard select.&amp;nbsp; It&amp;#39;s killing me.&amp;nbsp; When I find out how to fix it, I&amp;#39;ll post it here.&amp;nbsp; Hopefully it won&amp;#39;t take more than a day.&lt;/p&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=298" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=739" width="1" height="1"&gt;</description></item><item><title>SQL Frustrations</title><link>http://www.sharepointblogs.com/avelez/archive/2004/03/31/sql-frustrations.aspx</link><pubDate>Thu, 01 Apr 2004 03:19:00 GMT</pubDate><guid isPermaLink="false">1f6a1193-f4bb-4480-a5ae-b538d8b20f46:740</guid><dc:creator>andrewjvelez</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.sharepointblogs.com/avelez/rsscomments.aspx?PostID=740</wfw:commentRss><comments>http://www.sharepointblogs.com/avelez/archive/2004/03/31/sql-frustrations.aspx#comments</comments><description>&lt;p&gt;Well, I&amp;nbsp;blew it already on my WSS server.&amp;nbsp; I installed WSS on it before I installed SQL Server, so it installed the MSDE database instead.&amp;nbsp; Well, I tried to upgrade it to SQL Server 2000, SP 3, but I couldn&amp;#39;t get it to upgrade correctly.&amp;nbsp; Instead of upgrading the MSDE database, it installed SQL along side it, and I don&amp;#39;t know if it transfered the data.&amp;nbsp; I couldn&amp;#39;t get the SQL Server service started, and I couldn&amp;#39;t get into MSDE via Enterprise Manager.&amp;nbsp; I&amp;#39;m glad 99% of my customization at this point had been to the .CSS and XML files rather than the database.&amp;nbsp; I&amp;#39;ve backed that up.&lt;/p&gt;  &lt;p&gt;I tried uninstalling, well, everything, but there was a problem with the MSSearch service.&amp;nbsp; For whatever reason, it decided it wanted to install itself on my network home directory (H: drive).&amp;nbsp; I couldn&amp;#39;t get it off.&amp;nbsp; I removed all the registry entries I could find for SQL, I removed the registry entries under HKLM\Service for MSSearch, and I tried simply reinstalling SQL.&amp;nbsp; Nothing worked.&amp;nbsp; SQL would install OK for me, but when I tried applying SP3, it would fail on MSSearch.&lt;/p&gt;  &lt;p&gt;So, I&amp;#39;m doing the only thing left to do now: reinstall Windows 2003 from scratch.&amp;nbsp; Oh well...previously I had used Windows Server 2003 Standard when I wanted to use the Web Server Edition.&amp;nbsp; I couldn&amp;#39;t find the disks at the time, but I found them now, so I get to have that right, at least.&lt;/p&gt;  &lt;p&gt;A word from the newly experienced: if you plan on using SQL Server, select Web Farm configuration during WSS installation, and more importantly, install SQL Server BEFORE you install WSS.&amp;nbsp; In writing that last sentence, it all seems pretty obvious, but I guess when you feel you know what you&amp;#39;re doing, you get careless.&lt;/p&gt;  &lt;p&gt;Good luck to you!&lt;/p&gt;  &lt;p&gt;Andrew&lt;/p&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=260" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=740" width="1" height="1"&gt;</description></item><item><title>So why the heck are you blogging?</title><link>http://www.sharepointblogs.com/avelez/archive/2004/03/31/so-why-the-heck-are-you-blogging.aspx</link><pubDate>Wed, 31 Mar 2004 20:26:00 GMT</pubDate><guid isPermaLink="false">1f6a1193-f4bb-4480-a5ae-b538d8b20f46:741</guid><dc:creator>andrewjvelez</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.sharepointblogs.com/avelez/rsscomments.aspx?PostID=741</wfw:commentRss><comments>http://www.sharepointblogs.com/avelez/archive/2004/03/31/so-why-the-heck-are-you-blogging.aspx#comments</comments><description>&lt;p&gt;You know, that&amp;#39;s probably the first question that&amp;#39;s on your mind.&amp;nbsp; It would be for me, too.&amp;nbsp; Well, this post will hopefully explain my purpose in setting up this blog.&lt;/p&gt;  &lt;p&gt;I&amp;#39;m pretty much new to SharePoint - WSS 2003 is the only one I&amp;#39;ve used - so I&amp;#39;d like to share my experiences with you other newbies out there and hopefully save you some time and heartbreak.&amp;nbsp; I&amp;#39;ve been charged to use SharePoint to create our company&amp;#39;s intranet site.&amp;nbsp; There&amp;#39;s some fairly intense stuff I need to do to make it work, so hopefully there will be a little something in it if your bother reading this stuff.&amp;nbsp; One of the things I&amp;#39;ll be doing in the next few weeks is&amp;nbsp;migrating a stand-alone WSS server that is currently using an MSDE database to&amp;nbsp;the web-farm model of WSS that talks to a SQL 2000&amp;nbsp;database on a remote server.&amp;nbsp; Then I need to copy the data from that server to another server, and then sync both servers to have the same data and pages.&amp;nbsp; Fun stuff coming down the pipes.&amp;nbsp; So stay tuned.&lt;/p&gt;  &lt;p&gt;BTW: I recently attended the SharePoint BootCamp in Anaheim, Cali.&amp;nbsp; I&amp;#39;ll post a longer review in a later blog, but for now know that it was a lot of fun and very informative.&amp;nbsp; Oh, yeah, and if you made it this far into my blog, have some mints (inside joke).&lt;/p&gt;  &lt;p&gt;One more thing, if you ever have a comment, correction, question, or answer&amp;nbsp;about a blog I write PLEASE post a comment or e-mail me.&amp;nbsp; This is meant to be a discussion that anyone can add to.&lt;/p&gt;  &lt;p&gt;Later!&lt;/p&gt;  &lt;p&gt;Andrew&lt;/p&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=259" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=741" width="1" height="1"&gt;</description></item></channel></rss>