Title: HELP needed with Deployment
Well, without being an expert on .net it seems to me that this is no different than compiling a program with packages, and then forgetting to deploy the package.

You are probably using the .Net version of indy, and you have not deployed the delphi core assemblies into a folder in the path on your installed system.

Just a guess.

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
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 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 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.
LOG: Attempting download of new URL 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 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 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.
LOG: Attempting download of new URL 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(RuntimeTypeHandle type) +0
   manualboxlabel.Units.manualboxlabel..cctor()

[TypeInitializationException: The type initializer for "manualboxlabel.Units.manualboxlabel" threw an exception.]
   System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle 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+IExecutionStep.Execute() +96
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +173   



_______________________________________________ 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

Reply via email to