BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ISAPI dll with BDS2006 and .NET problem

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (IntraWeb)
View previous topic :: View next topic  
Author Message
Gisela
Guest





PostPosted: Fri May 19, 2006 9:15 am    Post subject: ISAPI dll with BDS2006 and .NET problem Reply with quote



BDS 2006 enterprise with intraweb 8.01(?)
Windows XP Professional
IIS 5.1

Here comes a few VERY basic questions:
I have installed BDS2006 and tried to find any basic documentation aboout
how to create an Intraweb ISAPI application with Delphi .NET, but I have
failed (just found for Delphi 2005).

I tried to create a simple app (with just a label on a form). The stand
alone works (despite the warnings listed below), but not the ASP.NET
assembly (ERROR: The page cannot be dispayed).
Warnings: Borland.Vcl.NetHandler is experimental
Borland.Vcl.Forms is specific to a platform

1. Must I install the updates before it works? If yes, which updates must I
install (update1, update2, IW 8.0.21, 8.0.22, 8.0.23) and in what order?

2. I cant't find comInitialization property in Server Controller (=
Apartment state?). Is there some other property you have to change or some
other code you have to write to make it work?

3. Which files should be copied to the virtual directory, xxx.dll and
web.config? Can I test it by writing http://localhost/foldername/xxx.dll?

4. Are there some changes you have to make to the IIS?

5. I wanted to test Guess.dll, but I just found Guess.dll.config and
web.config. Why is there no dll?

6. Could somebody please tell me the basic how-to-do steps or just give me a
hint of where to find this information?


/Gisela
Back to top
Gisela
Guest





PostPosted: Fri May 19, 2006 9:15 am    Post subject: Re: ISAPI dll with BDS2006 and .NET problem - ignore! Reply with quote



Please ignore these questions, I think I have found the problem...

"Gisela" <gisela.wendt-jonsson (AT) profdoc (DOT) com> skrev i meddelandet
news:446d8073$1 (AT) newsgroups (DOT) borland.com...
Quote:


BDS 2006 enterprise with intraweb 8.01(?)
Windows XP Professional
IIS 5.1

Here comes a few VERY basic questions:
I have installed BDS2006 and tried to find any basic documentation aboout
how to create an Intraweb ISAPI application with Delphi .NET, but I have
failed (just found for Delphi 2005).

I tried to create a simple app (with just a label on a form). The stand
alone works (despite the warnings listed below), but not the ASP.NET
assembly (ERROR: The page cannot be dispayed).
Warnings: Borland.Vcl.NetHandler is experimental
Borland.Vcl.Forms is specific to a platform

1. Must I install the updates before it works? If yes, which updates must
I
install (update1, update2, IW 8.0.21, 8.0.22, 8.0.23) and in what order?

2. I cant't find comInitialization property in Server Controller (=
Apartment state?). Is there some other property you have to change or some
other code you have to write to make it work?

3. Which files should be copied to the virtual directory, xxx.dll and
web.config? Can I test it by writing http://localhost/foldername/xxx.dll?

4. Are there some changes you have to make to the IIS?

5. I wanted to test Guess.dll, but I just found Guess.dll.config and
web.config. Why is there no dll?

6. Could somebody please tell me the basic how-to-do steps or just give me
a
hint of where to find this information?


/Gisela





Back to top
Gisela
Guest





PostPosted: Fri May 19, 2006 10:15 am    Post subject: Re: ISAPI dll with BDS2006 and .NET problem - don't ignore!! Reply with quote



Sorry for being so confused, but I still think I have a problem....
Back to top
Olaf Monien (Atozed Softw
Guest





PostPosted: Sun May 21, 2006 9:14 pm    Post subject: Re: ISAPI dll with BDS2006 and .NET problem Reply with quote

Gisela wrote:

Quote:
1. Must I install the updates before it works? If yes, which updates
must I install (update1, update2, IW 8.0.21, 8.0.22, 8.0.23) and in
what order?

At least 8.0.22 should be used. For 8.0.23 Update 2 is required.


Quote:
2. I cant't find comInitialization property in Server Controller (=
Apartment state?). Is there some other property you have to change or
some other code you have to write to make it work?

This does not exist in .NET by design.

Quote:

3. Which files should be copied to the virtual directory, xxx.dll and
web.config? Can I test it by writing
http://localhost/foldername/xxx.dll?

the assembly (dll) goes to the bin in your virtual directory. Then
create a subdir for your application (test for example) and put the
web.config which was created by the IW wizard into that directory.

Then the app can be started with:
http://localhost/test/start.aspx


Quote:

4. Are there some changes you have to make to the IIS?

No, just .NET 1.1 or 2.0 needs to be installed and configured for IIS.

Quote:

5. I wanted to test Guess.dll, but I just found Guess.dll.config and
web.config. Why is there no dll?

Is there a different output directory set in the project options? Maybe
c:\inetpub\scripts ...


--
Regards,

Olaf Monien
Atozed Software

----------------------------------
Blog: blogs.atozed.com/olaf
Free CMS:www.atozed.com/iws
Back to top
Olaf Monien (Atozed Softw
Guest





PostPosted: Mon May 22, 2006 11:14 am    Post subject: Re: ISAPI dll with BDS2006 and .NET problem Reply with quote

Gisela wrote:

Quote:
"Unit IWInitDotNET was compiled with a different version of
IWServer.TIWServer".

So what have I done wrong?

You did not apply BDS 2006 Update 1. If the update fails for you then
check the other newsgroup how to resolve that.


Quote:
2. Now I feel really stupid, but when you say that the assembly (dll)
goes to the bin in my virtual directory, I 'm not sure where you
mean.

In ASP.NET all "executables" aka Assemblies go to a "bin" folder

If mytest is configured as virtual directory then all assemblies go
here:
c:\inetpub\wwwroot\mytest\bin

I thought that I should create a subfolder called 'Test' and a
Quote:
virtual directory called 'Test' that points to the subfolder and
finally put my test.dll and web.config in this virtual directory (in
the same folder). Is this not correct?

No, that is how it works for Win32 ISAPI's. ASP.NET assemblies are
totaly different.


Quote:
3. A new stupid question: should something in the application be named
"start" in your example?

no. The web.config file of IW applications by default map any verb to
start the application.

http://localhost/test/foobar.aspx

would start the app as well.

Quote:
Have I missed something essential here? I really feel like an idiot.
Am I the only one that need a step by step documentation? Don't you
have an Intraweb with .NET for Dummies, so you will be spared from
these stupid questions?


hm, I thought we had one - hm, I'll post here when I got it online ...


--
Regards,

Olaf Monien
Atozed Software

----------------------------------
Blog: blogs.atozed.com/olaf
Free CMS:www.atozed.com/iws
Back to top
Gisela
Guest





PostPosted: Mon May 22, 2006 11:14 am    Post subject: Re: ISAPI dll with BDS2006 and .NET problem Reply with quote

Thank you very much for your answer.

I have now installed 8.0.22 ( I tried update 1, but it complained.
Translated to english: "Unable to install the correction file because the
program which is to be upgraded is either missing or the correction file is
for another version of the program. Check that the program to be upgraded is
installed and that you have the right correction file.")

1. When I create an Intraweb application for .NET (stand alone or ASP.NET
assembly) and then try to compile it (without having written any code at
all) I get the following error:

"Unit IWInitDotNET was compiled with a different version of
IWServer.TIWServer".

So what have I done wrong?

2. Now I feel really stupid, but when you say that the assembly (dll) goes
to the bin in my virtual directory, I 'm not sure where you mean. I thought
that I should create a subfolder called 'Test' and a virtual directory
called 'Test' that points to the subfolder and finally put my test.dll and
web.config in this virtual directory (in the same folder). Is this not
correct?

3. A new stupid question: should something in the application be named
"start" in your example?

Quote:
Then the app can be started with:
http://localhost/test/start.aspx

4. Guess.dll:

Quote:
Is there a different output directory set in the project options?

No, the output directory is blank. There is only a Guess.dpr, there is no
GuessDLL.dpr (like in the Win32 Guess example).


Have I missed something essential here? I really feel like an idiot. Am I
the only one that need a step by step documentation? Don't you have an
Intraweb with .NET for Dummies, so you will be spared from these stupid
questions?

/Gisela

>
Back to top
Gisela
Guest





PostPosted: Mon May 22, 2006 12:14 pm    Post subject: Re: ISAPI dll with BDS2006 and .NET problem Reply with quote

Thanks a lot for your help.

/Gisela

"Olaf Monien (Atozed Software)" <olaf-no-spam-please (AT) atozed (DOT) com> skrev i
meddelandet news:447194c5$1 (AT) newsgroups (DOT) borland.com...
Quote:

Gisela wrote:

"Unit IWInitDotNET was compiled with a different version of
IWServer.TIWServer".

So what have I done wrong?

You did not apply BDS 2006 Update 1. If the update fails for you then
check the other newsgroup how to resolve that.


2. Now I feel really stupid, but when you say that the assembly (dll)
goes to the bin in my virtual directory, I 'm not sure where you
mean.

In ASP.NET all "executables" aka Assemblies go to a "bin" folder

If mytest is configured as virtual directory then all assemblies go
here:
c:\inetpub\wwwroot\mytest\bin

I thought that I should create a subfolder called 'Test' and a
virtual directory called 'Test' that points to the subfolder and
finally put my test.dll and web.config in this virtual directory (in
the same folder). Is this not correct?

No, that is how it works for Win32 ISAPI's. ASP.NET assemblies are
totaly different.


3. A new stupid question: should something in the application be named
"start" in your example?

no. The web.config file of IW applications by default map any verb to
start the application.

http://localhost/test/foobar.aspx

would start the app as well.

Have I missed something essential here? I really feel like an idiot.
Am I the only one that need a step by step documentation? Don't you
have an Intraweb with .NET for Dummies, so you will be spared from
these stupid questions?


hm, I thought we had one - hm, I'll post here when I got it online ...


--
Regards,

Olaf Monien
Atozed Software

----------------------------------
Blog: blogs.atozed.com/olaf
Free CMS:www.atozed.com/iws
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (IntraWeb) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.