Click here to Skip to main content
15,901,373 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i have tested my project on local server and when i upload image it works fine.. on local i have connected online database.. but when i uploaded same local copy of project on server and when i upload image while testing it,, my images does not get uploaded on server.. i don't understand what is the problem and how to track it.. Help Please

What I have tried:

nothing because i don't know how to track project online!
Posted
Updated 13-Oct-17 1:57am
Comments
Karthik_Mahalingam 13-Oct-17 7:47am    
what is the error message?
Sam_k_khan 14-Oct-17 0:42am    
no error message is displayed. evry thing goes fine.. all other details get stored in online database except for the image.
Karthik_Mahalingam 14-Oct-17 8:13am    
how you are storing the image?
blob ? or in physical drive
Sam_k_khan 19-Oct-17 4:16am    
issue was resolved.. there was no permission in writing image on network. so i made it in web config file. Thank you evryone
Karthik_Mahalingam 19-Oct-17 4:17am    
Cool

1 solution

Start by looking at your code, and where it stores the images. The chances are that you're trying to store it to a location that either doesn't exist on the server, or that IIS doesn't have permissions to write in.
If you can't see anything obvious, and all the required folders and permissions are in place, start adding logging code to your app "narrow down" where the problem is happening. Append messages to a file so you can see how far it got, and what it is working with. Add try...catch blocks so you can log error messages, and stack traces.

Then make the problem happen, and look at the log. It should start to give you ideas as to where the problem is.

But we can't do any of that for you: we just don't have any access to your code, and we couldn't run it if we did!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900