View Full Version : problem of aspx
hi all
why i can run the aspx file through the Dreamweaver MX(using Preview), but not in directly right clicking the file and choosing open with IE?
You need to run the page on a server, usually IIS with ASP.NET installed & enabled.
You can go here to download .NET Framework 1.1
http://www.microsoft.com/downloads/details.aspx?FamilyId=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en
But...I actually install all of them, if not, why can I see the features of aspx through the IE
Originally posted by rycw
But...I actually install all of them, if not, why can I see the features of aspx through the IE
Because you can't directly access an ASP.NET by just using the typical file system. Sure, you can go to c:\inetpub\wwwroot\MyFile.aspx, but it won't process it on the server. You'll end up getting a mix of HTML and unprocessed ASP.NET code. You need to use IE to call the file using the web server.
For example. if IIS is turned on, c:\inetpub\wwwroot\ is really http://localhost/ in web server terms. So, in order to access MyFile.aspx, just go to http://localhost/MyFile.aspx.
IIS handes the request, passes it to the ISAPI filter and then the ASP.NET worker process. Just double-clicking the file won't do this.
vBulletin® v3.6.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.