Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Reports / Visual Studio .NET (ASP)

Status
Not open for further replies.

MCuthill

Technical User
Jul 19, 2006
669
CA
Hi Everyone,

I am having some trouble with launching a web site. I do not know wherein the issue lie, but here is the situation.

The project itself is very simple: 1 page, display a profiling report I have developed in CR10.

I am getting "Page Not Found" errors when going to the default page and when I type in the URL for the report file, it asks me for a Crystal Enterprise CMS logon.

I had some other issue regarding earlier with Crystal Assemblies not being able to load to the site, but I researched and found that I required a merge module to correct this, is there any way this issue stems from having used this merge module?

I am very new to ASP and website publishing and am wondering what my next step in troubleshooting should be.

If you require any specifics not mentioned above, do not hesitate to ask.

Thanks,

Mike
______________________________________________________________
[banghead] "It Seems All My Problems Exist Between Keyboard and Chair"
 
Ok, first you could be getting a page not found error because asp.net isn't registered in IIS correctly. If you simply create an HTML page will it display? If this is the case then you could...

Open a command prompt and navigate to your version of the framework (i.e. C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 ) then type regiis_aspnet.exe -i (I believe this will set all the websites to whatever version you are running, so don't do this in a production environment unless you are sure!)

Next, is there a crystal viewer that you need to install. I'm not familiar with Crystal, but with the Microsoft report viewer you need to either a) have the viewer in your bin folder, or b) load the report viewer dll into the GAC.
 
Thanks jshurst,

I did test by creating a simple HTML page and it did work when I surfed the URL in IE.

I am going to assume that the reason the site launches without problems on my development machine is because these assemblies are installed on this machine (perhaps because CR10 is installed here). Where would I find and how would I go about adding the necessary dll files to this project. I searched my local HD for anything with "*crystal*.dll" and did not see anything with a name at all resembling "viewer".

Thanks,




Mike
______________________________________________________________
[banghead] "It Seems All My Problems Exist Between Keyboard and Chair"
 
did you deploy your project correctly to the IIS server? Crystal requires you to deploy the project so you get all the required dll's etc.

 
dvannoy,

I am not sure what the correct procedure is. I did follow Business Objects "Crystal Reports & .NET" white paper, specifically the section on "Deploying an ASP.NET Application" Located Here. However, the last step in that section states:
"To build your Web Setup project, highlight your deployment package (websetup1) in the Solution Explorer, right click and select Build. You are now ready to deploy your ASP.NET Web application."

What would be the steps to take after a build? I Did do a Publish to the location on the IIS Server, but it did not seem to make any difference.

Thanks,


Mike
______________________________________________________________
[banghead] "It Seems All My Problems Exist Between Keyboard and Chair"
 
after the last step there is a folder that gets created in your projects folder. you then need to copy those setup files/folders onto your IIS server. then run the setup so the application gets installed correctly onto the IIS server. if i remember correctly, that should also setup your virtual directories etc.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top