|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
web.config file??
<i><b>Originally posted by : petey</b></i><br />I'm toying around with building an application that allows a user to upload and view images from a database.<br /><br />I found this sample code from this site<br /> <br />http://aspfree.com/aspnet/uploadimage.aspx<br /><br />I'm more of a straight ASP coder and really haven't gotten into the ASP. NET (Although I use Visual Studio .NET)<br /><br />I figured this would be a good place to start, but I'm confused at how you even debug this code. My main question is where does the web.config file go??<br /><br />I keep hearing the root..well that can mean several places to different people.<br /><br />I have my code in a location of http://Server_Name/Root/Test/Uploads, so does web.config for these files go<br />http://Server_Name/Root/Test/Uploads/ here, or http://Server_Name/Root/Test/ here or<br />http://Server_Name/Root/ here?<br /><br />I'm not getting any errors, but I'm not getting any images uploaded either. It could be my connection string....but I'm not sure how to debug this ASP .NET (Oh by the way, my database is SQL SERVER 2000) and I'm running plenty of web applications off of it so I'm not new to connecting to a DB and retreiving data.....but man this .NET stuff is confusing me. <br /><br />Any Clues?<br />Thanks<br /><br />
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : steve</b></i><br />web.config can live in any directory of the appliation or sub-dir's below the app but typically the application's web.config would go in the root web. same dir as the global.asax file.<br /><br /><br />------------<br />petey at 4/8/2002 8:18:51 AM<br /><br />I'm toying around with building an application that allows a user to upload and view images from a database.<br /><br />I found this sample code from this site<br /> <br />http://aspfree.com/aspnet/uploadimage.aspx<br /><br />I'm more of a straight ASP coder and really haven't gotten into the ASP. NET (Although I use Visual Studio .NET)<br /><br />I figured this would be a good place to start, but I'm confused at how you even debug this code. My main question is where does the web.config file go??<br /><br />I keep hearing the root..well that can mean several places to different people.<br /><br />I have my code in a location of http://Server_Name/Root/Test/Uploads, so does web.config for these files go<br />http://Server_Name/Root/Test/Uploads/ here, or http://Server_Name/Root/Test/ here or<br />http://Server_Name/Root/ here?<br /><br />I'm not getting any errors, but I'm not getting any images uploaded either. It could be my connection string....but I'm not sure how to debug this ASP .NET (Oh by the way, my database is SQL SERVER 2000) and I'm running plenty of web applications off of it so I'm not new to connecting to a DB and retreiving data.....but man this .NET stuff is confusing me. <br /><br />Any Clues?<br />Thanks<br /><br />
|
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > web.config file?? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|