power server web app failed initialization from ini file

Jon Jaroska's picture
1
0
-1

now that i have my hello world application running, I decided to move on to publishing my own application to power server web.  I have selected the ini file to be published but when i run the application in the browser, I get this error.  I am sure I am missing something.

---------------------------
Inventory Management System
---------------------------
Initialization failed from file inv.ini
---------------------------
OK   
---------------------------

 

Question Tags: 

Answers

Govinda Lopez answered power server web app failed initialization from ini file

jjaroska_25089's picture

Thanks for the link.  I have reviewed this and maybe it is just me, but it didn't provide anything helpful for diagnosing this problem.  I did however search the folder that the application was deployed into and I did not find my ini file.

Chris Pollach's picture

Hi Jon;

  FYI: INI file when deployed are converted to XML files.

Regards .. Chris

jjaroska_25089's picture

Yeah.  I did see that after i sent it.  So what are the next steps in debugging this problem?

Chris Pollach answered power server web app failed initialization from ini file

1
0
-1

Hi Jon;

  Using AEM, can you check to see if your INI file was actually deployed to PowerServer ... for example:

Regards ... Chris

jjaroska_25089's picture

Ok.  It was not.  I have checked the deploy ini files section and the correct file is listed there.  What are the reasons why it would not be getting deployed?

Chris Pollach's picture

Well that's weird!   frown

  1. Can you try a FULL Deploy of your App again and see if that solves the missing INI issue?
  2. If #1 does not fix the issue ... can you delete your App from under IIS and then do a full re-deployment again?

HTH

 

jjaroska_25089's picture

Full delete and redeploy.  Not fixed. EDIT:  Not fixed meaning I don't see that ini file on the screen you showed above.

jjaroska_25089's picture

I have tried several times to get this to deploy correctly with no luck.  What is the next step?

Govinda Lopez's picture

Jon,

 

Here are some things you might want to look into:

1.- Are your files read only?

2.- Do you have the proper MIME Types setup in IIS?

3.- Have you setup the proper permissions for IIS_IUSRS in your C:\inetpub\wwwroot in your server?

4.- Are you placing the INI file in the proper section of the PowerServer Toolkit Configuration Wizard?

 

Regards,

jjaroska_25089's picture

1. I have checked this.  ini file is not read only.

2. how do i check/accomplish this?

3. I have verified that user has full control on all sites.

4. I believe it is in the correct section based on this snip.