无法加载文件或程序集“,版本= 1.0.61025.0错误 [英] Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0 Error
问题描述
我检查这个网站的解决方案,但我没有找到的东西,可以帮助我..
我的主机Diabled他们的服务器上的自定义错误,所以现在我可以看到真正的错误。
我的网站是在旧主机工作完美无瑕,但现在我搬到了一个新主机
请注意:在旧主机是 VPS 在的 NetVison主机的
所以,我心中已经采空付给他和现在我正在举办的相同的 NetVision 的主机为共享主机
所以,我感动了所有的文件到根文件夹并在配置在SQL细节在的Web.config
我无法加载某些原因该网站。
我得到了错误的所有时间。
请帮帮我!
的错误我得到:
在/应用程序的服务器错误。
配置错误
分析器错误信息:
无法加载文件或程序集,
版本= 1.0.61025.0,文化=中性公钥= 31bf3856ad364e35'或之一
它的依赖。该系统找不到指定的文件。
源错误:
49号线:其中,组件>
50号线:其中,加上装配=System.Design,版本= 2.0.0.0,文化=中性公钥= B03F5F7F11D50A3A/>
51号线:其中,加上装配=System.Web.Extensions程序,版本= 1.0.61025.0,文化=中性公钥= 31BF3856AD364E35/> *
线52:或其可/组件>
53号线:LT; /编译>
源文件:
\\文件服务器\\网站\\ NV355601 \\ www.picit.co.il \\ WWW \\ web.config中订单:51
我的web.config:的
<?XML版本=1.0&GT?;
<结构>
<&的appSettings GT;
<添加键=SiteAddressVALUE =http://www.picit.co.il//>
<添加键=SSLSiteAddressVALUE =https://bonsite-secure.co.il/picit//> <添加键=EMAIL_HOSTVALUE =mail.barak.net.il/>
<添加键=EMAIL_CONTACT_NAMEVALUE =PicIt/>
<添加键=EMAIL_USERVALUE =bonsite-barak.net.il/>
<添加键=EMAIL_PASSVALUE =013013/>
<添加键=MASTER_USERNAMEVALUE =bonsite/>
<添加键=MASTER_PASSWORDVALUE =#master123/> <添加键=的FCKeditor:UserFilesPathVALUE =〜/上/主//>
<添加键=的FCKeditor:基本路径VALUE =〜/控制/ FCKeditor的//>
< /的appSettings>
<&是connectionStrings GT;
<添加名称=精读的connectionString =数据源= 127.0.0.1;初始目录=分贝;用户= USR;密码= PWD;的providerName =System.Data.SqlClient的/>
< /&是connectionStrings GT;
<&的System.Web GT;
<全球化文化=他-IL的UICulture =他-IL/>
<的sessionState模式=是InProc/>
<的customErrors模式=关/>
<身份冒充=真/>
<身份验证模式=窗口/>
<的httpRuntime的maxRequestLength =22000
minFreeThreads =16
executionTimeout =500
useFullyQualifiedRedirectUrl =假
minLocalRequestFreeThreads =4
AP prequestQueueLimit =1000/>
<页面主题=前>
<&命名空间GT;
<添加命名空间=网站/>
< /命名空间>
<控制与GT;
<添加组件=System.Web.Extensions程序,版本= 1.0.61025.0,文化=中性公钥= 31bf3856ad364e35命名空间=System.Web.UI程序标签preFIX =ASP/>
<添加标签preFIX =上传命名空间=Brettle.Web.NeatUpload集结号=Brettle.Web.NeatUpload/>
<添加标签preFIX =FCK命名空间=FredCK.FCKeditorV2集结号=FredCK.FCKeditorV2/>
<添加标签preFIX =SWF变量名=电影SRC =〜/控制/ swf.ascx/>
<添加标签preFIX =BTN变量名=朋友SRC =〜/控制/ btn_friend.ascx/>
<添加组件=绑定命名空间=CustomControls标签preFIX =ASP/>
<添加组件=skmValidators命名空间=skmValidators标签preFIX =VLD/> <添加标签preFIX =CC变量名=上传SRC =〜/控制/ upload.ascx/>
< /控制>
< /页>
<编译调试=真正的>
<&集会GT;
<添加组件=System.Design,版本= 2.0.0.0,文化=中性公钥= B03F5F7F11D50A3A/>
<添加组件=System.Web.Extensions程序,版本= 1.0.61025.0,文化=中性公钥= 31BF3856AD364E35/>
< /组件>
< /编译>
<&的HttpModules GT;
<添加名称=UploadHttpModuleTYPE =Brettle.Web.NeatUpload.UploadHttpModule,Brettle.Web.NeatUpload/>
<添加名称=ScriptModuleTYPE =System.Web.Handlers.ScriptModule,System.Web.Extensions程序,版本= 1.0.61025.0,文化=中性公钥= 31bf3856ad364e35/>
< /&的HttpModules GT;
<&HttpHandlers的GT;
<清除动词=*路径=* ASMX。/>
<添加动词=*路径=*。ASMX验证=假TYPE =System.Web.Script.Services.ScriptHandlerFactory,System.Web.Extensions程序,版本= 1.0.61025.0,文化=中性公钥= 31bf3856ad364e35/>
<添加动词=GET,HEAD路径=的ScriptResource.axdTYPE =System.Web.Handlers.ScriptResourceHandler,System.Web.Extensions程序,版本= 1.0.61025.0,文化=中性公钥= 31bf3856ad364e35验证= 假/>
<添加动词=GET路径=的ScriptResource.axdTYPE =Microsoft.Web.Handlers.ScriptResourceHandler验证=FALSE/>
< / HttpHandlers的>
< /system.web>
< system.webServer>
<模块>
<添加名称=UploadHttpModuleTYPE =Brettle.Web.NeatUpload.UploadHttpModule,Brettle.Web.NeatUploadpreCondition =managedHandler/>
<添加名称=ScriptModuleTYPE =System.Web.Handlers.ScriptModule,System.Web.Extensions程序,版本= 1.0.61025.0,文化=中性公钥= 31bf3856ad364e35preCondition =managedHandler/>
< /模块>
<&处理GT;
<添加名称=ScriptResource.axd_GET路径=的ScriptResource.axd动词=GETTYPE =Microsoft.Web.Handlers.ScriptResourceHandlerpreCondition =integratedMode,runtimeVersionv2.0/>
<添加名称=ScriptResource.axd_GET,HEAD路径=的ScriptResource.axd动词=GET,HEADTYPE =System.Web.Handlers.ScriptResourceHandler,System.Web.Extensions程序,版本= 1.0.61025.0,文化=中性公钥= 31bf3856ad364e35preCondition =integratedMode,runtimeVersionv2.0/>
<添加名称=*。* asmx_路径=*。ASMX动词=*TYPE =System.Web.Script.Services.ScriptHandlerFactory,System.Web.Extensions程序,版本= 1.0.61025.0,文化=中性公钥= 31bf3856ad364e35preCondition =integratedMode,runtimeVersionv2.0/>
< /处理器>
<验证validateIntegratedModeConfiguration =FALSE/>
< /system.webServer>
< /结构>
感谢所有您的帮助!
您要问你的主机 ASP.NET 3.5
框架的支持。
I have check this site for solutions but i didn't find something that can help me.. My Host Diabled the Custom Error on their Server, So now i can see the real errors.
My web site was working flawless in the old Host, But now i Moved to a new host
Please pay attention: The Old host was a VPS on NetVison host
So i'v stoped paying him and now i'm hosting on the same NetVision host as a shared host.
So I moved all the files in to the root folder and config the SQL details in the Web.config
I can't load the site for some reason. i got Errors all the time. PLEASE HELP ME!
The Error I get:
Server Error in '/' Application.
Configuration Error
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 49: <assemblies>
Line 50: <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 51: <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>*
Line 52: </assemblies>
Line 53: </compilation>
Source File:
\filer\Sites\NV355601\www.picit.co.il\www\web.config Line: 51
MY Web.Config:
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="SiteAddress" value="http://www.picit.co.il/" />
<add key="SSLSiteAddress" value="https://bonsite-secure.co.il/picit/" />
<add key="EMAIL_HOST" value="mail.barak.net.il"/>
<add key="EMAIL_CONTACT_NAME" value="PicIt"/>
<add key="EMAIL_USER" value="bonsite-barak.net.il"/>
<add key="EMAIL_PASS" value="013013"/>
<add key="MASTER_USERNAME" value="bonsite"/>
<add key="MASTER_PASSWORD" value="master123#"/>
<add key="FCKeditor:UserFilesPath" value="~/Up/Main/"/>
<add key="FCKeditor:BasePath" value="~/Controls/FCKeditor/"/>
</appSettings>
<connectionStrings>
<add name="Con" connectionString="Data Source=127.0.0.1;Initial Catalog=db;user=usr;password=pwd;" providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
<globalization culture="he-IL" uiCulture="he-IL"/>
<sessionState mode="InProc"/>
<customErrors mode="Off"/>
<identity impersonate="true"/>
<authentication mode="Windows"/>
<httpRuntime maxRequestLength="22000"
minFreeThreads="16"
executionTimeout="500"
useFullyQualifiedRedirectUrl="false"
minLocalRequestFreeThreads="4"
appRequestQueueLimit="1000" />
<pages theme="Front">
<namespaces>
<add namespace="Website"/>
</namespaces>
<controls>
<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" namespace="System.Web.UI" tagPrefix="asp"/>
<add tagPrefix="Upload" namespace="Brettle.Web.NeatUpload" assembly="Brettle.Web.NeatUpload"/>
<add tagPrefix="fck" namespace="FredCK.FCKeditorV2" assembly="FredCK.FCKeditorV2"/>
<add tagPrefix="swf" tagName="movie" src="~/Controls/swf.ascx"/>
<add tagPrefix="Btn" tagName="Friend" src="~/Controls/btn_friend.ascx"/>
<add assembly="Bound" namespace="CustomControls" tagPrefix="asp"/>
<add assembly="skmValidators" namespace="skmValidators" tagPrefix="Vld"/>
<add tagPrefix="CC" tagName="Upload" src="~/Controls/upload.ascx"/>
</controls>
</pages>
<compilation debug="true">
<assemblies>
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</assemblies>
</compilation>
<httpModules>
<add name="UploadHttpModule" type="Brettle.Web.NeatUpload.UploadHttpModule, Brettle.Web.NeatUpload"/>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</httpModules>
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
<add verb="GET" path="ScriptResource.axd" type="Microsoft.Web.Handlers.ScriptResourceHandler" validate="false"/>
</httpHandlers>
</system.web>
<system.webServer>
<modules>
<add name="UploadHttpModule" type="Brettle.Web.NeatUpload.UploadHttpModule, Brettle.Web.NeatUpload" preCondition="managedHandler"/>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler"/>
</modules>
<handlers>
<add name="ScriptResource.axd_GET" path="ScriptResource.axd" verb="GET" type="Microsoft.Web.Handlers.ScriptResourceHandler" preCondition="integratedMode,runtimeVersionv2.0"/>
<add name="ScriptResource.axd_GET,HEAD" path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv2.0"/>
<add name="*.asmx_*" path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv2.0"/>
</handlers>
<validation validateIntegratedModeConfiguration="false"/>
</system.webServer>
</configuration>
Thanks ALL FOR YOUR HELP!
You have to ask to your host for ASP.NET 3.5
framework support.
这篇关于无法加载文件或程序集“,版本= 1.0.61025.0错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!