I hope this is ok asking here..
I Have been making an asp.net application I have the following in my Solution:
- Business Class (.net Class Library)
- DataAccess Class(.net Class Library)
- Web Application
So when I go to Build>Publish Web, it publishes successfully. So then I go to upload via ftp to my Godaddy hosting account, and I get a runtime error. I am going crazy because if I open the published files on my local machine everything works fine! can anyone help me with this?
here is the link to my web.
If this is not a valid question here I’ll take it down but I am desperate. Thanks
ps. I set godaddy hosting programming language to framework 4.0
Edit: I figured out how to show the error but it’s strange
Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="web.login" %>
Parser Error Message: Could not load type 'web.login'.
now in that page the I have to use that because in my codebehind it has:
namespace web
{
public partial class login : System.Web.UI.Page
and that namespace is used in the designer.aspx.cs aswell..
im stumped 🙁
Thank you for all the help but the answer here did it. In godaddy you have to setup in their IIS Management a Virtual Application
“With GoDaddy, you have to go to “IIS Managment”, click “Create” to create the virtual directory in IIS (doesn’t matter if the directory already exists in the folder structure), and check the box that says “Set Application Root” – this tells IIS you’ll be running asp.net code in there.”