| หากคุณทำการ Import ข้อมูล Excel เข้าไปที่ SharePoint 2010 แล้วเจอ Error แบบนี้ 
ให้ไปแก้ไขที่ IE ของเครื่องที่คุณทำการ Import โดยการไปที่ Internet Option-Secrity แล้ว Add Site เข้าไปเป็น Local Intranet Site ครับ |
| 
คุณสามารถเอา Public Folder ออกโดยการไปลบที่ ADIS Edit ที่ตำแหน่งภาพด้านล่างนี้ครับ CN=Configuration->CN=Service->CN=Microsoft Exchange->CN=itks-training->.... 
เสร็จแล้วไปลบต่ออีกตำแหน่งหนึ่งดังภาพด้านล่างนี้
CN=Configuration->CN=Service->CN=Microsoft Exchange->CN=itks-training->.... 
|
| หากว่าคุณมีการสร้าง Share Folder แบบปกติ แล้วเข้าไปกำหนด"Enabled access-based enumeration" ตามรูปด้านล่างนี้ 
|
| This step-by-step article describes how to move a Dynamic Host Configuration Protocol (DHCP) database from a computer that is running Microsoft Windows NT Server 4.0, Microsoft Windows 2000, or Microsoft Windows Server 2003 to a computer that is running Windows Server 2003.
Note You can use the Microsoft Windows backup utility (ntbackup.exe) to back up and restore the DHCP database on a single server. Do not use the backup utility to migrate or to move a DHCP database from one DHCP server to another.
Export the DHCP database from a server that is running Windows NT Server 4.0 or Windows 2000 - Stop the DHCP Server service on the server:
- Log on to the source DHCP server by using an account that is a member of the local Administrators group.
- Click Start, click Run, type cmd in the Open box, and then click OK.
- At the command prompt, type net stop dhcpserver, and then press ENTER. You receive a "The Microsoft DHCP Server service is stopping. The Microsoft DHCP Server service was stopped successfully" message.
- Type exit, and then press ENTER.
- Compact the DHCP database by using the JetPack utility:
- Click Start, click Run, type cmd in the Open box, and then click OK.
- At the command prompt, type cd %systemroot%\system32\dhcp, and then press ENTER.
- Type jetpack dhcp.mdb temp.mdb, and then press ENTER.
- After the database is compacted successfully, type exit, and then press ENTER.
- Export the DHCP database by using the DHCP Export Import utility (Dhcpexim.exe). You can obtain this utility from the Windows 2000 Resource Kit Supplement 1. You can also visit the following Microsoft Web site to obtain Dhcpexim.exe: To export the database:
- Install the Dhcpexim.exe utility, and then start the Dhcpexim.exe utility.
- At the Welcome to DHCP Export Import tool screen, click Export configuration of the local service to a file, and then click Ok.
- In the File name box, type the file name for the exported file, and then click Save. For example, type dhcpdatabase.txt.
- Click the scope or scopes that you want to export, click to select the Disable the selected scopes on local machine before export check box, and then click Export.
- Click OK.
- Disable the DHCP Server service on the server. Disabling the DHCP Server service prevents the service from starting after the database has been transferred. To disable the DHCP Server service:
- Click Start, point to Settings, click Control Panel, and then double-click Services.
- In the Service list, click Microsoft DHCP Server, click Startup, click Disabled, and then click OK.
- If the service is started, click Stop, and then click Yes to confirm the stopping of the service.
- Click Close to close the Services dialog box.
Important Dhcpexim.exe is required to move the database successfully from a server that is running Windows 2000 or Windows NT 4.0 to a server that is running Windows Server 2003. Netsh commands for DHCP are not available in Windows NT 4.0.
Note If only the configuration (not the database) is required, use the following command (instead of Dhcpexim.exe) on the Windows 2000-based server that you want to export from. (Do not use Dhcpexim.exe.) netsh dhcp dump >C:\dhcp.txt where C:\dhcp.txt is the name and path of the export file that you want to use.
Note The export option does not exist in the netsh command on Windows 2000 Server. The netsh dhcp server dump and netsh dhcp server import commands are not compatible. If you try to import the data that is created by netsh dhcp server dump > C:\dhcp.txt by using netsh DHCP server import > C:\dhcp.txt, you receive the following error message on the Windows Server 2003-based computer: The request is not supported. You can migrate the exported configuration file to the new Windows Server 2003 server by using the following command: netsh exec c:\dhcp.txt Dhcpexim.exe is not supported in Windows Server 2003. If a database is exported on a Windows 2000-based computer by using Dhcpexim.exe, and you try to import the data to Windows Server 2003, Dhcpexim.exe quits, and you receive the following error message: An error occurred. An attempt was made to load a program with a incorrect format. If this behavior occurs, export data from Windows 2000 by using dhcpexim and then import the data on the Windows Server 2003 environment by using netsh DHCP server import xyz.txt.
Export the DHCP database from a server that is running Microsoft Windows Server 2003 To move a DHCP database and configuration from a server that is running Windows Server 2003 to another server that is running Windows Server 2003: - Log on to the source DHCP server by using an account that is a member of the local Administrators group.
- Click Start, click Run, type cmd in the Open box, and then click OK.
- Type netsh dhcp server export C:\dhcp.txt all, and then press ENTER.
Note You must have local administrator permissions to export the data.
Install the DHCP server service on the server that is running Windows Server 2003To install the DHCP Server service on an existing Windows Server 2003-based computer: - Click Start, click Control Panel, and then double-click Add or Remove Programs.
- Click Add/Remove Windows Components.
- In the Windows Component Wizard, click Networking Services in the Components box, and then click Details.
- Click to select the Dynamic Host Configuration Protocol (DHCP) check box if it is not already selected, and then click OK.
- In the Windows Components Wizard, click Next to install the selected components. Insert the Windows Server 2003 CD into your computer CD drive or DVD drive if you are prompted to do this. Setup copies the DHCP server and tool files to your computer.
- When Setup is complete, click Finish.
Import the DHCP databaseNote You may receive an "access denied" message during this procedure if you are not a member of the Backup Operators group. If you receive an "Unable to determine the DHCP server version for server" error message, make sure that the DHCP Server service is running on the server and that the user logged on is a member of the local Administrators group.
Important Do not use Dhcpexim.exe to import a DHCP database in Windows Server 2003. Additionally, if the target Windows 2003 server is a member server, and if you plan to promote it to a domain controller, we suggested that you perform the DHCP database migration before promoting it to a domain controller. Although you can migrate the DHCP database to a Windows 2003 domain controller, the migration to a member server will be easier because of the existence of the local administrator account. - Log on as a user who is an explicit member of the local Administrators group. A user account in a group that is a member of the local Administrators group will not work. If a local Administrators account does not exist for the domain controller, restart the computer in Directory Services Restore Mode, and use the administrator account to import the database as described later in this section.
- Copy the exported DHCP database file to the local hard disk of the Windows Server 2003-based computer.
- Verify that the DHCP service is started on the Windows Server 2003-based computer.
- Click Start, click Run, type cmd in the Open box, and then click OK.
- At the command prompt, type netsh dhcp server import c:\dhcpdatabase.txt all, and then press ENTER, where c:\dhcpdatabase.txt is the full path and file name of the database file that you copied to the server.
Note When you try to export a DHCP database from a Windows 2000 domain controller to a Windows Server 2003 member server of the domain, you may receive the following error message: Error initializing and reading the service configuration - Access Denied Note You must have local administrator permissions to import the data. - To resolve this issue, add the Windows Server 2003 DHCP server computer to the DHCP Admins group at the Enterprise level.
- If the "access is denied" error message occurs after you add the Windows Server 2003 DCHP server computer to the DHCP Admins group at the Enterprise level that is mentioned in step 4, verify that the user account that is currently used to import belongs to the local Administrators group. If the account does not belong to this group, add the account to that group, or log on as a local administrator to complete the import.
Note If the DHCP IMPORT or EXPORT command fails for users who are not explicit members of the local Administrators group, you must apply the following hotfix on the Windows Server 2003-based computer:
833167 (http://support.microsoft.com/kb/833167/ ) A Volume Shadow Copy Service (VSS) update package is available for Windows Server 2003 - After you receive the message that the command completed successfully, quit the command prompt.
Authorize the DHCP server- Click Start, point to All Programs, point to Administrative Tools, and then click DHCP.
Note You must be logged on to the server by using an account that is a member of the Administrators group. In an Active Directory domain, you must be logged on to the server by using an account that is a member of the Enterprise Administrators group. - In the console tree of the DHCP snap-in, expand the new DHCP server. If there is a red arrow in the lower-right corner of the server object, the server has not yet been authorized.
- Right-click the server object, and then click Authorize.
- After several moments, right-click the server again, and then click Refresh. A green arrow indicates that the DHCP server is authorized.
Reference to link below; http://support.microsoft.com/default.aspx?scid=kb;en-us;325473 |
| ในการสร้าง Data Warehouse บน SQL Server 2005 หรือ SQL Server 2008 คุณจำเป็นต้องสร้าง Time Table หรือที่เรียกว่า Dim Time แต่คุณจะสร้างได้อย่างไร ด้านล่างนี้เป็นการใช้คำสั่ง SQL Command สร้าง Table Dim Time ซึ่งคุณสามารถนำเป็นปรับปรุงแก้ไข เพิ่มเติมได้ตามความเหมาะสม ซึ่งคำสั่งด้านล่างนี้คุณจะได้เห็นถึงการใช้ Function Date Time ใน SQL ครับ สร้าง Table ก่อน ด้วยคำสั่งนี้ CREATE TABLE DimTime ( TimeKey int IDENTITY PRIMARY KEY, AlternateKey AS year(TheDate)*10000+month(TheDate)*100+day(TheDate), TheDate datetime NOT NULL, Year AS datepart(year,TheDate), Quarter AS datepart(quarter,TheDate), QuarterName AS 'Q'+datename(quarter,TheDate)+' '+datename(year,TheDate), Month AS datepart(month,TheDate), MonthName AS LEFT(datename(month,TheDate),3)+' '+datename(year,TheDate), Week AS datepart(week,TheDate), WeekName AS 'Week '+datename(week,TheDate)+' '+datename(year,TheDate), DateName AS datename(day,TheDate)+' '+LEFT(datename(month,TheDate),3)+' '+datename(year,TheDate), WeekDayProd AS datepart(dw,dateadd(day,-5,TheDate)), FirstWeekDayProd AS dateadd(day,1-datepart(dw,dateadd(day,-5,TheDate)),Thedate), YearProd AS datepart(year,dateadd(day,1-datepart(dw,dateadd(day,-5,TheDate)),Thedate)), QuarterProd AS datepart(quarter,dateadd(day,1-datepart(dw,dateadd(day,-5,TheDate)),Thedate)), QuarterProdName AS 'Q'+datename(quarter,dateadd(day,1-datepart(dw,dateadd(day,-5,TheDate)),Thedate))+' '+datename(year,dateadd(day,1-datepart(dw,dateadd(day,-5,TheDate)),Thedate)), MonthProd AS datepart(month,dateadd(day,1-datepart(dw,dateadd(day,-5,TheDate)),Thedate)), MonthProdName AS LEFT(datename(month,dateadd(day,1-datepart(dw,dateadd(day,-5,TheDate)),Thedate)),3)+' '+datename(year,dateadd(day,1-datepart(dw,dateadd(day,-5,TheDate)),Thedate)), WeekProd AS (DATEPART(day,dateadd(day,1-datepart(dw,dateadd(day,-5,TheDate)),Thedate))-1)/7+1, WeekProdName AS 'Week '+cast((DATEPART(day,dateadd(day,1-datepart(dw,dateadd(day,-5,TheDate)),Thedate))-1)/7+1 AS char(1))+' '+LEFT(datename(month,dateadd(day,1-datepart(dw,dateadd(day,-5,TheDate)),Thedate)),3)+' '+datename(year,dateadd(day,1-datepart(dw,dateadd(day,-5,TheDate)),Thedate)) ) หากต้องการสร้างข้อมูลช่วงวันที่เท่าไรก็กำหนดค่าได้เลยครับ DECLARE @startdate datetime,@enddate datetime SET @startdate='20090101' SET @enddate='20091231'
TRUNCATE TABLE DimTime WHILE (@startdate<=@enddate) BEGIN INSERT INTO DimTime VALUES(@startdate) SET @startdate=dateadd(day,1,@startdate) END
|
| ในการแก้ไขเปลี่ยนแปลง การ Configure กรณีที่มีการ Create Trust ระหว่าง Domain เอาไว้ หากต้องการ Disabled SID Filtering ต้องใช้คำสั่งอะไร โดยปกติแล้วหากมีการ Create Trust SID Filtering จะถูก Enabled อัตโนมัติ เพื่อความปลอดภัย แต่หากต้องการ Disalbed SID Filtering สามารถใช้คำสั่งนี้ได้ NETDOM รูปแบบคำสั่งดังนี้ คำสั่งสำหรับ Disabled SID Filtering กลับมาเหมือนเดิม netdom trust abc.com /domain:xyz.com /quarantine:No /userD:administrator /passwordD:abc และ คำสั่งสำหรับ Enabled SID Filtering กลับมาเหมือนเดิม netdom trust abc.com /domain:xyz.com /quarantine:No /userD:administrator /passwordD:abc ภาพการใช้คำสั่งทั้งสอง |
| หากคุณติดตั้ง SharePoint Service WSS 3.0 หรือ SharePoint Server 2007 บน Windows Server 2008 เรียบร้อยแล้ว สร้างเว็บ SharePoint เรียบร้อยแล้วเช่นกัน แต่ Login เข้าเว็บที่สร้างไม่ได้ ถึงแม้ว่าจะใส่ User & Password ถูกต้องหากเปิดจากเครื่อง Server 2008 ที่ติดตั้ง SharePoint ไว้ แต่ Login เข้าเว็บที่สร้างได้ปกติหากเปิดจากเครื่อง Client เช่น XP หรือ VISTA หากเจอแบบนี้ไม่ต้องแปลกใจครับ เพราะ Windows Server 2008 มีการตรวจสอบ LoopBack อยู่ คุณจึงไม่สามารถ Login เข้า SharePoint เว็บไซต์บนเครื่องตัวเองไม่ได้ คุณสามารถแก้ไขได้โดยการ Disable LoopBack Check โดยการแก้ไข Regedit ครับดังนี้ 1.คลิก Start->Run-> พิมพ์ Regedit แล้วกด OK 2.เข้าไปที่หัวข้อนี้ครับ HKEY_LOCAL_MACHINE\SYSTEM\CurrentcontrolSet\Control\Lsa 3.คลิกขาว ที่หัวข้อ Lsa แล้วสร้าง DWORD Value 4.พิมพ์ "DisableLoopbackCheck" แล้ว Enter 5.คลิก คลิก ที่ DisableLoopbackCheck แล้วใส่ค่าเป็นเลข 1 (ดังรูปด้านล่าง) 6.ปิด แล้วก็ Restart เครื่อง กลับมาลอง Login ใหม่อีกครั้ง |
| เมื่อคุณต้องการกำหนดให้ Windows Server 2000 ติดต่อกับ WSUS Server อาจจำเป็นต้อง Run Command พิเศษ คือ On client computers running Windows 2000, you can type the following at a command prompt: secedit /refreshpolicy machine_policy /enforce
สามารถโหลดไฟส์ที่เกี่ยวข้องได้ที่ลิงค์ด้านล่างนี้
|
| คำสั่งง่ายๆที่มีอยู่ใน Server อยู่แล้วและสามารถช่วยแสดง Port ที่คอมพิวเตอร์เครื่องนี้เปิดอยู่ ร่วมถึงแสดงรายละเอียดอื่นๆ ได้ด้วยลองใช้คำสั่งนี้ดูครับ NETSTAT ที่ Command Prompt เช่น netstat -an Active Connections Proto Local Address Foreign Address State TCP 0.0.0.0:80 0.0.0.0:0 LISTENING TCP 0.0.0.0:135 0.0.0.0:0 LISTENING TCP 0.0.0.0:445 0.0.0.0:0 LISTENING TCP 0.0.0.0:1123 0.0.0.0:0 LISTENING TCP 0.0.0.0:1433 0.0.0.0:0 LISTENING TCP 0.0.0.0:2393 0.0.0.0:0 LISTENING TCP 0.0.0.0:2394 0.0.0.0:0 LISTENING TCP 0.0.0.0:2725 0.0.0.0:0 LISTENING TCP 0.0.0.0:2967 0.0.0.0:0 LISTENING TCP 0.0.0.0:3389 0.0.0.0:0 LISTENING TCP 0.0.0.0:5938 0.0.0.0:0 LISTENING TCP 0.0.0.0:5988 0.0.0.0:0 LISTENING TCP 0.0.0.0:5989 0.0.0.0:0 LISTENING TCP 0.0.0.0:6060 0.0.0.0:0 LISTENING TCP 0.0.0.0:6129 0.0.0.0:0 LISTENING TCP 0.0.0.0:6988 0.0.0.0:0 LISTENING TCP 0.0.0.0:14247 0.0.0.0:0 LISTENING TCP 0.0.0.0:31038 0.0.0.0:0 LISTENING TCP 127.0.0.1:1030 0.0.0.0:0 LISTENING หรือใช้ netstat help เพื่อเรียก help ขึ้นมาดูเองก็ได้ครับ Displays protocol statistics and current TCP/IP network connections. NETSTAT [-a] [-b] [-e] [-n] [-o] [-p proto] [-r] [-s] [-v] [interval] -a Displays all connections and listening ports. -b Displays the executable involved in creating each connection or listening port. In some cases well-known executables host multiple independent components, and in these cases the sequence of components involved in creating the connection or listening port is displayed. In this case the executable name is in [] at the bottom, on top is the component it called, and so forth until TCP/IP was reached. Note that this option can be time-consuming and will fail unless you have sufficient permissions. -e Displays Ethernet statistics. This may be combined with the -s option. -n Displays addresses and port numbers in numerical form. -o Displays the owning process ID associated with each connection. -p proto Shows connections for the protocol specified by proto; proto may be any of: TCP, UDP, TCPv6, or UDPv6. If used with the -s option to display per-protocol statistics, proto may be any of: IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6. -r Displays the routing table. -s Displays per-protocol statistics. By default, statistics are shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6; the -p option may be used to specify a subset of the default. -v When used in conjunction with -b, will display sequence of components involved in creating the connection or listening port for all executables. interval Redisplays selected statistics, pausing interval seconds between each display. Press CTRL+C to stop redisplaying statistics. If omitted, netstat will print the current configuration information once. |
| ใน SQL Version 2000 นั้น ถ้าใครใช้ DTS ก็คงเคยใช้ตัว Connect ไปที่ ODBC เช่นติดต่อไปที่ Database DBF หรืออื่นๆเป็นต้น พอเปลี่ยนมาเป็น SQL Version 2005 หรือ 2008 ตัว DTS ไม่มีแล้วเปลี่ยนไปเป็น SSIS แทน แล้วถ้ามองหา Component ที่ใช้ในการ Connect Database จะไม่ให้ ODBC Connect เห็นแต่ OLE DB หากคุณต้องการที่จะใช้ ODBC คุณสามารถเลือก Component ที่ชื่อ "ADO NET SOURCE" ได้ครับ ดังรูปด้านล่าง |
|
|
|
|
|
|
|
Welcome to SharePoint Blogs. Use this space to provide a brief message about this blog or the owners. To edit this content, click on the menu for this web part and select "Modify Shared Web Part".
|
|
|
|
|