cold fusion

I created a small example using a cold fusion shareware editor. I saved the file with a .cfm extension.
When I viewed the file using a MS Personal web server and IE 5, i received a message that access method not allowed.

cold fusion was running and pws was also running. Please tell me what must be the problem.

Thanks
nsbhagwatAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nsbhagwatAuthor Commented:
let me know a good book on coldfusion and a good editor for beginners.

Thanks
0
beregothCommented:
While I guess I am a little confused on exactly what the issue is, Ben Forta is the answer man and can probably help you resolve any problems you may have.  He is also the author of the Cold Fusion Developers book, version 4.0 and used to work for Allaire, so he really knows his stuff.

If I were to hazaard a guess I would say that the cold fusion server does not have a mapping to the web location for the files you created.  Even if you create a virtual directory in PWS, you must notify the CF server of that "alias" for your web site where you will test your page.  I would also question why you are not using the CF studio editor.  It is not that bad and it helps greatly with debugging and testing.

Hope that helps give you a little direction.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
nsbhagwatAuthor Commented:
To Beregoth,

Please clarify how to achieve what you have replied me back.

Thanks
0
beregothCommented:
Sure, in the CF Studio, go to the Debug Menu and select Development Mappings (or do Alt+M)or there is a tool button on the lower tool bar at the bottom of your screen (about the fifth one in that looks like a spreadsheet witha computer on it).

In the interface diaglog that ensues, Identify the Studio and CF Server Path, then the browser path.  Now these are a little misleading.  On a stand alone edition of CF studio and server, you are using PWS but what you actually want to supply for the first two directories is your root path for PWD (usually <drive>:\Inetpub\wwwroot, in my case mine reads E:\InetPub\wwwroot for both these values).

The last path it requires is the browser path.  This is not where you will find IE or Netscapes .EXE file as you might think but the URL prefix to access your server....for example "http://<local computer name>/" is what it is looking for.  Again, for example, mine is "http://DEVPC/".  I believe you could technically use http://localhost/ but I am not sure that is a good idea since even PWS is aware of your local computers name.

Now the values here change if you are using a pro or enterprise edition because your CF Server is actually going to be located elsewhere on a network and your Browser path will need to be different, but I think you get the idea.

Once you have the values filled in, Click the Add button and it should register the location in the list above.  You can also add new mappings via the server administrator but I am left with the impression that these are slightly different mappings used primarily as search paths for classes or graphics, etc.

Hope that helps to clarify and get you up and running.  Oh and by the way, though I am sure you did not overlook this I will remind you anyway...make sure your CF Server has been started since it will be quite impossible to view CF files through a browser (or through studio) if you haven't.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Servers

From novice to tech pro — start learning today.