Showing posts with label Free Sharepoint code Generation tool. Show all posts
Showing posts with label Free Sharepoint code Generation tool. Show all posts

Tuesday, October 4, 2011

How to change owner of Sharepoint site from administrator to NetworkService

Steps to "How to change owner of Sharepoint site from administrator to NetworkService":



A. Look application pools in IIS



  1. Look the identity column in application pool List in IIS 6.0 and the select the application pool which is using administrator as Identity.

  2. Change identity from Administrator to NetworkService(right click on a pool, click Advance setting, click on Identity and type NetworkService)

B. Open Database server where Sharepoint database is created for central admin as well as content dbs for webApps(Login to db server with Administrative or DomAdminitrator’s userId)



  1. Go to security and select user NetworkService. Right click and select properties.

  2. Allow access for this user as dbo by selecting User Mapping. User mapping will show you all the database for this userid.

  3. Click on each database name and select db_owner under “database role membership”

  4. If your content database was offline or under suspect condition, make it online now.

C. Restart IIS
Open Central admin or any sharepoint site now for testing

Thursday, March 31, 2011

Sharepoint Code Generation Tool

Code4Green.com has launched its Sharepoint Code Generation Tool Yesterday. Now Sharepoint developers can create Feature , Fields, Content Types, and Document Library using this tool. Visual Webparts is already available in code4green under ASP.net Category - It generates ascx control and ascx.cs file for given fields. You can Generate Sharepoint Features(i.e. List, Fields, Content Type, Doc. Library) using Code4green's Sharepoint Code Generation Tool. Please give you feedback and if you need any specific feature in sharepoint code generation, please feel to write me on Info@Code4green.com Enjoy Green Coding.... :)

Thursday, March 17, 2011

Copy and Paste of Script from Web page is becoming single line text

Hi,
I have been asked so many times with the development groups that they can not copy and paste the syntax code from some web pages with indentation.
Issue If a Syntax is in HTML's Code element, than simple copy and paste will paste as a single line text (in notepad or Visual Studio IDE). So, It will remove all the indentation also.
Solution: Copy the code from web page and paste into Excel sheet. It will keep indentation and color coding for you and then after that copy from excel and paste to your IDE.
Sample: Try to copy Syntax code from http://stackoverflow.com/questions/1404513/random-background-image-for-div page, and paste into notepad or IDE. It will become a single line of code.
But if you will copy and paste into excel and again copy from excel than paste into notepad or IDE than if will come into multiple lines with indentation.

Enjoy your Green Code @ code4green.com