CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Insert Image into page bug?

Print topic Send  topic

Author Message
LV
Posted: 11/22/2005, 1:49 PM

Has anyone sucessful tried to insert a banner in jpg/gif format to your header page? I ran into this problem and has been submit in my request to support but so far no answer so I thought may be you guys know how to fix it. I am using .NET/VB. CCS V3 Personal Edition.

=================
I tried to insert an image to my page and got the following errors I am not sure if it is a bug in CCS or what I have done wrong, could you please verify.

Steps to produce this error.
1) I insert a table with 1 row, 1 column on the top of my Header page
2) I click on the Form, Image to insert the image container in my table
3) I edit the Image property to under Image: Images/Willis-WebHdr.jpg, back in the design screen I can see my image display correctly on the page.
4) I then tried to publish the application, and got this form pop up “The following components were not found in the HTML. During the synchronization process. Delete them? I tried to click on the button “Yes” nothing happen, the buttons I can click is “No” or “Cancel”

The CCS build status shows the following:

Generating "Footer"
Warning:Component "Image1 (Image)" was not found in the HTML during the synchronization process.
Generating "Header"
Generating "Category_Info"
Generating "Data_Entry"
Generating "Employee_Info"
Generating Common Files
Running
C:\PROGRA~1\CODECH~2\CCResGen.exe \compile C:\DOCUME~1\vu_lo\LOCALS~1\Temp\~TEAMC~1\strings.txt
=======================================
Read in 91 resources from 'C:\DOCUME~1\vu_lo\LOCALS~1\Temp\~TEAMC~1\strings.txt'
Writing resource file... Done.

=======================================
Running
C:\DOCUME~1\vu_lo\LOCALS~1\Temp\~TEAMC~1\MakeAll.bat C: C:\DOCUME~1\vu_lo\LOCALS~1\Temp\~TEAMC~1\
=======================================

C:\Program Files\CodeChargeStudio3\Projects\TeamCalendar\Images>REM _MakeAll @1-6C0185E0
C:\DOCUME~1\vu_lo\LOCALS~1\Temp\~TEAMC~1>C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\vbc /rootnamespace:TeamCalendar /t:library /debug- /optimize+ /out:bin\TeamCalendar.dll /imports:System.Data.OracleClient /r:System.Data.OracleClient.dll /imports:Microsoft.VisualBasic,System,System.Web,System.Xml,System.Data,System.Drawing /r:Microsoft.VisualBasic.dll,System.dll,System.Web.dll,System.Xml.dll,System.Data.dll,System.Drawing.dll /recurse:*.vb /res:strings.resources,TeamCalendar.strings.resources
Microsoft (R) Visual Basic .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322.2032
Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.


C:\DOCUME~1\vu_lo\LOCALS~1\Temp\~TEAMC~1>REM _End MakeAll
Output


=======================================
Build finished
Publishing to "C:\Inetpub\wwwroot\TeamCalendar"
Publish Project - 0 critical error(s), 0 error(s), 1 warning(s)



If I tried to browse the page I got this error message pop up in my IE.



Server Error in '/teamcalendar' Application.
Object reference not set to an instance of an object.
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: System.NullReferenceException: Object reference not set to an instance of an object.
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:

[NullReferenceException: Object reference not set to an instance of an object.]
TeamCalendar.Header.HeaderPage.OnLoad(EventArgs e) +577
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Page.ProcessRequestMain() +750

________________________________________
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032


And now I can't even delete the Image1 listed under the Pages section, Header, there is an Image1 control eventhough the actual image on the page is already deleted, and I can't delete the Image1 from the list. my project is can't go any futher until I get a solution.

Any help is much appreciated.


Ken

Posts: 13
Posted: 11/22/2005, 2:36 PM

I submitted this general problem (it also happens with Labels, Links, etc) again yesterday. I had reported it during beta but it was never fixed.
View profile  Send private message
LV
Posted: 11/23/2005, 11:14 AM

I have send my problem and error pages to support, and still waiting for CCS support to give me any advice on how to fix it. I will post the result here once I get mine fixed, hopefully.

I've wasted 3 hours config my application, and forgot to make backup since I was on a roll, and now I can't do anything just because I tried to insert an image to my page simple as that, I can't even delete the Image object created. I've learn the hard lesson, backup backup, backup... :-(

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.