Cannot get web page in Visual Studio to open

Kyle 21 Reputation points
2022-07-24T22:15:28.29+00:00

Hey ya'll.

When I try to open my web site in Visual Studio I keep getting the two errors below. I've also got my program info below. Any help would be appreciated!

Thanks!
Kyle

Severity Code Description Project File Line Suppression State  
Error Running transformation: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException: Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))  
  
Server stack trace:   
   at EnvDTE.Project.get_CodeModel()  
   at Microsoft.VisualStudio.TextTemplating.VSHost.TextTemplatingService.ResolveParameterValue(String directiveId, String processorName, String parameterName)  
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)  
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)  
  
Exception rethrown at [0]:   
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)  
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)  
   at Microsoft.VisualStudio.TextTemplating.VSHost.TextTemplatingService.ResolveParameterValue(String directiveId, String processorName, String parameterName)  
   --- End of inner exception stack trace ---  
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)  
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)  
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)  
   at Microsoft.VisualStudio.TextTemplating.VSHost.TextTemplatingService.TextTemplatingServiceCustomProxyInProc.Invoke(IMessage message)  
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)  
   at Microsoft.VisualStudio.TextTemplating.VSHost.TextTemplatingService.ResolveParameterValue(String directiveId, String processorName, String parameterName)  
   --- End of inner exception stack trace ---  
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)  
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)  
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)  
   at Microsoft.VisualStudio.TextTemplating2B0D3EE27A0D329CE32AA3543BDE40F97FA833ADF74D64AABEB35D120575D71C13BA35BC0E26B7ED2A097EA250AEAA432C114BB6FC8E19D41F5E934F7B51C386.GeneratedTextTransformation.DynamicHost.ResolveParameterValue(String id, String name, String otherName)  
   at Microsoft.VisualStudio.TextTemplating2B0D3EE27A0D329CE32AA3543BDE40F97FA833ADF74D64AABEB35D120575D71C13BA35BC0E26B7ED2A097EA250AEAA432C114BB6FC8E19D41F5E934F7B51C386.GeneratedTextTransformation.CodeGenerationTools.VsNamespaceSuggestion()  
   at Microsoft.VisualStudio.TextTemplating2B0D3EE27A0D329CE32AA3543BDE40F97FA833ADF74D64AABEB35D120575D71C13BA35BC0E26B7ED2A097EA250AEAA432C114BB6FC8E19D41F5E934F7B51C386.GeneratedTextTransformation.CodeStringGenerator.UsingDirectives(Boolean inHeader, Boolean includeCollections)  
   at Microsoft.VisualStudio.TextTemplating2B0D3EE27A0D329CE32AA3543BDE40F97FA833ADF74D64AABEB35D120575D71C13BA35BC0E26B7ED2A097EA250AEAA432C114BB6FC8E19D41F5E934F7B51C386.GeneratedTextTransformation.WriteHeader(CodeStringGenerator codeStringGenerator, EntityFrameworkTemplateFileManager fileManager)  
   at Microsoft.VisualStudio.TextTemplating2B0D3EE27A0D329CE32AA3543BDE40F97FA833ADF74D64AABEB35D120575D71C13BA35BC0E26B7ED2A097EA250AEAA432C114BB6FC8E19D41F5E934F7B51C386.GeneratedTextTransformation.TransformText() BegASPNET C:\BegASPNET\App_Code\PlanetWrox.tt 1  
  

224162-capture.png

224492-screen-shot-2022-07-25-at-104059-am.png

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,621 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
945 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,149 questions
{count} votes