473,386 Members | 1,786 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.

Using IIS

My VS2005 currently uses that embedded webserver and I am happy to keep it
this way.

However, an app I am currently developing requires the use of a HTTPHandler.
So I'd like to know how to set just this one project to use IIS.
Thanks

Pete
Aug 22 '06 #1
8 1073
I dont have an environment in front of me but in solutions explorer in vs,
if you look at the properties of the project theres a section in there (web
I think it is) that allows you to choose between the default VS dev server,
or IIS

Regards

John Timney (MVP)
"Peter Morris [Droopy eyes software]" <pe**@droopyeyes.no.com.spamwrote in
message news:%2****************@TK2MSFTNGP05.phx.gbl...
My VS2005 currently uses that embedded webserver and I am happy to keep it
this way.

However, an app I am currently developing requires the use of a
HTTPHandler. So I'd like to know how to set just this one project to use
IIS.
Thanks

Pete

Aug 22 '06 #2
Hi John

The only setting I see there that I think may be the one is "Start an
external application", but I have no idea what to set it to or what working
dir / parameters etc to use.

Pete
Aug 22 '06 #3
Are you running on a machine with IIS installed?

Regards

John Timney (MVP)
"Peter Morris [Droopy eyes software]" <pe**@droopyeyes.no.com.spamwrote in
message news:uw****************@TK2MSFTNGP06.phx.gbl...
Hi John

The only setting I see there that I think may be the one is "Start an
external application", but I have no idea what to set it to or what
working dir / parameters etc to use.

Pete

Aug 22 '06 #4
as I said, I dont have en environment in front of me, but perhaps this might
help you find it in yours.

http://webproject.scottgu.com/Visual...elloWorld.aspx

--
Regards

John Timney (MVP)
"John Timney (MVP)" <x_****@timney.eclipse.co.ukwrote in message
news:K4********************@eclipse.net.uk...
Are you running on a machine with IIS installed?

Regards

John Timney (MVP)
"Peter Morris [Droopy eyes software]" <pe**@droopyeyes.no.com.spamwrote
in message news:uw****************@TK2MSFTNGP06.phx.gbl...
>Hi John

The only setting I see there that I think may be the one is "Start an
external application", but I have no idea what to set it to or what
working dir / parameters etc to use.

Pete


Aug 22 '06 #5
re:
I'd like to know how to set just this one project to use IIS.
Hi, Peter.

To specify the Web server for a Web site, open your local website and,
in the Solution Explorer, right-click the name of the Web site for which you
want to specify a Web server, and then click Property Pages.

In the Property Pages dialog box, click the Start Options tab.
Under Server, click Use custom server.

In the Base URL box, type the URL that Visual Web Developer
should start when running the current Web site. You can use localhost.
You can also use localhost/subdirectory

From that point on, the VS.NET IDE will not use the internal web server,
but will use IIS to open your pages, i.e., if you are working on default.aspx,
it will be opened as : http://localhost/default.aspx and if you're working in
a subdirectory, it will open http://localhost/subdirectory/default.aspx

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Peter Morris [Droopy eyes software]" <pe**@droopyeyes.no.com.spamwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
My VS2005 currently uses that embedded webserver and I am happy to keep it this way.

However, an app I am currently developing requires the use of a HTTPHandler. So I'd like to know
how to set just this one project to use IIS.
Thanks

Pete


Aug 22 '06 #6
Ah right. My options are different for some reason, any idea why?

http://www.myecospace.net/ProjectOptions.jpg

Pete
Aug 23 '06 #7
Did Juans response in the thread help at all?

Regards

John Timney (MVP)

"Peter Morris [Droopy eyes software]" <pe**@droopyeyes.no.com.spamwrote in
message news:OS**************@TK2MSFTNGP02.phx.gbl...
Ah right. My options are different for some reason, any idea why?

http://www.myecospace.net/ProjectOptions.jpg

Pete

Aug 23 '06 #8
re:
Ah right. My options are different for some reason, any idea why?
No. They aren't different.

You got as far as :
In the Property Pages dialog box, click the Start Options tab.
That is what your image shows.

Now, you have to continue :

1. Under Server, click the "Use custom server" radio button.

That will activate the "Base URL" box
(it stays grayed out until you select "use custom server")

2. In the Base URL box, type the URL that Visual Web Developer
should start when running the current Web site. You can use http://localhost/.
You can also use http://localhost/subdirectory/ if you're working in a subdirectory.

Of course, you *do* need to create a virtual directory in IIS
which points to the directory where your files are located in.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Peter Morris [Droopy eyes software]" <pe**@droopyeyes.no.com.spamwrote in message
news:OS**************@TK2MSFTNGP02.phx.gbl...
Ah right. My options are different for some reason, any idea why?

http://www.myecospace.net/ProjectOptions.jpg

Pete

Aug 23 '06 #9

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

Similar topics

17
by: beliavsky | last post by:
Many of my C++ programs have the line using namespace std; but the "Accelerated C++" book of Koenig and Moo has many examples where the library names are included one at a time, for example ...
5
by: Enos Meroka | last post by:
Hallo, I am a student doing my project in the university.. I have been trying to compile the program using HP -UX aCC compiler, however I keep on getting the following errors. ...
12
by: Calum Grant | last post by:
In older C++ computer books, you'll often see using namespace std; even in my 1996 copy of Stroustrup. Nowadays, it seems to be considered better to qualify names to make it clearer what...
0
by: canasdaq | last post by:
Can anyone please help me. I was looking at the article "http://www.eggheadcafe.com/articles/20030603.asp". I am new to .net and know nothing in c#. I want to write a menu in asp.net. Can anyone...
11
by: Grasshopper | last post by:
Hi, I am automating Access reports to PDF using PDF Writer 6.0. I've created a DTS package to run the reports and schedule a job to run this DTS package. If I PC Anywhere into the server on...
3
by: John Spiegel | last post by:
Hi All, I've been working on building a .dll in C# (framework 1.1) and using it in VFP8. As always, the example that runs so smoothly in the article fails at a rather basic point in practice. ...
8
by: acb | last post by:
Hi, I wrote a DLL Component (using Visual Studio 2005) and managed to include it into a C# Console application. I am now trying to include this component into a Web project. I copy the DLL...
0
by: Eugene Anthony | last post by:
The problem with my coding is that despite removing the records stored in the array list, the rptPages repeater control is still visible. The rptPages repeater control displayes the navigation...
3
by: JDeats | last post by:
I have some .NET 1.1 code that utilizes this technique for encrypting and decrypting a file. http://support.microsoft.com/kb/307010 In .NET 2.0 this approach is not fully supported (a .NET 2.0...
8
by: =?Utf-8?B?Q2hyaXMgSGFsY3Jvdw==?= | last post by:
Hi there I've successfully added some .NET validation controls to a page (using <asp:RequiredFieldValidator ...), however when I try to set the 'display' property to 'dynamic', my page then...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.