[DUG] HELP needed with Deployment
Jason Saggers
jsaggers at esp.co.nz
Thu Aug 11 10:51:49 NZST 2005
Thanks Rohit,
Although interestling that did directly solve the problem, but
using the Link in Delphi Units options for the core Borland dll's did.
Thanks for your help
Jason
(Still cant work out why I didn't remember this existed earrlier)
-----Original Message-----
From: Rohit Gupta [mailto:rohit at cfl.co.nz]
Sent: Thursday, 11 August 2005 9:47 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] HELP needed with Deployment
HiI,
It wasnt a switch. Under the Project Manager, under the Project, open
References. These are the assemblies that are required.
Right click menu will let you tell it to copy to your folder, so that
they are all in one place.
Date sent: Thu, 11 Aug 2005 00:05:37 +1200
From: Rohit Gupta <r.gupta at xtra.co.nz>
To: NZ Borland Developers Group - Delphi List
<delphi at ns3.123.co.nz>
Subject: Re: [DUG] HELP needed with Deployment
Send reply to: NZ Borland Developers Group - Delphi List
<delphi at ns3.123.co.nz>
<mailto:delphi-request at ns3.123.co.nz?subject=unsubscribe>
<mailto:delphi-request at ns3.123.co.nz?subject=subscribe>
[ Double-click this line for list subscription options ]
You are missing some assemblies. I discovered a switch in project
options that copies all the used assemblies into local development
directory. This way I know what I have to deploy. Cant remember where it
was, I will see if I can find it for you later in the morning.
Jason Saggers wrote:
> Hi,
>
> I have a ASP.NET app that I have delpoyed. Every page but one runs
> fine. However this one page, which is different has an indy component
> on it to out some result to a remote machine.
>
> When loading this page on the deployed site I get the following....
This
> run fine on the development system... How do I find out what I am
> missing etc...
>
> Jason
>
>
> */ File or assembly name Borland.Delphi, or one of its dependencies,
> was not found. / *
> * Description: * An unhandled exception occurred during the execution
> of the current web request. Please review the stack trace for more
> information about the error and where it originated in the code.
>
> * Exception Details: * System.IO.FileNotFoundException: File or
> assembly name Borland.Delphi, or one of its dependencies, was not
found.
>
> * Source Error: *
>
> [No relevant source lines]
>
> * Source File: *
> c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
> Files\reelworldtest\aedb24c2\da7c35d4\apxycikx.0.cs * Line: * 0
>
> * Assembly Load Trace: * The following information can be helpful to
> determine why the assembly 'Borland.Delphi' could not be loaded.
>
> === Pre-bind state information ===
> LOG: DisplayName = Borland.Delphi, Version=9.0.1761.24408,
> Culture=neutral, PublicKeyToken=91d62ebb5b0d1b1b
> (Fully-specified)
> LOG: Appbase = file:///Q:/T&TWebApp_Upload
> <file:///Q:/T&TWebApp_Upload>
> LOG: Initial PrivatePath = bin
> Calling assembly : (Unknown).
> ===
>
> LOG: Publisher policy file is not found.
> LOG: No redirect found in host configuration file
> (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
> LOG: Using machine configuration file from
> C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
> LOG: Post-policy reference: Borland.Delphi, Version=9.0.1761.24408,
> Culture=neutral, PublicKeyToken=91d62ebb5b0d1b1b
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary
> <file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary>
> ASP.NET Files/reelworldtest/aedb24c2/da7c35d4/Borland.Delphi.DLL.
>
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary
> <file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary>
> ASP.NET
>
Files/reelworldtest/aedb24c2/da7c35d4/Borland.Delphi/Borland.Delphi.DLL.
>
> LOG: Attempting download of new URL
> file:///Q:/T&TWebApp_Upload/bin/Borland.Delphi.DLL
> <file:///Q:/T&TWebApp_Upload/bin/Borland.Delphi.DLL> .
> LOG: Attempting download of new URL
> file:///Q:/T&TWebApp_Upload/bin/Borland.Delphi/Borland.Delphi.DLL
> <file:///Q:/T&TWebApp_Upload/bin/Borland.Delphi/Borland.Delphi.DLL> .
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary
> <file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary>
> ASP.NET Files/reelworldtest/aedb24c2/da7c35d4/Borland.Delphi.EXE.
>
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary
> <file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary>
> ASP.NET
>
Files/reelworldtest/aedb24c2/da7c35d4/Borland.Delphi/Borland.Delphi.EXE.
>
> LOG: Attempting download of new URL
> file:///Q:/T&TWebApp_Upload/bin/Borland.Delphi.EXE
> <file:///Q:/T&TWebApp_Upload/bin/Borland.Delphi.EXE> .
> LOG: Attempting download of new URL
> file:///Q:/T&TWebApp_Upload/bin/Borland.Delphi/Borland.Delphi.EXE
> <file:///Q:/T&TWebApp_Upload/bin/Borland.Delphi/Borland.Delphi.EXE> .
>
> * Stack Trace: *
>
> [FileNotFoundException: File or assembly name Borland.Delphi, or one
> of its dependencies, was not found.]
> IdCmdTCPClient.Units.IdCmdTCPClient..cctor() +0
>
> [TypeInitializationException: The type initializer for
> "IdCmdTCPClient.Units.IdCmdTCPClient" threw an exception.]
> System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(Run
> timeTypeHandle
> type) +0
> manualboxlabel.Units.manualboxlabel..cctor()
>
> [TypeInitializationException: The type initializer for
> "manualboxlabel.Units.manualboxlabel" threw an exception.]
> System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(Run
> timeTypeHandle
> type) +0
> manualboxlabel.TWebForm1..cctor()
>
> [TypeInitializationException: The type initializer for
> "manualboxlabel.TWebForm1" threw an exception.]
> manualboxlabel.TWebForm1..ctor() +0
> ASP.manualboxlabel_aspx..ctor() in
> c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
> Files\reelworldtest\aedb24c2\da7c35d4\apxycikx.0.cs:0
>
> [TargetInvocationException: Exception has been thrown by the target of
> an invocation.] System.RuntimeType.CreateInstanceImpl(Boolean
> publicOnly) +0 System.Activator.CreateInstance(Type type, Boolean
> nonPublic) +66
> System.Web.UI.TemplateControlParser.GetCompiledInstance(String
> virtualPath, String inputFile, HttpContext context) +164
>
> [HttpException (0x80004005): Failed to create page of type
> 'ASP.manualboxlabel_aspx'.]
> System.Web.UI.TemplateControlParser.GetCompiledInstance(String
> virtualPath, String inputFile, HttpContext context) +341
>
> System.Web.UI.PageParser.GetCompiledPageInstanceInternal(String
> virtualPath, String inputFile, HttpContext context) +43
>
> System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context,
> String requestType, String url, String path) +44
> System.Web.HttpApplication.MapHttpHandler(HttpContext context, String
> requestType, String path, String pathTranslated, Boolean useAppConfig)
> +699
>
> System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecuti
> onStep.Execute()
> +96
> System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
> completedSynchronously) +173
>
>
>-----------------------------------------------------------------------
>-
>
>_______________________________________________
>Delphi mailing list
>Delphi at ns3.123.co.nz
>http://ns3.123.co.nz/mailman/listinfo/delphi
>
>
_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
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 rohit at cfl.co.nz or r.gupta at xtra.co.nz
======================================================================
_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi
More information about the Delphi
mailing list