.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

How to create a Blog using code in Sharepoint 2007

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :C#

Hi All,

  I have a requirement to create a Blog in Sharepoint 2007, how to create one using C# code. any help is appreciated.




View Complete Post

More Related Resource Links

how to change the layout of the blog or create custom blog in visual studio for sharepoint 2007


i want to change the layout of the blog display in the following  layout of display

<TABLE border=0 rules=none cellspacing=0 cellpadding=2>

    <TR vAlign=top>

      <TD height=95 rowspan=2 width=95 align=middle><A href="<SOURCE URL>" target=”_blank”><IMG border=0 src="<PICTURE URL>"></A></TD>

      <TD><STRONG>Source: <A href="<SOURCE URL>" target=”_blank”><SOURCE NAME></A> | </strong><A href="<SOURCE URL>" target=”_blank”>Rea

What is the best way to Create Ageing Report in SharePoint 2007?


Hi Experts,

I need your point of view about this and please advise,

My client have made a request to generate Ageing Report thru their SharePoint 2007, FYI all invoice was scan and upload to sharepoint and save as PDF file under Document Library. During the scan, certain information will capture automatically and save it into field that we defined inside the Web Form.   

Below is the basic input we capture:

Vendor Code, Vendor Name, Invoice Number, Invoice Date, Currency, Invoice Amount

Report Requirement (display list and group of:)

- Vendor Code, Vendor Name, No. Of Invoice, Total Payable, Ageing 0-30, Ageing 30-60, Ageing 60-90, Ageing>90 

So my question is, what is the best platform to create this Ageing Report??

because when i try to design the report thru Visual Studio (Reporting Services), i can't identified which database should i connect and which table is store all the invoice information in SharePoint.

Any idea guys?? anybody have implemented it before??


Administrator and Developer Guide to Code Access Security in SharePoint Server 2007

Explore configuration options, get best practices for managing CAS in SharePoint environments, and walk through a complex CAS scenario.

Does anyone know how to create a page that has Code behind in Sharepoint.

I am creating a page that will need some controls for dropdowns and radio buttons etc and I need to know if and how to setup and create a page in Sharepoint that has the code behind to handle click events, onselectedchange like .NET does.

Access Denied while using Sharepoint designer 2007 to create a work flow

I am using Sharepoint Designer 2007 to create a work flow that sends emails to different people in a group depending on status of a record. For example, when some one reports a problem, an email is posted to concerned person and as soon as he/she checks the problem and updates the status an email is sent to next department and so on. Starting the work flow creation wizard is no problem but as soon as I press 'Finish' to create workflow I get 'Access Denied' message box. Any Ideas? I am using WSS 3.0 on 2003 Server.

Problem create a web application on SharePoint 2007 (Project Server 2007)

I installed a Project Server 2007 in a 3 server structure (all Win 2003 sp2; one for App server hosting Central Admin, Project Server service & Search service; one for web server; one for database server).  They are only in the same domain and I use the same network account for the installation as well as the WSS service account.  The same network are local admin for those 3 servers. All installation & patches seem ok (at least I don't get error messages) until I attempt to create my first Web Application.  After I filled out the web appliction and try to click OK, the page does not change and i saw the java error at the right bottom corner from my IE browser (version 6). The message is .... Line: 1686 Char: 1 Error: 'WebForm_PostBackOptions' is undefined Code: 0 URL: http://myservername:28804/_admin/extendvs.aspx On my SP log, below are the portion of the log when the error happen. 09/09/2010 12:28:29  1  INF        Entering function UserInterface.ShowCentralAdmin 09/09/2010 12:28:29  1  INF          The show central admin command has been chosen 09/09/2010 12:28:29  1  INF          Searching for registry key Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\CentralAdministrati

i want to create sharepoint 2007 workflow with E-mail notification in sharepoint designer ?


i want to create sharepoint 2007 workflow with E-mail notificationin sharepoint Designer .

my Workflow Scenario is :


Step-1 employer send document for approval to manager .

step-2 When manager will approve or reject . status will send to the emloyer through mail.

step-3 when manager will approve than document is going for approval by main manager.

step-4 if approve or reject status will send it to employer and manager.


plz help me .. for this. how i create in sharepoint designer . plz send me any exmaple of this.



[Sharepoint 2007]Parse error when I add code behind the page to a normal aspx page ?


Hi all,

I dont need this form to be embedded into Sharepoint. I am adding this webpage into Sharepoint because i has issues due to cross-domain permission. I cannot call refresh sharepoint from my op up window  webpage. Therefore i want to add my webpage into the same domain as sharepoint.

I have added the webpage aspx form into Sharepoint from the sharepoint designer 2007. I would like to add code behind the page too.

What i have done at the moment was to create a project in visual studio for the code behind the page. I folloed this article :



Then i have added the dll intothe bin of my sharepoint site. i have also added in webconfig the dll.

However i got the following error :

Parser Error Message: The codefile attribute on the page directive is not allowed in this page.

Source Error: 

Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="FormOragniseMeeting.aspx.cs" Inherits="FormOrganiseMeeting.FormOrganiseMeetingCodeBehind" %>
Line 2: 
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">





Sharepoint Designer 2007 - Workflows stopped and can't create custom NewForm or custom EditForm


Everything was working great until the last few days when I made the SP site more robust. I am now ready to create a custom New Form so that my "requestor" doesn't have to deal with all of the fields. I want to create a custom Edit List so that I can hide all of the flags that get tripped while completing workflows. This morning I tried to create the NewForm (as I have done in the past) but nothing loads. I tried creating it with a different list, and it loaded fine so I know it has something to do with my list. I tried executing workflows so that I might be able to narrow down the problem, but now no workflows work even though they did a couple of days ago.

One of the items added as a "pause until" workflow. I don't know if that has anything to do with it or not. I also have roughly 85 fields. I haven't seen anywhere on the blogs that the number of fields is an issue but you never know.

Can anyone help? Please?

SharePoint 2007 Designer, create a meaningful subject


Hi all,

I am trying to create a custom workflow to send an email based on certain criteria.  I would like the subject of the email to be [Item Title]+"has been modified", or something like that.  I can choose the field in the Function, but I can't add any wording before or after the field name.  I also tried to use every syntax I can think of in the subject line to create it, but all I get is my code I entered not want I wanted to see.

Can this be done?



How to schedule blog posts in Sharepoint 2007?


Does anyone know how to schedule blog posts to run at different times? I run an online newsletter and would like to set up a months worth of stories ahead of time. I can't find the answer anywhere!



How to create a multi-stage workflow in SharePoint Designer 2007


Hello everyone,

I'm new at creating workflows and have only created a very basic one. I was handed a task and creating the following workflow and I have no ideal on what to do.

Here is what they want to happen.

 The user submitts the form and depending on what he chooses in the Segement Report Access field will determine on who it goes too. The user can choose multiple options. The options are our 4 divisons. Each division has one approver assigned to it. We created a list for this and then in the form it's a look up value.


The user choose two of the four options. (Sheet and Color) So the workflow needs to send and e-mail to the Sheet user to approve the request and it needs to send another e-mail to the Color user to approve the request. Now if they both reject it, the workflow would stop and send a message to the user saying your request has been rejected. But if one user approves it and the other one rejects it, it needs to go to the next step, which would be sending an e-mail to the user who sets up the account. They want him to be able to see which parts were approved and which parts were not approved.

Once he's setup then we need to send an e-mail to the requester saying that it's been approved.

Sorry if they is long, I just have no ideal where to start or how to start this.



Word 2007 cannot connect to Sharepoint Blog Provider

Hi All,

I created a new site collection using the Blog template (so the blog site created is the top level site),  everything works fine when accessing the site in a browser.  However, when trying to use Word 2007 as the blog program to post to the site, it doesn't work.  Here're the steps I tried:
1.  Click the "Launch blog program to post" on the site home page, which launches Word 2007
2.  On the New SharePoint Blog Account message box, it correctly shows the site URL.
3.  Click OK and it displays another message box saying When Word sends information to the blog service provider, it may be possible for other people to see the information, and ask you to confirm to continue.
4.  Click Yes to continue and a new message box comes up saying "Word cannot register your account.  The provider where you are tyring to publish is unavailable.  Contact your provider for assitnace."
My computer and the SharePoint server are on the same Windows domain though not the same segment, and I'm logged in as a domain user.  I can navigate to the site without problem, and I can open the site for editing in Sharepoint Desig

Cannot Create Approval Workflow in Sharepoint 2007


Hi Team,

I have an issue with Workflow Creation Wizard. Whenever i choose Workflow for Approval (Bulit-In Approval Workflow) and fill the details like Name of Workflow, Task List, Start Option etc.. and Click Next, It gives me an error message like...

InfoPath Form Error

There has been an error while loading the form

Click Try Again to attempt to load the form again.
If this error persists, contact the support team for the web site.


Now, because of that i can't be continue with Approval Workflow. I can create other workflow but not this.

My Server has Sharepoint 2007 Installed. and My System (From Where i am creating workflow) has installed Infopath 2007.

So, Request to all of you who has any idea about this issue Please let me know the steps to resolved.


Thanks & Regards, Brijesh Shah

Write Custom WebParts for SharePoint 2007

The popularity of SharePoint Portal Server 2003 led Microsoft to tightly integrate the next SharePoint version, Microsoft Office SharePoint Server (MOSS) 2007, with its ASP.NET 2.0 WebPart framework. This tight integration enables the ASP.NET and SharePoint developer to do a number of things that previously weren't possible

SharePoint 2007 Workflows - Things to Consider Before You Start

SharePoint 2007 (MOSS) utilizes the Workflow Foundation (WF) to enable workflows on lists and content types. But before you start doing cartwheels there are few things you should know before you get started. The experiences I'll be discussing are not from book smarts but from building real MOSS solutions that are in production today.

Writing Custom Web Parts for SharePoint 2007

As I mentioned in an earlier blog post, SharePoint 2007 is built on top of ASP.NET 2.0, which means you can now use ASP.NET 2.0 features (Forms Authentication, Master Pages, Membership, Site Navigation, New Data Controls, etc) when building SharePoint sites. This is true for both the new Windows SharePoint Services 3.0 version (which will be a free download) as well as Microsoft Office SharePoint Server 2007 (which costs money).
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend