dropkic
04-24-2007, 09:54 AM
I am migrating asp classic site to asp.net 2.0
I tried this; I created a folder for asp.net pages, then uploaded all asp.net pages to that folder. This is a project I put together for a company catalog. I want to do the backend first. I have selected asp.net 2.0 for that folder in iss panel and I'm still getting an error. This is the error:
>
> Line 40: <compilation debug="true" strict="false" explicit="true">
> Line 41: <assemblies> Line 42: <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies></compilation>
> Line 43: <pages>
> Line 44: <namespaces>
>
> Can you help me or point me in the right direction. I haven't been able to find any info on running both asp classic and asp.net 2.0, if its even possible.
vvsharma
04-24-2007, 11:48 AM
Could you Post the whole error message?The lines you have posted doesnt profvide much information.
Vikram
DiscountASP.NET
www.DiscountASP.NET (http://www.discountasp.net/)
dropkic
04-25-2007, 01:15 AM
I am not using inline sql but using DAL with BAL and I think the code in the BAL might have something to do with it. I'm not sure but I've never seen that error before and if assemblies, then its code it cannot access to create assembly. Not sure, what do you think?
Server Error in '/' Application.
Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 40: <compilation debug="true" strict="false" explicit="true">
Line 41: <assemblies>
Line 42: <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies></compilation>
Line 43: <pages>
Line 44: <namespaces>
Source File: c:\inetpub\wwwroot\web.config Line: 42
Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Version Information:Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 <!--
[FileNotFoundException]: Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyNa me assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at System.Web.Configuration.CompilationSection.LoadAs semblyHelper(String assemblyName, Boolean starDirective)
[ConfigurationErrorsException]: Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. (c:\inetpub\wwwroot\web.config line 42)
at System.Web.Configuration.CompilationSection.LoadAs semblyHelper(String assemblyName, Boolean starDirective)
at System.Web.Configuration.CompilationSection.LoadAs sembly(AssemblyInfo ai)
at System.Web.Compilation.BuildManager.GetReferencedA ssemblies(CompilationSection compConfig)
at System.Web.Compilation.BuildProvidersCompiler..cto r(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName)
at System.Web.Compilation.CodeDirectoryCompiler.GetCo deDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed)
at System.Web.Compilation.BuildManager.CompileCodeDir ectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories)
at System.Web.Compilation.BuildManager.CompileCodeDir ectories()
at System.Web.Compilation.BuildManager.EnsureTopLevel FilesCompiled()
[HttpException]: Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. (c:\inetpub\wwwroot\web.config line 42)
at System.Web.Compilation.BuildManager.ReportTopLevel CompilationException()
at System.Web.Compilation.BuildManager.EnsureTopLevel FilesCompiled()
at System.Web.Hosting.HostingEnvironment.Initialize(A pplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)
[HttpException]: Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. (c:\inetpub\wwwroot\web.config line 42)
at System.Web.HttpRuntime.FirstRequestInit(HttpContex t context)
at System.Web.HttpRuntime.EnsureFirstRequestInit(Http Context context)
at System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest wr)
-->
bruce
04-25-2007, 05:48 AM
This error means that your application is trying use AJAX but it can't find it.
Do you have AJAX installed on your computer?
Bruce
DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)
dropkic
04-26-2007, 07:31 AM
You are correct! I installed the AJAX framework on the server and it worked. No more errors!
Thanks!
vBulletin® ©Jelsoft Enterprises Ltd.