hi frds, again i'm back. here i noted down my error in web config file. i don't know where the error is and y the error, because each and every time i'm publishing getting error,
Server Error in '/deploycrm' 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 the assembly 'App_Web_vw9ykbei'. Make sure that it is compiled before accessing the page.
Source Error:
|
Source File: E:\deploycrm\user.aspx Line: 1
my web config file is
xml version="1.0"?>
<
configuration><
appSettings><
add key="ConnectionInfo" value="server=kando-auth1.kandochennai.com; database=crm;uid=sa;pwd=kando;Integrated Security=True;"/> appSettings><
system.web><
compilation debug="true" strict="false" explicit="true"><
assemblies><
add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> assemblies> compilation><
authentication mode="Windows"/> system.web> configuration>
my source code page is (only first two lines)
<%
@ Page Language="C#" AutoEventWireup="true" CodeFile="user.aspx.cs" Inherits="user" %>DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
.
this is my problem, i'm using visual studio 2005, iis version is 5, using sql server 2000.
please help me and thanks in advance
regards
ram

ArshadRank #2,492 · 564 reputationPosted Jul 9, 2008, 9:42 AM EDT
Parser Error Message: Could not load the assembly 'App_Web_vw9ykbei'. Make sure that it is compiled before accessing the page.
This is becoz of you code behind file name. in the PageDirective what u had given its not same with you code behind class Name.Thats y ur getting Error, just check the Class name and add the same class name into ur Page directive. or also u can Add like that Namesapace.ClassName
in the Page directive.
ramarajan ra41 reputationPosted Jul 10, 2008, 2:18 AM EDT
hi frd,
i tried everything wat u said, but still i'm getting the same error in first line
this is my source code line wat i given
<%
@ Page Language="C#" AutoEventWireup="true" CodeFile="user.aspx.cs" Inherits="user" %>and , this is my cs coding
using
System;using
System.IO;public
partial class _Default : System.Web.UI.Page{
static string connectionInfo = ConfigurationSettings.AppSettings["ConnectionInfo"]; SqlConnection con = new SqlConnection(connectionInfo);like this i given, can u guide me again
ramarajan ra41 reputationPosted Jul 10, 2008, 2:20 AM EDT
hi frd,
i tried everything wat u said, but still i'm getting the same error in first line
this is my source code line wat i given
<%
@ Page Language="C#" AutoEventWireup="true" CodeFile="user.aspx.cs" Inherits="user" %>and , this is my cs coding
using
System;using
System.IO;public
partial class user : System.Web.UI.Page{
static string connectionInfo = ConfigurationSettings.AppSettings["ConnectionInfo"]; SqlConnection con = new SqlConnection(connectionInfo);like this i given, can u guide me again