That explains it then, thanks. Cant use that path either as if the
webservice is hosted by an ISP we wont get access to it.
Have to resort to a named path - I will stick it in web.config.
Subject: RE: [DUG] executing assembly from dotnet websvc
Date sent: Tue, 3 May 2005 11:56:31 +1200
From: "Jason Saggers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>,
"NZ Borland Developers Group - Delphi List" <[email protected]>
Send reply to: NZ Borland Developers Group - Delphi List
<[email protected]>
<mailto:[EMAIL PROTECTED]>
<mailto:[EMAIL PROTECTED]>
[ Double-click this line for list subscription options ]
Depending on the Operating system, the executing directory, when you do
a getcurrentdirectory (have used this to read INI) points to
XP:
%SYSTEMROOT%\System32
2003:
%SYSTEMROOT%\System32\WebRoot (or something likethis)
This is as it refers to the executing point of the IIS service, and not
the directory of the actual application...
Jason
-----Original Message-----
From: Rohit Gupta [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 3 May 2005 11:49 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: RE: [DUG] executing assembly from dotnet websvc
Nah, still no luck. If I manually move the dll (and only the dll) into
a named folder and get the webservice to access the named folder then
everything works fine. However, I dont want a named folder, I want to
use the same directory as the parent dll.
Is there the equivalent of getcurrentdirectory in dotnet ?
Subject: RE: [DUG] executing assembly from dotnet websvc
Date sent: Tue, 3 May 2005 11:11:28 +1200
From: "Jason Saggers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>,
"NZ Borland Developers Group - Delphi List"
<[email protected]>
Send reply to: NZ Borland Developers Group - Delphi List
<[email protected]>
<mailto:[EMAIL PROTECTED]>
<mailto:[EMAIL PROTECTED]>
[ Double-click this line for list subscription options ]
The aspx file go into the root of the service, these are the files that
the call the code in the dll (the service being one as well).
Root/
*.aspx
global.asmx
bin/
*.dll
*.pdb
Jason
-----Original Message-----
From: Rohit Gupta [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 3 May 2005 11:06 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: RE: [DUG] executing assembly from dotnet websvc
What are the aspx and pdb files, do they have to be there with the dll ?
Subject: RE: [DUG] executing assembly from dotnet websvc
Date sent: Tue, 3 May 2005 11:00:42 +1200
From: "Jason Saggers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>,
"NZ Borland Developers Group - Delphi List"
<[email protected]>
Send reply to: NZ Borland Developers Group - Delphi List
<[email protected]>
<mailto:[EMAIL PROTECTED]>
<mailto:[EMAIL PROTECTED]>
[ Double-click this line for list subscription options ]
The dll goes in the bin directory of the WebService/ Web Application
directory
Jason Saggers
-----Original Message-----
From: Rohit Gupta [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 3 May 2005 10:55 a.m.
To: [EMAIL PROTECTED]; NZ Borland Developers Group - Delphi List
Subject: [DUG] executing assembly from dotnet websvc
When executing an assembly from a dotnet webservice, where does the dll
reside. I have the childdll in the same directory as the parentdll.
But the parent cant find it.
Regards
Rohit
====================================================
==================
CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand
PH (649) 489-2280
FX (649) 489-2290
email [EMAIL PROTECTED] or [EMAIL PROTECTED]
====================================================
==================
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi
Regards
Rohit
======================================================================
CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand
PH (649) 489-2280
FX (649) 489-2290
email [EMAIL PROTECTED] or [EMAIL PROTECTED]
======================================================================
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi
Regards
Rohit
======================================================================
CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand
PH (649) 489-2280
FX (649) 489-2290
email [EMAIL PROTECTED] or [EMAIL PROTECTED]
======================================================================
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi
Regards
Rohit
======================================================================
CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand
PH (649) 489-2280
FX (649) 489-2290
email [EMAIL PROTECTED] or [EMAIL PROTECTED]
======================================================================
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi