.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
MarieAdela
Imran Ghani
Post New Web Links

How can I solve this problem?::Compiler Error Message: CS0433: The type 'CrystalDecisions.Web.Cryst

Posted By:      Posted Date: August 27, 2010    Points: 0   Category :ASP.Net
 

I upgraded my web application from visual studio 2003 to 2008. When I want to create a report in visual studio 2008 and receiving this error at runtime. I am able to compile but when runnning thats when I am getting this error.

How can I solve this problem? please help.

Compilation Error

Server Error in '/IRPSDEV' Application.

Compilation Error

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

Compiler Error Message: CS0433: The type 'CrystalDecisions.Web.CrystalReportViewer' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.Web\10.5.3700.0__692fbea5521e1304\CrystalDecisions.Web.dll' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\irpsdev\9e97e0a9\94a2ecd\assembly\dl3\151eb571\00df56e1_6064c201\CrystalDecisions.Web.DLL'

Source Error:

Line 161:        
Line 162:        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 163:        private global::CrystalDecisions.Web.CrystalR


View Complete Post


More Related Resource Links

"Compiler Error Message: BC30002: Type 'OledbParameter' is not defined."

  

The code below gives the following error:

"Compiler Error Message: BC30002: Type 'OledbParameter' is not defined."

Changing OledbParameter to SQLParameter does nothing. Nor does anything else I've tried, including staring, praying, methamphetamines, Green Lantern rings or applications for government aid.

Can anyone see what I am doing wrong?


<%@ Page AspCompat="true" language="VB" masterpagefile="./master.master" %>
<asp:content id="head" contentplaceholderid="head" runat="server">
<TITLE>Donate Wheels: Many Thanks!</TITLE>
</asp:content>
<asp:content id="content" contentplaceholderid="content" runat="server">


<%
'declare your variables
Dim charity, donorname, email, phone, carcolor, make, model, year, vin, notes
Dim sConnString, connection, cmd
'Receiving values from Form, assign the values entered to variables
charity = Request.Form("Charity")
donorname = Request.Form("Name")
email = Request.Form("Email")
phone = Request.Form("Phone")
carcolor = Request.Form("Color")
make = Request.Form("Make")
model = Request.Form("Mode

Compiler error message:CS0433

  

Hello All,

I have a webapplication which uses the telerik controls.Whenever i run the web application, it says that
The type 'Telerik.Web.UI.RadScriptManager' exists in both c:\WINDOWS\assembly\GAC_MSIL\Telerik.Web.UI and
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root.

Inorder to get rid of it temporarily, i copied the same telerik.web.ui.dll from c:\WINDOWS\assembly\GAC_MSIL and copied to the temporaray
asp.net files.But after sometime, the error appears again.

how to solve this permanently.

This error is driving me nuts.Please anyone try to help to solve the issue.


Thank You,

Smith


smith

Compiler Error Message : CS0006: Metadata file 'System.EnterpriseServices.dll' could not be found

  

I get this error when i Debug my web application....

error

I followed these steps.,

  • Ended the aspnet_wp.exe process in the Windows Task Manager
  • Then deleted the application`s folder in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\
  • Then started Visual Studio 2008 again

I also rebooted my system but no use....

Plz help !


Parser Error Message: Could not load type MasterPage File

  

 

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 'wamsilverlight.Web.Wam'.

Source Error:

Line 1:  <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Wam.master.cs" Inherits="wamsilverlight.Web.Wam" %>
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: /Wam.Master    Line: 1


Version Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4927

 

All of the following have been tried over and over again:

1.) Delete all existing .dlls

2.) Delete MasterPage File and recreate it.

3.) Delete MasterPage perform a c

override error message (The value 'test' is not valid for Age) when input incorrect data type for in

  

Hello everyone,

I've tried to override error message when input incorrect data type in input field on HTML form. For example I have the model like this.


public class Person
{
public string FirstName {get;set;}
public int Age {get;set;}

}

For view, I put text input for Age to get it value.

When type some string in Age text box like 'test' and press submit button. I got this error message

The value 'xxx' is not valid for Age

However, I want to change this message and try many way. There 's nothing effect this message value.

Please could you help me to solve this problem.


Compiler Error Message: CS0103: The name 'lblRegion' does not exist in the current context

  
i am gettign this error Compiler Error Message: CS0103: The name 'lblRegion' does not exist in the current context Source Error: Line 31: {Line 32: Line 33: lblRegion.Text = dt.Rows[0]["RegionName"].ToString();Line 34: lblCountry.Text = dt.Rows[0]["CountryName"].ToString();Line 35: lblCountryCode.Text = dt.Rows[0]["CountryCode"].ToString(); this is source code:using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;using System.Net;using System.Xml;public partial class CSharp : System.Web.UI.Page{    protected void Page_Load(object sender, EventArgs e)    {        //Get IP Address        string ipaddress;        ipaddress = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];        if (ipaddress == "" || ipaddress == null)            ipaddress = Request.ServerV

Compiler Error Message: CS0308

  
Can anyone explain the meaning of this error?   Compiler Error Message: CS0308: The non-generic method 'System.Web.Mvc.Html.LinkExtensions.ActionLink(System.Web.Mvc.HtmlHelper, string, string, string, string, string, string, System.Web.Routing.RouteValueDictionary, System.Collections.Generic.IDictionary<string,object>)' cannot be used with type arguments Source Error: Line 23: <div id="header"> Line 24: Line 25: <p id="logo"><%= Html.ActionLink<InstancesController>(c => c.Index(), "Firmex Instance Manager") %></p> Line 26: Line 27: <ul id="mainMenu">   Thank you, in advance.    

Compiler Error Message: CS0308

  
Can anyone explain the meaning of this error?   Compiler Error Message: CS0308: The non-generic method 'System.Web.Mvc.Html.LinkExtensions.ActionLink(System.Web.Mvc.HtmlHelper, string, string, string, string, string, string, System.Web.Routing.RouteValueDictionary, System.Collections.Generic.IDictionary<string,object>)' cannot be used with type arguments Source Error: Line 23: <div id="header"> Line 24: Line 25: <p id="logo"><%= Html.ActionLink<InstancesController>(c => c.Index(), "Firmex Instance Manager") %></p> Line 26: Line 27: <ul id="mainMenu">   Thank you, in advance.

PROBLEM CONNECTING TO LSN SIGHT DUE TO ERROR MESSAGE BELOW

  
Error in query: select * from geodesic_group_attached_price_plans where group_id = and price_plan_id > 0. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and price_plan_id > 0' at line 1

Parser Error Message: Could not create type 'Service'.

  

My web service works fine on my local machine but when i put it on the server it throw this error:

Parser Error Message: Could not create type 'Service'.

I don't know how to fix this.


Compiler Error BC30002: Type 'DataView' is not defined

  

Hi all,

I got Compiler Error BC30002: Type 'DataView' is not defined, when I tried to use the following Visual Basic code to get data from a data source "ChemDatabase of my local_PC\sqlexpress:

The name of my website is RPD-TCE and  

////////////////////---Default.aspx.vb---//////////////////////

Partial Class _Default

Inherits System.Web.UI.Page

Private Function AverageValue(ByVal Conc1 As Decimal)

Dim AverageValue As DataView

Dim dvTable As DataView = CType(AccessDataSource1.Select( _

DataSourceSelectedArguments.Emplty), DataView)

dvTable.RowFilter =

Compiler Error Message: CS1501: No overload for method 'EndExecuteNonQuery' takes '0' arguments

  

Hello..

I have a page that add and edit news. and 2 class file

first:


public class PageDataAccess:Page
{
    protected DataAccess DA=new DataAccess();

    protected void Page_UnLoad(object sender, EventArgs e)
    {
        DA.DataClose();
    
    }
}

Second:


public class DataAccess
{
    SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["MisrNewsConn"].ToString());
    public DataAccess()
	{
		//
		// TODO: Add constructor logic here
		//
        conn.Open();
	}
    public void DataClose()
    {
        conn.Close();
    }
    public int addEditNews(string Nid,string title, string summary, string detail, string cid, bool Ishome, bool IsMain, byte[] image)
    {
        SqlCommand cmd = new SqlCommand("StoredProcedure1", conn);
        cmd.CommandType = CommandType.StoredProcedure;
        cmd.Parameters.AddWithValue("@title",title);
        cmd.Parameters.AddWithValue("@summary",summary);
        cmd.Parameters.AddWithValue("@detail",detail);
        cmd.Parameters.AddWithValue("@cid",cid);
        cmd.Parameters.AddWithValue("@Ishome",Ishome);
        cmd.Parameters.AddWithValue("@IsMain", IsMain);
        cmd.Parameters.AddWithValue("@image&qu

Problem with WCF: Error while reading message framing format at position 13665 of stream (state: Rea

  

Hi,

we're using the net.tcp binding, server is self-hosted.

One of our clients experience the following problem randomly appearing on each client couple of times a day:

System.ServiceModel.ProtocolException, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

Error while reading message framing format at position 13665 of stream (state: ReadingEnvelopeBytes)

The exception appears on the client. I analyzed the WCF trace of the server and there are no exceptions.

What can be the cause of the exception?

I'd really appreciate any help, because the client is in production and this brings lots of problems.

Thanks!


Inserting personal error message in ValidationSummary

  

Hi,

I am creating a web form that requires a lot of validation. I use many of the validation control in asp.net already like RequiredFieldValidator and CompareValidator. 

My Problem: after my custom validation for the value entered return an error message, and I pressed enter key when the field is empty, my custom error message is overlapped by my ValidationSummary. 

Setting my custom error to visible = false on button click also does not seem to work as it requires for me to enter the value first.

This made me think, is there a way to insert my custom validation inside the ValidationSummary as an error message like for other validation control?

Thanks in advance


Type or namespace error.

  

A couple of days ago I started getting an unusual behavior when compiling Website projects. I have referenced class libraries added to my bin folder that are also correctely referenced in using statements in my aspx.cs code behind. When I compile, I get the 



Error 4 The type or namespace name 'CommonClassLibrary' could not be found (are you missing a using directive or an assembly reference?) C:\Dev\Fiscal_Portal\Implementation\FMS Portal Site_new\App_Code\BLL\DataTables.cs 1 7 C:\...\FMS Portal Site_new\

The type or namespace name 'CommonClassLibrary' could not be found (are you missing a using directive or an assembly reference?)

error message that would typically be received when the dll has not been added as a reference or added in a using statement.


I can eliminate the error by adding an

<add

create user wizard login error message dont show in a message box?

  

hi

 

i am using create user wizard and capturing other information within content template when a new user

registers. Some of the textboxes are binded to required field validators.

 

there is a validation control on the page and ShowMessage box is True.

If they dont complete some of the text boxes then the message box pops Up with the error message.

It does not however include information errors like "User already exists" or Email address already exists

from the create user wizard membership  UserName and Password Textboxes

 

is it possilbe to hook all of these up so I get one message box with all errors including membership ones?

 

thanks

 


Very Basic Question - Error message running first page

  

Hi Everyone,

I am running Windows 7 and I have gone into Control Panel and activated all of the IIS Functions.

The web application I am running was downloaded from the net (and has worked on other machines previously).  Once I downloaded it, I moved it into C:/inetpub/wwwroot/code/main.asp

I am a bit of a novice at this!  But I am hoping someone can point me in the right direction!

 

I get the following error when I try and run the web application through IE:

"An error occurred on the server when processing the URL. Please contact the system administrator. If you are the system administrator please click here to find out more about this error."

(When i click the "click here" button it just goes to the IIS site).

 

Appreciate any help I can get!

Thankyou!

 

 


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend