Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / ASP.NET [игнор отключен] [закрыт для гостей] / Хостинг / 14 сообщений из 14, страница 1 из 1
04.10.2004, 15:05
    #32722331
Solka
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Хостинг
Добрый день!
Проблема вот в чем:
У нас на п/п на сервере стоит Windows Server 2003. Мы установили на него IIS 6.0. и Access. По идее раньше у нас был сайт, но статический. И хостинг вроде бы остался. Да и доменное имя есть (iptor.com.ru). Я в этом плохо разбираюсь, поэтому подскажите плз как вызывать главную страничку по адресу. Мож где-то в IIS'e это прописать. Сейчас он обращается к нему так: http://localhost/site/index.asp (это с моей машины, а сервера он почему-то его не находит...?)

Что сделать, чтобы было: http://iptor.com.ru/index.asp?
Если можно поподробнее...
...
Рейтинг: 0 / 0
05.10.2004, 08:07
    #32723165
Solka
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Хостинг
Please, HELP!
Неужели никто не знает?!
Мож чего-то поподробнее написать...
Оч жду!
...
Рейтинг: 0 / 0
05.10.2004, 08:59
    #32723197
1024
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Хостинг
обратиться в ту контору через которую ваша к интеренети подключена.

Если соединение через модем то оставить эту затею.
...
Рейтинг: 0 / 0
05.10.2004, 10:11
    #32723315
maxapet
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Хостинг
Если у вас есть хостинг, то и сайт должен быть, на хостинг выложен. Доступ на сайт для обслуживания будет, скорее всего, через FTP. Управлять сайтом можно и через модем. А если вы хотите на своём сервере держать сайт, то необходима выделенная линия, статический IP, который нужно прописать в DNS той конторы, где зарегистрировано ваше доменное имя. За этим обратитесь к своему провайдеру.
...
Рейтинг: 0 / 0
05.10.2004, 15:58
    #32724381
Solka
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Хостинг
Есть хостинг и естесть сайт, также есть статический IP и DNS. Установлен IIS 6.0.
Как сконфигурировать IIS, чтобы из этого каталога можно было прицепиться к файлу?
...
Рейтинг: 0 / 0
06.10.2004, 08:01
    #32725090
maxapet
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Хостинг
К сожалению нет под рукой IIS, но, насколько мне помнится, в настройках можно указать где находится сайт - на данной машине, или ещё где.
...
Рейтинг: 0 / 0
06.10.2004, 09:04
    #32725126
Solka
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Хостинг
У меня какая-то фигня с IISом. Все установлено, но html-ки запускаются, а asp - нет, он выдает ошибку 404, и что не может найти эту страничку.
У меня такое подозрение: может быть это из-за того, что на у меня сайт написан на обычном АСПе, а на сервере в свойствах, в HTTP Headers он пишет: X-Powered by: ASP.NET . Мож все дело в этом...
Что мне сделать, чтобы нормально запускались файлы асп?!
Заранее спсб.
...
Рейтинг: 0 / 0
06.10.2004, 10:26
    #32725265
weber
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Хостинг
В свойствах IIS вы должны наставить страницы которые он распознаёт,
в основном это index.htm, index.html, default.asp, default.aspx. Если переименуете свою страничку с index.html на default.asp так страница вам 100 про покажется. Если по переименовании не показывается ошибка в IIS-конфигурации, если покажется подставляйте вместо неё свою АСП страницу и всё должно пойти. Само собой должен ходить DNS сервер. Так что для начала пропингнуть домену если отзывается то набрать www.названиедомены.ru а как главная вылезет ваша асп страница. Ну и коннект на базу данных само собой из АСП должен быть иначе страница не побежит, это если в АСП начитываете данные из базы.
...
Рейтинг: 0 / 0
06.10.2004, 10:32
    #32725276
weber
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Хостинг
авторhttp://localhost/site/index.asp (это с моей машины, а сервера он почему-то его не находит...?) Да забыл совсем если задаёте localhost со своей машины то сайт лежит не на сервере а у вас localhost это так называемый loopback обратная связь на ваш же комп и его сетевую карту. Вы должны задавать http://www.названиедомены.ru или http://www.название сервера.ru и всё сайт сам набежит т.к. в свойствах IIS как default страница должно быть или index.htm или default.asp. Как писал выше
...
Рейтинг: 0 / 0
06.10.2004, 10:52
    #32725328
weber
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Хостинг
автор X-Powered by: ASP.NET. Eсли так пишет то расширение IIS должно быть
Код: plaintext
default.aspx
У апликаций на платформе нет концовки ASPX. A это или default.aspx или index.aspx
...
Рейтинг: 0 / 0
06.10.2004, 12:54
    #32725715
Solka
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Хостинг
Это значит мне абсолютно все расширения и связи придется поменять? Их очень много...
А без этого никак нельзя?
Спсб
...
Рейтинг: 0 / 0
06.10.2004, 12:55
    #32725722
Solka
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Хостинг
Мож просто стоит поменять это самое X-Powered?!
...
Рейтинг: 0 / 0
06.10.2004, 15:07
    #32726137
Solka
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Хостинг
ОК. Я заменила практически все .asp на .aspx, но он выдает такую ошибку:

Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62.
63.
64.
65.
66.
67.
68.
69.
70.
71.
72.
73.
74.
75.
76.
77.
78.
79.
80.
81.
82.
83.
84.
85.
86.
87.
88.
89.
90.
91.
92.
93.
94.
95.
96.
97.
98.
99.
100.
101.
102.
103.
104.
105.
106.
107.
108.
109.
110.
111.
112.
113.
114.
115.
116.
117.
118.
119.
120.
121.
122.
123.
124.
125.
126.
127.
128.
129.
130.
131.
132.
133.
134.
135.
136.
137.
138.
139.
140.
141.
142.
143.
144.
145.
146.
147.
148.
149.
150.
151.
152.
153.
154.
155.
156.
157.
158.
159.
160.
161.
162.
163.
164.
165.
166.
167.
168.
169.
170.
171.
172.
173.
174.
175.
176.
177.
178.
179.
180.
181.
182.
183.
184.
185.
186.
187.
188.
189.
190.
191.
192.
193.
194.
195.
196.
197.
198.
199.
200.
201.
202.
203.
204.
205.
206.
207.
208.
209.
210.
211.
212.
213.
214.
215.
216.
217.
218.
219.
220.
221.
222.
223.
224.
225.
226.
227.
228.
229.
230.
231.
232.
233.
234.
235.
236.
237.
238.
239.
240.
241.
242.
243.
244.
245.
246.
247.
248.
249.
250.
251.
252.
253.
254.
255.
256.
257.
258.
259.
260.
261.
262.
263.
264.
265.
266.
267.
268.
269.
270.
271.
272.
273.
274.
275.
276.
277.
278.
279.
280.
281.
282.
283.
284.
285.
286.
287.
288.
289.
290.
291.
292.
293.
294.
295.
296.
297.
298.
299.
300.
301.
302.
303.
304.
305.
306.
307.
308.
309.
310.
311.
312.
313.
314.
315.
316.
317.
318.
319.
320.
321.
322.
323.
324.
325.
326.
327.
328.
329.
330.
331.
332.
333.
334.
335.
336.
337.
338.
339.
340.
Server Error in '/' Application.
 -------------------------------------------------------------------------------- 

Compilation Error 
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 

Compiler Error Message: BC30807: 'Let' and 'Set' assignment statements are no longer supported.

Source Error:

 

Line  25 : 
Line  26 : Dim fs 
Line  27 : Set fs = CreateObject("Scripting.FileSystemObject")
Line  28 : 
Line  29 : 	action = Request.Form("action")
 

Source File: C:\Ilya_test\download1.asp    Line:  27  



Show Detailed Compiler Output:


c:\windows\system32\inetsrv> "c:\windows\microsoft.net\framework\v1.1.4322\vbc.exe" /t:library /utf8output /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\3b3ce5b2\4edb6f3c\nvmog3i3.dll" /debug- /win32resource:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\3b3ce5b2\4edb6f3c\nvmog3i3.res"  "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\3b3ce5b2\4edb6f3c\nvmog3i3.0.vb"


Microsoft (R) Visual Basic .NET Compiler version  7 . 10 . 3052 . 4 
for Microsoft (R) .NET Framework version  1 . 1 . 4322 . 573 
Copyright (C) Microsoft Corporation  1987 - 2002 . All rights reserved.

C:\Ilya_test\download1.asp( 27 ) : error BC30807: 'Let' and 'Set' assignment statements are no longer supported.

Set fs = CreateObject("Scripting.FileSystemObject")
~~~                                                
C:\Ilya_test\download1.asp( 29 ) : error BC30451: Name 'action' is not declared.

    action = Request.Form("action")
    ~~~~~~                         
C:\Ilya_test\download1.asp( 30 ) : error BC30807: 'Let' and 'Set' assignment statements are no longer supported.

    Set f_gb = fs.OpenTextFile("/site/download.txt",  1 ,  0 )
    ~~~                                                   
C:\Ilya_test\download1.asp( 30 ) : error BC30451: Name 'f_gb' is not declared.

    Set f_gb = fs.OpenTextFile("/site/download.txt",  1 ,  0 )
        ~~~~                                              
C:\Ilya_test\download1.asp( 31 ) : error BC30451: Name 'gb_id' is not declared.

    gb_id = f_gb.ReadLine
    ~~~~~                
C:\Ilya_test\download1.asp( 31 ) : error BC30451: Name 'f_gb' is not declared.

    gb_id = f_gb.ReadLine
            ~~~~         
C:\Ilya_test\download1.asp( 33 ) : error BC30451: Name 'f_gb' is not declared.

                f_gb.Close
                ~~~~      
C:\Ilya_test\download1.asp( 34 ) : error BC30807: 'Let' and 'Set' assignment statements are no longer supported.

    Set f_gb = Nothing
    ~~~               
C:\Ilya_test\download1.asp( 34 ) : error BC30451: Name 'f_gb' is not declared.

    Set f_gb = Nothing
        ~~~~          
C:\Ilya_test\download1.asp( 36 ) : error BC30807: 'Let' and 'Set' assignment statements are no longer supported.

    Set f_gb = fs.OpenTextFile("/site/download.txt",  1 ,  0 )
    ~~~                                                   
C:\Ilya_test\download1.asp( 36 ) : error BC30451: Name 'f_gb' is not declared.

    Set f_gb = fs.OpenTextFile("/site/download.txt",  1 ,  0 )
        ~~~~                                              
C:\Ilya_test\download1.asp( 37 ) : error BC30451: Name 'gb_id' is not declared.

    gb_id = f_gb.ReadLine
    ~~~~~                
C:\Ilya_test\download1.asp( 37 ) : error BC30451: Name 'f_gb' is not declared.

    gb_id = f_gb.ReadLine
            ~~~~         
C:\Ilya_test\download1.asp( 39 ) : error BC30451: Name 'f_gb' is not declared.

                While not f_gb.AtEndOfStream
                          ~~~~              
C:\Ilya_test\download1.asp( 40 ) : error BC30451: Name 'gb_thema' is not declared.

        gb_thema = f_gb.ReadLine
        ~~~~~~~~                
C:\Ilya_test\download1.asp( 40 ) : error BC30451: Name 'f_gb' is not declared.

        gb_thema = f_gb.ReadLine
                   ~~~~         
C:\Ilya_test\download1.asp( 41 ) : error BC30451: Name 'gb_message' is not declared.

        gb_message = f_gb.ReadLine
        ~~~~~~~~~~                
C:\Ilya_test\download1.asp( 41 ) : error BC30451: Name 'f_gb' is not declared.

        gb_message = f_gb.ReadLine
                     ~~~~         
C:\Ilya_test\download1.asp( 43 ) : error BC30451: Name 'gb_thema' is not declared.

        if gb_thema="" then
           ~~~~~~~~        
C:\Ilya_test\download1.asp( 44 ) : error BC30451: Name 'out_thema' is not declared.

            out_thema = "Без названия"
            ~~~~~~~~~                 
C:\Ilya_test\download1.asp( 46 ) : error BC30451: Name 'out_thema' is not declared.

            out_thema = gb_thema
            ~~~~~~~~~           
C:\Ilya_test\download1.asp( 46 ) : error BC30451: Name 'gb_thema' is not declared.

            out_thema = gb_thema
                        ~~~~~~~~
C:\Ilya_test\download1.asp( 49 ) : error BC30451: Name 'f_gb' is not declared.

        While not ((f_gb.AtEndOfStream) or (left(gb_message,  1 )="#"))
                    ~~~~                                             
C:\Ilya_test\download1.asp( 49 ) : error BC30451: Name 'gb_message' is not declared.

        While not ((f_gb.AtEndOfStream) or (left(gb_message,  1 )="#"))
                                                 ~~~~~~~~~~          
C:\Ilya_test\download1.asp( 52 ) : error BC30451: Name 'out_thema' is not declared.

            __output.Write(out_thema)
                           ~~~~~~~~~ 
C:\Ilya_test\download1.asp( 54 ) : error BC30451: Name 'gb_message' is not declared.

            gb_message = f_gb.ReadLine
            ~~~~~~~~~~                
C:\Ilya_test\download1.asp( 54 ) : error BC30451: Name 'f_gb' is not declared.

            gb_message = f_gb.ReadLine
                         ~~~~         
C:\Ilya_test\download1.asp( 55 ) : error BC30809: 'Wend' statements are no longer supported; use 'End While' statements instead.

        Wend
        ~~~~
C:\Ilya_test\download1.asp( 56 ) : error BC30451: Name 'gb_id' is not declared.

        gb_id = gb_message
        ~~~~~             
C:\Ilya_test\download1.asp( 56 ) : error BC30451: Name 'gb_message' is not declared.

        gb_id = gb_message
                ~~~~~~~~~~
C:\Ilya_test\download1.asp( 57 ) : error BC30809: 'Wend' statements are no longer supported; use 'End While' statements instead.

    Wend
    ~~~~
C:\Ilya_test\download1.asp( 58 ) : error BC30451: Name 'f_gb' is not declared.

    f_gb.Close
    ~~~~      
C:\Ilya_test\download1.asp( 59 ) : error BC30807: 'Let' and 'Set' assignment statements are no longer supported.

    Set f_gb = Nothing
    ~~~               
C:\Ilya_test\download1.asp( 59 ) : error BC30451: Name 'f_gb' is not declared.

    Set f_gb = Nothing
        ~~~~          

 



Show Complete Compilation Source:


Line  1 :    '------------------------------------------------------------------------------
Line 2:    ' <autogenerated>
Line  3 :    '     This code was generated by a tool.
Line 4:    '     Runtime Version:  1 . 1 . 4322 . 573 
Line  5 :    '
Line 6:    '     Changes to this file may cause incorrect behavior and will be lost if 
Line  7 :    '     the code is regenerated.
Line 8:    ' </autogenerated>
Line  9 :    ' ------------------------------------------------------------------------------ 
Line  10 :   
Line  11 :   Option Strict Off
Line  12 :   Option Explicit On
Line  13 :   
Line  14 :   Imports Microsoft.VisualBasic
Line  15 :   Imports System
Line  16 :   Imports System.Collections
Line  17 :   Imports System.Collections.Specialized
Line  18 :   Imports System.Configuration
Line  19 :   Imports System.Text
Line  20 :   Imports System.Text.RegularExpressions
Line  21 :   Imports System.Web
Line  22 :   Imports System.Web.Caching
Line  23 :   Imports System.Web.Security
Line  24 :   Imports System.Web.SessionState
Line  25 :   Imports System.Web.UI
Line  26 :   Imports System.Web.UI.HtmlControls
Line  27 :   Imports System.Web.UI.WebControls
Line  28 :   
Line  29 :   Namespace ASP
Line  30 :       
Line  31 :       Public Class ind_download1_aspx
Line  32 :           Inherits System.Web.UI.Page
Line  33 :           Implements System.Web.SessionState.IRequiresSessionState
Line  34 :           
Line  35 :           Private Shared __initialized As Boolean = false
Line  36 :           
Line  37 :           Private Shared __stringResource As Object
Line  38 :           
Line  39 :           Private Shared __fileDependencies As System.Collections.ArrayList
Line  40 :           
Line  41 :           Public Sub New()
Line  42 :               MyBase.New
Line  43 :               Dim dependencies As System.Collections.ArrayList
Line  44 :               If (ASP.ind_download1_aspx.__initialized = false) Then
Line  45 :                   ASP.ind_download1_aspx.__stringResource = System.Web.UI.TemplateControl.ReadStringResource(GetType(ASP.ind_download1_aspx))
Line  46 :                   dependencies = New System.Collections.ArrayList
Line  47 :                   dependencies.Add("C:\Ilya_test\ind_download1.aspx")
Line  48 :                   dependencies.Add("C:\Ilya_test\download1.asp")
Line  49 :                   ASP.ind_download1_aspx.__fileDependencies = dependencies
Line  50 :                   ASP.ind_download1_aspx.__initialized = true
Line  51 :               End If
Line  52 :           End Sub
Line  53 :           
Line  54 :           Protected Overrides ReadOnly Property SupportAutoEvents As Boolean
Line  55 :               Get
Line  56 :                   Return false
Line  57 :               End Get
Line  58 :           End Property
Line  59 :           
Line  60 :           Protected ReadOnly Property ApplicationInstance As System.Web.HttpApplication
Line  61 :               Get
Line  62 :                   Return CType(Me.Context.ApplicationInstance,System.Web.HttpApplication)
Line  63 :               End Get
Line  64 :           End Property
Line  65 :           
Line  66 :           Public Overrides ReadOnly Property TemplateSourceDirectory As String
Line  67 :               Get
Line  68 :                   Return "/"
Line  69 :               End Get
Line  70 :           End Property
Line  71 :           
Line  72 :           Private Sub __BuildControlTree(ByVal __ctrl As System.Web.UI.Control)
Line  73 :               __ctrl.SetRenderMethodDelegate(AddressOf Me.__Render__control1)
Line  74 :           End Sub
Line  75 :           
Line  76 :           Private Sub __Render__control1(ByVal __output As System.Web.UI.HtmlTextWriter, ByVal parameterContainer As System.Web.UI.Control)
Line  77 :               Me.WriteUTF8ResourceString(__output,  0 ,  23638 , false)
Line  78 :               Me.WriteUTF8ResourceString(__output,  23638 ,  683 , false)
Line  79 :               
Line  80 :               #ExternalSource("C:\Ilya_test\download1.asp", 24 )
Line  81 :               
Line  82 :   
Line  83 :   Dim fs 
Line  84 :   Set fs = CreateObject("Scripting.FileSystemObject")
Line  85 :   
Line  86 :   	action = Request.Form("action")
Line  87 :   	Set f_gb = fs.OpenTextFile("/site/download.txt",  1 ,  0 )
Line  88 :   	gb_id = f_gb.ReadLine
Line  89 :   
Line  90 :               
Line  91 :               #End ExternalSource
Line  92 :               
Line  93 :               #ExternalSource("C:\Ilya_test\download1.asp", 33 )
Line  94 :               	f_gb.Close
Line  95 :   	Set f_gb = Nothing
Line  96 :   	
Line  97 :   	Set f_gb = fs.OpenTextFile("/site/download.txt",  1 ,  0 )
Line  98 :   	gb_id = f_gb.ReadLine
Line  99 :   
Line  100 :              
Line  101 :              #End ExternalSource
Line  102 :              
Line  103 :              #ExternalSource("C:\Ilya_test\download1.asp", 39 )
Line  104 :              	While not f_gb.AtEndOfStream
Line  105 :  		gb_thema = f_gb.ReadLine
Line  106 :  		gb_message = f_gb.ReadLine
Line  107 :  		
Line  108 :  		if gb_thema="" then
Line  109 :  			out_thema = "Без названия"
Line  110 :  		else
Line  111 :  			out_thema = gb_thema
Line  112 :  			end if
Line  113 :  
Line  114 :  		While not ((f_gb.AtEndOfStream) or (left(gb_message,  1 )="#"))
Line  115 :  
Line  116 :              
Line  117 :              #End ExternalSource
Line  118 :              __output.Write(""&Microsoft.VisualBasic.ChrW( 13 )&Microsoft.VisualBasic.ChrW( 10 )&"<p><font face=""Verdana"" size=""2""><span style=""font-size:8.0pt;font-family:Verda"& _ 
Line  119 :  "na;"">        "&Microsoft.VisualBasic.ChrW( 13 )&Microsoft.VisualBasic.ChrW( 10 )&"<img border=""0"" src=""imag"& _ 
Line  120 :  "es/arhive.bmp"">  ")
Line  121 :              
Line  122 :              #ExternalSource("C:\Ilya_test\download1.asp", 52 )
Line  123 :              __output.Write(out_thema)
Line  124 :              
Line  125 :              #End ExternalSource
Line  126 :              __output.Write("</span></font></p>"&Microsoft.VisualBasic.ChrW( 13 )&Microsoft.VisualBasic.ChrW( 10 ))
Line  127 :              
Line  128 :              #ExternalSource("C:\Ilya_test\download1.asp", 53 )
Line  129 :              
Line  130 :  			gb_message = f_gb.ReadLine
Line  131 :  		Wend
Line  132 :  		gb_id = gb_message
Line  133 :  	Wend
Line  134 :  	f_gb.Close
Line  135 :  	Set f_gb = Nothing
Line  136 :  
Line  137 :  
Line  138 :              
Line  139 :              #End ExternalSource
Line  140 :              Me.WriteUTF8ResourceString(__output,  24321 ,  1624 , false)
Line  141 :              Me.WriteUTF8ResourceString(__output,  25945 ,  799 , false)
Line  142 :          End Sub
Line  143 :          
Line  144 :          Protected Overrides Sub FrameworkInitialize()
Line  145 :              SetStringResourcePointer(ASP.ind_download1_aspx.__stringResource,  26744 )
Line  146 :              Me.__BuildControlTree(Me)
Line  147 :              Me.FileDependencies = ASP.ind_download1_aspx.__fileDependencies
Line  148 :              Me.EnableViewStateMac = true
Line  149 :              Me.Request.ValidateInput
Line  150 :          End Sub
Line  151 :          
Line  152 :          Public Overrides Function GetTypeHashCode() As Integer
Line  153 :              Return - 683747614 
Line  154 :          End Function
Line  155 :      End Class
Line  156 :  End Namespace
Line  157 :  
 




 -------------------------------------------------------------------------------- 
Version Information: Microsoft .NET Framework Version: 1 . 1 . 4322 . 573 ; ASP.NET Version: 1 . 1 . 4322 . 573  

Подскажите, плз, что мне делать?
...
Рейтинг: 0 / 0
06.10.2004, 15:14
    #32726162
Solka
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Хостинг
ОК. Я заменила практически все .asp на .aspx, но он выдает такую ошибку:

Server Error in '/' Application
--------------------------------------------------------------------------------
Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62.
63.
64.
65.
66.
67.
68.
69.
70.
71.
72.
73.
74.
75.
76.
77.
78.
79.
80.
81.
82.
83.
84.
85.
86.
87.
88.
89.
90.
91.
92.
93.
94.
95.
96.
97.
98.
99.
100.
101.
102.
103.
104.
105.
106.
107.
108.
109.
110.
111.
112.
113.
114.
115.
116.
117.
118.
119.
120.
121.
122.
123.
124.
125.
126.
127.
128.
129.
130.
131.
132.
133.
134.
135.
136.
137.
138.
139.
140.
141.
142.
143.
144.
145.
146.
147.
148.
149.
150.
151.
152.
153.
154.
155.
156.
157.
158.
159.
160.
161.
162.
163.
164.
165.
166.
167.
168.
169.
170.
171.
172.
173.
174.
175.
176.
177.
178.
179.
180.
181.
182.
183.
184.
185.
186.
187.
188.
189.
190.
191.
192.
193.
194.
195.
196.
197.
198.
199.
200.
201.
202.
203.
204.
205.
206.
207.
208.
209.
210.
211.
212.
213.
214.
215.
216.
217.
218.
219.
220.
221.
222.
223.
224.
225.
226.
227.
228.
229.
230.
231.
232.
233.
234.
235.
236.
237.
238.
239.
240.
241.
242.
243.
244.
245.
246.
247.
248.
249.
250.
251.
252.
253.
254.
255.
256.
257.
258.
259.
260.
261.
262.
263.
264.
265.
266.
267.
268.
269.
270.
271.
272.
273.
274.
275.
276.
277.
278.
279.
280.
281.
282.
283.
284.
285.
286.
287.
288.
289.
290.
291.
292.
293.
294.
295.
296.
297.
298.
299.
300.
301.
302.
303.
304.
305.
306.
307.
308.
309.
310.
311.
312.
313.
314.
315.
316.
317.
318.
319.
320.
321.
322.
323.
324.
325.
326.
327.
328.
329.
330.
331.
332.
333.
334.
335.
Compilation Error 
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 
Compiler Error Message: BC30807: 'Let' and 'Set' assignment statements are no longer supported.

Source Error:

 

Line  25 : 
Line  26 : Dim fs 
Line  27 : Set fs = CreateObject("Scripting.FileSystemObject")
Line  28 : 
Line  29 : 	action = Request.Form("action")

Source File: C:\Ilya_test\download1.asp    Line:  27  



Show Detailed Compiler Output:

c:\windows\system32\inetsrv> "c:\windows\microsoft.net\framework\v1.1.4322\vbc.exe" /t:library /utf8output /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\3b3ce5b2\4edb6f3c\nvmog3i3.dll" /debug- /win32resource:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\3b3ce5b2\4edb6f3c\nvmog3i3.res"  "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\3b3ce5b2\4edb6f3c\nvmog3i3.0.vb"


Microsoft (R) Visual Basic .NET Compiler version  7 . 10 . 3052 . 4 
for Microsoft (R) .NET Framework version  1 . 1 . 4322 . 573 
Copyright (C) Microsoft Corporation  1987 - 2002 . All rights reserved.

C:\Ilya_test\download1.asp( 27 ) : error BC30807: 'Let' and 'Set' assignment statements are no longer supported.

Set fs = CreateObject("Scripting.FileSystemObject")
~~~                                                
C:\Ilya_test\download1.asp( 29 ) : error BC30451: Name 'action' is not declared.

    action = Request.Form("action")
    ~~~~~~                         
C:\Ilya_test\download1.asp( 30 ) : error BC30807: 'Let' and 'Set' assignment statements are no longer supported.

    Set f_gb = fs.OpenTextFile("/site/download.txt",  1 ,  0 )
    ~~~                                                   
C:\Ilya_test\download1.asp( 30 ) : error BC30451: Name 'f_gb' is not declared.

    Set f_gb = fs.OpenTextFile("/site/download.txt",  1 ,  0 )
        ~~~~                                              
C:\Ilya_test\download1.asp( 31 ) : error BC30451: Name 'gb_id' is not declared.

    gb_id = f_gb.ReadLine
    ~~~~~                
C:\Ilya_test\download1.asp( 31 ) : error BC30451: Name 'f_gb' is not declared.

    gb_id = f_gb.ReadLine
            ~~~~         
C:\Ilya_test\download1.asp( 33 ) : error BC30451: Name 'f_gb' is not declared.

                f_gb.Close
                ~~~~      
C:\Ilya_test\download1.asp( 34 ) : error BC30807: 'Let' and 'Set' assignment statements are no longer supported.

    Set f_gb = Nothing
    ~~~               
C:\Ilya_test\download1.asp( 34 ) : error BC30451: Name 'f_gb' is not declared.

    Set f_gb = Nothing
        ~~~~          
C:\Ilya_test\download1.asp( 36 ) : error BC30807: 'Let' and 'Set' assignment statements are no longer supported.

    Set f_gb = fs.OpenTextFile("/site/download.txt",  1 ,  0 )
    ~~~                                                   
C:\Ilya_test\download1.asp( 36 ) : error BC30451: Name 'f_gb' is not declared.

    Set f_gb = fs.OpenTextFile("/site/download.txt",  1 ,  0 )
        ~~~~                                              
C:\Ilya_test\download1.asp( 37 ) : error BC30451: Name 'gb_id' is not declared.

    gb_id = f_gb.ReadLine
    ~~~~~                
C:\Ilya_test\download1.asp( 37 ) : error BC30451: Name 'f_gb' is not declared.

    gb_id = f_gb.ReadLine
            ~~~~         
C:\Ilya_test\download1.asp( 39 ) : error BC30451: Name 'f_gb' is not declared.

                While not f_gb.AtEndOfStream
                          ~~~~              
C:\Ilya_test\download1.asp( 40 ) : error BC30451: Name 'gb_thema' is not declared.

        gb_thema = f_gb.ReadLine
        ~~~~~~~~                
C:\Ilya_test\download1.asp( 40 ) : error BC30451: Name 'f_gb' is not declared.

        gb_thema = f_gb.ReadLine
                   ~~~~         
C:\Ilya_test\download1.asp( 41 ) : error BC30451: Name 'gb_message' is not declared.

        gb_message = f_gb.ReadLine
        ~~~~~~~~~~                
C:\Ilya_test\download1.asp( 41 ) : error BC30451: Name 'f_gb' is not declared.

        gb_message = f_gb.ReadLine
                     ~~~~         
C:\Ilya_test\download1.asp( 43 ) : error BC30451: Name 'gb_thema' is not declared.

        if gb_thema="" then
           ~~~~~~~~        
C:\Ilya_test\download1.asp( 44 ) : error BC30451: Name 'out_thema' is not declared.

            out_thema = "Без названия"
            ~~~~~~~~~                 
C:\Ilya_test\download1.asp( 46 ) : error BC30451: Name 'out_thema' is not declared.

            out_thema = gb_thema
            ~~~~~~~~~           
C:\Ilya_test\download1.asp( 46 ) : error BC30451: Name 'gb_thema' is not declared.

            out_thema = gb_thema
                        ~~~~~~~~
C:\Ilya_test\download1.asp( 49 ) : error BC30451: Name 'f_gb' is not declared.

        While not ((f_gb.AtEndOfStream) or (left(gb_message,  1 )="#"))
                    ~~~~                                             
C:\Ilya_test\download1.asp( 49 ) : error BC30451: Name 'gb_message' is not declared.

        While not ((f_gb.AtEndOfStream) or (left(gb_message,  1 )="#"))
                                                 ~~~~~~~~~~          
C:\Ilya_test\download1.asp( 52 ) : error BC30451: Name 'out_thema' is not declared.

            __output.Write(out_thema)
                           ~~~~~~~~~ 
C:\Ilya_test\download1.asp( 54 ) : error BC30451: Name 'gb_message' is not declared.

            gb_message = f_gb.ReadLine
            ~~~~~~~~~~                
C:\Ilya_test\download1.asp( 54 ) : error BC30451: Name 'f_gb' is not declared.

            gb_message = f_gb.ReadLine
                         ~~~~         
C:\Ilya_test\download1.asp( 55 ) : error BC30809: 'Wend' statements are no longer supported; use 'End While' statements instead.

        Wend
        ~~~~
C:\Ilya_test\download1.asp( 56 ) : error BC30451: Name 'gb_id' is not declared.

        gb_id = gb_message
        ~~~~~             
C:\Ilya_test\download1.asp( 56 ) : error BC30451: Name 'gb_message' is not declared.

        gb_id = gb_message
                ~~~~~~~~~~
C:\Ilya_test\download1.asp( 57 ) : error BC30809: 'Wend' statements are no longer supported; use 'End While' statements instead.

    Wend
    ~~~~
C:\Ilya_test\download1.asp( 58 ) : error BC30451: Name 'f_gb' is not declared.

    f_gb.Close
    ~~~~      
C:\Ilya_test\download1.asp( 59 ) : error BC30807: 'Let' and 'Set' assignment statements are no longer supported.

    Set f_gb = Nothing
    ~~~               
C:\Ilya_test\download1.asp( 59 ) : error BC30451: Name 'f_gb' is not declared.

    Set f_gb = Nothing
        ~~~~          

 



Show Complete Compilation Source:


Line  1 :    '------------------------------------------------------------------------------
Line 2:    ' <autogenerated>
Line  3 :    '     This code was generated by a tool.
Line 4:    '     Runtime Version:  1 . 1 . 4322 . 573 
Line  5 :    '
Line 6:    '     Changes to this file may cause incorrect behavior and will be lost if 
Line  7 :    '     the code is regenerated.
Line 8:    ' </autogenerated>
Line  9 :    ' ------------------------------------------------------------------------------ 
Line  10 :   
Line  11 :   Option Strict Off
Line  12 :   Option Explicit On
Line  13 :   
Line  14 :   Imports Microsoft.VisualBasic
Line  15 :   Imports System
Line  16 :   Imports System.Collections
Line  17 :   Imports System.Collections.Specialized
Line  18 :   Imports System.Configuration
Line  19 :   Imports System.Text
Line  20 :   Imports System.Text.RegularExpressions
Line  21 :   Imports System.Web
Line  22 :   Imports System.Web.Caching
Line  23 :   Imports System.Web.Security
Line  24 :   Imports System.Web.SessionState
Line  25 :   Imports System.Web.UI
Line  26 :   Imports System.Web.UI.HtmlControls
Line  27 :   Imports System.Web.UI.WebControls
Line  28 :   
Line  29 :   Namespace ASP
Line  30 :       
Line  31 :       Public Class ind_download1_aspx
Line  32 :           Inherits System.Web.UI.Page
Line  33 :           Implements System.Web.SessionState.IRequiresSessionState
Line  34 :           
Line  35 :           Private Shared __initialized As Boolean = false
Line  36 :           
Line  37 :           Private Shared __stringResource As Object
Line  38 :           
Line  39 :           Private Shared __fileDependencies As System.Collections.ArrayList
Line  40 :           
Line  41 :           Public Sub New()
Line  42 :               MyBase.New
Line  43 :               Dim dependencies As System.Collections.ArrayList
Line  44 :               If (ASP.ind_download1_aspx.__initialized = false) Then
Line  45 :                   ASP.ind_download1_aspx.__stringResource = System.Web.UI.TemplateControl.ReadStringResource(GetType(ASP.ind_download1_aspx))
Line  46 :                   dependencies = New System.Collections.ArrayList
Line  47 :                   dependencies.Add("C:\Ilya_test\ind_download1.aspx")
Line  48 :                   dependencies.Add("C:\Ilya_test\download1.asp")
Line  49 :                   ASP.ind_download1_aspx.__fileDependencies = dependencies
Line  50 :                   ASP.ind_download1_aspx.__initialized = true
Line  51 :               End If
Line  52 :           End Sub
Line  53 :           
Line  54 :           Protected Overrides ReadOnly Property SupportAutoEvents As Boolean
Line  55 :               Get
Line  56 :                   Return false
Line  57 :               End Get
Line  58 :           End Property
Line  59 :           
Line  60 :           Protected ReadOnly Property ApplicationInstance As System.Web.HttpApplication
Line  61 :               Get
Line  62 :                   Return CType(Me.Context.ApplicationInstance,System.Web.HttpApplication)
Line  63 :               End Get
Line  64 :           End Property
Line  65 :           
Line  66 :           Public Overrides ReadOnly Property TemplateSourceDirectory As String
Line  67 :               Get
Line  68 :                   Return "/"
Line  69 :               End Get
Line  70 :           End Property
Line  71 :           
Line  72 :           Private Sub __BuildControlTree(ByVal __ctrl As System.Web.UI.Control)
Line  73 :               __ctrl.SetRenderMethodDelegate(AddressOf Me.__Render__control1)
Line  74 :           End Sub
Line  75 :           
Line  76 :           Private Sub __Render__control1(ByVal __output As System.Web.UI.HtmlTextWriter, ByVal parameterContainer As System.Web.UI.Control)
Line  77 :               Me.WriteUTF8ResourceString(__output,  0 ,  23638 , false)
Line  78 :               Me.WriteUTF8ResourceString(__output,  23638 ,  683 , false)
Line  79 :               
Line  80 :               #ExternalSource("C:\Ilya_test\download1.asp", 24 )
Line  81 :               
Line  82 :   
Line  83 :   Dim fs 
Line  84 :   Set fs = CreateObject("Scripting.FileSystemObject")
Line  85 :   
Line  86 :   	action = Request.Form("action")
Line  87 :   	Set f_gb = fs.OpenTextFile("/site/download.txt",  1 ,  0 )
Line  88 :   	gb_id = f_gb.ReadLine
Line  89 :   
Line  90 :               
Line  91 :               #End ExternalSource
Line  92 :               
Line  93 :               #ExternalSource("C:\Ilya_test\download1.asp", 33 )
Line  94 :               	f_gb.Close
Line  95 :   	Set f_gb = Nothing
Line  96 :   	
Line  97 :   	Set f_gb = fs.OpenTextFile("/site/download.txt",  1 ,  0 )
Line  98 :   	gb_id = f_gb.ReadLine
Line  99 :   
Line  100 :              
Line  101 :              #End ExternalSource
Line  102 :              
Line  103 :              #ExternalSource("C:\Ilya_test\download1.asp", 39 )
Line  104 :              	While not f_gb.AtEndOfStream
Line  105 :  		gb_thema = f_gb.ReadLine
Line  106 :  		gb_message = f_gb.ReadLine
Line  107 :  		
Line  108 :  		if gb_thema="" then
Line  109 :  			out_thema = "Без названия"
Line  110 :  		else
Line  111 :  			out_thema = gb_thema
Line  112 :  			end if
Line  113 :  
Line  114 :  		While not ((f_gb.AtEndOfStream) or (left(gb_message,  1 )="#"))
Line  115 :  
Line  116 :              
Line  117 :              #End ExternalSource
Line  118 :              __output.Write(""&Microsoft.VisualBasic.ChrW( 13 )&Microsoft.VisualBasic.ChrW( 10 )&"<p><font face=""Verdana"" size=""2""><span style=""font-size:8.0pt;font-family:Verda"& _ 
Line  119 :  "na;"">        "&Microsoft.VisualBasic.ChrW( 13 )&Microsoft.VisualBasic.ChrW( 10 )&"<img border=""0"" src=""imag"& _ 
Line  120 :  "es/arhive.bmp"">  ")
Line  121 :              
Line  122 :              #ExternalSource("C:\Ilya_test\download1.asp", 52 )
Line  123 :              __output.Write(out_thema)
Line  124 :              
Line  125 :              #End ExternalSource
Line  126 :              __output.Write("</span></font></p>"&Microsoft.VisualBasic.ChrW( 13 )&Microsoft.VisualBasic.ChrW( 10 ))
Line  127 :              
Line  128 :              #ExternalSource("C:\Ilya_test\download1.asp", 53 )
Line  129 :              
Line  130 :  			gb_message = f_gb.ReadLine
Line  131 :  		Wend
Line  132 :  		gb_id = gb_message
Line  133 :  	Wend
Line  134 :  	f_gb.Close
Line  135 :  	Set f_gb = Nothing
Line  136 :  
Line  137 :  
Line  138 :              
Line  139 :              #End ExternalSource
Line  140 :              Me.WriteUTF8ResourceString(__output,  24321 ,  1624 , false)
Line  141 :              Me.WriteUTF8ResourceString(__output,  25945 ,  799 , false)
Line  142 :          End Sub
Line  143 :          
Line  144 :          Protected Overrides Sub FrameworkInitialize()
Line  145 :              SetStringResourcePointer(ASP.ind_download1_aspx.__stringResource,  26744 )
Line  146 :              Me.__BuildControlTree(Me)
Line  147 :              Me.FileDependencies = ASP.ind_download1_aspx.__fileDependencies
Line  148 :              Me.EnableViewStateMac = true
Line  149 :              Me.Request.ValidateInput
Line  150 :          End Sub
Line  151 :          
Line  152 :          Public Overrides Function GetTypeHashCode() As Integer
Line  153 :              Return - 683747614 
Line  154 :          End Function
Line  155 :      End Class
Line  156 :  End Namespace
Line  157 :  
 




 -------------------------------------------------------------------------------- 
Version Information: Microsoft .NET Framework Version: 1 . 1 . 4322 . 573 ; ASP.NET Version: 1 . 1 . 4322 . 573  


Подскажите, плз, что мне делать?
...
Рейтинг: 0 / 0
Форумы / ASP.NET [игнор отключен] [закрыт для гостей] / Хостинг / 14 сообщений из 14, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]