• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 360
  • Last Modified:

Asp.net error when i try to upload on server (Brinkster)

i uploaded website on the server (brinkster.com) but i m having this error.

thanks

error.jpg
0
ramChand123
Asked:
ramChand123
  • 3
  • 2
  • 2
2 Solutions
 
abelCommented:
You can only get that error for an ASPX page if you haven't uploaded the Bin directory, or if certain files inside the Bin directory have not successfully been uploaded. You can use the Publish Site feature of Visual Studio to prevent this type of error.
0
 
Anurag ThakurCommented:
the error clearly states that something is missing and its an assembly reference which is missing
0
 
abelCommented:
@ragi: when you compile a page or a control, it creates random names. Inside the page directives, the compiler will change the directive to point to that class with the (now) random name and inherit from it.

It is a common mistake to upload changes to a page, but not to upload the bin directory (where the randomized page codehind compiled binaries go to). Which is why you have to upload the whole directory.

Another common mistake is to forget to "stop" the web site with an App_Offline.htm file, which is necessary to release any handles or files that so that the update of all files can take place without files being locked.

Try doing the following to resolve this error:
  1. Build your website to a local directory
  2. Add the App_Offline.htm file to the root of your web site to show a nice message to your users while updating and meanwhile releasing any resources
  3. Remove the whole website, but not the App_Offline.htm and not any config files that are different on the server then local
  4. Use an FTP or other network file transfer program to upload all files, make sure to verify (with FTP it often happens that a few files are not uploaded correctly, which the FTP program should report and you can re-submit them. One such a program that reports this well is FileZilla)
  5. If you are confident everything is uploaded, remove (or rename) the App_Offline.htm file
  6. Remove the setting debug="true" in your web.config file (which is why you have such an ugly error in the first place).
The error you show above will disappear. If other errors reappear, please let us know and we'll try to help you further.

-- Abel --
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
Anurag ThakurCommented:
i think i know about what you are trying to explain to me and i did not give an descriptive answer because your first comment was good enough to undersand - as far as i think what you tried to explain to me was the collective result of your first comment and mine ..... something has been missed out which the error page was showing
0
 
abelCommented:
;-)
very much indeed so.
0
 
ramChand123Author Commented:
i will try tonight and let you now guys..... thanks for help......
0
 
ramChand123Author Commented:
i talked to brinkster (my webhosting company) and they told me they set up folder for it then their server can recognize asp 3.5 code....

thanks for your help ....
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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