Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Creating new 5.0 Page

$
0
0
Re: Creating new 5.0 Page
Web Connection 5.0
Re: Creating new 5.0 Page
Mar. 27, 2013
09:46 pm
3QX1AOLV3Show this entire thread in new window
Gratar Image based on email address
From:Rick Strahl
To:Jim day
Jim,

Try using a backslash in the file.

But I still think the issue is permissions. If you're on Win7/8 you'll have User Account Security kicking in and just may not have rights to create files in that folder.

Make sure you have your explicit permissions set in this folder.
+++ Rick ---



I use the following for the files.
So I am looking for the files to be written at "c:\wcapps\whogoes\wgProcess"

<ww:wwWebPage ID="SetSchedule_Page" runat="server"
GeneratedSourceFile="wgProcess/SetSchedule_Page.prg" EnableSessionState="true" >


Jim,

Does this happen for all files? I don't see this here for me - I can create new pages and immediately run them, so I'm not sure what would be different.

One thing that can cause problems is if for some reason or other the file gets created in multiple places. The default template when you create a new page uses:

~/Page.wcsx

which creates the PRG file in the Web folder. If you run the page and then later go in and move it it's possible that the PRG file is loaded in memory already and then it fails because the procedure is already loaded from a different location.

+++ Rick ---


Yes, Once the file exists, the changes to the file are written out without issues.

This is the line of code that shows an error "File Not Found"

It is running in below section of code. Should really be ignoring parse since file does not exist yet.

wwprocess
*** 1 - Parse 2 - Parse & Compile
SET PROCEDURE TO (lcFileToRun) ADDITIVE


Do you have write permissions in the folder you're trying to write the file to?

+++ Rick ---



I am using version 5.60

When I create a new page, Web Connection is kicking out an error that the ????_page.prg is not found.

In the past, it would just create a new prg file.

I have to now put one out there. Once it is out there Web Connect, will modify it based on the changes made to the page in Web Developer 2010.

Any ideas, what is going on?


Jm Day







Rick Strahl
West Wind Technologies


from Maui, Hawaii

Making waves on the Web


Viewing all articles
Browse latest Browse all 10393

Trending Articles