Visual Studio 2013 - does not recognize asp tag in website project? ...

Hello,
I inherited a web site that uses user controls to set the pages beginning and end tags in all *.aspx pages.
Below is the typical structe of an .aspx page:
<!DOCTYPE html>
<%@ Page Language="VB" WarningLevel="1" Explicit="true" Strict="true" %>
<%@ Register TagPrefix="pt" TagName="page_beg" src="/inc/pt_page_beg_1.ascx" %>
<%@ Register TagPrefix="pt" TagName="page_end" src="/inc/pt_page_end_1.ascx" %>
<pt:page_beg id="page_beg" title="Welcome" runat="server" />
<div>
Other markup for main body goes here
<asp:Literal id="lit_1" text="Some Text" runat="server"/>
</div>
<pt:page_end runat="server" />
The user control "page_beg" outputs an <html lang="xx"> tag where xx is a selected language / culture, along with
the head, title and body tags in addition to other tags depending on various properties set in the control.
The user control "page_end" simply writes out the footer of the page along with the body end and html end tags.
Now, when I load any .aspx page in Visual Studio, all of the <asp tags are underlined and when I hover the popup text displayed is:
"Unrecognized tag prefix or device filter 'asp'."
If I enter a body tag near the top of the page the error disappears (but obviously, I cannot leave a stray body tag in the page).
My question is how do I get Visual Studio to recognize the asp tags in this type of scenario?

I'd try them over here.
VS Web Deployment Projects forum on Microsoft ASP.Net
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

Similar Messages

  • Visual Studio 2013 does not rebuild all code resulting in old code deployed through wsp

    I recently converted my SharePoint 2010 project from Visual Studio 2010 to Visual Studio 2013. I have the Premium version with Update 1.
    I quickly noticed that 2013 has bugs. For instance I could get a build error out of nowhere while developing, stating that a method recently added to Class
    A used by Class B, does not exist. The only way to resolve is to restart Visual Studio. Sometimes a rebuild would do the trick too.
    I can live with such quirks as a developer. The big problem is that it does not build the latest version if you are using the "Publish to File System"
    to get a wsp for deployment on another server.
    I've had problems with incomplete builds since my first deploy with wsp built by Visual Studio 2013, but I was not able to pinpoint it with certainty until
    last night.
    I have two classes used by a timer job. In a new version they back up some files after using them. After upgrading with the new wsp, I restarted the timer
    job service on all servers and ran the job, but the files did not back up. So I went and added a log statement to the backup code of one class and did another clean/rebuild/publish to file system from Visual Studio. I upgraded using the new wsp and then restarted
    the timer job service on all servers. When I ran the timer job service, the class where I added the log statement backed up the files it should. The other class still did not. So I added a log statement to this class as well and deployed that. Then this class
    started to backup files too.
    So I conclude that Visual Studio 2013 is failing at its core in a very dangerous way leaving assemblies built in an unknown, incomplete limbo state.
    I am downgrading all projects to Visual Studio 2012.
    This post is mainly to share my experience with the community, but if someone at Microsoft wants to investigate the issue, here is a suggestion on how to reproduce:
    Have Visual Studio in Debug build.
    Make a change to a class in a SharePoint project.
    Deploy the change to a local SharePoint installation.
    Change to Release build.
    Use Publish to file system to get a wsp. Open this wsp, copy the assembly, reflect and investigate to see that code change is actually there.
    Tore Olav Kristiansen

    Hi,
    As this is a Visual Studio question, I suggest you post it to Visual Studio Forum, you will get more help and confirm answers from there.
    http://social.msdn.microsoft.com/Forums/en-US/home?category=visualstudio
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Using F1 to access the online help in Visual Studio 2013 does not work anymore! Any help available?

    Hi,
    since some days I get the following message after pressing F1 in VS2013 to access the online help:
    Any help to solve this available?
    Kind regards,
    Martin
    Martin Lemburg Berlin / Germany Martin0815@twitter martinlemburg@facebook http://about.me/Martin0815

    Hello Martin,
    could you try clearing you browser cache like indicated here:
    [1] http://blog.mischel.com/2011/09/13/cant-get-help/
    If this does not help, please try changing your default browser to find out where the problem is located.
    Regards,
    David Schneider
    Developer-Hotline for MSDN Online Germany
    Disclaimer:
    Please take into consideration, that further inquiries cannot or will be answered with delay.
    For further information please contact us per telephone through the MSDN-Entwickler-Hotline:
    http://www.msdn-online.de/Hotline
    For this post by the MSDN-Entwickler-Hotline the following terms and conditions apply:
    Trademarks,
    Privacy
    as well as the separate
    terms of use for the MSDN-Entwickler-Hotline.

  • Visual Studio profiler does not show results for XAML + DirectX project

    The case is simple: 
    1) The solution consists of 3 projects:  2 C# ones  (C# XAML project + C# library project) and one C++ runtime component initially created by the wizard, as this is a DirectX project.
    2) "Start Windows Phone application analysis"  runs OK, but when stopped  no profiling results are shown. The message is "0 total samples collected", "No call tree data is available".
    How can this problem be fixed?  What are the assumed reasons?

    (I know the thread is old - but I have found some threads on the net asking about this problem, but nowhere answered, so I'll rectify this here)
    Hey,
    do you happen to have been profiling the *release build* ?
    If so, try this:
    In solution explorer, right-click on the native C++ project -> Properties -> Configuration Properties -> Linker -> Debugging
    The top-most field "Generate Debugging Info" is probabyl empty, which is default for release build. But debugging info is needed to sample-profile functions! So select "Yes" there, and make sure the next option, "generate program
    database file" has a sensible entry.
    For me, this did it.

  • "Visual Studio Online does not support your browser. Please upgrade to a supported browser to ensure a fantastic experience" message with IE 11

    Hi All,
    I have recently migrated from TFS 2010 to TFS 2013. When developers are accessing TFS Web interface from IE 11 they are getting message "Visual Studio Online does not support your browser. Please upgrade to a supported browser to ensure
    a fantastic experience!" and page is not showing up correctly. I can open Web interface from Chrome without any issues. Also I figured out if I open Developer Tools (F12) in IE Web Interface also works fine and screwed up again
    when I close Developer Tools.
    What can be wrong with IE11 settings?
    Regards,
    Oleg

    Hi Oleg,       
    Thanks for your post.
    You’re using TFS 2013 Update 4 now?
    Please share your IE 11 screenshot within this error message here.
    Have you use the TeamCompanion in your TFS Server? If yes, please refer to the solution in this article:
    http://www.teamcompanion.com/blog/.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I've installed Visual Studio Enterprise 6.0, Which edition of Visual Studio 2013 does the i need to purchase as the legalization for Visual Studio Enterprise 6.0?

    I've installed Visual Studio Enterprise 6.0, Which
    edition of Visual Studio 2013 does the i need to purchase as the legalization for Visual Studio Enterprise 6.0? 

    Hi,
    Here is a topic for MS Visio forum, you'd better post your question to Visual Studio forum.
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=visualstudiogeneral&filter=alltypes&sort=lastpostdesc
    Thanks for your understanding.
    Regards,
    George Zhao
    TechNet Community Support

  • Visual Studio 2008 does not open .rptproj 2008 projects

    I have installed
    - SQL Server 2008 original version with SP1 and the Business Intelligence Development Studio
    - Visual Studio 2008 with SP1.
    I am told that Reporting Services 2008 is part of the Business Intelligence Development Studio 2008,
    however when I try to open my Reporting Services 2008 .rptproj files with Visual Studio 2008, they will not open.
    The error message is:
    'C:\vs2008\CWReportsVS2008\CWReportsVS2008\CWReportsVS2008.rptproj' cannot be opened because its project type (.rptproj) is not supported by this version of the application.
    To open it, please use a version that supports this type of project.
    My VS 2008 cofiguration is:
    SQL Server Reporting Services  
    Microsoft SQL Server Reporting Services Designers Version 10.0.2531.0
    Microsoft Visual Studio 2008 Version 9.0.30729.4462 QFE Installed Edition: Enterprise
    Microsoft .NET Framework Version 3.5 SP1
    Microsoft Visual Basic 2008, C# 2008, C++ 2008
    Microsoft Visual Studio 2008 Team Explorer
    Microsoft Visual Studio 2008 Tools for Office
    Microsoft Visual Studio Team System 2008 Development Edition
    Microsoft Visual Web Developer 2008
    Crystal Reports Basic for Visual Studio 2008
    Microsoft Visual Studio 2008 Team Explorer - ENU Service Pack 1
    Microsoft Visual Studio Team System 2008 Development Edition - ENU Service Pack 1
    Microsoft SQL Server Analysis Services Designer
    Microsoft SQL Server Integration Services Designer
    various hot fixes
    various security updates
    various team foundation updates
    My computer configuration is:
    Windows XP, Professional, Version 2002, Service Pack 3
    My SQL Server Configuration is:
    Microsoft SQL Server Management Studio 10.0.2531.0
    Microsoft Analysis Services Client Tools 10.0.1600.22
    Microsoft Data Access Components (MDAC) 3.85.1132
    Microsoft MSXML 2.6 3.0 4.0 5.0 6.0
    Microsoft Internet Explorer 8.0.6001.18702
    Microsoft .NET Framework 2.0.50727.3615
    Operating System 5.1.2600
    Is there something I haven't installed yet?

    Hi,
    This issue might be caused because your VS2008 did not yet install BIDS report project. So, please open the New Project dialogue to check if there is Business Intelligence Development Studio component in the Project Types pane in your vs 2008. If it
    is not there, install this component (can from the SQL server intallation client tools) so that you can open Reporting Services 2008 .rptproj files in the VS2008.
    thanks,
    Jerry

  • Formsweb file does not recognize userid tag

    Hi to all,
    I have a problem when run a forms over application server.
    I have defined the followin entry
    [testEntry]
    userid=sicmd/sicmd@sicoc9i
    form=f_inicio.fmx
    The problem is that, when i run the form, the server show me the window for authentication. These, could not happen because, i specified the userid tag.
    what sugests you have in order to correct this pitfall
    Thanks in advance for your help,
    Arturo

    Again, this is the Application Server forum, not the Forms forum:
    Forms
    Before you post it in the Forms forum with the complete URL which you start the application with, check that the userid valid and that your testEntry section is read. I normally only makes the sections lower case, like testentry instead of testEntry.
    Martin

  • Invalid Markup error in visual studio 2013

    Hi,
    I am using Visual Studio 2013 Ultimate on Windows 8.1 for WPF project. I added two .dll libraries as reference: dataGrid2d and GraphSharp, however my XAML design editor don't recognize any XAML markup from this libraries (Invalid Markup error). Project compiles
    and works fine and I can't figure out what is wrong with visual editor.
    Thank you in advance.

    Here are libraries http://1drv.ms/153lGSe
    I can normally use them in XAML and in c# code behind, everything is working fine in my app after compilation, I just can't see it in design editor. Errors are:
    Error    1    The name "DataGrid2D" does not exist in the namespace "clr-namespace:DataGrid2DLibrary;assembly=DataGrid2DLibrary".    C:\Users\Mikołaj\OneDrive\Projects\visual studio 2013\Projects\DeterministicFiniteAutomatonLibrary\GUI\TransitionFunctionWindow.xaml  
     12
    Error    2    The name "ZoomControl" does not exist in the namespace "clr-namespace:WPFExtensions.Controls;assembly=WPFextensions".    C:\Users\Mikołaj\OneDrive\Projects\visual studio 2013\Projects\DeterministicFiniteAutomatonLibrary\GUI\MainWindow.xaml  
     53
    Error    3    The name "GraphLayout" does not exist in the namespace "clr-namespace:GraphSharp.Controls;assembly=GraphSharp.Controls".    C:\Users\Mikołaj\OneDrive\Projects\visual studio 2013\Projects\DeterministicFiniteAutomatonLibrary\GUI\MainWindow.xaml  
     54

  • Visual Studio 2013 Publish window takes 30 seconds to load

    The Publish window takes 30 seconds to load in my ASP.NET MVC5 project. Previously, it loaded instantaneously.
    If i remove the PublishProfiles folder, the window loads at once. Its only after i've saved an actual publish profile this occurs.
    A new empty project does not have this problem. Therefor the problem 'should' be related to the solution/project.
    Some more information:
    Visual Studio 2013, fully updated.
    ASP.NET Web Application
    .NET Framework 4.5.1
    MVC 5
    Any ideas how to proceed ? :-)

    Hi Antevirus,
    Do you install the VS2013 update 4?
    If you publish the same app in other vs machine, how about the result?
    To make sure that it is not your VS IDE issue, please also run it in safe mode, or reset your VS settings.
    For the performance issue, please also think about the windows Environment like configurations or other processes.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SSRS Report Designer in Visual Studio 2013

    Hi all. Does anyone know what I need to install to be able to open rptproj projects in VS2013? I found a page which says it is possible, but it doesn't go on to explain what I need to install to make it happen.
    It seems that every version of VS that comes out this is a problem. They never make it clear and you end up spending hours trying to find out how to do it...
    Thanks

    Hi BuckBuchanan,
    If we want to create SQL Server Business intelligence projects on Visual Studio, we need install SSDT-BI for Visual Studio. However, the SSDT-BI for Visual Studio 2013 has not been release, so we cannot create SQL Server Business intelligence projects on
    Visual Studio 2013. The commercial release of SSDT-BI is expected to be based on the newer Visual Studio 2013 in conjunction with the commercial release of the SQL Server 2014. For the detail information about it, please refer to following link.
    http://blogs.technet.com/b/dataplatforminsider/archive/2013/11/13/microsoft-sql-server-data-tools-update.aspx
    Currently, if you want to create Business intelligence projects, you can install Microsoft SQL Server Data Tools - Business Intelligence for Visual Studio 2012.
    SQL Server Data Tools – Business Intelligence for Visual Studio 2012 released online
    Regards,
    Charlie Liao
    TechNet Community Support

  • How to create a three state approval workflow in SharePoint 2013 using visual studio 2013

    Hi Everyone,
    i have a requirement like 3 state to approve. Here is the details:- when the item added into the list it will go for reviewer. Once the reviewer review the item, he will assign the task to concern person/department(Parallel process more than two persons).
    Once they will approve the request again it will come back to reviewer and he will assign the task to team member(parallel process). Once the team member accepted then workflow terminate.
    i want develop this workflow using visual studio 2013 only, not using designer.. 
    Thanks in Advance.....
    Mallesh

    Hello,
    you can find multiple sample on the web like those
    http://www.splessons.com/2013/12/create-state-machine-workflow-in-sharepoint-2013-using-visual-studio-2012/
    http://msdn.microsoft.com/en-us/library/ee231606.aspx
    I don't think that's very different using VS2013 or VS2012
    Best regards, Christopher.
    Blog |
    Mail
    Please remember to click "Mark As Answer" if a post solves your problem or
    "Vote As Helpful" if it was useful.
    Why mark as answer?

  • Visual Studio 2013 Profession vs. Visual Studio 2013 Express

    One of my colleagues tried to open a .sln file created with Visual Studio 2013 Professional Edition using Visual Studio 2013 Express Desktop. He got messages about project files being incompatible.  Is it not possible to do this?

    Hello liorb,
    It seems your issue is related to C++ 2015 so I moved it here. If your VS2015 and VS2013 are both on the same machine I recommend you follow pvdg42's advice to report this issue to connect and share the link back to here. Maybe it is a problem with
    this beta version.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Visual Studio 2013 Express for Windows - InitializeComponent() does not contain a definition issue

    Hi,
    I have recently downloaded Visual Studio 2013 Express for Windows (Windows Store App version), with Update 1.
    I create a blank app. I right-click on InitializeComponent() in the MainPage.xaml.cs and select Go To Definition. It brings me to the .g.i.cs file where this method resides.
    I go into the designer for MainPage.xaml and create a grid of 2 rows and 2 columns (all at 1*). I add one button, doesn't matter where. I double click on that button to add a click method to MainPage.xaml.cs. Without entering anything into the button click
    method, I scroll up and InitializeComponent() has an error and tells me there is not definition, even though I was looking at the definition a minute ago. I found I could unload the project and reload it and InitializeComponent() would have the definition
    in the .g.i.cs file but as soon as I add another button click or anything else I run into the same error. It seems as if the .g.i.cs file is not automatically regenerating, or it is being deleted all together when the button click method is added to the xaml.cs
    file.
    Everything I have done up to this point is very vanilla. I installed VS '13 Express for Windows, didn't change any VS setting, created a project and ran into this issue. I installed Update 1 thinking there might be a fix from the update--no luck. The xaml
    file Build Action is Page and the Xaml.cs file is Compile.
    I have tried deleting the MainPage.xaml file, after the creation of a project, and adding a new MainPage file with the added templates VS wants to include, and I still run into the same issue.
    I have searched for answers the past few days but haven't found anything that addresses my issue (most of what I found addresses VS '10 but their InitializeComponent() issues aren't the same as mine). Any help the MSDN community can provide would be
    a great help. If worst comes to worst, I will re-install VS and see if that corrects it--this would be a last-ditch effort though.
    Thank you for any help you may be able to provide

    Intellisense has a bug in VS2013 where it doesn't recognize InitializeComponent when you start working on the XAML.  My feeling is that if you try to compile this app, it will run fine (as long as there are no actual errors).
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Visual Studio 2013 Crystal Report V9 does not display in browser

    Hello, I work with Visual Studio 2013, and was anxious for version 13.0.9.1312, glad you came. Well I installed the full version and the report usually opened in VS, but when it does not compile command displays. Published in a local and it worked, but the VS does not work, if you click with the right mouse button to display codes are the codes it, but does not show. I used IE, and nothing Chomo. How does VS2013 use IIS Express as a server. Have any solution for this?

    See this post for the answer...
    Re: Crystal Reports does not load aspnet_client files to proper IISExpress directory
    Don

Maybe you are looking for

  • "key not valid for use in specified state" when installing itunes

    I recently uninstalled an older version of itunes, and every time i try to install the newest version it wont work. I just keep getting the message "key not valid for use in specified state". If you know what to do could you please make it simple. al

  • System environment variable

    I accidentally deleted my environment variable in my lenovo Y50 laptop.Is there any chance i could recover it back.Or can i get a sample of environment variable.Your help is much appreciated.

  • ORA-10173: Dynamic Sampling time-out error

    Hi , I got the following error in Alert Log. ORA-10173: Dynamic Sampling time-out error can any one tell me on which situation this error occurs. Thanks

  • How to delete a system generated query

    Hi, I want to delete a system generated query without doing which i am not able to delete a field from field group. Regards, Sharadha

  • Need help loading flv movie onto stage from a button click

    Hi folks, I need your help. I'm new to flash so please bear this in mind. My problem is this: I have a picture of a phone on the stage which I have made into a button. What I want is that, when I click on this button (phone_btn), my video (called 'Ty