Click here to Skip to main content
15,879,535 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi can any one tell me how to deploy web based application written in vb.net or c# into live web server i am facing much problem in deploying application onto my web server




XML
erver Error in '/' Application.

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'testq._Default'.

Source Error:


Line 1:  <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="testq._Default" %>
Line 2:
Line 3:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Source File: /test1234/default.aspx    Line: 1

how to solve this error
Posted
Updated 21-Nov-11 23:43pm
v2
Comments
Prerak Patel 22-Nov-11 4:49am    
Describe your problem.

You need to take help of IIS6/7 here is nice article written by Abhijit Jana to Deploying ASP.NET Websites on IIS 7.0 [^]

and Deploy using IIS 6
Deployment of a Website on IIS[^]
 
Share this answer
 
After the application Build,Publish it (Build -> Publish Web site) to a specified folder..Go to that folder,Change Connection string in Web.config file as per the web server..Copy all files,Go to wwwroot directory of your hosting provider and paste..Now check your domain..
 
Share this answer
 
Comments
jawad khadri 22-Nov-11 5:08am    
i did all the above steps its still not working
jawad khadri 22-Nov-11 5:31am    
Server Error in '/' Application.

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'testq._Default'.

Source Error:


Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="testq._Default" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Source File: /test1234/default.aspx Line: 1

how to solve this error
Poobalan4 22-Nov-11 6:23am    
Use this Line in Line 1 and try..
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="_Default" %>
jawad khadri 22-Nov-11 6:53am    
same error again????
Use this line
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="_Default" %>
 
Share this answer
 
Comments
jawad khadri 22-Nov-11 6:54am    
same error i am getting
Poobalan4 22-Nov-11 7:33am    
post ur aspx.cs file... Check ur class name in that..

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