Professional Web Applications Themes

program fails after they renamed the server computer!!! - ASP.NET General

ok, i had an asp.net program running perfectly...then our clients systems administrator renamed the computer from server05 to webserver01...well, i changed all the code to where the whole thing works perfectly now except the reports...i think something is up with the renaming because the only thing that don't work now is anything in the /reports/ subdirectory. all the errors are the same: Server Error in '/MinkReports' Application. ------------------------------------------------------------------------ -------- Could not open the data source. Please check RecordSource and ConnectionString Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more ...

  1. #1

    Default program fails after they renamed the server computer!!!

    ok,
    i had an asp.net program running perfectly...then our clients systems
    administrator renamed the computer from server05 to webserver01...well,
    i changed all the code to where the whole thing works perfectly now
    except the reports...i think something is up with the renaming because
    the only thing that don't work now is anything in the /reports/
    subdirectory. all the errors are the same:

    Server Error in '/MinkReports' Application.
    ------------------------------------------------------------------------
    --------

    Could not open the data source. Please check RecordSource and
    ConnectionString
    Description: An unhandled exception occurred during the execution of the
    current web request. Please review the stack trace for more information
    about the error and where it originated in the code.

    Exception Details: C1.Win.C1Report.DataAccesception: Could not open
    the data source. Please check RecordSource and ConnectionString

    Source Error:

    An unhandled exception was generated during the execution of the current
    web request. Information regarding the origin and location of the
    exception can be identified using the exception stack trace below.

    Stack Trace:


    [DataAccesception: Could not open the data source. Please check
    RecordSource and ConnectionString]
    C1.Win.C1Report.13..ctor(String rs, String conn, Int32 maxRecords)
    +148
    C1.Win.C1Report.DataSource.85(Boolean 03F) +290
    C1.Win.C1Report.C1Report.AP() +138
    C1.Win.C1Report.C1Report.AO(0 05P) +20
    C1.Win.C1Report.C1Report.RenderToHtmlWriter(TextWr iter output, String
    imgFiles, String idPrefix, Boolean paged, Boolean outline, Boolean&
    hasPages, Int32& pageCount) +58
    C1.Web.C1WebReport.W.4M() +356
    C1.Web.C1WebReport.NavigationBar.4I(HtmlTextWriter QU) +388
    C1.Web.C1WebReport.C1WebReport.Render(HtmlTextWrit er output) +423
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
    System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer) +72
    System.Web.UI.HtmlControls.HtmlForm.RenderChildren (HtmlTextWriter
    writer) +44
    System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTex tWriter output)
    +263
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
    System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer) +72
    System.Web.UI.Control.Render(HtmlTextWriter writer) +7
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
    System.Web.UI.Page.ProcessRequestMain() +1929

    ...any clues please??
    thanks,
    Trint
    .Net programmer
    com

    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
    Trint Guest

  2. #2

    Default Re: program fails after they renamed the server computer!!!

    It looks like the data connection is failing. Do you need to update that in the
    web.config? Or is it hardcoded in a user control?

    --
    Microsoft MVPs have a question for *you*: Are you patched against the Worm?
    http://www.microsoft.com/security/security_bulletins/ms03-026.asp



    "Trint Smith" <com> wrote in message
    news:phx.gbl...
    ok,
    i had an asp.net program running perfectly...then our clients systems
    administrator renamed the computer from server05 to webserver01...well,
    i changed all the code to where the whole thing works perfectly now
    except the reports...i think something is up with the renaming because
    the only thing that don't work now is anything in the /reports/
    subdirectory. all the errors are the same:

    Server Error in '/MinkReports' Application.
    ------------------------------------------------------------------------
    --------

    Could not open the data source. Please check RecordSource and
    ConnectionString
    Description: An unhandled exception occurred during the execution of the
    current web request. Please review the stack trace for more information
    about the error and where it originated in the code.

    Exception Details: C1.Win.C1Report.DataAccesception: Could not open
    the data source. Please check RecordSource and ConnectionString

    Source Error:

    An unhandled exception was generated during the execution of the current
    web request. Information regarding the origin and location of the
    exception can be identified using the exception stack trace below.

    Stack Trace:


    [DataAccesception: Could not open the data source. Please check
    RecordSource and ConnectionString]
    C1.Win.C1Report.13..ctor(String rs, String conn, Int32 maxRecords)
    +148
    C1.Win.C1Report.DataSource.85(Boolean 03F) +290
    C1.Win.C1Report.C1Report.AP() +138
    C1.Win.C1Report.C1Report.AO(0 05P) +20
    C1.Win.C1Report.C1Report.RenderToHtmlWriter(TextWr iter output, String
    imgFiles, String idPrefix, Boolean paged, Boolean outline, Boolean&
    hasPages, Int32& pageCount) +58
    C1.Web.C1WebReport.W.4M() +356
    C1.Web.C1WebReport.NavigationBar.4I(HtmlTextWriter QU) +388
    C1.Web.C1WebReport.C1WebReport.Render(HtmlTextWrit er output) +423
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
    System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer) +72
    System.Web.UI.HtmlControls.HtmlForm.RenderChildren (HtmlTextWriter
    writer) +44
    System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTex tWriter output)
    +263
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
    System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer) +72
    System.Web.UI.Control.Render(HtmlTextWriter writer) +7
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
    System.Web.UI.Page.ProcessRequestMain() +1929

    ...any clues please??
    thanks,
    Trint
    Net programmer
    com

    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!


    Ken Guest

  3. #3

    Default Re: program fails after they renamed the server computer!!!

    I suspect Trint is using crystal reports to display the
    reports. If it is so, you may have the database connection
    setup at design time (in CR) or set it at runtime in your
    application.
    So check the place where the sql connection is stored and
    updated it.

    thanks and regards,
    s.ravi sankar
     
    to update that in the 
    against the Worm? 
    026.asp 
    clients systems 
    webserver01...well, 
    perfectly now 
    renaming because 
    the /reports/ 
    -------------- 
    and 
    execution of the 
    more information 
    Could not open 
    ConnectionString 
    of the current 
    location of the 
    trace below. 
    Please check 
    maxRecords) 
    output, String 
    outline, Boolean& 
    +388 
    output) +423 
    writer) +243 
    writer) +72 
    (HtmlTextWriter 
    (HtmlTextWriter output) 
    writer) +243 
    writer) +72 
    writer) +243 
    *** 
    Ravi Guest

Similar Threads

  1. Fatloss computer program
    By Angel vasquez in forum Coldfusion Component Development
    Replies: 7
    Last Post: October 15th, 11:37 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139