.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old April 11th, 2003, 11:43 PM
redM redM is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 2 redM User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Installing an ASP.NET-Solution with Crystal Report

Hi all<br><br>I want to install a ASP.NET-Solution on a Webserver without .NET Studio.<br>Everything is running well, only the creation of a Crystal Report as PDF-Document won't run.<br><br>When I use my ASP.NET-Solution to build an actual Report I recive the following Error: <b>Error in File C:WINNTTEMP emp_af3e37e3-ccdd-4b5a-86c1-e8b75f1da929.rpt: Invalid export DLL or export format</b><br><br>On my developmachine it is woking fine.<br><br>Does someone know, how I can resolve this problem?<br><br>I think it's a missing Crystal Report Component on the Webserver. But I am not sure.<br><br>Please help....<br><br><br>Thanks a lot and SALUT<br>redM<br><br>PS: sorry abaout my english!

Reply With Quote
  #2  
Old April 12th, 2003, 01:07 AM
redM redM is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 2 redM User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi All again<br><br>After a little search I have found an answer @ www.dotnet247.com, from Todd Acheson. <font style="color:990000;">Many Thanks!</font><br><br>Here it is:<br><br><font style="color:000099;">After a few hours of research and testing, I found the answer to my<br>problems. Listed below is a solution if anyone else is interested.<br><br>Steps to Deploy a ASP.NET WebApplication w/Crystal Reports<br><br>1. Preinstallation requirements:<br>A. You must have the DotNet Framework installed on the target<br>webserver. If you want to include dotnetfx.exe as part of your<br>installation, you will have to use something like the bootstrapper<br>sample application that Microsoft has published. Go to this article for<br>more information (watch for word-wrap in the text below!):<br><br>http://msdn.microsoft.com/library/en-us/dnnetdep/html/vsredistdeploy.asp<br>?frame=true<br><br>You will need to make a few property changes to your deployment project<br>before you make the final BUILD, along with some settings in the<br>setup.ini file that comes with the bootstrapper.<br><br>B. If your project involves any kind of data access, you will also<br>need MDAC 2.7 (mdac_typ.exe). This can be downloaded free from<br>Microsoft. If you want this to be part of your intall, you're on your<br>own here. You will probably have to make a custom setup.exe program,<br>similar to the bootstrapper application. The source code is available<br>from MS for this bootstrapper, but it's in C++. Installing mdac_typ.exe<br>will usually involve a reboot of your server. For this reason alone,<br>you may want to attempt this process during non-business hours, to keep<br>your users downtime to a minimum, if your users are using the server for<br>other purposes.<br><br>C. You must be familiar with how to deploy an ASP.NET Application.<br>For directions on how to do this, the following article can be found<br>under walkthroughs in Visual Studio.NET help or go to (watch for<br>word-wrap in the text below!):<br><br>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro<br>7/html/vbtskdeployingwebsolution.asp<br><br>In this example, my ASP.NET application was developed on Windows 2000<br>Pro, and was deployed to Windows Advanced Server 2000. We use crystal<br>reports to generate exported PDF documents, that are streamed to a new<br>browser window. To make our application functional, we also need the<br>Crystal components, dlls, etc installed on the web server.<br><br>WARNING: There are licensing issues when you deploy an application with<br>Crystal Reports. See link below (watch for word-wrap in the text<br>below!):<br><br>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/crystlm<br>n/html/crcondistributingcrystalreportsruntime.asp<br><br>Here are the steps:<br><br>Follow the directions in "Walkthrough: Deploying a Web Solution"<br>(mentioned above) with the following adjustments:<br><br>1. Under the heading "To add the output of the WebApp1 project to the<br>deployment project", NOTE the following: My application has three(3)<br>generated DLLs. I have the the main dll generated for my web project.<br>I also have two(2) business (Database) layers that each get their own<br>dll. (My solution has a total of three(3) projects under it) All I had<br>to do was select the "Primary Output" and "Content Files" from my MAIN<br>dll, and the others were added as dependencies automatically. You can<br>verify this by visually noting the other dlls under the distiribution<br>project in your solution explorer.<br><br>2. Under the heading "To set properties for the installer", after you<br>perform step 2, do the following:<br>A. Click on Project --> ADD --> Merge Module... From here, you will<br>get a file browse dialog box that should default to C:Program<br>FilesCommon FilesMerge Modules. It is in this location that you will<br>find the necessary files to add.<br>B. Add the following Merge Modules:<br> 1. database_access.msm<br> 2. database_access_enu.msm (if you're doing the english version)<br> 3. regwiz.msm<br> 4. If you don't see a reference to managed.msm in you solution<br>explorer, you will need to add this file as well. It was there by<br>default when I added my Primary Output and Content Files.<br>C. Click Open on the dialog box and the files will be added.<br>D. Select the regwiz.msm file in you solution explorer.<br>E. In the Properties window, find the property (MergeModuleProperties)<br>and click the + sign to expand. You will need to enter your Crystal<br>Reports License Key in the License Key field. Where do you find this?<br>Click on Help-->About Microsoft Development Environment. Here you will<br>find a list of your installed VS.NET products. Select Crystal<br>Reports.NET. Click on Copy Info. Open Notepad. Click on Edit-->Paste.<br>Copy the key portion of the pasted string and paste it into the "License<br>Key" property under (MergeModulesProperties). Failure to do this will<br>cause an error during the Build process. You may have to register your<br>copy of Crystal Reports.NET, with CrystalDecisions, before this key will<br>be available (I did).<br><br>3. Proceed with the rest of the Walkthrough.<br><br>I installed my msi file on the web server, that only had the DotNet<br>Framework and MDAC 2.7 installed.<br><br>When you try to run your application in a browser window, you may get<br>the error "Server Application Unavailable The web application you are<br>attempting to access on this web server is currently unavailable.<br>Please hit the "Refresh" button in your web browser to retry your<br>request."<br>If this happens to you, check out this article in the MS Knowledge base<br>(watch for word-wrap in the text below!:<br><br>http://support.microsoft.com/default.aspx?scid=kb;en-us;Q315158<br><br>This article will tell you how to resolve the problem.<br><br>That's it.<br><br>I hope this helps other developers who were tackling these same issues<br>with installation of web apps and Crystal Reports.<br><br>Todd Acheson<br>Sr. Programmer/Analyst</font><br><br><br>Salut<br>redM

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > Installing an ASP.NET-Solution with Crystal Report


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT