classic asp syntax highliting inside javascript in Visual web developer ee 2008 - asp-classic

How can visual web developer Express Edition highlight the classic asp-Tags (<% asp code %>) insight the Javascript code?
If i write
<script>
alert("<% =session("user_name %> ");
</script>
VWD highlights this as a string and not as asp-code. This is total confusing in these old files i'm working with.

Looks like this is a known issue on Microsoft Connect with a few workarounds, however the syntax highlighting was removed in VS2008. The response from Microsoft (verbatim):
Thank you for this feedback. We are
depcrecting VB Script colorization and
intellisense support in Visual Studio
2008. We recommend to customers to use VS 2005 or VWD 2005 to edit VB
Script.
Those products can be installed on the
same machine as VS 2008 without any
issues.
Visual Web Developer Team
Check here for more information:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=290845

Related

No endpoint listening error in new web site in Visual Studio 2015 Community

I just downloaded Visual Studio Community 2015
I am trying to create a new web site using VB.net. When I create a new web site (not a project) and use the web forms template, the application generates a site for me with all the standard pages, resources, etc. The issue is every page that gets created has the first line of every .aspx page highlighted with an error. This is the line that was generated in the Default.aspx page:
<%# Page Title="Home Page" Language="VB" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeFile="Default.aspx.vb" Inherits="_Default" %>
And the error that I get when I hover over the line says this:
"C:\Users\jonat\OneDrive\Documents\Visual Studio 2015\Websites\Website1\Default.aspx: ASP.NET runtime error: There is no endpoint listening at net.pipe://localhost/f0934344-a63a-4324-ba7c-62644c40c01/CBMOutOfProcService that could accept this message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
I have no idea what this error message is trying to tell me. All I did was try to create a new web site. I did not change any code in any page or any file that was generated by Visual Studio and yet I get this error.
Any ideas?
Thank you,
Jonathan
I have the following from Visual Studios About:
Microsoft Visual Studio Community 2015 Version 14.0.25424.00 Update 3 Microsoft .NET Framework Version 4.6.01038
Installed Version: Community
Visual Basic 2015 00322-20000-00000-AA487 Microsoft Visual Basic 2015
Visual C# 2015 00322-20000-00000-AA487 Microsoft Visual C# 2015
Visual C++ 2015 00322-20000-00000-AA487 Microsoft Visual C++ 2015
Application Insights Tools for Visual Studio Package 7.1.00719.1 Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2015.1 (Beta8) 14.1.11107.0 ASP.NET and Web Tools 2015.1 (Beta8)
ASP.NET Web Frameworks and Tools 2012.2 4.1.41102.0 For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
ASP.NET Web Frameworks and Tools 2013 5.2.40314.0 For additional information, visit http://www.asp.net/
Common Azure Tools 1.8 Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
JavaScript Language Service 2.0 JavaScript Language Service
JavaScript Project System 2.0 JavaScript Project System
Microsoft Azure Mobile Services Tools 1.4 Microsoft Azure Mobile Services Tools
NuGet Package Manager 3.4.4 NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
PreEmptive Analytics Visualizer 1.2 Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
SQL Server Data Tools 14.0.60519.0 Microsoft SQL Server Data Tools
TypeScript 1.8.35.0 TypeScript tools for Visual Studio
Open VS 2015 as Administrator.
Just seen the answer
now.

Crystal reports /IIS error, after I moved WEB from IIS6 to IIS 7

I try to move WEB site from 32 bit Windows 2003 to 64 bit Windows 2008. Old server has CR for .net framework 2.0 (10.2.3600.0). I installed on new server CR for .net (13.0.2000.0) and all my reports do not work. IN VS 2012 I found next error:
Validation (ASP.Net): Attribute 'DisplayGroupTree' is not a valid attribute of element CrystalReportViewer'.
Web.config has next lines:
I have searched the net for a solution but haven't found any answers.
Please help
Thanks in advance
Vlad
.DisplayGroupTree, as well as several other properties that I don't recall offhand, were removed in the .NET 4.0 version of the Crystal Viewer. Look for references to this property in your code behinds and/or designers and remove them.
That brings back fond memories.

what is the key different between ASP.NET 2008 with Web developer express 2008?

// question has been modified
I start to learn ASP.NET and the book uses Web developer express 2008 as the development platform.
I would like to know what the key difference between using the professional VS 2008 and this free express version.
Thank you
ASP.Net is the platform. Web Developer Express is an IDE that allows you to write code for the asp.net platform...
There are several Visual Studio versions, all of which can be used to write code in any of the .Net languages (C#, VB, etc) as well as targeting WinForms or web applications (asp.net).

design view freezes in visual studio 2008 web application

i have visual studio 2008 and ms office 2007..when i try to develop a web application in vs 2008, i didnt able to open the design view of the web page.. i can only able to see the source view..came to know by googling as, there is some compatibility issues between vs 2008 and ms office 2007 in web authoring components.. please help me to overcome this issue...thanks a lot...
Thanks for everyone...
i solved this issue by uninstalling ms office 2007 from my system.. there is some compatibility issue between ms office 2007 and vs 2008 web components...
You can also try reinstalling the Microsoft Visual Studio Web Authoring Component.

How to debug JavaScript in Firefox via Visual Studio 2008?

I have scripts in my ASPX page, in the header section.
I want to debug it (with breakpoints) in Firefox.
Get Firebug
(source: getfirebug.com)
But if you really wanna use Visual Studio to debug your javascript, here are a couple of pages that will help you out :
VS 2008 JavaScript Debugging (ScottGu)
VISUAL STUDIO 2008 JAVASCRIPT DEBUGGING
How to debug JavaScript with Visual Web Developer Express
Visual Studio 2008 simplifies JavaScript debugging
JavaScript Debugging in Visual Studio 2008 (Video)

Resources