SharePoint Learning Guide

Source: Internet
Author: User
Tags mstsc

2011.6.16

1. debugging:

(1) In the vs toolbar: set breakpoints, tools-attach to processes, open the website (published), and start debugging.

(2) wspbuilderextensions1.4vs2010.exe Installation Tool: sets breakpoints, web site-wspbuilder-attach to IIS worker processes, open the website (published), and start debugging.

(3) Add the eventhandle event processing DLL to GAC to debug eventhandle. Tool: osseventmanager.

Note: The premise for debugging is that the release version is consistent with the test version. The program may be cached and restarted.

 

2. Backup command:

SharePoint BACKUP command:
Iisreset/stop

: Back up it sites
: "C:/program files/common files/Microsoft shared/Web Server Extensions/12/bin/stsadm"-O backup-urlhttp: // localhost-filename

// 192.168.1.99/dept_private/itss/SharePoint/offline/80-% Date :~ 0, 10% _ aa1.bak-overwrite

: Back up sspconfig
: "C:/program files/common files/Microsoft shared/Web Server Extensions/12/bin/stsadm"-O backup-urlhttp: // localhost: 81-filename

// 192.168.1.99/dept_private/itss/SharePoint/offline/81-% Date :~ 0, 10% _ aa1.bak-overwrite

: Back up mysite
: "C:/program files/common files/Microsoft shared/Web Server Extensions/12/bin/stsadm"-O backup-urlhttp: // localhost: 82-filename

// 192.168.1.99/dept_private/itss/SharePoint/offline/82-% Date :~ 0, 10% _ aa1.bak-overwrite
: Backup QA pm
"C:/program files/common files/Microsoft shared/Web Server Extensions/12/bin/stsadm"-O backup-urlhttp: // localhost: 88-filename D: /88-% Date :~ 0, 10% _ aa1.bak-overwrite

Iisreset/start
Pause

 

3. In the CMD command, enter C:/Windows/assembly, and then xcopy gac_msil C:/temp/E
In this way, we get the DLLs, which is classified by namespace.
If you want to extract the DLLs from the set, use xcopy gac c:/temp/E

 

4. The error "the instance of the object has not been referenced" appears, which is generally due to the following reasons:

1. The viewstate object is null.

2. dateset is empty.

3. datareader is empty due to SQL statements or datebase.

4. When a string variable is declared without a null value, the variable is applied.

5. The new initialization object is not used.

6. The session object is empty.

7. When you assign a text value to the control, the value does not exist.

8. When request. querystring () is used, the obtained object does not exist, or the initial value is not assigned when the value is null.

9. When findcontrol is used, the control does not exist but is not preprocessed.

10. Repeated definitions may result in an error in setting the object reference to an instance.

 

5. the maximum number of connections allowed for the terminal server is exceeded.
Mstsc-Console
Mstsc/admin

 

6. hidden fields in the list:

First, enable the content type function of the List Library: "Settings"> "list Settings"> "Advanced Settings" in "general settings ", select "yes" for "whether to allow content management ".

Then, go to the "project" content type (figure 1) setting page on the "List Settings" page, and select the field to be hidden (field1) in the "column" (figure 2 ), go to the settings page, change "column Settings" to "hidden" (figure 3), and click "OK ".

 

 

 

 

 

 

 

 

 

 

Figure 1

 

 

Figure 2

 

 

Figure 3

 

 

7. List list hidden fields (using tools ):

Download tool: spcamleditor11000012.16.1(spcamleditor), double-click spcamleditor.exe -- open site on the menu -- enter site address -- find the name of the website to be modified (iacenter) -- list name (AR) -- fields (title) -- schemaxml -- add showineditform = "false" showinnewform = "false" to the file, and click "save.

 

<Field type = "choice" displayname = "Site" required = "false" format = "dropdown" fillinchoice = "false" id = "{response}" sourceid = "{7062cf53-2a10-47db-ada7-55ad4fc07d44} "staticname =" Site"
Name = "Site" colname = "nvarchar4" rowordinal = "0" showineditform = "false" showinnewform = "false" version = "4">

 

 

Insert-Modify poing control-custom-list form-(remove toolbar) Modify newforms

 

8. view the modification history of the list:

 

View the list history: Ar-setting-list setting-General settings-versioning settings-Yes (item version History)

Splistitem. Update ();

 

Showineditform = "false" showinnewform = "false">

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.