473,386 Members | 1,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Enabling ASP-running webserver on a local machine

I have problems enabling my machine to
work locally as a webserver. I wish to
test some ASP.NET code but this far i
must be missing something because i've
got no response as requested.

Could a kind soul point me to a
tutorial or a walkthru on how to
configure Vista Business (VS.NET 2008
Express installed with DotNet 3.5) to
give the correct response when called
with
http://localhost/that_file.asp
--
Regards
Konrad Viltersten
--------------------------------
sleep - a substitute for coffee for the poor
ambition - lack of sense to be lazy

Jun 27 '08 #1
7 1168

Hi Konrad,

I just went trough the same problem ... I was running IIS on Windows XP and
the aspx files didn't run as they should...
When looking at the configuration I noticed that the aspx-files were not
enabled...

my solution:
from the command promt run ....
C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspn et_regiis.exe -i
and it solved the problem ....

Maybee you will have to do the same for your problem...
I'm not sure this will work for the 3.5 framework but maybee google knows
:-)

John


"K Viltersten" <tm**@viltersten.comschreef in bericht
news:67*************@mid.individual.net...
>I have problems enabling my machine to work locally as a webserver. I wish
to
test some ASP.NET code but this far i
must be missing something because i've
got no response as requested.

Could a kind soul point me to a tutorial or a walkthru on how to configure
Vista Business (VS.NET 2008 Express installed with DotNet 3.5) to
give the correct response when called
with http://localhost/that_file.asp
--
Regards
Konrad Viltersten
--------------------------------
sleep - a substitute for coffee for the poor
ambition - lack of sense to be lazy

Jun 27 '08 #2
I just went trough the same problem ... I
was running IIS on Windows XP and the aspx
files didn't run as they should...
When looking at the configuration I
noticed that the aspx-files were not enabled...

my solution:
from the command promt run ....
C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspn et_regiis.exe -i
Just to be sure - you request a file by
entering into url-line the following:

http://localhost/testme.aspx

and the file testme.aspx is located on
your drive at what location?

--
Regards
Konrad Viltersten
--------------------------------
sleep - a substitute for coffee for the poor
ambition - lack of sense to be lazy

Jun 27 '08 #3
On Apr 21, 8:52*pm, "K Viltersten" <t...@viltersten.comwrote:
I have problems enabling my machine to
work locally as a webserver. I wish to
test some ASP.NET code but this far i
must be missing something because i've
got no response as requested.

Could a kind soul point me to a
tutorial or a walkthru on how to
configure Vista Business (VS.NET 2008
Express installed with DotNet 3.5) to
give the correct response when called
withhttp://localhost/that_file.asp

--
Regards
Konrad Viltersten
--------------------------------
sleep * *- a substitute for coffee for the poor
ambition - lack of sense to be lazy
Installing IIS 7.0 on Windows Vista Business or Vista Ultimate
http://technet2.microsoft.com/window....mspx?mfr=true
Jun 27 '08 #4
K Viltersten submitted this idea :
I have problems enabling my machine to work locally as a webserver. I wish to
test some ASP.NET code but this far i
must be missing something because i've
got no response as requested.

Could a kind soul point me to a tutorial or a walkthru on how to configure
Vista Business (VS.NET 2008 Express installed with DotNet 3.5) to
give the correct response when called
with http://localhost/that_file.asp
Is that a typo, or did you really mean to call an "asp" (old ASP) file
instead of an aspx?

IIRC you need to enable "asp" explicitly in IIS. I don't have Viste
myself, so I can't check.

Hans Kesting
Jun 27 '08 #5
>I have problems enabling my machine to
>work locally as a webserver. I wish to
test some ASP.NET code but this far i
must be missing something because i've
got no response as requested.

Could a kind soul point me to a tutorial
or a walkthru on how to configure
Vista Business (VS.NET 2008 Express
installed with DotNet 3.5) to
give the correct response when called
with http://localhost/that_file.asp

Is that a typo, or did you really mean to
call an "asp" (old ASP) file instead of
an aspx?
No typo. I assumed that both "asp" and
"aspx" worked equally fine, with the only
difference that the user can "see" what
kind of ASP it is. Is that incorrect?
IIRC you need to enable "asp" explicitly
in IIS. I don't have Viste myself, so I
can't check.
I think that regardless of WinXP or Vista
you still can help me with these two
questions (so you'll be useful anyway). :)

1. Is http://localhost/that_file.aspx the
correct syntax to request the local file?

2. Where exactly will the file be stored
in the ..\Visual Studio 2008\ directory
structure when i build a project?

Thanks!

--
Regards
Konrad Viltersten
--------------------------------
sleep - a substitute for coffee for the poor
ambition - lack of sense to be lazy

Jun 27 '08 #6
re:
!I assumed that both "asp" and "aspx" worked equally fine, with the only
!difference that the user can "see" what kind of ASP it is. Is that incorrect?

With the caveat that each must be specifically authorized, no, it's not incorrect.

re:
!1. Is http://localhost/that_file.aspx the correct syntax to request the local file?

Only if you're using IIS to request that_file.aspx and the file is located in the root directory
( usually drive:\inetpub\wwwroot\ )

re:
!2. Where exactly will the file be stored in the ..\Visual Studio 2008\ directory structure when i build a project?

If it's a File System project :

drive:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\ProjectName

If it's an IIS-based app, wherever in the IIS directory structure you created it.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"K Viltersten" <tm**@viltersten.comwrote in message news:67*************@mid.individual.net...
>>I have problems enabling my machine to work locally as a webserver. I wish to
test some ASP.NET code but this far i
must be missing something because i've
got no response as requested.

Could a kind soul point me to a tutorial or a walkthru on how to configure Vista Business (VS.NET 2008 Express
installed with DotNet 3.5) to
give the correct response when called
with http://localhost/that_file.asp

Is that a typo, or did you really mean to call an "asp" (old ASP) file instead of an aspx?

No typo. I assumed that both "asp" and "aspx" worked equally fine, with the only difference that the user can "see"
what kind of ASP it is. Is that incorrect?
>IIRC you need to enable "asp" explicitly in IIS. I don't have Viste myself, so I can't check.

I think that regardless of WinXP or Vista
you still can help me with these two
questions (so you'll be useful anyway). :)

1. Is http://localhost/that_file.aspx the correct syntax to request the local file?

2. Where exactly will the file be stored
in the ..\Visual Studio 2008\ directory
structure when i build a project?

Thanks!

--
Regards
Konrad Viltersten
--------------------------------
sleep - a substitute for coffee for the poor
ambition - lack of sense to be lazy


Jun 27 '08 #7
2. Where exactly will the file be stored in the
..\Visual Studio 2008\ directory structure when
i build a project?

If it's a File System project :

drive:\Documents and Settings\Administrator\
My Documents\Visual Studio 2008\Projects\
ProjectName
The files are there but the ASP-magic doesn't
happen to my files as i click on them. i've
been instructed to REQUEST them instead.

Can i request a file from the folder you
mention above somehow? I've tried to set it as
a website using IIS-manager but got only
errors, as was the case for any directory not
in the wwwroot-folder.
If it's an IIS-based app, wherever in the IIS
directory structure you created it.
Does it need to be an IIS-project if i wish to
request my files, making the <% =getStuff %>
convert to some stuff?

The issue with the wwwroot-folder is that i
can't edit the file iisstart.htm, allthough
i'm logged on as an administrator...

--
Regards
Konrad Viltersten
--------------------------------
sleep - a substitute for coffee for the poor
ambition - lack of sense to be lazy

Jun 27 '08 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: J_axx | last post by:
Enabling the sever to use ASP I am running Win Xp pro and have all components of IIS installed from the add/remove programs I have my FTP & website running fine, I am working on a page for a new...
2
by: HumptyDumpty | last post by:
Does anyone know if there is a problem with re-enabling the Screen Saver after it has been disabled programmatically. I am using the SystemParametersInfo function within User32.dll, and have...
0
by: VSK | last post by:
Hi all, In our ASP.NET web application we have to enable or disable features in each ASP.NET page based on role assigned to user. Ex: if user who logs in is superisor then he can change...
0
by: Jason Nadrowski | last post by:
VSK: Google Groups was having trouble "retrieving" (Unable to retrieve message urJo6GRmDHA.2488@TK2MSFTNGP12.phx.gbl) your message so I copied and pasted it below. Here are my thoughts: 1. I...
3
by: Morten H. | last post by:
Hey, I have a problem on my server. WHen I activate cookieless sessionstate I can only execute aspx pages. When the server tries to find an image in a subfolder eg....
0
by: Stanley Alex | last post by:
My question is: what is the result of enabling tracing in the constructor of a component class and will it automatically be enabled in the asp page or do I have to enable Trace at the page level...
1
by: Jeff Stewart | last post by:
I have tried all of the following things to get JIT debugging to work for my Windows Forms application: * Checked all available options under Tools/Options/Debugging/Just-In-Time * Checked...
0
by: Matthew Lock | last post by:
Hello, I am enabling my web service via HttpPost so that a simple Javascript client can access web services by posting with XmlHttpRequest. I have added the following nodes into my web.config to...
1
by: msch-prv | last post by:
I have an objectDataSource that populates a datalist. When fresh data is pulled out from the db, the SelectEvent event fires and updates the datalist custom navigation links. When data is retrieved...
6
by: sravan_reddy001 | last post by:
My webspace provided me with 100 emails.. How can i access them. How can i setup those emails..
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.