crystal report - image not showing up - iis-7

i have licenced crystal report in my live site..i have kept img data field which is actually a byte stream. but it dosent shoe up..and when i export the file to pdf i can see the image...can any one tell me if i am missing some iis configuration?? because in local which is VS2008 development env. not licenced i can see image...

only thing I can think of is that there may be a dll problem since it is clearly accessing the img file when it does the export. Try adding a Refresh() and checking that all of the libraries are the same for release and development environments as it is possible that a dll bug is causing the img only to be grabbed when the pdf is created

Related

Qt - QImage works on one computer and not on another [duplicate]

I set a background image(JPEG) on a Qt widget using setStyleSheet(). This is perfectly shown on my computer, but not on another computer.
I am not getting a link error on the other computer -- the feature just doesn't work. Is there something I am missing in the distribution or build of my app, something that the Qt dev tools installs or is otherwise available, that isn't present on other machines? How can I distribute a Qt app that uses JPEG functionality?
JPEG support in Qt comes as a plugin. Make sure you have also deployed the plugin to your non-development machine. If you haven't, it will simply silently fail and you'll end up not seeing any of the JPEG images. Have a look at the official documentation for more detailed information: http://qt-project.org/doc/qt-4.8/deployment-windows.html
In short (and as a quick solution, but have a look at the documentation as well) you could create a directory named "imageformats" as a subdirectory of the folder containing your exe, into which you copy QJPEG4.dll.

How to map and opening ASP.NET solution file in TFS?

What I"m trying to accomplish is to get the latest solution from TFS Team System Foundation, build and debug it. I can map the solution to my local folder but when I try to open it I have an issue where I can't build and debug it. Here are the steps I"m taking:
Open Visual Studio 2010; Open Team Explorer (using TFS2010) window; Open Source Control Explorer window
Navigate to solution directory example: $/WebSites/English/Development/Source/WebApp
Right Click Map to Local folder
Select folder; click yes to get files and wait for file to be moved to local folder
Open Windows Explorer, navigate to folder with sln file
Double Click sln file to open it
• What I would like to occur is to have solution open; build and debug it
• 7. What occurs is another Get Progress that gets all files again and alters the file structure in Windows Explorer
Then when I attempt to run and debug the solution it doesn’t have all the files. For example in the browser when viewing the site a lot is missing, it’s not rendering correctly.
On a co-workers machine it works just fine.
Why doesn’t the sln file open correctly?
How can I open the solution to build and debug it?
Thank you in advance,
Catto
Ill assume you are doing a get latest version before you do this.
here are some things to check.
First expand the references for all the projects in the solution and make sure they are all correct, the icon will be different for anything missing.
Make sure the web settings are correct, they can be saved in the solution file or not, its an option.
Make sure there are no pre or post build events that are screwing things up
make sure someone didn't flat out forget to add the files to TFS or maybe they didn't check things in yet
if all that doesnt help make sure the versions of your referenced dlls are the same as your coworkers ... and the GAC if its being used

Is it possible to restore the source code (Models, Controllers) of an application, from the files on the website (when Publish has been used)

I have been working on a MVC 3 application on my laptop, which now has crashed. I have uploaded the newest edition of the site through the "Publish" method in VS2010. Is it possible to retrive the source code of the application? Because i cant see the Models or Controllers on the FTP.
Thanks
I have used a decompiler before to get back source code from a compiled website.
It doesnt give you the files all nicely ready to start developing again, it is a bit pain staking going through the decompiler and getting all the code you need out. But it can be done.
I cant remember which one i used, im sure a quick google will give you loads to choose from. I think there might even be one shipped with vs.

QPixmap image loading problem

Basically I am trying to load the image as a texture using QPixmap:
texture[T_WALL] = bindTexture(QPixmap(":/images/wall.png"), GL_TEXTURE_2D);
The code works on my development machine, but not in the vm / other pcs without QT. Initially I was using jpegs and just assumed that I messed up the plugins, but as I understand, no plugins are needed for png files so I have no idea where the problem is.
Results are the same when loading local files and using Qt resources.
I am deploying libgcc_s_dw2-1.ddl, mingwm10.dll, QtCore4.dll, QtGui4.dll, QtOpenGL4.dll. Do I need anything else?
Try adding an imageformats directory to your application directory and put qmng4.dll there. See my answer to the question Qt dll deployment on windows
If it still does not work, get the Sysinternals suite which contains dgbview.exe that allows you to watch qDebug messages (even for release builds).

Adobe Export Release Build doesn't work - Mac OSX - Flex Builder 3

I have an AIR application i'm trying to release with flexbuilder.
Launching application has no problem ... bin-debug dir is correctly filled with my files.
But when i want to create the AIR file (export release fuild), AIR files content view is empty and bin-debug directory is never filled ...
Any idea ?
Thanks,
Yannick Grenzinger
I faced the same issue recently with the Export Release Build. I added the icon paths in the air app xml as below -
<icon>
<image16x16>assets/icons/logo_16.png</image16x16>
<image32x32>assets/icons/logo_32.png</image32x32>
<image36x36></image36x36>
<image48x48></image48x48>
<image72x72></image72x72>
<image128x128></image128x128>
</icon>
This caused the issue. Commented the above lines and it worked without any issues. Hope this helps.
I had the same problem. Seemed to be a problem with the XML config file for the application. Create a new MXML application, (something named different clearly). Copy and paste the code from the other app over. Bam, it works again! Hope this helps your problem.
When you export a release build; you are given the option to specify a directory. I believe this is named "bin-release" by default, a least for Flex projects. Are you sure you specified this correct directory?
The output of an AIR project export will be a .AIR ile which you need to install on your machine to run. Have you done that?
If your project has multiple application files, make sure you are exporting the proper one.
I'm unclear what you mean when you refer to the "AIR Files Content View."
Well, I just got the same issue!
Here's what I found out (even though I have not found a great solution for this yet). While exporting the release build, Flex Builder generates a directory named "bin_release" where all files to be included in the package are dumped. To fix my issue, so far all I have to do is to copy all the missing files into this directory before I click "finish" in the Export Release wizard.
Not a final solution but its a quick work around!

Resources