Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Сети";
Текущий архив: 2003.11.13;
Скачать: [xml.tar.bz2];

Вниз

Отладка Web приложения   Найти похожие ветки 

 
pupsik   (2003-09-18 11:51) [0]

Как отладить web приложение в стандарте ISAPI из Delphi7.
Стоит MS IIS 5.1(заведен свой каталог, из каторого запускать) Нужно ли какие-нибудь дополнительные сведения
заносить в реестр?


 
Palladin   (2003-09-18 12:10) [1]

отлаживать проще всего cgi, преврати свой isapi проект в cgi и отлаживай встроенными средствами делфи, после сведения количества глюков к минимуму превращай обратно в isapi...


 
Verg   (2003-09-18 12:12) [2]


> Palladin © (18.09.03 12:10) [1]


Брр... А не наоборот ли?


> cgi и отлаживай встроенными средствами делфи


Как?


 
Palladin   (2003-09-18 13:21) [3]


> Verg © (18.09.03 12:12) [2]

Нет не наоборот ли...


> Как?

Tools/Web App Debugger


 
Verg   (2003-09-18 13:53) [4]

Понял :)
А то сижу сейчас на 4-рке...


 
Е-Моё имя   (2003-09-18 13:57) [5]


> Tools/Web App Debugger

а я без этого отлаживал
запускал IIS в параметрах модуля
тока там надо настройки сделать
поищи статью How to debug ISAPI DLL"s on Windows 2000 with IIS5


 
Verg   (2003-09-18 14:03) [6]

А че искать-то.

Это прямо из help-а на Delphi-4
It is more difficult to debug CGI and Win-CGI applications, because the application itself must be launched by the Web server.

Simulating the server

For Win-CGI applications, you can simulate the server by manually writing the configuration settings file that contains the request information. Then launch the Win-CGI application, passing the location of the file containing the client information and the location of a file that the Win-CGI program should use to create content. You can then debug normally.

Debugging as a DLL
Another approach you can take with both CGI and Win-CGI applications is first to create and debug your application as an ISAPI or NSAPI application. Once your ISAPI or NSAPI application is working smoothly, convert it to a CGI or Win-CGI application. To convert your application, use the following steps:
1. Right-click the Web module and choose Add To Repository.
2. In the Add To Repository dialog, give your Web module a title, text description, repository page (probably Data Modules), author name, and icon.

8. Choose OK to save your web module as a template.
4. From the main menu, choose File|New and select Web Server Application. In the New Web Server Application dialog, choose CGI or Win-CGI, as appropriate.
5. Delete the automatically generated Web Module.
6. From the main menu, choose File | New and select the template you saved in step 3. This will be on the page you specified in step 2.
CGI and Win-CGI applications are simpler than ISAPI and NSAPI applications. Each instance of a CGI or Win-CGI application must handle only a single thread. Thus, these applications do not encounter the multi-threading issues that ISAPI and NSAPI applications must deal with. They also are immune to the problems that can arise from the caching of Web modules in ISAPI and NSAPI applications.


А это, сами знаете откуда...

http://bdn.borland.com/article/0,1410,20901,00.html


 
Verg   (2003-09-18 14:08) [7]

Там про 4-ки, а тут про 2000

http://bdn.borland.com/article/0,1410,23024,00.html



Страницы: 1 вся ветка

Форум: "Сети";
Текущий архив: 2003.11.13;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.46 MB
Время: 0.039 c
1-41377
Aleksandr
2003-10-30 13:09
2003.11.13
Почему неправильно рисуется PageControl?


8-41768
Карелин Артем
2003-07-07 11:16
2003.11.13
Определение геометрических размеров пятна на рисунке.


6-41801
Dolla
2003-09-17 13:02
2003.11.13
ошибка сокета


3-41079
GaM
2003-10-13 18:18
2003.11.13
Прошу простого совета


1-41298
Илайдж
2003-10-30 08:44
2003.11.13
Что за компонент?





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский