Active Server Pages Error Asp 0130 Invalid File Attribute
file to declare variables for include files The SitePoint Forums have moved. You can now find them here. This forum is now closed to new posts, but you can browse existing content. You can find out more information about the move and how to open a new account (if necessary) here. If you get stuck you can get support by emailing forums@sitepoint.com If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. SitePoint Sponsor User Tag List Results 1 to 18 of 18 Thread: config.asp file to declare variables for include files Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Oct 19, 2010,15:23 #1 surina777 View Profile View Forum Posts SitePoint Member Join Date Oct 2010 Posts 21 Mentioned 0 Post(s) Tagged 0 Thread(s) config.asp file to declare variables for include files let me just start that I am an asp newb... searched all over the internet for this answer and can't seem to find anything I have a config.asp file (located on my server (ip_address/root/config.asp) that i am declaring a variable in: Code: <% dim root_path root_path = "/rootfolder/" %> I want to include this file in a subfolder "http://ip_address/root/subfolder/" a) is this the only way to include the config file in it? -b/c if that is the case, I would have to delete the /root out when i move from dev to prod (seems pointless) b) can I include a declared variable in an include statement? Code: i get an asp error in this case... Active Server Pages error 'ASP 0126' Include file not found /root/subfolder/default.asp, line 34 The include file '<%=root_path%>inc/header.asp' was not found. If anyone can provide help, I would be very appreciative! I have scoured the internet for the past 2 business days looking for help... Oct 19, 2010,21:10 #2 Doug G View Profile View Forum Posts SitePoint Addict Join Date Apr 2009 Posts 359 Mentioned 1 Post(
Tweets Tweets by @cffkb Recent Articles CDO.Message.1 error '80040605' Unknown Error Compiler Error Message: BC30277: Type character '&' does not match declared data type 'String'. Lenovo G770 Settings Graphics http://www.sitepoint.com/forums/showthread.php?708011-config-asp-file-to-declare-variables-for-include-files Dedicated Memory in BIOS error: 40 - Cannot connect to Server/Instance Specified The server was not found or was not accessible Provider error '8002000a' Out of present range. Top Viewed Articles Microsoft VBScript runtime http://www.cffkb.com/Main.asp?irid=115&Type=Article error '800a0046' Permission denied FileSystemObject The backup set holds a backup of a database other than the existing ADODB.Parameters error '800a0e7c' Parameter object is improperly defined Microsoft OLE DB Provider for SQL Server error '80040e57' String or binary data would be truncated. or The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data. Where does adobe application manager store downloads CFF Links The Spotlight Knowledge Exchange CFF Coding Source Carrz-Fox-Fire Promotions CFF Picture Gallery © 2011-2016 CFF Knowledge Base. All rights reserved. Login Close Username Password Back to top
Detected You currently have javascript disabled. Several functions may not work. Please re-enable http://w3schools.invisionzone.com/index.php?showtopic=34133 javascript to access full functionality. include files within subfolders Started by surina777, Oct 20 2010 01:49 PM Please log in to reply 2 replies to https://support.microsoft.com/en-us/kb/294271 this topic #1 surina777 surina777 Newbie Members 3 posts Posted 20 October 2010 - 01:49 PM let me just start that I am an asp active server newb...i have done quite a bit of searching online...and coming to a forum is my last resorthere is my situation:I am currently working on a site in our dev environment located on my server (ip_address/site/)I have include files located at: ip_address/site/incI need to start adding subfolders, so i create: active server pages ip_address/site/subfolderwell the header/nav/footer are in the /inc folder, so i need to include those files from the subfolder fileIf I do a I get this error: Active Server Pages error 'ASP 0131'Disallowed Parent Path/site/subfolder/default.asp, line 34The Include file '../inc/header.asp' cannot contain '..' to indicate the parent directory.If I do a I get this error if so:Active Server Pages error 'ASP 0130'Invalid File attribute/site/subfolder/default.asp, line 34File attribute '/inc/header.asp' cannot start with forward slash or back slash. This works...BUT!I need to create several hundred subfolders, when I go to production, I am going to have to change that /site name on each default.asp file for every subfolderWhat is the best solution here? Edited by surina777, 20 October 2010 - 01:49 PM. Back to top #2 justsomeguy justsomeguy More Human Than Human Moderator 29,439 posts Gender:Male Location:Phoenix Languages:Focusing on PHP and JavaScript Po
One games Xbox 360 games PC games Windows games Windows phone games Entertainment All Entertainment Movies & TV Music Business & Education Business Students & educators Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security Internet Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Band Microsoft Lumia All Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft