Problems with .asp files in my solution



I got asp files dilevered to me from another company. The instructions are to just host them and link to them. So, I include the folder with two asp files, an img and css folder into my project on our development server. But when I try to browse to the folder the browser say "The website denied access" or in swedish from IE "Webbplatsen nekade till att visa den här webbsidan".

I can browse to the folder and then img and see the images just fine, like this http://myip/foldername/img/logo.gif. But http://myip/foldername/index.asp doesnt work as explained above, nor does http://myip/foldername.

Do I have to create a seperate site in IIS? Cant I just include the asp files into my Visual Studio project?


Thank you very much

Oct 10, 2011 12:13

I fixed it myself. I will write how I did it tomorrow, in case someone is interested or have additional feedback.

Oct 10, 2011 16:50

Ok. So including the asp files in the visual studio project, it didnt work. I tried another solution, I made a virtual directory in the IIS and pointed to the folder with the asp files with the images and css. It didnt work for some reason. So I tried to, under the tab, to set the asp version to version 1, then all crazy broke loose: the site still didnt work and on top of it the "parent site" didnt work either. Fortunatly this was on a development server.

Well it seams that you cant have a site run on asp 2 and then have a virtual directory under it running on asp 1, without a seperate application pool for the virtual directory. A deleted the virtual directory and restartaded the IIS a couple of times, the ordinary site now worked.

Its a bit of a mystery why the virtual directory didnt work with the asp set to asp 2, however. A friend told me that on newer windows server OS Microsoft dont include support for old asp, so maybe it was that.

The solution was, however, to make an virtual directory on another site, both running asp 1, on an old server, and it worked fine.

Oct 11, 2011 8:35
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.