Re: Error on changing Asp.net 3.5 To Asp.net 2.0
|
Jai Dev Dhabliwala |
|
6/3/2008 4:06:11 AM |
View this error code pls: Source Error:
Line 93: <add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></httpHandlers> Line 94: <httpModules> Line 95: <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></httpModules></system.web> Line 96: <system.codedom> Line 97: <compilers> |
Source File: D:\WWWRoot\apostolicjubilee.com\www\web.config Line: 95 Post Comments |
|
Re: Error on changing Asp.net 3.5 To Asp.net 2.0
|
Dorner Sodcup |
|
6/3/2008 4:06:54 AM |
Jaidev, It depends what 3.5 features you have used. If you have used LINQ or other 3.5 specific features you might be in a world of grief. Is it possible to move to a host that supports 3.5? IMHO would be your best move as there is no point downgrading.
Thanks Post Comments |
|
Thanks for the reply.. Velmeidi. Funny thing is..I really didnt use any 3.5 features...I would hate to transfer to another host..being that a friend of mine has also used 3.5 on a server running 2.0 successfully.. Post Comments |
|
Re: Maybe it is just your web.config..
|
Dorner Sodcup |
|
6/3/2008 4:10:04 AM |
Well, If you have not used 3.5 features you should be ok. Maybe it is just your web.config has some 3.5 specific things in there which it seems to be. Is your friend using any 3.5 specific features? .NET 3.5 is built ontop of 2.0 anyway maybe his server has 3.5 runtime installed? Could always send a request to your host to see if they will install it.
Thanks Post Comments |
|
Re: Error on changing Asp.net 3.5 To Asp.net 2.0
|
Wabou Lee |
|
6/3/2008 4:07:30 AM |
Hi,
The is because you references ASP.NET 3.5 assemblies.
If they are not required, please right click your project in Soluction Explorer, select Property Pages, in References please remove assemblies with the version number of 3.5.
Post Comments |
|
Thanks for the reply Warudu... I have removed the references that were in there and still receive the same error messege... Post Comments |
|
Re: Look at the web.config file
|
Wabou Lee |
|
6/3/2008 4:12:28 AM |
Jai, You can look at the web.config file. Try the following one:
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<appSettings/>
<connectionStrings/>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="false">
</compilation>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Windows" />
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
</system.web>
</configuration>
Post Comments |
|