IIS Server - setting up Visual Interdev to work with iis6

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server > September 2004 > setting up Visual Interdev to work with iis6





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author setting up Visual Interdev to work with iis6
Henning

2004-09-28, 8:27 am

Hi! I have set up a win 2003 server with iis6 installed. I have also
installed Visual Interdev 6.0. I was hoping to be able to set up two
websites in iis and then be able to make two projects where each one
would run as a separate website.

-I have created a folder e:\wwwroot\hms
-I have then made a site which I point to e:\wwwroot\hms. Then I made it
a Frontpage web using FP Server extensions 2002.
-Then I made a new project in Visual Interdev 6.0. I used "master mode".
I chose to "Connect to an existing webapplication <root web>...", this
because I had allready made my e:\wwwroot\hms folder, where I want the
app. to reside, and my site is pointing there. This worked fine. I was
asked if I wanted to copy script library, and I said yes. Then I
imported all the files and folders I wanted into visual interdev. I can
now start the project from visual interdev, BUT there will be no
sessions. It seems like global.asa will not fire. So, I had a look in
IIS manager, and the application name is set too "/" every time I start
my project even if I try to change it. I have tried to name it something
else, but every time it is set back to "/".

Now:

1. Is it not possible to do what I am trying to do here?
2. I have made it work before, but then I made one website and then I
created a new project in Visual Interdev and made a new web application
instead of connecting to the <root web>. But the thing is that if I do
so, a new webapp. is created under my website. If I then try to do a
virtual reference, it will be different then out on our production
server (http://localhost/hms/.... instead of http://localhost/...). On
our production server, I have a website. This points too x:\wwwroot\hms.
I want to make my test environment the same as the production server.
...or should I do something on the production server to make it as my
test environment?

Thanks!

Henning :-)

*** Sent via Developersdex http://www.codecomments.com ***
Don't just participate in USENET...get rewarded for it!
Tom Kaminski [MVP]

2004-09-28, 8:27 am

"Henning" <kongsballa@devdex.com> wrote in message
news:u2OtMLVpEHA.1960@TK2MSFTNGP10.phx.gbl...
> Hi! I have set up a win 2003 server with iis6 installed. I have also
> installed Visual Interdev 6.0. I was hoping to be able to set up two
> websites in iis and then be able to make two projects where each one
> would run as a separate website.
>
> -I have created a folder e:\wwwroot\hms
> -I have then made a site which I point to e:\wwwroot\hms. Then I made it
> a Frontpage web using FP Server extensions 2002.
> -Then I made a new project in Visual Interdev 6.0. I used "master mode".
> I chose to "Connect to an existing webapplication <root web>...", this
> because I had allready made my e:\wwwroot\hms folder, where I want the
> app. to reside, and my site is pointing there. This worked fine. I was
> asked if I wanted to copy script library, and I said yes. Then I
> imported all the files and folders I wanted into visual interdev. I can
> now start the project from visual interdev, BUT there will be no
> sessions. It seems like global.asa will not fire. So, I had a look in
> IIS manager, and the application name is set too "/" every time I start
> my project even if I try to change it. I have tried to name it something
> else, but every time it is set back to "/".
>
> Now:
>
> 1. Is it not possible to do what I am trying to do here?
> 2. I have made it work before, but then I made one website and then I
> created a new project in Visual Interdev and made a new web application
> instead of connecting to the <root web>. But the thing is that if I do
> so, a new webapp. is created under my website. If I then try to do a
> virtual reference, it will be different then out on our production
> server (http://localhost/hms/.... instead of http://localhost/...). On
> our production server, I have a website. This points too x:\wwwroot\hms.
> I want to make my test environment the same as the production server.
> ..or should I do something on the production server to make it as my
> test environment?


Yes it's possible but it seems as though there's some path confusion. What
is the root path for your server? Is it E:\inetpub\wwwroot? Basically you
want your Interdev project to be at E:\inetpub\wwwroot ...

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsser...ty/centers/iis/
http://mvp.support.microsoft.com/
http://www.iisfaq.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://www.tryiis.com


Henning

2004-09-28, 5:55 pm

Hi Tom, and thanks for the quick response!!!

I got things working. The reason was actually that a database connection
error occured, but I didn't receive any error message of any kind. The
code just continued allthough I have not set any on error resume next!
Strange behaviour!

I am not able to set breakpoints in my asp code anymore. Before I used
win2k professional. I was able to debug both asp pages and my VB written
code. Any ideas??

So, my project runs "like it should". I probably find a way to make
debugging work.

But, if I want to make a new project. Am I able to do the same thing as
I did with this project. Make a new website that points to for example
e:\wwwroot\cobuilder and then configure it with FP server ext. Then
create new VID project and connect to <root web>? I guess not, unless i
stop my other website, because when I have to choose which web server to
use, I can not have to sites running?

Thanks again for your help!

Henning :-)

*** Sent via Developersdex http://www.codecomments.com ***
Don't just participate in USENET...get rewarded for it!
Tom Kaminski [MVP]

2004-09-28, 5:55 pm

"Henning" <kongsballa@devdex.com> wrote in message
news:%23J%23VOqWpEHA.3716@TK2MSFTNGP10.phx.gbl...
> Hi Tom, and thanks for the quick response!!!
>
> I got things working. The reason was actually that a database connection
> error occured, but I didn't receive any error message of any kind. The
> code just continued allthough I have not set any on error resume next!
> Strange behaviour!
>
> I am not able to set breakpoints in my asp code anymore. Before I used
> win2k professional. I was able to debug both asp pages and my VB written
> code. Any ideas??
>
> So, my project runs "like it should". I probably find a way to make
> debugging work.
>
> But, if I want to make a new project. Am I able to do the same thing as
> I did with this project. Make a new website that points to for example
> e:\wwwroot\cobuilder and then configure it with FP server ext. Then
> create new VID project and connect to <root web>? I guess not, unless i
> stop my other website, because when I have to choose which web server to
> use, I can not have to sites running?


If you're running W2K Pro or WXP Pro, you can only have one web site active
at a time.

INFO: Visual InterDev 6.0 Debugging Resources
http://support.microsoft.com/?kbid=244272

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsser...ty/centers/iis/
http://mvp.support.microsoft.com/
http://www.iisfaq.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://www.tryiis.com


Henning

2004-09-28, 5:55 pm

Hi!

I will have a look at the link you sent me. I am using win 2003 server
std. edt.

Henning :-)

*** Sent via Developersdex http://www.codecomments.com ***
Don't just participate in USENET...get rewarded for it!
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com