The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click theRefresh button, or try again later.
A name was started with an invalid character. Error processing resource 'file:///C:/Inetpub/wwwroot/RoadSegmentMaintenance/...
<%@dotnet.itags.org. Page Language="VB" AutoEventWireup="false" CodeFile="RoadSegments.aspx.vb" Inherits="RoadSegments" %>-^You're asking IE to read the ASPX from the filesystem. It will just be shown as text. You need to run it in the context of ASP.NET to have it processed as a page object and get all of the environmental effects of ASP.NET.
I'm not sure what's happening here. What am I missing? Thanks for any help.
-Brock
So, the question is then, how do I run web pages I've created with Visual Web Developer 2005?
Edit: I've gotten the page to run by typing in the address of the folder (http://localhost/....etc.), but it doesn't run correctly. A lot of the controls don't show up. I still seem to be missing something.
jlwilliams1 wrote:
So, the question is then, how do I run web pages I've created with Visual Web Developer 2005?
You need a webserver. Cassini is the one that runs from within VS.NET2005, but you can always run it manually on the command line:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\WebDev.WebServer.EXE
Or you can use IIS. So this means install IIS onto your local machine, or your dedicated webserver, or you can pay someone to host for you. I know discountasp.net does ASP.NET v2.0 Beta2 hosting.
-Brock
I already have IIS installed on my computer.
jlwilliams1 wrote:
I already have IIS installed on my computer.
So then you can configure an application in IIS to point to you direcotry where you code is and then it will be hosted under IIS. I feel like I'm missing what your real queston is.
-Brock
The problem is now, I can get the page up without the previous error that I had, but the page doesn't display completely. Most of the controls don't display. I don't get any errors running the page though. I am running both Framework 1.2x and 2.x on my computer and I changed IIS so that it points to the dll in the Framework 2.x directory instead of the 1.2x (to run aspx pages). I am probably missing a setting somewhere, but I can't figure what.
Hmm... sounds like it's simply not installed at all? You can always reconfigure IIS via:
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\aspnet_regiis.exe
run:
aspnet_regiis.exe /i
aspnet_regiis.exe /r
I think /i should do the trick, but I always run it with each option.
-Brock
Will that configure my machine to default to Framework 2.0x? I can't have that because of legacy VB.NET and ASP.NET code that I work with and need to test.
I am able to run the page within Visual Web Developer 2005.
Yes, with those options it will. Run it with /? to find out all the options. There's one option to just configure a particular application.
-Brock
0 comments:
Post a Comment