Could not load file or assembly 'vjscor, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Web config set to target the 4.0 framework. No assemblies reside in web.config. I recognize this error from 2.0 and 3.5 days. What is causing this is when a scriptmanager was added to a master page.
Here is the web.config file. Any help is much appreciated
<?xml version="1.0"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<appSettings />
<connectionStrings/>
<system.web>
<membership defaultProvider="SqlProvider" userIsOnlineTimeWindow="15">
<providers>
<clear/>
<!--passwordStrengthRegularExpression="^.*(?=.{7,})(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[?!*@#$,/%^+=\.]).*$"-->
<add name="SqlProvider" type="System.Web.Security.SqlMembershipProvider" applicationName="IBP" connectionStringName="membership" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" requiresUniqueEmail="true" passwordFormat="Hashed" maxInvalidPasswordAttempts="3" minRequiredPasswordLength="8" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="4" passwordStrengthRegularExpression="^.*(?=.{8,})(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).*$"/>
</providers>
</membership>
<roleManager defaultProvider="SqlProvider" enabled="true" cacheRolesInCookie="false" cookieTimeout="30" cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true" createPersistentCookie="false" cookieProtection="All">
<providers>
<add name="SqlProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="membership" applicationName="IBP"/>
</providers>
</roleManager>
<profile defaultProvider="SqlProvider">
<providers>
<clear/>
<add name="SqlProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="membership" applicationName="IBP"/>
</providers>
<properties>
<!--<add name="SampleValue" />-->
</properties>
</profile>
<!-- Added to help with exports RCR 20031202 -->
<httpRuntime executionTimeout="36000" maxRequestLength="1048576"/>
<!-- DYNAMIC DEBUG COMPILATION
Set compilation debug="true" to insert debugging symbols (.pdb information)
into the compiled page. Because this creates a larger file that executes
more slowly, you should set this value to true only when debugging and to
false at all other times. For more information, refer to the documentation about
debugging ASP.NET files.
-->
<trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true"/>
<customErrors mode="Off" defaultRedirect="error.aspx">
<!--remote only will when not ran locally, set to On for local-->
<error statusCode="404" redirect="404.aspx"/>
<error statusCode="500" redirect="500.aspx"/>
</customErrors>
<pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID">
<namespaces>
<add namespace="Microsoft.VisualBasic"/>
<add namespace="System.Data"/>
<add namespace="System.Drawing"/>
</namespaces>
<tagMapping/>
</pages>
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa;password=" cookieless="false" timeout="20"/>
<!--
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 defaultLanguage="c#" debug="true" batch="false" targetFramework="4.0">
<assemblies>
<add assembly="ADODB, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="Syncfusion.Tools.Web, Version=4.402.0.51, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89"/>
<add assembly="Syncfusion.Shared.Web, Version=4.402.0.51, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89"/>
<add assembly="Syncfusion.Pdf.Base, Version=4.402.0.51, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89"/>
<add assembly="Syncfusion.Pdf.Web, Version=4.402.0.51, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89"/>
<add assembly="Syncfusion.Compression.Base, Version=4.402.0.51, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89"/>
<add assembly="Syncfusion.Core, Version=4.402.0.51, Culture=neutral, PublicKeyToken=632609B4D040F6B4"/>
<add assembly="Syncfusion.DLS.Base, Version=4.402.0.51, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89"/>
<!--COMMENTED OUT TO DETERMINE WHAT IS USED AND USED, UNCOMMENT AS NEEDED-->
<!--<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Data.DataSetExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />-->
<!--<add assembly="System.Management, Version=.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />-->
<add assembly="Microsoft.SqlServer.Smo, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
<add assembly="Microsoft.SqlServer.SmoEnum, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
<add assembly="Microsoft.SqlServer.SqlEnum, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
<add assembly="System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
</assemblies>
<codeSubDirectories>
<add directoryName="CS_Code"/>
</codeSubDirectories>
</compilation>
<authentication mode="Forms">
<forms name="Login" loginUrl="Default.aspx" protection="All" timeout="30" path="/" cookieless="UseCookies"/>
</authentication>
<!--default culture settings-->
<globalization fileEncoding="utf-8" requestEncoding="utf-8" responseEncoding="utf-8" culture="en-US" uiCulture="en-US"/>
<trust level="Full"/>
</system.web>
</configuration>
Appreciate the links but I don't recall ever saying we switched to 2.0 and it worked. It started as a 4.0 and has always stayed a 4.0. The ajax control kit we are using is already the designated for 4.0. One of the first things done when the app was created.
For an interim until a real solutions is found we've removed the scriptmanager and the app is working now.
clumsyhamste...
Member
24 Points
11 Posts
Framework 4.0 vjscor error
Feb 21, 2012 08:35 PM|LINK
Getting the error
Could not load file or assembly 'vjscor, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Web config set to target the 4.0 framework. No assemblies reside in web.config. I recognize this error from 2.0 and 3.5 days. What is causing this is when a scriptmanager was added to a master page.
Here is the web.config file. Any help is much appreciated
<?xml version="1.0"?> <!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433 --> <configuration> <appSettings /> <connectionStrings/> <system.web> <membership defaultProvider="SqlProvider" userIsOnlineTimeWindow="15"> <providers> <clear/> <!--passwordStrengthRegularExpression="^.*(?=.{7,})(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[?!*@#$,/%^+=\.]).*$"--> <add name="SqlProvider" type="System.Web.Security.SqlMembershipProvider" applicationName="IBP" connectionStringName="membership" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" requiresUniqueEmail="true" passwordFormat="Hashed" maxInvalidPasswordAttempts="3" minRequiredPasswordLength="8" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="4" passwordStrengthRegularExpression="^.*(?=.{8,})(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).*$"/> </providers> </membership> <roleManager defaultProvider="SqlProvider" enabled="true" cacheRolesInCookie="false" cookieTimeout="30" cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true" createPersistentCookie="false" cookieProtection="All"> <providers> <add name="SqlProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="membership" applicationName="IBP"/> </providers> </roleManager> <profile defaultProvider="SqlProvider"> <providers> <clear/> <add name="SqlProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="membership" applicationName="IBP"/> </providers> <properties> <!--<add name="SampleValue" />--> </properties> </profile> <!-- Added to help with exports RCR 20031202 --> <httpRuntime executionTimeout="36000" maxRequestLength="1048576"/> <!-- DYNAMIC DEBUG COMPILATION Set compilation debug="true" to insert debugging symbols (.pdb information) into the compiled page. Because this creates a larger file that executes more slowly, you should set this value to true only when debugging and to false at all other times. For more information, refer to the documentation about debugging ASP.NET files. --> <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true"/> <customErrors mode="Off" defaultRedirect="error.aspx"> <!--remote only will when not ran locally, set to On for local--> <error statusCode="404" redirect="404.aspx"/> <error statusCode="500" redirect="500.aspx"/> </customErrors> <pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID"> <namespaces> <add namespace="Microsoft.VisualBasic"/> <add namespace="System.Data"/> <add namespace="System.Drawing"/> </namespaces> <tagMapping/> </pages> <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa;password=" cookieless="false" timeout="20"/> <!-- 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 defaultLanguage="c#" debug="true" batch="false" targetFramework="4.0"> <assemblies> <add assembly="ADODB, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="Syncfusion.Tools.Web, Version=4.402.0.51, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89"/> <add assembly="Syncfusion.Shared.Web, Version=4.402.0.51, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89"/> <add assembly="Syncfusion.Pdf.Base, Version=4.402.0.51, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89"/> <add assembly="Syncfusion.Pdf.Web, Version=4.402.0.51, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89"/> <add assembly="Syncfusion.Compression.Base, Version=4.402.0.51, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89"/> <add assembly="Syncfusion.Core, Version=4.402.0.51, Culture=neutral, PublicKeyToken=632609B4D040F6B4"/> <add assembly="Syncfusion.DLS.Base, Version=4.402.0.51, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89"/> <!--COMMENTED OUT TO DETERMINE WHAT IS USED AND USED, UNCOMMENT AS NEEDED--> <!--<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> <add assembly="System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> <add assembly="System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> <add assembly="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> <add assembly="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> <add assembly="System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> <add assembly="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> <add assembly="System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> <add assembly="System.Data.DataSetExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> <add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />--> <!--<add assembly="System.Management, Version=.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />--> <add assembly="Microsoft.SqlServer.Smo, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/> <add assembly="Microsoft.SqlServer.SmoEnum, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/> <add assembly="Microsoft.SqlServer.SqlEnum, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/> <add assembly="System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> </assemblies> <codeSubDirectories> <add directoryName="CS_Code"/> </codeSubDirectories> </compilation> <authentication mode="Forms"> <forms name="Login" loginUrl="Default.aspx" protection="All" timeout="30" path="/" cookieless="UseCookies"/> </authentication> <!--default culture settings--> <globalization fileEncoding="utf-8" requestEncoding="utf-8" responseEncoding="utf-8" culture="en-US" uiCulture="en-US"/> <trust level="Full"/> </system.web> </configuration>rajsedhain
Contributor
4181 Points
1041 Posts
Re: Framework 4.0 vjscor error
Feb 21, 2012 08:50 PM|LINK
stop and restart the IIS service.
If this doesn't help, you have to have DLL for vjscor assembly within your application.
This is in 2.0 framework but might be helpful:
http://social.msdn.microsoft.com/Forums/en-US/visualjsharpgeneral/thread/f78747b5-67be-44ec-9d31-e728eac77a7b/
Raj Sedhain
clumsyhamste...
Member
24 Points
11 Posts
Re: Framework 4.0 vjscor error
Feb 22, 2012 12:33 AM|LINK
IIS already done. Doesn't make a difference.
Why would I need 2.0 stuff in an app that started and is 4.0? I've also never had that DLL within an app.
Hua-Jun Li -...
All-Star
75950 Points
5608 Posts
Re: Framework 4.0 vjscor error
Feb 23, 2012 03:43 AM|LINK
Hi,
You should ensure the assembly vjscor version match the version your asp.net require.
When you set its target to framework2.0,it works, you switch to framework4.0, it doest work.
It proved it is the version match problem.
So you should download the respective .net version.
Please check the following link:
http://aspnet.codeplex.com/wikipage?title=AJAX
http://ajaxcontroltoolkit.codeplex.com/releases/view/76976
http://www.asp.net/ajaxlibrary/act.ashx
http://blogs.msdn.com/b/dougste/archive/2006/09/05/741329.aspx
If you have any feedback about my replies, please contact msdnmg@microsoft.com.
Microsoft One Code Framework
clumsyhamste...
Member
24 Points
11 Posts
Re: Framework 4.0 vjscor error
Feb 23, 2012 04:45 AM|LINK
Appreciate the links but I don't recall ever saying we switched to 2.0 and it worked. It started as a 4.0 and has always stayed a 4.0. The ajax control kit we are using is already the designated for 4.0. One of the first things done when the app was created.
For an interim until a real solutions is found we've removed the scriptmanager and the app is working now.