Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 167
  • Last Modified:

problem in hosting of website

Hi

I have created a program in VS 2008 in which I am uploading the file using file uploader.

The program works fine on my local machine

But when I publish the website and host it to the server(production) then I am not able to run the code.

Is it something related to permission
0
KaranGupta
Asked:
KaranGupta
  • 2
1 Solution
 
Tapan PattanaikSenior EngineerCommented:
Hi KaranGupta,


                IIS Videos for ASP.NET

http://www.asp.net/learn/iis-videos/
0
 
CodeCruiserCommented:
When uploading websites to hosting, you most often have to configure it properly. Its not just copy and paste. You have to create an ASP.NET application on the folder where your files are copied. This is then added as an virtual directory in the IIS. ASP.NET can only run if it has a virtual directory in IIS.
0
 
KaranGuptaAuthor Commented:
Hi

I have taken hosting space. There is a folder there called httpdocs.

Here I have copied the site.

I think I need not to configure for IIS    there
0
 
CodeCruiserCommented:
You do need to configure the folder as an ASP.NET application otherwise it would not go through IIIS and if it does not go through IIS, it does not get executed. What hosting provider are you using?
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now