[FIXED] [0.8.2] Error vs2008 RDLC report Image control

  1. #1

    [FIXED] [0.8.2] Error vs2008 RDLC report Image control



    windows2003,IIS6.0,VS2008
    when i used coolite,but the rdlc image control can't show.
    if i clear the code in web.config

    <httpModules>
                <!--<add name="AjaxRequestModule" type="Coolite.Ext.Web.AjaxRequestModule, Coolite.Ext.Web"/>-->
                <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            </httpModules>
    the rdlc image control can show


    the error:

    ????: ??
    ????: ASP.NET 2.0.50727.0
    ????: Web ?? 
    ?? ID: 1309
    ??:  2009-06-13
    ??:  11:21:12
    ??:  N/A
    ???: SHENYUEJIE
    ??:
    ????: 3005 
    ????: ?????????? 
    ????: 2009-6-13 11:21:12 
    ????(UTC): 2009-6-13 3:21:12 
    ?? ID: d8dcec2b88894730955e93c5a3b143b4 
    ????: 149 
    ?????: 7 
    ????????: 0 
     
    ??????: 
        ?????: /LM/W3SVC/627222982/Root-5-128893365551250000 
        ????: Full 
        ????????: / 
        ??????: F:\Visual Studio 2008\Projects\JWERP-Architecture\Web\ 
        ????: SHENYUEJIE 
     
    ????: 
        ?? ID: 3928 
        ???: w3wp.exe 
        ???: NT AUTHORITY\NETWORK SERVICE 
     
    ????: 
        ????: NullReferenceException 
        ????: ??????????????? 
     
    ????: 
        ?? URL: http://192.168.1.8/Reserved.ReportVi...5-5089af2fc22c 
        ????: /Reserved.ReportViewerWebControl.axd 
        ??????: 192.168.1.8 
        ??: admin 
        ?????????: True 
        ??????: Forms 
        ?????: NT AUTHORITY\NETWORK SERVICE 
     
    ????: 
        ?? ID: 8 
        ?????: NT AUTHORITY\NETWORK SERVICE 
        ??????: False 
        ????:    ? Coolite.Ext.Web.AjaxRequestModule.AjaxRequestFilter(Object sender, EventArgs e)
       ? System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       ? System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)
     
     
    ?????????: </p>
    
    
    ??????,???? http://go.microsoft.com/fwlink/events.asp ?????????
    </p>
  2. #2

    RE: [FIXED] [0.8.2] Error vs2008 RDLC report Image control

    Hi,

    am facing the same problem with the same env.

    people on google its something related to .axd extension target .NET framework, but I've tried that and it didn't work.

    I think its something related to coolite as it adds the .axd handler to the web.config.

    Am still trying to solve this problem, if I got something from my side I will inform you, please do the same :-)

    Best Regards,
    Bashar Abied
  3. #3

    RE: [FIXED] [0.8.2] Error vs2008 RDLC report Image control

    Hi,

    I think it is fixed alread in 0.8.2

    Please see http://forums.ext.net/showthread.php?3949
    Last edited by geoffrey.mcgill; Feb 21, 2011 at 8:54 PM.
  4. #4

    RE: [FIXED] [0.8.2] Error vs2008 RDLC report Image control

    Thanks a lot for the quick reply,

    Am not a premium member, so I can't download it :-( (based on this news: http://coolitehelp.com/index.php/com...ite/46-welcome).

    when do you think it will be released to community? - I mean version 0.8.2

    Best Regards,
    Bashar Abied
  5. #5

    RE: [FIXED] [0.8.2] Error vs2008 RDLC report Image control

    To solve the problem do what follows:

    1. Go to:
    C:\Program Files\Coolite\Coolite Toolkit Community v0.8.1\Source Project\Coolite.Ext.Web\

    2. Open Coolite.Ext.Web.csproj.

    3. Once the project is opened in Visual Studio, open the file located under:
    Coolite.Ext.Web\Core\AjaxRequestModule.cs

    4. Now search for the following line of code:
    if (response.ContentType.Equals("text/html", stringComparison.InvariantCultureIgnoreCase)
    and replace that section with the following code and rebuild your project.

    if (!string.IsNullOrEmpty(response.ContentType))
    {
     if (response.ContentType.Equals("text/html", stringComparison.InvariantCultureIgnoreCase) 
     &amp;&amp; (marker != null &amp;&amp; (bool)marker))
     {
        response.Filter = new InitScriptFilter(response.Filter);
     }
    }
    5. Now go to:
    C:\Program Files\Coolite\Coolite Toolkit Community v0.8.1\Source Project\Coolite.Ext.Web\bin\Debug\

    6. Copy all of the files under that folder, and replace with those the ones under the folder:
    C:\Program Files\Coolite\Coolite Toolkit Community v0.8.1\

    7. Now all you need to do is delete all the previous references to Coolite dll's you had in your Web project and add a reference to the new dll's you replaced on step 6.

    Rebuild your Web project and everything should work now.

    I hope this helps!

Similar Threads

  1. [CLOSED] Image control automatic size (max control)
    By FAS in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 27, 2012, 7:52 AM
  2. Replies: 3
    Last Post: Jan 09, 2012, 10:09 PM
  3. ReportViewer error when add a report
    By cmujica in forum 1.x Help
    Replies: 6
    Last Post: Jan 06, 2012, 6:28 PM
  4. [FIXED] [V0.7] Bugs report at 870
    By methode in forum Bugs
    Replies: 1
    Last Post: Dec 01, 2008, 1:48 PM
  5. Replies: 3
    Last Post: Oct 10, 2008, 10:22 PM

Posting Permissions