This topic is locked
[SOLVED]

 ftp to a subdirectory on an existing asp.net site

8/5/2011 3:49:25 PM
ASPRunner.NET General questions
dcampbe11 author

When ftp the asprunner.net output files to a subdirectory, I get errors regarding the APPCode and Bin files as well as the webconfig. I copied the appcode files to the root AppCode and the bin files to the Root Bin but now I still have the following error:
Could not find file 'E:\web\bwcummorg00\htdocs\login.aspx'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not find file 'E:\web\bwcummorg00\htdocs\login.aspx'.
Source Error:
Line 23: {

Line 24: string path = page.Server.MapPath(template);

Line 25: string source = File.ReadAllText(path);

Line 26: //int index = source.IndexOf("\n");

Line 27: string output = null;
Source File: e:\web\bwcummorg00\htdocs\App_Code\lib.cs Line: 25
Please tell me how I can upload the asprunner site as a subdirectory and what changes I have to make to the web.config etc.
Thanks,

Sergey Kornilov admin 8/7/2011

If you upload ASPRunner.NET to a subdirectory make sure it marked as an 'application' in IIS settings on the server.