Crystal Reports :: Error - Unable To Connect - Incorrect Log On Parameter

Apr 25, 2010

I have a crystal report using store procedure with DSN Name: 192.168.0.3. when I keep the connection to this server it's OK

But when i change the logon info and disconnect to the server to connect to My PC it appear the error :
"Unable to connect: Incorrect log on parameter"

[code]....

View 3 Replies


Similar Messages:

Crystal Reports :: How To Create Dynamic Columns / The Parameter Is Incorrect

Jul 30, 2010

I'm trying to create dynamic columns in the Crystal Report. The parameter fields are named column1,column2,column3.....

I tried below code and it gives me an error "The parameter is incorrect".

[Code]....

View 1 Replies

Crystal Reports :: Migrate Vs2005 To Vs2010 Having Error Of Incorrect Crystal Report References

Apr 2, 2011

We have migrate from VS2005 to VS2010. CR2010 installed too.

We have 1 website and class project in one solution.

The assembly of web.config has point to new version of CR ver13 and also checked that the references is ver13 too.

WEB CONFIG:

[code]....

However in code behind, when "Go To Definition" the imported CrystalDesicions Namespace, it go to CR version10 location.

The class project has references to correct ver13.

In the end we get error of :

Error 17 The project currently contains references to more than one version of CrystalDecisions.CrystalReports.Engine, a direct reference to version 10.2.3600.0 and an indirect reference (through 'Web_cl.clsAccountRpt.GetAccountStatementSummaryRptDoc')
to version 13.0.2000.0. Change the direct reference to use version 13.0.2000.0 (or higher) of CrystalDecisions.CrystalReports.Engine. D:ProjectWebGlobal 4.0Web_developCpAdminReportFormAccountReportModule.aspx.vb 40 28 D:...Web_develop

The function in class has return ReportObject back to the website, because of the website reference did not really point to new version has causes this error. I have checked all references in web.config and project properties all is point to new version, but in program it seems still point to old one.

View 5 Replies

Crystal Reports :: Add Parameter To Stored Proc - SQL State 42000 Native Error

Jan 30, 2011

i hve crystal report which is wrking perfectly fine.. now i want to add paramter to my stored proc... but i am not able to add the same parameter on crystal report..i tried to add parameter in the parameter fields the crystal reports field explorer.. but when i verfiy database it still gives msg stored proc expects parameter which was not supplied..SQL State 42000 native error..

View 2 Replies

Crystal Reports :: Error / Unable To Load One Or More Of The Requested Types

Dec 5, 2010

there is error appear when i use crystal report v13 with Visual Studio 2010 in server

Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

what is the reason of this exception

View 1 Replies

Crystal Reports :: Error "Unable To Cast Object Of Type 'CrystalDecisions.Web.CrystalReportViewer'

Jan 6, 2011

I have installed the final version of Crystal Reports for Visual Studio 2010. I created a new ASP.Net project, saved it, closed it, and then came back to it later. I was prompted to convert the project because of an out of date version of Crystal Reports. But I just created the project...how can the version already be out of date? Also, once the conversion is complete the CrystalReportViewers error stating "Unable to cast object of type 'CrystalDecisions.Web.CrystalReportViewer' to type 'CrystalDecisions.Web.CrystalReportViewerBase'. I am using .NET Framework 3.5 (I cannot use 4.0 for other reasons). Is this the cause?

View 2 Replies

VS 2008 - Unable To Connect / Incorrect Log On Parameters

Mar 15, 2012

I have one Main crystal Report where I am importing two sub reports.

Single report is working fine but after adding sub report it is throwing the Error.

(I am not showing report. report is downloaded as PDF)

Logon failed.
Details: crdb_adoplus : Object reference not set to an instance of an object.Error in File C:DOCUME~1a422846LOCALS~1Temp
ptMain {60D10EF9-D186-4074-90E3-64D6F0D17B02}.rpt:
Unable to connect: incorrect log on parameters

rptMain has two sub reports.

Code:
DataTable dt =(DataTable)Session["Details"] ;
ReportDocument rptDocument = new ReportDocument();
ExportOptions exportOptions;
CrystalDecisions.Shared.TableLogOnInfo myLogin;
myLogin = new CrystalDecisions.Shared.TableLogOnInfo();

[Code] ....

View 2 Replies

Crystal Reports :: Exporting Works In HTTP Error - Unable To Evaluate Expression Because The Code Is Optimized

Feb 9, 2010

I am using asp.net 2.0 with c#.

" myReportDocument.ExportToHttpResponse(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, Response, false, rptName);"

As soon as compiler execute this statement i get error

" [System.Threading.ThreadAbortException] = {Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.} "

What will be the possible reasons for the error.

Although it throws execption but it will allow to convert report when i deployed my site using http but when i deployed my site using https then it will shows error .

View 1 Replies

Crystal Reports :: Toolbar Not Working - Incorrect Log On Parameters?

Dec 17, 2010

My report is displayed without any problem. However, when I click on the button from my crystal report viewer toolbars I get the error. Note : the toolbars is working fine on my local machine.

Error message : Logon failed. Details: mscorlib : Could not find a part of the path 'C:Documents and SettingschiaMy DocumentsVisual Studio 2008WebSitesSafety Permit System
ptLoad_ConfineSpace_Summary.xml'. Error in File C:WINDOWSTEMP
ptPrintSummaryConfineSpace
{965CF937-D48C-483A-AC32-198A790880A6}.rpt: Unable to connect: incorrect log on parameters.

View 14 Replies

Crystal Reports :: How To Avoid Logon Parameter Of The Databse Data Creating The Crystal

Dec 25, 2010

I am creating the crystal report without database data, just i am read the data from text file and fill into dataset then genrate the crystal report but problem is here if i am export the crystal report into different format so he wants the database logon parameter.so in this case i have no database crendential because i am creating the report without database.

View 1 Replies

Crystal Reports :: Crystal Reports Error When Publishing A Website On To The Web

Feb 4, 2011

Crystal

Reports Error when publishing a Website on to the Web Server---- The type initializer for 'CrystalDecisions.Shared.CrystalReportClientScriptManager' threw an exception

View 3 Replies

Crystal Reports :: VS2008 Crystal Reports - "Load Report Failed - Error"?

Jul 25, 2010

I'm getting the "Load Report Failed" Error.

I have a web application designed using VS2008 & Crystal Reports for VS2008 (Ver. 10.5.3700). I'm using Framework 2.0 for deployment.

My development system is WinXp and my deployment system is Win2003 Server.

Here is what i have done -

1) Added a Crystal Report to my project "rptReport.rpt"

2) Added a Crystal Report Source (crSource) to my .aspx page.

3) Added Crystal Report Viewer to my page, with crSource as its Report Source.

This works fine when i run it on my development machine. But Gives a "Load Report Failed" error on my deployment machine.
This is what i have already tried doing on deployment server:

1) Giving IIS_WPG full control to temp folder.

2) Publishing with "Allow this precompiled site to be updatable." checked/unchecked.

View 1 Replies

Crystal Reports :: How To Use Application To Connect Different Database On The Server

Jun 21, 2010

i have created several crystal report for my web application, i need to use my application to connect different database on the server which has no problem in the application but when i open the reports created using crystal report, it still connected to the database configured. how can i fix this, is there other way than to use another copy of the application and configure it manually at the each of the reports. i do have pass the logon information to the report using vb.net in which i get the info from the web.config

Dim A As ConnStr = New ConnStr
With ConnInfo
.ServerName = A.getServerName()
.DatabaseName = A.getDBName()
.UserID = A.getUser()
.Password = A.getPwd()
End With

my problem is how to make crystal report to uses all the logon info passed and not use the infor set in the report file

View 4 Replies

Crystal Reports :: How To Connect Viewer To Azure Sql Database

May 7, 2015

I'm developing asp.net website connected to a Azure Database, is there a Reporting tool in Visual Studio that can connect Azure Sql Database?

View 1 Replies

Crystal Reports :: Cannot Pass Parameter From VB

Jun 21, 2010

I am using the following code to pass parameter from VB to crystal report but getting the error messgae "Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))" while it trying to add the first parameter. This chunk of coding works in another VB perfectly. The only diffferent is the working one takes the parameter to stored procedure where the failed one I added parameter during crystal report design time.

[Code]....

View 5 Replies

Crystal Reports :: Either The Crystal Reports Registry Key Permissions Are Insufficient Or The Crystal Reports Runti?

Aug 5, 2010

When i run the application locally it works fine but when i publish it n access from it it gives the error asEither the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.

View 2 Replies

Crystal Reports :: Cached Reports User Wise And Data Parameter Wise

Nov 24, 2013

I have basic understanding to cache webpages for duration. Now I have some complex requirements:

1. User e.g "Nauna" login in asp application
2. Visit on report page
3. Pass data range from 01-01-2013 to 30-12-2013 and extract the report which retreive data in 55 seconds on gridview
4. Now I want that when next time user "Nauna" login in the application and use the same report with same parameter 01-01-2013 to 30-12-2013 so that report should be come up from cache instead of run the complete life cycle.

View 1 Replies

Crystal Reports :: Asking For Parameter After First Page Display

Mar 18, 2010

I am trying to populate a report with parameters from session. Problem I am getting is that it is asking for parameter after I click the 2nd page of report. If I remove the Session.Remove it works good. Is there anyway to clear session after the first time the code executes? Here is my report viewer page code

public partial class setups_ftreaty_ft_mstmt : System.Web.UI.Page
{
ReportDocument rptDoc = null;
protected void Page_Init(object sender, EventArgs e)
{
string reportName = Request.QueryString["reportName"].ToString();
rptDoc = new ReportDocument();
rptDoc = ReportFactory.GetReport(rptDoc.GetType());
string path = Server.MapPath("~/reports/ptreaty/" + reportName + ".rpt");
rptDoc.Load(path);
if (Session["ptRepParams"] != null)
{
Hashtable repParams = (Hashtable)Session["ptRepParams"];
foreach (string param in repParams.Keys)
{
rptDoc.SetParameterValue(param, repParams[param].ToString());
}
}..............

View 3 Replies

Crystal Reports :: Pass A Parameter From A Querystring?

Mar 14, 2011

I defined a report with a parameter (ID_Aluno) in Crystal Reports to show it in an .aspx page. The page is called by another page passing it a query string with the value I need as a parameter in the report. In the code behind file I tryed three different approches without success. What happen is that the report is showed without data, but when I open the parameter panel I see that the parameter is there (If I don't set the parameter value actually it complains that the parameter is missing, giving an arror).

Here is the code I used to set the parameter:

[Code]....

The First try (code not commented) is the one I would like to use because it is the shorter and simpler one.

Here is the mark up for the report source and report viewer:

[Code]....

Have I to declare or define something special in Crystal Reports for the parameter to be received and applied?

View 2 Replies

Crystal Reports :: Passing Parameter To Subreport?

Jun 24, 2010

I am using a sub report inside the main report but the issue is thatboth main and sub report take same argument i.e emp-idwhat i want is that either subreport copy parameter of main reportor in some way should be able to send paramet throug code-

"Session["username"]="muneeb";
ReportDocument report = new ReportDocument();
report.Load(Server.MapPath("~/UOGERP/GUI/Reports/CrystalReport.rpt"));

[code]...

View 1 Replies

Crystal Reports :: Pass TextBox Value As Parameter?

Feb 25, 2016

Using Crystal Report to view reports on the site and noe able to pass parameters succesfully. 

Heres the code:
 
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Report.aspx.cs" Inherits="MATReports.Report" %>
<%@ Register Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" Namespace="CrystalDecisions.Web" TagPrefix="CR" %>

[Code].....

View 1 Replies

Crystal Reports :: Error In Crystal Report When Using Windows Server 2008 R2 And IIS7?

May 29, 2010

Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL. ----------------------------------- This error will be display when I am try to show the Crystal Report. Can anybody tell me what Property I have to ser in Windows Server 2008 R2 or in IIS7???

View 1 Replies

Crystal Reports :: Error In Crystal Report For Load File Or Assembly?

Mar 19, 2011

i upload my site on server but there is error in crystal report web.comfig there is error as belowParser Error Message:Could not load file or assembly 'CrystalDecisions.ReportAppServer.ClientDoc, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

[Code]....

View 2 Replies

Crystal Reports :: Error Displayed When Printing Crystal Report Using ActiveX

Aug 9, 2010

ent system (Windows 7 x64) and live system (Server 2008 x64), and both with IIS7 I receive the following error message, after clicking the "Print" button in the printer selection popup."An error occurred on the server. Printing will be stopped. Would you like to view the error information?"If I click "y

View 1 Replies

Crystal Reports :: Passing Date As Parameter To Report?

Jun 17, 2010

I am trying to pass date as parameter from my asp application to crystal reports.

If I pass 1 jan 2010 to 16 Jun 2010 it will not get me some of the records which are on dates like 11 april 2010. And If i select dates between 1 Jan 2010 and 30 Nov 2010 then system will get me the records. Here I understood that system is not understanding the date format the problem is in date format of "dd/mm/yyyy" and "mm/dd/yyyy".

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved