PDA

View Full Version : VDF 11.1 Web Application Server Help



John Hulsman
7-Dec-2005, 10:29 AM
I just installed VDF11.1, and want to upgrade my apps on my development box.

In addition, all of my workspaces were compiling the same EXE name,
webapp.exe -- so in upgrading I also wanted to change it to match the
workspace name, eg. netcust.exe, so if there are problems with a specific
app on the server (specifically oracle problems) I will know which app that
it came from. I did this by going into the "Maintain Studio Databases..."
and changed the webapp.src to netcust.src, renamed the appsrc files
webapp.src webapp.prn and webapp.cfg to netcust.src netcust.prn and
netcust.cfg respectively, and went into "Properties..." for the Program and
changed webapp.src to netcust.src in there.

Problem #1 - My program compiles fine, the debugger opens, and my web
browser doesn't open. What can I do to make my program open in the browser
after the compile like it did in VDF10?

Problem #2 - I manually opened my web browser after compiling and went to
the application. I got a global.asa error because the session.timeout was
equal to 0... something keeps changing it to a 0, even though in the
"Properties..." dialog for the program in the IDE I have the timeout set to
1.

Problem #3 - Anyway I can turn off The Start Center? Its nice, but it would
be cooler if it would only appear if the information on it was new.

I assume my problems stem from changing from webapp.exe to netcust.exe...
but where does the problem lie exactly?

Thanks,
John

John Hulsman
7-Dec-2005, 12:41 PM
I've changed back to webapp.src, .prn, and .cfg and it works again...
opening the browser and everything else. So my question now is this, is
there any way I can have the compiler compile to a different exe name than
webapp.exe?

I can't think of anything else other than stopping the webapp, deleting the
existing exe, and renaming the compiled webapp.exe to the name I want to
use. If this is the only way I can do it, I don't want to bother.

David Martinko
7-Dec-2005, 12:52 PM
My understanding is that you can only have one WebApp.exe per workspace.
I am sure there is a way around this... (my idea involves 2 workspaces with all the same directories, and an extra APPSRC and
PROGRAMS directories.


AppsrcPath= c:\MyWorkspace\Appsrc\WebApp1;c:\MyWorkspace\Appsr c
ProgramPath= c:\MyWorkspace\Programs\WebApp1;c:\MyWorkspace\Pro grams

AppsrcPath= c:\MyWorkspace\Appsrc\WebApp2;c:\MyWorkspace\Appsr c
ProgramPath= c:\MyWorkspace\Programs\WebApp2;c:\MyWorkspace\Pro grams

Then you will have 2 webapps for the same workspace...I haven't tried this, but it should work.
They still both have to be webapp.exe
--
David Martinko
Redeemed Software
248-535-7495
RedeemedSoftware(SHIFT+2)Hotmail(PERIOD)com
www.redeemedsoftware.com
www.redeemedhosting.com

"John Hulsman" <jhulsman@jasperengines.com> wrote in message news:MiFcEW1%23FHA.6108@dacmail.dataaccess.com...
I've changed back to webapp.src, .prn, and .cfg and it works again...
opening the browser and everything else. So my question now is this, is
there any way I can have the compiler compile to a different exe name than
webapp.exe?

I can't think of anything else other than stopping the webapp, deleting the
existing exe, and renaming the compiled webapp.exe to the name I want to
use. If this is the only way I can do it, I don't want to bother.

Ian Telfer
7-Dec-2005, 06:32 PM
John,

Did you go into the WebApp Administrator & point it to the new program
name? If not, it would still be trying to open WebApp.exe.

Ian

John Hulsman
12-Dec-2005, 08:51 AM
Unfortunately, I did have it pointed to the correct exe file. Apparently if
you don't have the exe called webapp.exe, VDF doesn't think its a webapp
anymore.

Thank you for your response as well David, in particular the bottom line of
your message. I do only have one webapp per workspace (about 11 different
webapps and workspaces), but would like them to have a different name than
webapp.exe, so its easy to tell them apart in the event viewers if one of
them is giving me grief for whatever reason. You'd think I'd be able to do
this. Its quite confusing as to finding out which one is causing problems
when there is trouble.

Thanks guys,
John


"Ian Telfer" <ian@cdrsystems.com.au> wrote in message
news:0m$lma4%23FHA.1632@dacmail.dataaccess.com...
> John,
>
> Did you go into the WebApp Administrator & point it to the new program
> name? If not, it would still be trying to open WebApp.exe.
>
> Ian

Ian Telfer
12-Dec-2005, 05:18 PM
John,

If your main reason is to be able to distinguish between apps in the
event viewer, then don't bother. The event viewer gives the full
pathing to the app that's failing, so you can tell from the directory.

Cheers

Ian


John Hulsman wrote:
> Unfortunately, I did have it pointed to the correct exe file. Apparently if
> you don't have the exe called webapp.exe, VDF doesn't think its a webapp
> anymore.
>
> Thank you for your response as well David, in particular the bottom line of
> your message. I do only have one webapp per workspace (about 11 different
> webapps and workspaces), but would like them to have a different name than
> webapp.exe, so its easy to tell them apart in the event viewers if one of
> them is giving me grief for whatever reason. You'd think I'd be able to do
> this. Its quite confusing as to finding out which one is causing problems
> when there is trouble.
>
> Thanks guys,
> John
>
>
> "Ian Telfer" <ian@cdrsystems.com.au> wrote in message
> news:0m$lma4%23FHA.1632@dacmail.dataaccess.com...
>
>>John,
>>
>>Did you go into the WebApp Administrator & point it to the new program
>>name? If not, it would still be trying to open WebApp.exe.
>>
>>Ian
>
>
>