PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Problem with analysis
Problem with analysis
Débuté par David, 15 oct. 2008 15:45 - 8 réponses
Posté le 15 octobre 2008 - 15:45
Hello everyone,
I have a problem with my analysis. When I try change anything in my tables, I am getting following error.
Error initializing the query
Unable to open file
System Error Details:
Access is denied.

When I try use Hadd I am getting this:
file is read-only. Unable to perform the operation.

Pcsoft Support told me I should close the WebDev administrator before generating the analysis.
I tried and nothing. The problem is the same. I have also turn off webdev and turn on again before changing my tables.
Did anybody here have that problem.
Posté le 15 octobre 2008 - 16:14
Hi David,
Have you tried repairing or updating the project?
Glenn
Posté le 15 octobre 2008 - 17:21
I tried both! Nothing
Posté le 16 octobre 2008 - 09:52
Hi David,
The first thing you need to do when you start seeing file issues like this is run Process Explorer from sysinternals (now part of Microsoft) and search for the filename in question. This will show you what program has the file open and you should also be able to terminate any open file handles.
Cheers!
Ken
Posté le 17 octobre 2008 - 01:02
David, I have a similar trouble and i solved, In my case i use some variables to assign the tables names, to avoid several and repetitive code, i was see that the AAF corrector make an space here , this is an example below

mytable is a string

switch option
case 1
mytable="Customer "
^
--------------------------^
The error with analysis is here, the AAF leave one space and the
editor cannot recognize the name of the query or table.

That u need is correct with a BACKSPACE inside

mytable="Customer"


An thats all
Posté le 17 octobre 2008 - 14:56
Hi all,
I have done a few test and I hope that can explain more.
PcSoft support said
This file is in use by a process. If it is not the Administrator, you may try to use a process explorer tool in order to find which program is holding the file. Such a tool is available from:


I tried but any of my files are not holding in any program or process.

Another thing is my experience with WebDev which is poor but "Rome wasn't built in a day" so I am learning a lot and I hope you can show me the right way. I should explain everything at the beginning of my post but I didn't realize that will be a huge problem.
So, I am creating a website (online shop). All my data is coming from database. I am using WebDev 12. I've chosen Dynamic Project with AWP. For identification my users I am using global variable created when they are first time connecting to my website. Have a look following code:
gnTime=(TimeSys())
gnDate=(DateSys())
gnSessionID = gnDate+gnTime
ConfigureAWPContext(ctxCookie,ctxIDCookie)
DeclareAWPContext(gnSessionID)
Everything was great, all my users had a unique SessionID but I have a still problem with that analysis. All of my pages were with option "Generation in AWP mode (without context)". When I turned off that option I don't have any problem with my analysis, but every time when I refresh website I have a new sessionID which is unacceptable.
I have checked one example WW_Blogs_AWP. When I opened that example in my browsers (IE7.0, Mozilla 3.0) and tried create new account I have got following error (same as my before) which is very weird.
Member file is read-only. Unable to perform the operation.
- What happened?
file is read-only. Unable to perform the operation.

I am very confused now:
1. Which project will be the best for me?
2. What is the best idea to identify my users?
3. Should I use option "Generation in AWP mode (without context)" ?

If you guys can help me I will appreciate.
BTW
I am going to install WebDev on other machine with Vista instead XP. Will see.
David
Posté le 17 octobre 2008 - 15:18
Hi all,
I have done a few test and I hope that can explain more.
PcSoft support said
This file is in use by a process. If it is not the Administrator, you may try to use a process explorer tool in order to find which program is holding the file. Such a tool is available from :
http://technet.microsoft.com/en-us/sysinternals/default.aspx

I tried but any of my files are not holding in any program or process.

Another thing is my experience with WebDev which is poor but "Rome wasn’t built in a day" so I am learning a lot and I hope you can show me the right way. I should explain everything at the beginning of my post but I didn't realize that will be a huge problem.
So, I am creating a website (online shop). All my data is coming from database. I am using WebDev 12. I've chosen Dynamic Project with AWP. For identification my users I am using global variable created when they are first time connecting to my website. Have a look following code:
gnTime=(TimeSys())
gnDate=(DateSys())
gnSessionID = gnDate+gnTime
ConfigureAWPContext(ctxCookie,ctxIDCookie)
DeclareAWPContext(gnSessionID)
Everything was great, all my users had a unique SessionID but I have a still problem with that analysis. All of my pages were with option "Generation in AWP mode (without context)". When I turned off that option I don't have any problem with my analysis, but every time when I refresh website I have a new sessionID which is unacceptable.
I have checked one example WW_Blogs_AWP. When I opened that example in my browsers (IE7.0, Mozilla 3.0) and tried create new account I have got following error (same as my before) which is very weird.
Member file is read-only. Unable to perform the operation.
- What happened?
file is read-only. Unable to perform the operation.

I am very confused now:
1. Which project will be the best for me?
2. What is the best idea to identify my users?
3. Should I use option "Generation in AWP mode (without context)" ?

If you guys can help me I will appreciate.
BTW
I am going to install WebDev on other machine with Vista instead XP. Will see.
David
Posté le 17 octobre 2008 - 15:19
Hi all,
I have done a few test and I hope that can explain more.
PcSoft support said
This file is in use by a process. If it is not the Administrator, you may try to use a process explorer tool in order to find which program is holding the file. Such a tool is available from :
http://technet.microsoft.com/en-us/sysinternals/default.aspx

I tried but any of my files are not holding in any program or process.

Another thing is my experience with WebDev which is poor but "Rome wasn't built in a day" so I am learning a lot and I hope you can show me the right way. I should explain everything at the beginning of my post but I didn't realize that will be a huge problem.
So, I am creating a website (online shop). All my data is coming from database. I am using WebDev 12. I've chosen Dynamic Project with AWP. For identification my users I am using global variable created when they are first time connecting to my website. Have a look following code:
gnTime=(TimeSys())
gnDate=(DateSys())
gnSessionID = gnDate+gnTime
ConfigureAWPContext(ctxCookie,ctxIDCookie)
DeclareAWPContext(gnSessionID)
Everything was great, all my users had a unique SessionID but I have a still problem with that analysis. All of my pages were with option "Generation in AWP mode (without context)". When I turned off that option I don't have any problem with my analysis, but every time when I refresh website I have a new sessionID which is unacceptable.
I have checked one example WW_Blogs_AWP. When I opened that example in my browsers (IE7.0, Mozilla 3.0) and tried create new account I have got following error (same as my before) which is very weird.
Member file is read-only. Unable to perform the operation.
- What happened?
file is read-only. Unable to perform the operation.

I am very confused now:
1. Which project will be the best for me?
2. What is the best idea to identify my users?
3. Should I use option "Generation in AWP mode (without context)" ?

If you guys can help me I will appreciate.
BTW
I am going to install WebDev on other machine with Vista instead XP. Will see.
David
Posté le 17 octobre 2008 - 15:21
Hi all,
I have done a few test and I hope that can explain more.
PcSoft support said
[color=#FF0000]This file is in use by a process. If it is not the Administrator, you may try to use a process explorer tool in order to find which program is holding the file. Such a tool is available from :
http://technet.microsoft.com/en-us/sysinternals/default.aspx
[/color]
I tried but any of my files are not holding in any program or process.

Another thing is my experience with WebDev which is poor but "Rome wasn’t built in a day" so I am learning a lot and I hope you can show me the right way. I should explain everything at the beginning of my post but I didn't realize that will be a huge problem.
So, I am creating a website (online shop). All my data is coming from database. I am using WebDev 12. I've chosen Dynamic Project with AWP. For identification my users I am using global variable created when they are first time connecting to my website. Have a look following code:
[color=#FF0000]gnTime=(TimeSys())
gnDate=(DateSys())
gnSessionID = gnDate+gnTime
ConfigureAWPContext(ctxCookie,ctxIDCookie)
DeclareAWPContext(gnSessionID)[/color]
Everything was great, all my users had a unique SessionID but I have a still problem with that analysis. All of my pages were with option "Generation in AWP mode (without context)". When I turned off that option I don't have any problem with my analysis, but every time when I refresh website I have a new sessionID which is unacceptable.
I have checked one example WW_Blogs_AWP. When I opened that example in my browsers (IE7.0, Mozilla 3.0) and tried create new account I have got following error (same as my before) which is very weird.
[color=#FF0000]Member file is read-only. Unable to perform the operation.
- What happened?
file is read-only. Unable to perform the operation.[/color]

I am very confused now:
1. Which project will be the best for me?
2. What is the best idea to identify my users?
3. Should I use option "Generation in AWP mode (without context)" ?

If you guys can help me I will appreciate.
BTW
I am going to install WebDev on other machine with Vista instead XP. Will see.
David