Buenos tardes,
Resulta que realice una aplicacion web en mi maquina, la cual tiene windows
2000 en español, VS.NET con la version del framework v1.0.3705. Copie la
aplicacion en la misma ruta en el servidor, el cual solo tiene instalado el
framework v1.0.3705, pero cuando la ejecuto me sale el siguienete error:
File or assembly name System, 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
System, or one of its dependencies, was not found.
Source Error:
Line 30: private static bool __intialized = false;
Line 31:
Line 32: public Global_asax() {
Line 33: if ((ASP.Global_asax.__intialized == false)) {
Line 34: ASP.Global_asax.__intialized = true;
Source File: C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET
Files\suramericana_servicios\acb94f4c\c5903d54\vd8oolrb.0.cs Line: 32
Assembly Load Trace: The following information can be helpful to determine
why the assembly 'System' could not be loaded.
Pre-bind state information ==LOG: DisplayName = System, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
(Fully-specified)
LOG: Appbase = file:///c:/inetpub/wwwroot/suramericana/servicios
LOG: Initial PrivatePath = bin
Calling assembly : servicios, Version=1.0.1404.30575, Culture=neutral,
PublicKeyToken=null.
==
LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file
(C:\WINNT\Microsoft.NET\Framework\v1.0.3705\aspnet.config).
LOG: Using machine configuration file from
C:\WINNT\Microsoft.NET\Framework\v1.0.3705\config\machine.config.
LOG: Post-policy reference: System, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET
Files/suramericana_servicios/acb94f4c/c5903d54/System.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET
Files/suramericana_servicios/acb94f4c/c5903d54/System/System.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/suramericana/servicios/bin/System.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/suramericana/servicios/bin/System/System.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET
Files/suramericana_servicios/acb94f4c/c5903d54/System.EXE.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET
Files/suramericana_servicios/acb94f4c/c5903d54/System/System.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/suramericana/servicios/bin/System.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/suramericana/servicios/bin/System/System.EXE.
Stack Trace:
[FileNotFoundException: File or assembly name System, or one of its
dependencies, was not found.]
servicios.Global..ctor() +0
ASP.Global_asax..ctor() in
C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET
Files\suramericana_servicios\acb94f4c\c5903d54\vd8oolrb.0.cs:32
[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.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder
binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
+277
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr,
Binder binder, Object[] args, CultureInfo culture, Object[]
activationAttributes) +109
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance() +160
System.Web.HttpApplicationFactory.FireApplicationOnStart(HttpContext
context) +20
System.Web.HttpApplicationFactory.Init(HttpContext context) +481
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
context) +155
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +407
No se si es problema de permisos o que, he intentado de todo pero nada
resulta, si tienen alguna idea bienvenida será.
NOTA: El framewrok del servidor funciona porque cuando ejecuta una pagina
con el siguiente codigo la procesa bien:
<script language=C# runat=server>
public void Page_Load(){
Response.Write("Ejecute el servicio visual");
}
</script>
Muchas gracias,
Guillermo Sierra
Leer las respuestas