Report works fine in VS2010 but simply doesn't show when published
Problem:
Crystal Report works fine in VS 2010 but doesn't show when published to web-server, there is no error, it simply doesn't show.
Background:
Installed VS2010 on a freshly installed and fully updated (.net 4.0 is included in the updates) windows server 2003 box with production release Crystal Report 2010. Nothing else is on the server. IIS 6 is running. My web-server and VS2010 is on the same box.
I went ahead and created a new asp.net 4.0 web project called webapplication1. Thereafter, i put a few controls (text-boxes, list-boxes and so on) on the default.aspx page. Then i created a report.aspx page. This page will have the crystal report viewer on it. I went ahead and set the report up without much hassle (got how-to's from the internet). I successfully tested my web app with the built-in testing server, the beautiful crystal report presented exactly what i asked it to. There was one recurring "Sys.Application is null or not an object" hiccup that occured every time during testing when i navigated from the default.aspx page to the report.aspx page (the page the report is on). Clicking ignore or continue on the dialogue box that comes up because of the hiccup will allow testing to continue. Here's a screen-shot of this recurring hiccup.
http://i440.photobucket.com/albums/qq122/ricom_19/Testing-Error.jpg
As i've shown, testing went great, except for the hiccup. I now moved to setup a publish profile. Since my web-server and VS2010 is on the same box this seemed relatively straight forward. All the files went over except the report, i.e. crystalreport1.rpt file. I solved this by setting the build action to 'Content' in the CrystalReport1.rpt properties. I did a republish. Now i have all my files, see screenshot: [http://i440.photobucket.com/albums/qq122/ricom_19/Application-Home-Directory.jpg], on the web-server.
I proceeded to try to browse to my app from another computer on my network. This was successful until i tried to navigate to the report.aspx page that the crystal report is on. The the report.aspx page loaded but the crystal report was simply not on it. No errors, not even the hiccup from testing occured. Its as if the crystal report viewer was never on the page to begin with. Only when i right clicked on the page and 'view source' did i see some remnants of the crystal report viewer.
Here is the Report.aspx page when tested in VS2010:
[http://i440.photobucket.com/albums/qq122/ricom_19/successful-Test.jpg|http://i440.photobucket.com/albums/qq122/ricom_19/successful-Test.jpg]
Here is the Report.aspx page when published to the web-server and browsed to from another computer on the network:
[http://i440.photobucket.com/albums/qq122/ricom_19/Reportviewer-Disappear.jpg|http://i440.photobucket.com/albums/qq122/ricom_19/Reportviewer-Disappear.jpg]
Details of adding report to my web app:
1) Populate my dataset then write the XML schema, reportschema.xml
2) Added the crystal Report to the project then used the wizard to navigate to the reportschema.xml. Of course i had to create new connection in Database expert. see screen-shot:
[http://i440.photobucket.com/albums/qq122/ricom_19/CR-Database-Expert.jpg|http://i440.photobucket.com/albums/qq122/ricom_19/CR-Database-Expert.jpg]
3) I formatted the report the way i wanted it
4) Added the Crystal report viewer on the Report.aspx page
5) In the code-behind of the Report.aspx page i bound the viewer to a report document that is loaded with CrystalReport1.rpt file
see screenshot: [http://i440.photobucket.com/albums/qq122/ricom_19/Report-Page-Code-behind.jpg]
That's it. As mentioned, it tested fine in VS2010 but the viewer doesn't show when i publish to the webserver. I wrote a crystal report in .net about 8 years ago. Things have changed soooo much since then.
I am wondering if its a license issue? Was also wondering if it had anything to do the testing hiccup, even though research is suggestion the two are unrelated.
I've described my actions as best as i could (without getting into ridiculous detail) and have included screen-shots of relevant stages of the process. Have a look and tell me your thoughts. Thanks.
The "Sys.Application is null or not an object" issue is known, submitted for a resolution and documented in KB #1528503. Unfortunately the KB search has been down the last couple of days...
However, the issue is limited to compile time and does not affect a completed application.
Re. the viewer missing. Sounds like the viewer directory did not get created or configure correctly. Before I get to that. You mention:
"I proceeded to try to browse to my app from another computer on my network."
This bring up the question: If you run the app right on the app server. e.g.; not a client computer, does the viewer and report come up? Is this issue isolated to client computers on the network?
I suspect that the issue exists irrespective of which computer you try to see the report from - but that is an assumption. If the assumption is correct, see [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50aa68c0-82dd-2b10-42bf-e5502b45cd3a] article on configuring the viewer. The article does not have CR4VS2010 documented, but you should be able to guide your self using the article. I think the pattern will be obvious.
Ludek
Similar Messages
-
Chat works fine in IE but not in Firefox - shows "loading" but never does
Facebook Chat always shows "loading" but never does - I've tried most of the suggested solutions but have yet to find one that works with Firefox - it still works fine in IE..
Now sorted but I don't know what I did! :)
-
Creating a new profile works fine at first, but back to original problem when opened again
Ok, so I've been reading about how people have had trouble with slowness using FF, and up until the past week, I've honestly never had a problem with FF. But recently, in the past week, every time I open up a couple of web pages, it slows right down and then into the 'spinning pizza wheel' so that I have to do a force quit. So after a lot of research on these help pages, I tried going into safe mode, as well as doing a full reset, but nothing helped. I then tried to create a new profile, and problem solved! Or so I thought. It turns out that I can open as many pages as I want when I first open this fresh new profile, but when I quit out of FF and then open this new profile again (using the profile manager), it goes right back into slowing down with the 'spinning pizza wheel' again, and so I then have to force quit. I can delete and recreate this new profile over and over, and I keep getting the same result - FF works fine on the first try, but close out and reopen the new profile, or my old one for that matter, and back to the original problem! Hopefully someone can help me out. Thanks in advance!
BTW I'm using a 2010 Mac Pro running OSX 10.8.5 with the latest version (25) of FFthe apple guys should do something...this is a bad feedback on their part. this will drive away their costumers knowing this....is there any solution to this?
-
The bluetooth showed up in the bluetooth list last week & now it won't even connect to the phone when i turn the bluetooth on to start pairing it just says Searching.
Hey there Kaitlyn Turner,
It sounds like your bluetooth is not functioning correctly on the iPhone. I recommend the troubleshooting in this article for the issue you are seeing named:
iOS: Troubleshooting Bluetooth connections
http://support.apple.com/kb/TS4562
Check that you are in range of the Bluetooth accessory with which you are trying to pair your iPhone, iPad, or iPod touch. Most Bluetooth accessories have a range of approximately 30 feet.
On your iOS device, tap Settings > Bluetooth and find your device in the list. If your device says Not Connected, tap the name of your accessory to attempt to connect it.
Tap Settings > Bluetooth and turn Bluetooth off and then on again.
Make sure that your Bluetooth accessory is turned on and fully charged or connected to power.
Make sure that your Bluetooth accessory is in pairing mode.1
Restart your iOS device.
Tap Settings > Bluetooth and locate the Bluetooth accessory you are currently connected to or attempting to connect to. Then tap and Forget this Device. Try to pair your Bluetooth accessory again.
Note: You may need to re-enter your Bluetooth accessory PIN if your accessory requires one. Some common PINs are 0000, 1111, and 1234.
Restart your Bluetooth accessory by turning it off and then on again1.
Update your device to the latest version of software. See how to update your iPhone, iPad, or iPod touch.
If your Bluetooth accessory has upgradable firmware, check to see that you have the latest version1, 2.
And this troublehsooting from down the bottom if needed:
Bluetooth disconnects, intermittent connectivity, or unable to find
Move your iOS device closer to the Bluetooth accessory.
Position your iOS device and Bluetooth accessory in direct line of sight of each other. For example, move the Bluetooth accessory and iOS device to the same side of your body.
Remove any case, stand, or other accessories from your iOS device and see if performance improves.
Check for sources of potential interference and move both the iOS device and the Bluetooth accessory away from other electronic devices.
Reset network settings by tapping Settings > General > Reset > Reset Network Settings.
Note: This will reset all network settings including: previously connected Wi-Fi networks and passwords, recently used Bluetooth accessories, VPN, and APN settings.
If your device is still experiencing issues
If the steps above have not resolved the Bluetooth behavior you are experiencing, perform a software restore in iTunes.
If the issue persists after restoring your iOS device in iTunes, contact Apple for support and service options.
Thank you for using Apple Support Communities.
Cheers,
Sterling -
So what do we need to do to get the older phone to show? It did before I switched phones. I have a CD I downloaded into iTunes that she would like to place on her phone.
Thank you!There's a whole lot to read in your post, and frankly I have not read it all.
Having said that, this troubleshooting guide should help:
http://support.apple.com/kb/TS1538
In particular, pay attention to the mobile device support sections near the bottom, assuming you have already done the items above it. -
Report runs fine in Analyzer but not working when executed fromQuerydesig
Hi,
I have a issue with the Bw report which is not showing any data for Keyfigureswhen i execute the report related to APO from Bex query designer in Web.
But the same report executes fine in the Bex Analyzer.
If any one has faced this issue earlier,update us reg that.
We are doubting any prob related to catch memory as the java link for the report is not working.Report works fine in RSRT.
VamsiHi there,
Can you please let us know what cache settings you changed, as we are having the same issue.
Many thanks -
Report runs fine in Analyzer but not working when executed fromQuerydesiger
Hi,
I have a issue with the Bw report which is not showing any data for Keyfigureswhen i execute the report related to APO from Bex query designer in Web.
But the same report executes fine in the Bex Analyzer.
If any one has faced this issue earlier,update us reg that.
We are doubting any prob related to catch memory as the java link for the report is not working.Report works fine in RSRT.
VamsiHi there,
Can you please let us know what cache settings you changed, as we are having the same issue.
Many thanks -
PDF Report with Korean font work fine in 9iDS but not in 9iAS
Hi,
I am using Oracle 9i Application Server 9.0.2.0.0, When i try to run the report using Korean font The pdf report not showing the korean font correctly.
I tried the same in 9ids , which is working properly. I have done exactly the same setting in 9ias, but it is not working.
The Oracle ias report service dialog shows version 9.0.2.0.3
My 9ias settings
NLS_LANG = AMERICAN_AMERICA.KO16KSC5601
In uifont.ali the settings are
[ PDF ]
.....ZHT16BIG5 = "MSungStd-Light-Acro"
.....ZHS16CGB231280 = "STSongStd-Light-Acro"
.....KO16KSC5601 ="HYSMyeongJoStd-Medium-Acro"
Installed the Korean font(HYSMyeongJoStd-Medium-Acro) from Adobe site
the font file HYSMyeongJoStd-Medium-Acro exist in C:\Program Files\Adobe\Acrobat 5.0\Resource\CIDFont
also installed the asian Suit 2000(Union Way) on the ias server.
I have checked the Smoothing display option also in Acrobat 5. The Document font is showing
Origial font = HYSMyeongJoStd-Medium-Acro type=type1 (CID) Encoding=KSC-EUC-H
Actual font = HYSMyeongJoStd-Medium-Acro type=type1 (CID)
Anyone please let me know do i need to do any other changes or i need to apply any patch . Please reply, Thanks in advance
with Regards
Rohit.Hi Navneet,
Thanks for the immediate reply.
As such there is no change in both the report servers , same output in win2000 and win2003. I am generating the rep from 9ids for both 9ids and 9ias, and i am using font UWKMJF which is korean charecter support, but 9ias is generating some junk charecters with spacing , 9ids is working fine.
The PDf Document font is showing
Origial font = HYSMyeongJoStd-Medium-Acro type=type1 (CID) Encoding=KSC-EUC-H
Actual font = HYSMyeongJoStd-Medium-Acro type=type1 (CID)
which is same as 9ids, but the data displaying in the pdf are not proper.
As you mentioned about the patch, which patch i have to apply. can you please also mention the patch numbers.
Please help me.
Thanks and Regards
Rohit. -
ISight works fine in iChat but doesn't show up in Yahoo Messenger nor Skype
Hello, I was given an iSight webcam that works fine in iChat, but doesn't show up in Yahoo Messenger nor Skype, which are the IM programs I use…
I search on the Apple Support site a driver to download, but there is only an updater (iSight Updater 1.0.3) which doesn't run on Tiger... Any help please ?? ThxYou probably don't need it, but the Tiger "iSight Updater" is located in the \System\Library\CoreServices\iSight Updaters\iSight Updater folder.
(You must look manually because SpotLight does not find it.)
Double click the "iSight Updater" there to run the Firmware update manually.
Some options for other readers:
http://discussions.apple.com/thread.jspa?messageID=10084429�
iSight "Product Revision Level" in your Mac's System Profiler shows the installed firmware version for external (Firewire) iSight.
Firmware 1.0.3 Update offers only "Improved audio performance". It does NOT enable audio or any other function, so that is NOT your problem with Skype or YMM. Search or post in their dedicated help/discussions for best and quickest help with those specific, non-Apple apps.
Regardless of whether System Profiler utility shows Firewire iSight's Firmware (Product) level of 1.0.2 or 1.0.3, external iSight ought to work. You can test your external iSight using the suggestions on this linked page:
http://www.ralphjohns.co.uk/EZJim/EZJimpage4.html
EZ Jim
“I may receive some form of compensation, financial or otherwise, from my recommendation or link."
Mac Pro Quad Core (Early 2009) 2.93Ghz w/Mac OS X (10.6.2) MacBook Pro (13 inch, Mid 2009) 2.26GHz (10.6.2)
LED Cinema Display G4 PowerBook 1.67GHz (10.4.11) iBookSE 366MHz (10.3.9) External iSight -
Published report will not run; works fine in VS2010 debug mode.
Have 64bit Visual Studio Ultimate installed, CRv13_1 and MSSQL 2008 R2.
The issue I am having is the report work like a champ when I run the web application in debug mode. IE I hit the run button in Visual Studio, However when I publish the application the report will not run. I get various errors depending on how I have connected to report to MSSQL. I have tried ODBC and OLE DB connections. I have tried Windows authentication and MSSQL user login. The results are the same. the report works fine in debug mode but will not work when published. The most common error message is :
Error
Database logon failed.
or
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'
Depending on how I am authenticating. I have Google this issue and there are tons of posts about it but no solutions. Any help would be appreciated.See if the article [Troubleshooting Guide to Database Connectivity Issues with Crystal Reports in Visual Studio .NET Applications|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b0225775-88c4-2c10-bd80-8298769293de] helps.
I'd settle on the prefered connection method and troubleshoot that. Use the search box in the top right corner of this web page. It will bring up KBases, blogs, wikis, articles and more. Also, search these forums. There is lots of info here and lots of answers.
- Ludek -
I’m having an intermittent problem with my midi controllers triggering Mainstage 3.
I’m using a PreSonus Firebox audio interface.
It’s been working fine for months, but now when I first turn on the computer in the morning , I’m not able to trigger MainStage from the keyboard. I tried different midi controllers, different keyboards, different midi cords, and check midi preferences. The audio interface is working fine and is recogonized, but the midi doesn’twork. I re-started the computer several times and then finally it miraculously starts working again.
I’ve been having to this every day now. Any help or ideas is very much appreciated.I Had the same problem with a FireStudio. Try unplugging the FireWire plug and the power plug. Wait for a few seconds, then plug both back in. The light on my FireStudio was flashing blue/red which means "not connecting." I did what I just described, and everything works again. Hope it works for you.
-
My ipad2 was working fine last night, but this morning when I woke it up... it no longer was connected to my network. While it can detect networks, it cannot connect to any (have tried at home and at work). I have tried: resetting router, resetting ipad, forgetting network, renewing lease on network, ensuring airplane mode is off, resetting network settings, turning wifi on/off. None of the typical solutions I can find online seem to work. HELP!
You've gone through all of the basics. You might look at this document regarding potential issues with wi-fi environments.
http://support.apple.com/kb/HT4199
If none of that works, and if a device restore doesn't work, it's time for a trip to the Genius Bar. -
Fixed headers while scrolling works fine in bids but not when deployed to reportserver
Hi, I am using SQL Server 2008 R2 & deploying a report to reportserver with fixed headers while scrolling, this works fine in bids but not when deployed to reportserver. We are IE 9.
Thanks in advance...............
IoneHi ione721,
Since you have identified the 2 xml files are identical, according to my knowledge, there maybe a compatibility issue with IE 9 and SSRS 2008 R2, so I suggest that you could run the report in compatibility mode. Please make sure you have turned on Compatibility
View in Internet Explorer 9 by following steps:
When Internet Explorer recognizes that a webpage is not compatible, you will see the Compatibility View button on the Address bar. Try clicking it.
When Compatibility View is turned on, the button changes from an outline to a solid color when you view the page.
The following screenshots are for your reference:
If you have any questions, please feel free to let me know.
Best Regards,
Wendy Fu -
Facetime worked fine on Sunday but not yesterday nor today. It just never connects. Message is 'connection lost'. Help please
Using FaceTime http://support.apple.com/kb/ht4319
Troubleshooting FaceTime http://support.apple.com/kb/TS3367
The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
http://tinyurl.com/a7odey8
Troubleshooting FaceTime and iMessage activation
http://support.apple.com/kb/TS4268
iOS: FaceTime is 'Unable to verify email because it is in use'
http://support.apple.com/kb/TS3510
Using FaceTime and iMessage behind a firewall
http://support.apple.com/kb/HT4245
iOS: About Messages
http://support.apple.com/kb/HT3529
Set up iMessage
http://www.apple.com/ca/ios/messages/
iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
http://support.apple.com/kb/HT5538
How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
Troubleshooting Messages
http://support.apple.com/kb/TS2755
Troubleshooting iMessage Issues: Some Useful Tips You Should Try
http://www.igeeksblog.com/troubleshooting-imessage-issues/
Setting Up Multiple iOS Devices for iMessage and Facetime
http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
FaceTime and iMessage not accepting Apple ID password
http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
Unable to use FaceTime and iMessage with my apple ID
https://discussions.apple.com/thread/4649373?tstart=90
FaceTime, Game Center, Messages: Troubleshooting sign in issues
http://support.apple.com/kb/TS3970
How to Block Someone on FaceTime
http://www.ehow.com/how_10033185_block-someone-facetime.html
My Facetime Doesn't Ring
https://discussions.apple.com/message/19087457
To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
How to Send SMS from iPad
http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
You can check the status of the FaceTime/iMessage servers at this link.
http://www.apple.com/support/systemstatus/
Cheers, Tom -
Works fine on macs but when i load the page on p.c i get 404 media not foun
works fine on macs but when i load the page on p.c i get 404 media not found. Which is odd since it works on any mac i've tried on the same network, does anyone have any ideas?
I too am having the 404 media not found on my blogs, but its on both my mac and pcs. I am wondering if your macs can see it because of them being bound to the server?? Just an idea, which doesn't help me at all. So if you find a way to fix it please please post it.
Kcam1999
Maybe you are looking for
-
My eyes are burning from trolling the boards all day. Just picked up an AEBS (12:33 PM CST, 4/20/08), firmware's at 7.3.1, connected the ol' xbox and got a "moderate" on my NAT test. Thats fine, totally expected, no big deal, right? So here's what I
-
Hi, I have created a pdf from a word-file and inserted formfields for a work related file. I've used nitro pro to create the formfield. They works in nitro, reader, foxit etc. but not adobe reader. From page 3 and out, the font wont show when writing
-
Updating price conditions using CRM_ORDER_MAINTAIN
Hello everyone! Could anyone help me out with respect to price updation using "CRM_ORDER_MAINTAIN"? I am supposed to do the following: I obtain the current unit price for a sales order item using "CRM_ORDER_READ". The feild et_pridoc-pric_cond-kbetr
-
Hello everyone. I'm trying to move a whole bunch of data from Table1 to Table2, using the UPDATE function, but only under special circumstances. I wish to move all available addressId's from Table1 to Table2, but only if there isn't an addressId in T
-
Where can I locate an incomplete download-File is too large to restart
Hi all, I have been downloading a very large file 2.42GB and I was nearly there with only about 400MB to go. I tried to pause the file which was fine but as soon as I hit the resume download it cancelled it and has now started downloading it from scr