Hi
 
I came across this problem just last week and managed to solve it as follows...
 
Modify the WebSiteTable.createVirtualDirectory() method around line 53, change the line that reads....
 
                httpErrorsArray.value(httpErrorsArray.lastIndex(),COMVariant::createFromStr(newHTTPValue));
to...
                if ( ! httpErrorsArray.lastIndex() )
                {
                    httpErrorsArray.value(1,COMVariant::createFromStr(newHTTPValue));
                }
                else
                {
                    httpErrorsArray.value(httpErrorsArray.lastIndex(),COMVariant::createFromStr(newHTTPValue));
                }

Malcolm Burtt
Touchstone

Our Trusted Solutions - Your Optimised Business



From: Axapta-Knowledge-Village@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hkruiniger
Sent: 08 September 2005 17:59
To: Axapta-Knowledge-Village@yahoogroups.com
Subject: [Axapta-Knowledge-Village] Error on creating EP web site

On Axapta 3.0 SP3, using the web site wizard, I go right through
accepting defaults everywhere, creating a web site based on the
standard Enterprise Portal application, which is also configured in a
pretty-much default fashion. I hit "Finish" and immediately get the
rather unhelpful error message:

        "Attempting to read illegal array index"

The web site files do get created in the designated location (whether
in wwwroot or a virtual site) but the site does not appear to get
registered with IIS and you can't reach it in the browser.

Any thought anyone?

Thanks

Hans




Sharing the knowledge on Axapta.



YAHOO! GROUPS LINKS




Reply via email to