Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3817
  • Last Modified:

DotNet 4.0 error - uninstalled, reinstalled??

I am getting the following error, any help would be great.

Win 7 x64
IIS 7
.Net 4.0 just reinstalled

Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC31007: Unable to open module file 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\App_Code.p7eftpgs.0.vb': System Error &Hc0000005& (Visual Basic internal compiler error)

Source Error:


[No relevant source lines]

Source File: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\App_Code.p7eftpgs.0.vb :    Line: 0


Show Detailed Compiler Output:


¿c:\windows\system32\inetsrv> "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe" /t:library /utf8output /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\7c9e2c5b\001467e9_dfb6cb01\DotNetNuke.HttpModules.DLL" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.WorkflowServices\v4.0_4.0.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activities.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\df378da7\43cd21eb_ebeccb01\DotNetNuke.HtmlEditor.TelerikEditorProvider.DLL" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\dfcb80cd\0060a2e4_dfb6cb01\DotNetNuke.DLL" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\24aaa2fb\46f9b506_27ffcb01\myQandA.DLL" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\8fc1bc33\d04620e3_ebeccb01\DotNetNuke.Modules.Taxonomy.DLL" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\6ace815f\29bfa2e3_ebeccb01\Telerik.Web.UI.DLL" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\2856a491\897911e3_ebeccb01\DotNetNuke.Modules.Messaging.DLL" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\ff4d4cb5\00ad6273_dfb6cb01\DotNetNuke.WebControls.DLL" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\634edd13\470a4f7f_feeccb01\DotNetNuke.Modules.UsersOnline.SqlDataProvider.DLL" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\7a170fce\00803172_dfb6cb01\Microsoft.ApplicationBlocks.Data.DLL" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\e1b6efb7\00acdddf_dfb6cb01\DotNetNuke.Services.Syndication.DLL" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\6d485014\00ad6273_dfb6cb01\WebFormsMvp.DLL" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\fa1935e9\2dd55fe7_ebeccb01\DotNetNuke.FckHtmlEditorProvider.DLL" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.DynamicData\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.DynamicData.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\a7999767\ec03c6e6_ebeccb01\DotNetNuke.Provider.AspNetProvider.DLL" /R:"C:\Windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\57ff1d69\a530e87e_feeccb01\myQuestionCategoryTree.DLL" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Design\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Design.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\e20468a7\bf6be0a3_85f2cb01\CDN_ScheduledTasks.DLL" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\ec27ffe8\10b12280_feeccb01\ZLDNNUserProfile.DLL" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Data.Linq.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\1506e14c\29efe87b_feeccb01\CategoryQuestionList.DLL" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\6cb703d4\afcee8e6_ebeccb01\DotNetNuke.Membership.DataProvider.DLL" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\717ef1b2\80a2f37e_feeccb01\myQuestionList.DLL" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\41a5a115\e42391ea_ebeccb01\DotNetNuke.DNNScheduler.DLL" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\609ae5b1\00acdddf_dfb6cb01\CountryListBox.DLL" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Abstractions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Abstractions.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\626ae3df\3155fc7e_feeccb01\myQuestionSearch.DLL" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\7fc2de77\eb9f367f_feeccb01\UserQuestions.DLL" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Management.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\73323f6f\cd3ddd7c_feeccb01\myQandAAskQuestion.DLL" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\d818ea02\a09ca67c_feeccb01\myQandAAdvanced.DLL" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\f109fb23\00da9374_dfb6cb01\DotNetNuke.WebUtility.DLL" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\641805e7\f4e9097f_feeccb01\TabbedQuestion.DLL" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\048ef9b1\e0d0737f_feeccb01\ZLDNNFriend.DLL" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\41027e66\936898e1_ebeccb01\DotNetNuke.Modules.Html.DLL" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\a6327bd8\b1aa4d7f_feeccb01\DotNetNuke.Modules.UsersOnline.DLL" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activation.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\9c7ae8bc\19a8247d_feeccb01\ZLDNNControls.DLL" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\e324b540\00803172_dfb6cb01\SharpZipLib.DLL" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\dab2dfe7\001467e9_dfb6cb01\DotNetNuke.SqlDataProvider.DLL" /R:"C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\7a9d40c1\00e479fc_dfb6cb01\DotNetNuke.Web.DLL" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.Activities.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\assembly\dl3\2bf6732b\442eeae6_ebeccb01\DotNetNuke.Provider.DNNProvider.DLL" /out:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\App_Code.p7eftpgs.dll" /debug- /nowarn:41008 /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Generic,System.Collections.Specialized,System.ComponentModel.DataAnnotations,System.Configuration,System.Linq,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.DynamicData,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls,System.Xml.Linq,System.ComponentModel,System.Data,System.Data.SqlClient,System.Drawing,Microsoft.VisualBasic,System.Globalization,DotNetNuke.Services.Localization,DotNetNuke.Entities.Users,DotNetNuke,DotNetNuke.Common,DotNetNuke.Data,DotNetNuke.Framework,DotNetNuke.Modules,DotNetNuke.Security,DotNetNuke.Services,DotNetNuke.UI,DotNetNuke.Entities.Portals,DotNetNuke.Common.Utilities,DotNetNuke.Services.Exceptions,DotNetNuke.Entities.Tabs /warnaserror- /optionInfer+  "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\App_Code.p7eftpgs.0.vb" "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\App_Code.p7eftpgs.1.vb" "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\App_Code.p7eftpgs.2.vb" "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\App_Code.p7eftpgs.3.vb"


Microsoft (R) Visual Basic Compiler version 10.0.30319.1
Copyright (c) Microsoft Corporation.  All rights reserved.

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\App_Code.p7eftpgs.0.vb : error BC31007: Unable to open module file 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\App_Code.p7eftpgs.0.vb': System Error &Hc0000005& (Visual Basic internal compiler error)
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\App_Code.p7eftpgs.1.vb : error BC31007: Unable to open module file 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\App_Code.p7eftpgs.1.vb': System Error &Hc0000005& (Visual Basic internal compiler error)
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\App_Code.p7eftpgs.2.vb : error BC31007: Unable to open module file 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\App_Code.p7eftpgs.2.vb': System Error &Hc0000005& (Visual Basic internal compiler error)
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\App_Code.p7eftpgs.3.vb : error BC31007: Unable to open module file 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\59b3ac7c\b2c4ccde\App_Code.p7eftpgs.3.vb': System Error &Hc0000005& (Visual Basic internal compiler error)



Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
0
Craig Lambie
Asked:
Craig Lambie
  • 2
1 Solution
 
dj_alikCommented:
Compiler error message BC31007 and BC30138 when aspx query is executed
http://geetharaniakinapally.blogspot.com/2010/11/compiler-error-message-bc31007-and.html
0
 
dj_alikCommented:
  To solve this issue. Goto inetmgr -> goto Application pools -> select the application pool -> open the basic settings and change from ASP.NET 4.0  to ASP.NET 2.0. Issue will get solved.

    Go to C:\windows\, right click temp folder and goto security tab then give permissions to IIS_machinename user. Restart IIS and execute the query. It will solve the issue.


 
0
 
Craig LambieAuthor Commented:
Only did this :
Go to C:\windows\, right click temp folder and goto security tab then give permissions to IIS_machinename user. Restart IIS and execute the query. It will solve the issue.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now