samy
samy

Reputation: 1969

How to publish Web Applications

hay for the last week im having real trouble with my site.

i hed a simple site that when i wanted to check it online ive just upload all the files to a online server http://www.aspspider.com/ and every thing work BUT i didnt hed any server side code(all the CodeBhind files were just empty).

then i start adding some server side code and check it localy and it work fine.

Now im having trouble uploading the site to the server im getting all sort of error when im trying to access it.

i ask some questions about my problem but nothing work so im thinking mybee i just dont know how to upload the file correctly.

so my questions are: 1.why i just upload all the files ( the CodeBhind's and designer.cs's) to the server?

2.what its the best way to publish/deploy the site befor uploading it to a host?

Upvotes: 0

Views: 468

Answers (3)

user1921
user1921

Reputation:

Do you have admin rights or is it hosted? Did you upload the bin directory and its contents? If you have FTP access you should be able to publish directly from your solution in VS.

Upvotes: 1

Peter Kiss
Peter Kiss

Reputation: 9319

How are you uploading the site, through FTP? Then if i were you i would publish it to local file system and then upload it through FTP.

Upvotes: 1

Related Questions