cancel
Showing results for 
Search instead for 
Did you mean: 

TREX 7.0 Httpserver %1 is not a valid Win32 application

JuanJanse
Participant
0 Kudos

Hi all Gurus.

-


After installation I try to access the URL http://ifprxxxx:30205/TREXHttpServer/TrexIsapiExt.dll (this is a copy to clip board from TREXAdmin  Landscape configuration  Service).

What I have tried so far

<BR>

1) First checked all permissions for user required to access the website u2013 as per installation docs and forum post at SDN.

<BR>

2) Added the ServiceSAP<SID> user to the local administrators groups u2013 now able to restart the IIS from TREXadmin application.

<BR>

3) (Not required) Added Local group Everyone to security/permissions to the folder (TREX root folder) selected inherit all parent permissions and replace all child permissions from this folder.

<BR>

4) Create a local user (member of Everyone ) and replaced default internet user on the TREX website properties dir security u2013 user

<BR>

5) Found a SAP note (sapnote_0000684106 Microsoft runtime DLLs ) that describes missing DLLs on the 64 bit machine so I executed R3DLLinst.exe u2013 this adds all required dlls for TREX. u2013 still not working

<BR>

6) Found SAP Note (sapnote_0001031193 TREX 7.0 Web Server not working on 64bit ) implemented still not solution.

<BR>

7) Restarted all applications and still not working.After changing the browser response type u2013 (not friendly display) I get this response to the URL above

u201C%1 is not a valid Win32 application.u201D This is also visible in the TREX trace files.

<BR><BR><BR>

Trc files

1)TREXNameserverAlert

5376] 2009-06-17 11:14:45.829 e NameServer TREXNameServer.cpp(00833) : Wrong response from http server: http://ifpxxxx:30205/TREXHttpServer/TrexIsapiExt.dll, status:500, response: <html><head><title>Error</title></head><body>%1 is not a valid Win32 application.

<BR><BR>

1)TREXIndexserverAlert

3940] 2009-06-16 22:55:45.292 e TNS TNSClient.cpp(00599) : sendRequest to ifprxxx:30201 failed with NetException. data=[setinactive](S)client_id=ifpr0xxxx:30203/4312/908|...

[4172] 2009-06-17 10:16:03.862 e TrexNet Channel.cpp(00239) : ERROR: reading from channel 2 <10.4xxxxx:30201> failed with rc=14 (connection broken)

[4172] 2009-06-17 10:16:03.862 e TrexNetBuffe BufferedIO.cpp(01101) : channel 2 from <10.41.xxxxx:30201>: read from channel failed; resetting buffer

[4172] 2009-06-17 10:16:03.877 e TNS TNSClient.cpp(00599) : sendRequest to ifprxxx:30201 failed with NetException. data=[setstopping](S)client_id=ifpxxxx:30203/4176/908|...

[4172] 2009-06-17 10:16:03.877 e TNS TNSClient.cpp(00493) : process is terminating -> aborting nameserver retries

[4172] 2009-06-17 10:16:04.846 e TrexNet EndPoint.cpp(00243) : ERROR: failed to open channel 10.41xxxxxx:30201! reason: connection refused

[4172] 2009-06-17 10:16:04.846 e TNS TNSClient.cpp(00599) : sendRequest to ifprxxx:30201 failed with NetException. data=[setinactive](S)client_id=ifpxxxxx:30203/4176/908|...

[4172] 2009-06-17 10:16:03.862 e TrexNet Channel.cpp(00239) : ERROR: reading from channel 2 <10.xxx:30201> failed with rc=14 (connection broken)

[4172] 2009-06-17 10:16:03.862 e TrexNetBuffe BufferedIO.cpp(01101) : channel 2 from <10.xxxx:30201>: read from channel failed; resetting buffer

[Thr 4172] Wed Jun 17 10:16:03 2009

[Thr 4172] *** WARNING => NiHdlGetStatus: invalid hdl -1 [nixx.c 2356]

[4172] 2009-06-17 10:16:03.877 e TNS TNSClient.cpp(00599) : sendRequest to ifpxxx:30201 failed with NetException. data=[setstopping](S)client_id=ifprxxxx:30203/4176/908|...

[4172] 2009-06-17 10:16:03.877 e TNS TNSClient.cpp(00493) : process is terminating -> aborting nameserver retries

[Thr 4172] Wed Jun 17 10:16:04 2009

[Thr 4172] ***LOG Q0I=> NiPConnect2: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 2823]

[Thr 4172] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 2 / sock 720

(SI_ECONN_REFUSE/10061; I4; ST; 10.xxxx:30201) [nixxi.cpp 2823]

[4172] 2009-06-17 10:16:04.846 e TrexNet EndPoint.cpp(00243) : ERROR: failed to open channel 10.xxxx:30201! reason: connection refused

[4172] 2009-06-17 10:16:04.846 e TNS TNSClient.cpp(00599) : sendRequest to ifpxxx:30201 failed with NetException. data=[setinactive](S)client_id=ifpr0xxxx:30203/4176/908|...

<BR><BR>

I suspect it might have something to do with DLLu2019s and 64 bit machine but cant think of anything to do.

<BR><BR>

If anyone has some tips / help it would be very appreciated.

Thanks in advance

Edited by: Juan Janse on Jun 17, 2009 11:42 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello.

I had this problem and I solved this issue applying note 1008299.

Best Regards,

Answers (2)

Answers (2)

JuanJanse
Participant
0 Kudos

Yeah i found the note as well. but thanks for posting.

Former Member
0 Kudos

Hi Juan,

Looks like your issue is related to MS rather than being a portal related one.

Have a look at http://support.microsoft.com/kb/325680.

Hope this helps.

Good Luck!

Sandeep Tudumu

JuanJanse
Participant
0 Kudos

Thanks for the reply, i did have a look at the link and did not help. Just also worth mentioning is that on the system drive for a 64 bit you will find the following folders.

C:\Program Files (x86)

and

C:\Program Files

i have also seen a mention about a folder containing a space " " in the folder name can cause this but it only relates to the folder as defined for a virtual directory ie C:\myWeps\app 1 where "app 1" has a space. The recommendation is that you should not have any spaces. ie

E:\usr\sap\TXP\TRX02\exe\WebServer as defined for TREX.

I have this installed also on a 32 bit with no issue.

Anyone else with some tips are well come

Former Member
0 Kudos

Hi Juan,

Did you find any solution to this issue?

I´ve got the same problem.

Any help please?

Thx a lot.