Story of wrong content type and InfoPath publishing location

I found myself troubleshooting on issue that I thought shouldn’t be issue anymore. I have created InfoPath form and published it to the SharePoint. However when I created new form using that template it ended up using wrong content type at my library. And this happens even with the SP2 installed (both at the client…

3

SQL Server Profiler and SPQuery

Question: I’m using SPQuery to retrieve items from my SharePoint list and now I want to know little bit more about SPQuery properties. Actually I’m interested about performance related things since I’m not sure about my query currently. I currently have following code to retrieve my data: 1 2 3 4 5 6 7 8…

1

Link: SharePoint slow spin-up times…

I accidently found myself on this page: SharePoint 2007 Quirks – Solving painfully slow spin-up times. After reading that article I was forced to test that. And my stsadm experience was really fast after that! So this link deserves a link post even if I don’t do those normally 🙂 Anyways… Happy hacking!J


CRM 4.0 (or SharePoint or custom application) and DebugView

Every now and then I’m find myself trying to solve same issues over and over again 🙂 That’s why I found myself (again) using DebugView as my debugging assistant at remote box. If you don’t know what DebugView is then you should definitely try it out. I’m going to give you few ideas how you…


Custom SharePoint application and System.IO.FileNotFoundException

Question: I have normal user access rights at SharePoint but I’m administrator of the physical SharePoint box. I don’t have access rights to SharePoint databases but I still need to run few lines of code against SharePoint. I have created small console application but when I run it I get nasty System.IO.FileNotFoundException: What can I…

1

CRM 4.0, SharePoint and ASP.NET Trace

Sometimes I tend to forget how much stuff is built into .NET Framework. Framework gives you nice set of features that you can use without writing a single line of code. ASP.NET Trace is one of them. I know that it’s nothing new but I think that it’s still used mainly in custom ASP.NET applications….

3

Catching unhandled exceptions in SharePoint

If you have done some dev stuff with MOSS you have most likely seen this: “An unexpected error has occurred. ” is something that you probably don’t want to see at your browser…. you want to have customized error page. In ASP.NET application you normally put Application_Error into you global.asax file. However in SharePoint that…


Create Silverlight 1.1 applications for SharePoint with VS2008

Title says it all 🙂 My plan is to create small walkthrough how you can create your own Silverlight 1.1 application with Visual Studio 2008 and then run it in SharePoint. And I don’t want to install a lot of stuff to my SharePoint environment so I’ll just create simple web part to host the…

11

External datasource (SharePoint list) and Forms Server

If you have following setup… You need to create InfoPath Form that you’re going to use in Forms Server (=Browser compatible) Your form contains external data source to SharePoint list Data from the list needs to be in certain order in your form (in drop-down list box) …you’ll have issue because your items will be…

1

Use dynamically created InfoPath form instance to pre-fill form

If you want to pre-fill InfoPath form before user gets his/her hands to it… you have two ways to do that: Call Web Services from InfoPath It normally takes quite long Dynamically create InfoPath form instance Fast and there isn’t any limitations where to get data Both methods have been mentioned many times in different…