Problema con System y el FrameWork?

07/11/2003 - 21:31 por Guillermo Sierra | Informe spam
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

Preguntas similare

Leer las respuestas

#1 Michael Giagnocavo [MVP]
07/11/2003 - 23:15 | Informe spam
Estas seguro que compilaste con 2003 (los compiladores de 1.0?). Tienes que
poner un assemblyRedirect en tu web.config para que se redirecciona a los
assemblies de 1.0.

Aun mejor, instala v1.1 en el servidor :).

-mike
MVP

"Guillermo Sierra" wrote in message
news:%
Mostrar la cita
windows
Mostrar la cita
el
Mostrar la cita
+407
Mostrar la cita
#2 Guillermo Sierra
07/11/2003 - 23:25 | Informe spam
No yo tengo instalado en mi maquina windows 2000 y la version del Framework
de mi maquina es igual a la del servidor.

Si sabes algo me cuanetas.

Gracias.

"Michael Giagnocavo [MVP]" wrote in message
news:
Mostrar la cita
que
Mostrar la cita
la
Mostrar la cita
name
Mostrar la cita
ASP.NET
Mostrar la cita
determine
Mostrar la cita
an
Mostrar la cita
Binder
Mostrar la cita
activationAttributes)
Mostrar la cita
+160
Mostrar la cita
pagina
Mostrar la cita
#3 Michael Giagnocavo [MVP]
08/11/2003 - 07:16 | Informe spam
En algun lado esta 1.1, porque tienes esto:
, Version=1.0.5000.0,

Eso es la version 1.1.

-mike
MVP


"Guillermo Sierra" wrote in message
news:
Mostrar la cita
Framework
Mostrar la cita
los
Mostrar la cita
instalado
Mostrar la cita
error:
Mostrar la cita
found.
Mostrar la cita
the
Mostrar la cita
information
Mostrar la cita
32
Mostrar la cita
Culture=neutral,
Mostrar la cita
file:///c:/inetpub/wwwroot/suramericana/servicios/bin/System/System.DLL.
Mostrar la cita
file:///c:/inetpub/wwwroot/suramericana/servicios/bin/System/System.EXE.
Mostrar la cita
bindingAttr,
Mostrar la cita
System.Web.HttpApplicationFactory.FireApplicationOnStart(HttpContext
Mostrar la cita
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
Mostrar la cita
nada
Mostrar la cita
#4 Guillermo Sierra
10/11/2003 - 21:27 | Informe spam
Tienes toda la razón, en mi maquina tengo instalada la version 1.1 del
framework ya que vioenen con VS.NET 2003 y en el servidior la version 1.0,
como hago para que el aplicativo funcione, sin necesidad de instalar la
version 1.1 en el servidor,?

;e podrias ampliar el tema de poner un assemblyRedirect en tu web.config
para que se redirecciona a los
assemblies de 1.0.? la verdad no manejo mucho este tema.

Mil gracias por tua ayuda


Guillermo Sierra


"Michael Giagnocavo [MVP]" wrote in message
news:
Mostrar la cita
Tienes
Mostrar la cita
Copie
Mostrar la cita
Line:
Mostrar la cita
Culture=neutral,
Mostrar la cita
of
Mostrar la cita
wr)
Mostrar la cita
#5 Michael Giagnocavo [MVP]
10/11/2003 - 22:05 | Informe spam
En tu proyecto de VS.NET, en los properties del proyecto, puedes
especification para que framework es la aplicacion. Esto anadira todas las
entradas necesarias en tu web.config. Ahora bien, si usaste algo que solo
existe en v1.1 (hay varias cosas nuevas), no funcionara. Realmente debes
instalar v1.1 en el servidor -- te ahorraras mucho dolor asi :) (creeme,
hablo de experiencia en hacerlo asi :( ).
-mike
MVP

"Guillermo Sierra" wrote in message
news:
Mostrar la cita
a
Mostrar la cita
tiene
Mostrar la cita
of
Mostrar la cita
assembly
Mostrar la cita
{
Mostrar la cita
ASP.NET
Mostrar la cita
ASP.NET
Mostrar la cita
ASP.NET
Mostrar la cita
ASP.NET
Mostrar la cita
its
Mostrar la cita
target
Mostrar la cita
+66
Mostrar la cita
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance()
Mostrar la cita
+481
Mostrar la cita
Ads by Google
Search Busqueda sugerida