COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Framework Manager => Topic started by: SADELMA on 14 May 2008 06:55:22 AM

Title: Metadata Wizard - IE Script Error
Post by: SADELMA on 14 May 2008 06:55:22 AM
Hello together,

i have a problem when i try to create a datasource with the metadata wizard in cognos framework manager. First i have to say, that my standard gateway uri in the FM Cognos Configuration was http://mycompany:80/cognos8/cgi-bin/cognos.cgi. With this URI i got an error message when starting the framework manager, though i changed the Uri into http://mycompany:9300/p2pd/servlet/dispatch/ext. After this, the error was gone and i can open or create new projects in FM without an error message. But now i have the problem with the metadata wizard for creating a datasource. I always get the following error-message:

(i have the german version....but i try to translate the error)

in dem Skript auf dieser Seite ist ein Fehler aufgetreten:
A failure in the script on this page occured:

Zeile: 295
line: 295

Zeichen: 8
note: 8

Fehler: Objekt erwartet
failure: Object expected

Code: 0

URL: http://mycompany:9300/p2pd/servlet/dispatch/ext

Sollte diese Seite weiterhin ausgeführt werden? Ja/Nein

Can anyone help me to find my mistake?

Thank you in advance!

Title: Re: Metadata Wizard - IE Script Error
Post by: blom0344 on 15 May 2008 03:25:12 AM
Did you check whether you can still create a new datasource from the directory in Cognos connection?
Title: Re: Metadata Wizard - IE Script Error
Post by: SADELMA on 15 May 2008 07:06:24 AM
Yes I did the workaround and created the datasource in Cognos Connection. After that I imported the datasource in the Framework Manager from Connection. Now I can work with it, but I would prefer to solve the basic problem too :)
Title: Re: Metadata Wizard - IE Script Error
Post by: blom0344 on 15 May 2008 07:51:38 AM
I do not consider that to be a workaround. Managing connections from Cognos connection is the proper place..
Title: Re: Metadata Wizard - IE Script Error
Post by: sir_jeroen on 06 Jun 2008 05:19:36 PM
The thing is, what I think, that when you use http://server/cognos8/cgi-bin/cognosisapi.dll you're using your webserver to provide the interface for the Wizard. When you use Http://server:9300 you're using the tomcat appl. server for creating the wizard interface and tomcat isn't set up to handle this kind of requests. Try copying the contents of the webcontent folder into the webapps\p2pd  folder. Maybe it works then.
Also take a look at the following KB document: http://support.cognos.com/knowledgebase/googlesearch?load_kb_document=1&dr=kb1&uniqueid=116712 (http://support.cognos.com/knowledgebase/googlesearch?load_kb_document=1&dr=kb1&uniqueid=116712)