Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

Pedro.Oliveira

Erro em codigo ASP

Recommended Posts

Amigos pesso desculpa se tiver violando alguma regra ainda estou lendos elas.

 

Bem minha duvida é o seguinte sou novato em asp antes meu site roda perfeito em um servido depois da migração do mesmo esta dando esse erro:

 

Server Error in '/' Application.

Could not load file or assembly 'App_Code' or one of its dependencies. The system cannot find the file specified.

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: Could not load file or assembly 'App_Code' or one of its dependencies. The system cannot find the file specified.

 

Source Error:

 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

 

Assembly Load Trace: The following information can be helpful to determine why the assembly 'App_Code' could not be loaded.

 

Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll

Running under executable C:\Windows\SysWOW64\inetsrv\w3wp.exe

--- A detailed error log follows.

 

=== Pre-bind state information ===

LOG: User = ARGOHOST\concilli

LOG: DisplayName = App_Code

(Partial)

LOG: Appbase = file://localhost/D/Users/cPanel/concilli/public_html/

LOG: Initial PrivatePath = \\localhost\D\Users\cPanel\concilli\public_html\bin

Calling assembly : (Unknown).

===

LOG: This bind starts in default load context.

LOG: No application configuration file found.

LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework\v2.0.50727\Aspnet.config

LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config.

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).

LOG: The same bind was seen before, and was failed with hr = 0x80070002.

 

 

Stack Trace:

 

[FileNotFoundException: Could not load file or assembly 'App_Code' or one of its dependencies. The system cannot find the file specified.]

System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0

System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43

System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127

System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142

System.Reflection.Assembly.Load(String assemblyString) +28

System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46

 

[ConfigurationErrorsException: Could not load file or assembly 'App_Code' or one of its dependencies. The system cannot find the file specified.]

System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +613

System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +203

System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +105

System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178

System.Web.Compilation.WebDirectoryBatchCompiler..ctor(VirtualDirectory vdir) +163

System.Web.Compilation.BuildManager.BatchCompileWebDirectoryInternal(VirtualDirectory vdir, Boolean ignoreErrors) +53

System.Web.Compilation.BuildManager.BatchCompileWebDirectory(VirtualDirectory vdir, VirtualPath virtualDir, Boolean ignoreErrors) +175

System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) +86

System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +261

System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +101

System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +126

System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +62

System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +33

System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) +37

System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +307

System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155

 

 

Version Information: Microsoft .NET Framework Version:2.0.50727.5420; ASP.NET Version:2.0.50727.5420 rsion:2.0.50727.5420

 

 

Desde já agradeço pelo ajuda e atenção.

Compartilhar este post


Link para o post
Compartilhar em outros sites

desabilie a opção de exibir mensagens de erro HTTP amigáveis no browser

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.