Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Setup / November 2005

Tip: Looking for answers? Try searching our database.

How can I get VS2005 to use IIS and not the built in web server?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gery D. Dorazio - 11 Nov 2005 20:04 GMT
I just installed VS 2005 standard edition and converted one of my web sites
from VS 2003. It compiled ok but when I try run it shows the browser window
and an application error saying to set custom errors to OFF because there is
a problem. It's not seeing anything...and I can't locate the assembly, etc..

I don't want to use the built in web server supplied by VS 2005 and I can't
find where it can be changed back to use IIS. I am using a workstation to
run VS 2005. It is connected in a LAN to a development server running
Windows 2003 Server. All the development sites are located on a shared drive
which is on the server. I use file access and not FrontPage. So how can I
make VS 2005 use IIS on my development server like before?

Can anyone point to some good docs/links on conversion of web
projects/solutions from VS 2003 to VS 2005? This is especially needed
because the operational environments are not the same and migrating is a
real problem right now.

Thanks,
Gery

Gery D. Dorazio
Development Engineer
EnQue Corp.
phone: 704.377.3327
email : gdorazio@enque.net
web : www.EnQue.net 
Gery D. Dorazio - 11 Nov 2005 21:33 GMT
Answer:

Go to IIS, select the web site and its properties. Then on the ASP.NET tab
select version 2.0...

Gery D. Dorazio Development Engineer EnQue Corp. phone: 704.377.3327 email :
gdorazio@enque.net web : www.EnQue.net
>I just installed VS 2005 standard edition and converted one of my web sites
>from VS 2003. It compiled ok but when I try run it shows the browser window
[quoted text clipped - 24 lines]
> email : gdorazio@enque.net
> web : www.EnQue.net
Ken Carter - 16 Nov 2005 22:48 GMT
I'm having simmilar issues and switching the site to 2.0 doesn't help. Still
get page can't be found issues. with http://localhost

> Answer:
>
[quoted text clipped - 31 lines]
> > email : gdorazio@enque.net
> > web : www.EnQue.net
Gery D. Dorazio - 20 Nov 2005 05:46 GMT
Ken,

Another problem that may arrise is with the Application pool. If you are
running multiple sites and ANY of them have started to run before you run
your 2.0 site then a failure will also occur. This is because the
application pool loaded 1.1 (or 1.0) framework and then fails when a new
assembly (2.0) is required...the frameworks do not match. (Not sure why this
acts this way...) To correct this problem create a new application pool for
2.0 sites and only run your 2.0 sites from that application pool. IIS allows
you to simply create an application pool based on an existing one which is
what I did. Then I just specified 2.0 sites for one and left the 1.1 sites
in the original.

Best regards,
Gery

Gery D. Dorazio
Development Engineer
EnQue Corp.
phone: 704.377.3327
email : gdorazio@enque.net
web : www.EnQue.net

> I'm having simmilar issues and switching the site to 2.0 doesn't help.
> Still
[quoted text clipped - 44 lines]
>> > email : gdorazio@enque.net
>> > web : www.EnQue.net

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.