Search

You searched for the word(s): userid:639192

Matching Posts

  • Re: Logon failure: unknown user name or bad password

    have you tried setting this in your web.config? <identity impersonate="true" userName="DOMAIN\user" password="password"/> It goes in as a child of system.web. I usually put it between where I set the authentication mode and the custom errors.
    Posted to Security (Forum) by tfsmag on 9/18/2009
  • Re: What is the difference between http://localhost and the localhost:<port#> used through Visual Web Developer?

    is the /errors/ directory set up off of the application folder? In other words is it set up like http://mywebsite.com/MyWebsite/errors ? I've noticed sometimes using the "~" acts a little wonky, at least it seems that way (in my experience). Have you tried setting the path like <error statusCode="404" redirect="errors/PageNotFound.aspx" />
    Posted to Configuration and Deployment (Forum) by tfsmag on 9/18/2009
  • Re: Concatenating string values to binding expressions

    If I understand your question right, I think you need to do this <asp:HyperLink id="hlLink" runat="server" NavigateUrl='<%# "UserDetails.aspx?user=" & Bind("User") %>' />
    Posted to Data Presentation Controls (Forum) by tfsmag on 9/18/2009
  • Re: Logon failure: unknown user name or bad password

    Are you putting proper credentials in the tag? If it's on a network share it needs to be a valid user/pass for the network. userName="MYNETWORKDOMAIN\ValidUserName" password="passwordhere"
    Posted to Security (Forum) by tfsmag on 9/18/2009
  • Re: Opening Crystal in PDF Format (crdb_adoplus)

    Make sure the user that is specified in the website security settings in IIS has read/write/delete permissions on the temp directory. The anonymous user thing should not make a difference.
    Posted to Crystal Reports (Forum) by tfsmag on 2/18/2009
  • Re: Opening Crystal in PDF Format (crdb_adoplus)

    also you your response.headers isn't grabbing the generated file but the temp file. Try something more like this Response.ClearHeaders() Response.ClearContent() Response.ContentType= "application/pdf" Response.AddHeader("content-disposition","attachment; filename=" & strExportFile) Response.End()
    Posted to Crystal Reports (Forum) by tfsmag on 2/18/2009
  • Re: Opening Crystal in PDF Format (crdb_adoplus)

    Dim strExportFile As String = "filename" you need to change file name to an actual location on the disc. IE: Dim strExportFile As String = "C:\reports\myreport.pdf" I usually do something like this, create a folder called reports in my web app and put Dim strExportFile As String = Server.Mappath("/Reports/MyReport.pdf") alternatively if you needed unique filenames so the pdf's don't get overwritten everytime the report is ran you could use a time stamp as the
    Posted to Crystal Reports (Forum) by tfsmag on 2/18/2009
  • Re: Opening Crystal in PDF Format (crdb_adoplus)

    There is an easier way to push crystal to pdf if you're using a recent version of the runtime... Dim rptdoc As New ReportDocument rptdoc.Load(getrpt.ReportLocation) rptdoc.SetDataSource(yourdatatable) rptDoc.ExportOptions.ExportDestinationType = ExportDestinationType.DiskFile rptDoc.ExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat Dim strExportFile As String = filename Dim objOptions As CrystalDecisions.Shared.DiskFileDestinationOptions = New CrystalDecisions.Shared.DiskFileDestinationOptions
    Posted to Crystal Reports (Forum) by tfsmag on 2/18/2009
  • Re: Opening Crystal in PDF Format (crdb_adoplus)

    If you're still getting the "Logon Failed" at he beginning of your message it means your report is trying to open up a connection from the report to a database and failing. Since your report is not connecting, then you're getting the null object error after that. The problem may be with your report, is there any reason you cannot connect the report directly to the db instead of passing it a dataset in .net?
    Posted to Crystal Reports (Forum) by tfsmag on 2/18/2009
  • Re: please heeeellllp

    I don't know about an mdx query, but here's the code I use to pass parameters Dim rptdoc As New ReportDocument rptdoc.Load(ReportLoc) rptdoc.SetDatabaseLogon(dbuser, dbpass, dbserver,db) 'or you could use the setDatasource option and pass a .net datatable rptdoc.SetDataSource(mydatatable) 'set the first parameter here, first argument being the parameter index (first parameter would be 0, second would 1 etc), second argument being the value you're passing rptdoc.SetParameterValue
    Posted to Crystal Reports (Forum) by tfsmag on 2/18/2009
Page 1 of 69 (681 items) 1 2 3 4 5 Next > ... Last ยป