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:%
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·7a5c561934e089
(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·7a5c561934e089
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


Respuesta Responder a este mensaje
#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:
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:%
> 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·7a5c561934e089
> (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·7a5c561934e089
> 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
>
>


Respuesta Responder a este mensaje
#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:
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:
> 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:%
> > 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·7a5c561934e089
> > (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·7a5c561934e089
> > 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
> >
> >
>
>


Respuesta Responder a este mensaje
#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:
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:
> 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:
> > 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:%
> > > 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·7a5c561934e089
> > > (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·7a5c561934e089
> > > 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
> > >
> > >
> >
> >
>
>


Respuesta Responder a este mensaje
#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:
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:
> 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:
> > 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:
> > > 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:%
> > > > 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·7a5c561934e089
> > > > (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·7a5c561934e089
> > > > 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
> > > >
> > > >
> > >
> > >
> >
> >
>
>


Respuesta Responder a este mensaje
Ads by Google
Help Hacer una preguntaSiguiente Respuesta Tengo una respuesta
Search Busqueda sugerida