Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
can any boby find the solution for the below error

When i run my project on locval server then it runs properly but when i upload my project on ftp server then it gives me the following error when i browse it on browser with an url.
So can you help me out.

Following is the error :

CSS
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 'vin123._default'.

Source Error:


Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="vin123._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: /Default.aspx Line: 1

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272&lt;/pre&gt;</pre>
Posted
Comments
Timberbird 7-Sep-12 4:14am    
Looks like the server can't find your assembly. Is it placed directly in the "bin" folder on server?
cpsglauco 7-Sep-12 4:27am    
Have you precompiled the site?
if you use "Publish" command for your asp.net web site project, should solve the problem
Member 9410081 7-Sep-12 4:48am    
yaa its placed in bin folder only
Member 9410081 7-Sep-12 4:49am    
i directly upload my project in ftp server without publish
deepakaitr12345 8-Sep-12 4:48am    
Go to the project right click on that and click on add deployed assamblies then publish it on the FTP server.
and please check routing path in your globle configuration file.

Thanks

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