I picked up a bug in IE7, and the I did a restore back to a month ago, that didnt work, So I did a UNDO restore to go back to where I was with my system.
MY project is a MSVS 2005 aps.net 2.0 /ajax project
When I start my project I get this error when I VIEW IN BROWSER: WHAT DO I DO ???
NOTE: I have already run aspnet_regiis.exe -1
Server Error in '/readtheticker' Application.
--------------------------------------------------------------------------------
Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' 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].
Stack Trace:
[FileNotFoundException: Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.]
System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142
System.Reflection.Assembly.Load(String assemblyString) +28
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46
[ConfigurationErrorsException: Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +613
System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +57
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178
System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +54
System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +8809442
System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +128
System.Web.Compilation.BuildManager.CompileCodeDirectories() +265
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +320
[HttpException (0x80004005): Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +58
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +512
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +729
[HttpException (0x80004005): Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8890751
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +259
I have three different versions of the .Net frameworks running on my machine with no problems. You could always install the later version and see if that supports both your current and legacy sites.
If I'm posting a question here I've already done my homework.
Newbie just trying to pass on what I've recently learned myself. :)
icm63
Member
448 Points
965 Posts
HELP disaster
Jul 06, 2010 07:31 PM|LINK
I picked up a bug in IE7, and the I did a restore back to a month ago, that didnt work, So I did a UNDO restore to go back to where I was with my system.
MY project is a MSVS 2005 aps.net 2.0 /ajax project
When I start my project I get this error when I VIEW IN BROWSER: WHAT DO I DO ???
NOTE: I have already run aspnet_regiis.exe -1
whighfield
Star
11721 Points
1859 Posts
Re: HELP disaster
Jul 06, 2010 08:04 PM|LINK
Have you tried to uninstall the .NET Framework(s) and reinstall them again.
http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en
http://www.microsoft.com/downloads/details.aspx?familyid=79bc3b77-e02c-4ad3-aacf-a7633f706ba5&displaylang=en
Blog | I need more space:DropBox Referral
icm63
Member
448 Points
965 Posts
Re: HELP disaster
Jul 06, 2010 08:12 PM|LINK
The control panel wont let me, as I have programs using asp.net 2.0
I think it must have something to so with re installing aspnet_regiis.exe
BUt I ran aspnet_regiis.exe -1
any ideas
whighfield
Star
11721 Points
1859 Posts
Re: HELP disaster
Jul 06, 2010 08:16 PM|LINK
aspnet_regiis.exe -i only registers the ASP.NET features with IIS, if you are missing assemblies that won't fix it.
What you can do is try and re-install the .NET framework again. It will probably ask you if you want to repair it, if so say yes.
Blog | I need more space:DropBox Referral
icm63
Member
448 Points
965 Posts
Re: HELP disaster
Jul 06, 2010 08:34 PM|LINK
when I run the re install of 2.0 framework it wont run, as it says its already installed.
I am currently un installing IIS amd IE7 and re installing IIS IE7 and then running aspnet_regiis -i
to see what happens
icm63
Member
448 Points
965 Posts
Re: HELP disaster
Jul 06, 2010 08:41 PM|LINK
Done that made no difference...dam !
whighfield
Star
11721 Points
1859 Posts
Re: HELP disaster
Jul 06, 2010 09:00 PM|LINK
Time to roll up the seleves and get dirty:
http://blogs.msdn.com/b/astebner/archive/2005/04/08/406671.aspx
Blog | I need more space:DropBox Referral
icm63
Member
448 Points
965 Posts
Re: HELP disaster
Jul 06, 2010 09:28 PM|LINK
thats for framework 1.1, I am 2.0
whighfield
Star
11721 Points
1859 Posts
Re: HELP disaster
Jul 06, 2010 09:37 PM|LINK
http://blogs.msdn.com/b/astebner/archive/2008/08/28/8904493.aspx
Supports all .NET versions
uninstall .net framework
Blog | I need more space:DropBox Referral
DAmanding
Member
488 Points
142 Posts
Re: HELP disaster
Jul 06, 2010 09:51 PM|LINK
I have three different versions of the .Net frameworks running on my machine with no problems. You could always install the later version and see if that supports both your current and legacy sites.
Newbie just trying to pass on what I've recently learned myself. :)