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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.csp file not found

Status
Not open for further replies.

HouDog

Programmer
Aug 14, 2003
54
CA
Hi everyone,

I hope someone can help me with this problem. We have recently migrated our Crystal Enterprise installation from 1 IIS server to another one.

For some reason, all my .csp pages return a 404 File Not Found error on the new IIS server. I don't recall if I had to configure the IIS server to run .csp pages or not.

Has anyone else had this problem?

Any help would be greatly appreciated.
JH.
 
You might describe what "migrated our Crystal Enterprise installation from 1 IIS server to another one." really means, such as we copied files over, or we set up a new IIS/CE and migrated reports, or?

CE is heavily dependent upon the IIS server, and will add a virtual directory to it during install.

Check the configuration of each, someone may have even altered the original information.

There are 2 types of Crystal Enterprise products, and 4 versions, so specifics may vary.

Consider posting some technical information.

-k
 
Absolutely right...my bad.

ok here goes.

We were running SQL Server 2000, CE90, and IIS on one Server 2000 machine. Everything was running smooth albeit slow...so we decided to move to "beefier" servers. We now have 3 new dedicated DELL servers. 1 running Sql Server 2000, 1 running CE90 servers, and 1 as the web server. All of these are Server 2003 boxes. I CE90 WCS on our web server machine successfully. I know this because I am able to get to the LaunchPad and run ePortfolio.

The problem is that when we copy all our .csp files from the old IIS server to the new one, they come up as "404-File not found" when you try to access them through IE.

The strange part is that ePortfolio works but our files don't.

JH.
 
Hi,
Check for explicit or relative or virtual include files
on your csp pages..They may be looking in the wrong place..specifying the location of includes can be tricky
when using a WCS to redirect to the 'actual' CE server location..Some includes need to be in the web server's virtual directory that is mapped to the CE one, while others may need to be actually on the CE box.

[profile]
 
Thank you TurkBear for responding. However, I am merely trying to get to our home page which is in it's simplest form, a frames page. I commented out all include files so essentially, it is an html page renamed as a csp page. It still does not work.

Any ideas ?
JH.
 
Hi,
If it is renamed to .csp then it will expect to be on the CE server not the web server..Any pages with a .csp extension will be 'delivered' from the mapped directory on the CE server box, not from the Web Server's directory..Copy it to both places or name it back to .html
( or asp or htm or anything but csp)

[profile]

 
Hi, I'm a bit confused now as you might be able to tell.

When I check the virtual directory for the CE install on the web server, it's home directory is a folder on the web server machine. But as you correctly said, all the csp files for ePortfolio are on the CE machine. So my question is...where is the mapping to the CE machine specified?

If i move all my csp code files to the CE machine, how will the web server know where to look ???

I guess I am unsure how to "map" the virtual directory on the web server whose home directory in on that machine to the CE machine.

JH.
 
Hi, ok I read that I have to configure the web connector to tell it to look in a folder on the CE machine but that presents a new problem.

We have several web sites on our web server. Our enterprise site is, for example, " and not " In this case, how do I map " to a folder on my CE machine in order to find the .csp files ????
 
Hi,

"So my question is...where is the mapping to the CE machine specified?"

It's the Web Connector (on the IIS box) that points to the WCS. Check the Web Connector Configuration via CCM
 
Hi,

The Web Connector configuration allows for a virtual directory to be mapped. I do not have a virtual directory. It is the actual web site itself.

Thanks.
 
The Web Connector is to configure both the Virtual directory ( where your non csp pages are on the IIS ( not the CE machine ( can be, in fact, empty if you only have csp pages on the CE machine but want to use another web server for the connection ) and the ACTUAL (c:\inetpub\mydirectorypath) on the CE machine ( which also has to be set up as a virtual directory on that machine with the same name)

Like this:
Code:
---------------------------------------------
Web Component server ( top entry box in the Web Connector Config box)
your.ceserver.address 
>>
bottom section

Virtual Directory
/somevirtualonthiswebserver    c:\directory\subdirectory
                               [ACTUAL physical path that 
                                is also designated a 
                                virtual directory on
                                the CE server listed above]
--------------------------------------------------

hth,
[profile]
 
Thank you all for your answers. However I could not get any of the .csp files located on the root of my website to map over to the CE server so what I did was to create a virtual directory and use that as my root. I then had a simple default.asp file that redirected to the virtual directory. Everything seems ok now except a few minor things.

Strange thing though...we ran a speed test, and while the old server takes a while to load the report, subsequent pages and even clicking the "goto last page" come up pretty quickly. On the new 3-server scenario, the first page comes up lightning quick but the next and last pages take forever. Oh well...must be a setting or something.

Thanks again for everyone's help.
JH.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top