Вы находитесь на странице: 1из 53

1-: ASP.

NET
Windows Server 2008 / IIS 7.0


.........................................................................................................................3
1.

Internet Information Services (IIS)...........................................4

IIS............................................................................................................................4
IIS MANAGER.........................................................................................................12

2.

Microsoft SQL Server 2005..............................14

3.

ASP.NET AJAX Extensions 1.0...............................................31

4.

"1-: "....................35

.................................................................................................35
( ).........................................................................40
( )..........................................................41
( )........................................................42
( )....................................................43
( )..................................................................44
( )..........................................................46
( )................................................................47

5.

...................................................48

...................................................................................................................53


Microsoft Windows Server 2008
. Add Roles
Wizard, Server Manager,
, . ,
Windows Server 2008 .NET Framework 2.0,
"1-:

ASP.NET".
"1-:

ASP.NET ", IIS 7.0 Windows


Server 2008.
"1-: ASP.NET ",
.
Windows Server 2008 .
Microsoft.
: Windows Server 2008
. , ,
,
( ).
, ( ,
)
(Run as administrator).
"1-",
(http://dev.1c-bitrix.ru/support/).

I.

Internet Information Services (IIS)

Microsoft Windows Server 2008


Internet Information Services 7.0. IIS
, , ,
.

IIS
:
Windows Server 2008.
Start > Administration Tools > Server Manager.
Server Manager.
: .
Console tree Roles (. 1 .1):

. 1.1

Add Roles.
(. 1 .2).

. 1.2

.
Next.

. 1.3 ,

Web Server (IIS) (. 1 .3). Add Roles Wizard


(. 1 .4):

. 1.4

Add Required Features.


Next.

. 1.5

:
:
Add Roles Wizard (.
1 .4),
. Add
Required Features.
Common HTTP Features > HTTP Redirection HTTP URL.

Application Development > ASP.NET


"1-: ASP.NET".
Health and Diagnostics > Logging tools - .
Perfomance > Dynamic Content Compression
.
Management tools > Management Service -
IIS Remote Desktop Protocol,
IIS Manager.

Management tools > IIS6 Management Compatibility -


SMTP- FTP-.
FTP Publishing Service - FTP-.
:
IIS, Console tree: Roles > Web Server (IIS) Add
Role Services.
Next.

. 1.6

Install (. 1 .6).
.

. 1.7

, (. 1 .7).

. 1.8

. , Close
(. 1 .8).
IIS (. 1 .9):

10

. 1.9

11

IIS Manager
Server
Manager. IIS Manager
. Server Manager .
Server Manager.
Console tree Roles > Web Server (IIS) > Internet Information
Services (IIS) Manager. IIS Manager (. 1 .10):

. 1.10 IIS

Management
Management Service. Management Service (. 1 .11):

12

. 1.11

Enable remote connection.


Windows credentials or IIS Manager credentials -
RDP.
Apply Actions.
- Start, Actions.
Server Manager.
IIS 7 IIS Manager,
Windows Server 2008.
:

http://www.iis.net/downloads/default.aspx?tabid=34&g=6&i=1626 ,
.

13

II.

Microsoft SQL Server 2005

Microsoft SQL Server 2005


. ,
:
http://www.microsoft.com/downloads/details.aspx?FamilyID=220549b5-0b07-4448-8848dcc397514b41&DisplayLang=ru.
.

. 2.12

.
, I accept the licensing terms and conditions
(. 2 .12).
Next.

14

. 2.13


(. 2 .13).
Install .
, MS SQL
Server.

15

( )

. 2.14 SQL Server

(. 2 .14).
Next.

16

( )

. 2.15


(. 2 .15).
.
, Next.
.

17

. 2.16

, ,
(. 2 .16).
Next.

18

( )

. 2.17

Name . Company
(. 2 .17).
Hide advanced configuration options,
SQL Server.
.
Next.

19

( )

. 2.18

,
(. 2 .18).
, .
Next.

20

( )

. 2.19

,
. (Default instance)
(Named instance) , BITRIX (. 2 .19).
Next.

21

( )

. 2.20

SQL Server
Customize for each service account (. 2 .20).
.
,
.
Next.

22

( )

. 2.21

Mixed Mode
sa (. 2 .21).
Next.

23

( )

. 2.22

, Dictionary order,
case-insensitive, for use with the 1251 (Cyrillic) Character Set (. 2 .22).
Next.

24

( )

. 2.23

, ,
, Enable User
Instances (. 2 .23).
Next.

25

()

. 2.24

, (. 2 .24),
SQL Server
Microsoft.
Next.

26

()

. 2.25

SQL Server.
, Install (. 2 .25).
(. 2 .26):

27

. 2.26

28

. 2.27

(. 2 .27). Next.

29

( )

. 2.28 SQL Server

.
Finish (. 2 .28).
: SQL Server Management
Studio, .

30

III. ASP.NET AJAX Extensions 1.0


"1-: ASP.NET"
Microsoft ASP.NET AJAX Extensions 1.0.
, , :
http://www.microsoft.com/downloads/details.aspx?FamilyID=ca9d90fa-e8c9-42e3-aa1908e2c027f5d6&displaylang=en
.
( )

. 3.29 ASP.NET AJAX Extensions


(. 3 .29).
Next.

31

( )

. 3.30

.
, I accept the terms of the license agreement
(. 3 .30).
Next.

32

()

. 3.31

Install (. 3 .31), .

33

( )

. 3.32

ASP.NET 2.0 AJAX Extensions 1.0 .


Finish (. 3 .32).

34

IV. "1-: "


"1-: ASP.NET"
,
.



"1-: ASP.NET " zip http://www.1c-bitrix.ru/download/net.php (-)
http://www.1c-bitrix.ru/support/customers/sources_net.php ( ).
C:\Inetpub\wwwroot\ (
, -). :
C:\Inetpub\wwwroot\bitrixnet.
.
Properties C:\Inetpub\wwwroot\bitrixnet
Security.
NETWORK SERVICE
(. 4 .33).

. 4.33

35

-
IIS Connections Sites.
- (Default Web Site).
: - ,
.
Add Web Site (.
4 .34).

. 4.34

(. 4 .35).

. 4.35

36

Site name ( : bitrixnet).


Physical path .
Test Setting.
(. 4 .36), , ,
.

. 4.36

, -
.
:
Close Test Connection.
Connect as (. 4 .35), (.
4 .37):

. 4.37

Specific User Set.


. .

37

Test Setting.
(. 4 .38):

. 4.38

OK.
: "1-: ASP.NET"
.
:

. 4.39

, , BitDotNet (. 4 .
40):

38

. 4.40


"1-: ASP.NET " (
) , IIS. :
Connections bitrixnet.
Action Browse Web Site Browse.
"1-:

ASP.NET ".

39

( )

(. 4 .41).

. 4.41

40

( )

. 4.42

.
,
(. 4 .42).
.

41

( )
,
, .

. 4.43


. ,
DEMO (. 4 .43).
.

42

( )

(. 4 .44).

. 4.44

43

,
, .
.
.
.

( )

(. 4 .45).

. 4.45

44

:
: , MS SQL
(, localhost), MS SQL (, BITRIX),
MS SQL (. 2 .19).
: ,

.
: () MS SQL
.
: .
:
.
: (
), .
:
sa.
, MS SQL (. 2 .
21).
.

45

( )

(. 4 .46).
.
.

. 4.46

:
: .
: .
E-Mail: .
:
. ,
- (: *, ~).
:
.

46

( )

. 4.47

. ,
, - (. 4 .47).
:
.

47

V.

Microsoft Windows Server 2008 x64


Microsoft SQL Server 2005/2008.
ODBC.
:
Start, Run.
%SystemRoot%\SysWow64\odbcad32.exe
OK (. 5 .48):

. 5.48

ODBC Data Source Administrator.


System DSN Add (. 5 .49):

. 5.49 ODBC Data Source Administrator

48

, .
SQL Server (. 5 .50):

. 5.50

Finish.
SQL- (. 5 .51):

. 5.51 . 1

Name SQL-, Server - ,


MS SQL Server MS SQL Server,
MS SQL.
Next.

49

(. 5 .
52):

. 5.52 . 2

With SQL Server authentication using a login ID and


password entered by the user.
Client Configuration Add Network Library
Configuration (. 5 .53):

. 5.53

, OK.
Login ID Password ,
MS SQL Server.
Next.
Next (. 5 .54):

50

. 5.54 . 3

Finish (. 5 .55):

. 5.55 . 4

(. 5 .56):

51

. 5.56 ODBC

(. 5 .57):

. 5.57 ODBC

52


"1-:

ASP.NET" Microsoft Windows Server 2008.


, "1":
http://dev.1c-bitrix.ru/community/forums/
:
http://dev.1c-bitrix.ru/support/

53