function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Matt FolgerMatt Folger 

Error message when accessing a VF page through Sites

I'm building an app in where, as part of its core functionality, needs to allow remote users that don't work for our company to login to it.  I'm thinking of doing this through Sites because it seems much more secure to do it that way rather than provide them an actual login for our environment (plus we would have to pay for that for each user of the program).  

However, when I try and browse the URL that I've created, it gives me the below error:

URL:  http://sandbox-aimco-global.cs20.force.com/vencorr

Error:  Error message

How am I to get around this?
Best Answer chosen by Matt Folger
Matt FolgerMatt Folger
Same thing.  It would appear that you can't have anything but alphanumeric characters for the suffix.

ERROR:  Error: The Default Web Address must be alphanumeric

All Answers

anil savaliya 11anil savaliya 11
Hey Matt,

You have to create Visualpage and have assign in public access setting in SITE,Please test with url like

http://sandbox-aimco-global.cs20.force.com/apex/vfpage
Matt FolgerMatt Folger
When I try adding "apex/vfpagename" (AKA "apex/Vencorr_Orig_Inq_CSA") as the Site suffix I get the following error:

Error: The Default Web Address must be alphanumeric.
anil savaliya 11anil savaliya 11
Hey Matt,

No Idea What's Wrong ? But You can try  changeing visualforce page label and name like VebcorrOrigIndCSA

Use Url :  http://sandbox-aimco-global.cs20.force.com/apex/VebcorrOrigIndCSA
Matt FolgerMatt Folger
Same thing.  It would appear that you can't have anything but alphanumeric characters for the suffix.

ERROR:  Error: The Default Web Address must be alphanumeric
This was selected as the best answer
Matt FolgerMatt Folger
If I remvoe the "/apex/" section then it saves fine, will that work or is there some reason the "apex" part needs to be in there in your estimation?