Link to home
Start Free TrialLog in
Avatar of finnstone
finnstone

asked on

unable to find server message

When i preview my site through dreamweaver it takes me to the login screen and then to my web page that has an inactive flash screen in it.

when i try and go directly to the site through the broswer NOTHING WORKS.

For example, i type in http://localhost/TechTeam/salestool.cfm

The browser tells me it was unable to find my server.

I also tried browsing to some other peoples sites (i downloaded all their stuff into my CFroot) and got the same unable to find server message. their sites work (in fact one was a tutorial site from macromedia.com)

RECAP: This is something fundamental because i can preview a non working version, but cannot even get to anything from the browser, what did i not do?
Avatar of anandkp
anandkp
Flag of India image

chk if u have ur application server started

see if u have got ur connections right

chk up with ur ODBC connections

chk up the path [alias names if given] for ur root directory & see if ur seeeing them right in the browser

if Db connections r right - chk up the DB server & make sure the services for ur DB r also started

chk with IIS services & make sure even they r started for ur project - if they r make sure u have the default document specified in it & it has the right path for the Home directory as well.

let me know

K'Rgds
Anand
Avatar of finnstone
finnstone

ASKER

Can i put cfif inside a function like this ?

<CFCOMPONENT>
     
     <CFFUNCTION access="remote" name="list_vendors" returntype="string" hint="Getting the list of vendors">
               <CFIF IsUserInRole  ("Global") >
            <!--- if this is a manager --->
          <CFSET Contactid = ListFirst(GetAuthUser())>
          <CFSET manager = ListRest(GetAuthUser())>
          <CFQUERY NAME="get_vendors" DATASOURCE="techteams" DBTYPE="ODBC">
               SELECT DISTINCT Vendor_Name FROM qry_screen_output
               WHERE UserRoleName = '#manager#'
               Order by Vendor_Name
          </CFQUERY>
           <CFSET vendors = Valuelist(get_vendors.Vendor_Name)>
          <CFRETURN vendors>
           
            <CFELSE>
            <!--- NOT GLOBAL  --->
          <CFSET Contactid = ListFirst(GetAuthUser())>
          <CFSET acronymn = ListRest(GetAuthUser())>
          <CFQUERY NAME="get_vendors" DATASOURCE="techteams" DBTYPE="ODBC">
               SELECT DISTINCT Vendor_Name FROM qry_screen_output
               WHERE ContactID = #Contactid#
               Order by Vendor_Name
          </CFQUERY>
           
           
          <CFSET vendors = Valuelist(get_vendors.Vendor_Name)>
          <CFRETURN vendors>
            </CFIF> <!--- IF USER IN ROLE  --->
     </CFFUNCTION>
Dear expert(s),

A request has been made to close this Q in CS:
https://www.experts-exchange.com/questions/20607332/pts-back-unresolved-never-figured-it-out-http-www-experts-exchange-com-Web-WebDevSoftware-ColdFusion-Q-20552674-html.html

Without a response in 72 hrs, a moderator will finalize this question by:

 - Saving this Q as a PAQ and refunding the points to the questionner

When you agree or disagree, please add a comment here.

Thank you.

modulo

Community Support Moderator
Experts Exchange
i wonder what relation does the first & the 2nd comment by "finnston" has ???

i replied to the first one & he never came back with that - he posted a totally new one !

dosent help in keeping the thread meaningfull & logical to others who may read this !

I leave it upto u !

PS : finsstone - yes u can use cfif inside a function - thats what its meant for - but pls hence forth, atleast acknowledge the reciept of the comment & post something, so the people trying to help u know the status of it !

K'Rgds
Anand
ANAND THANKS.

the first response was nothing i was not aware of already...that is why i was asking the question

sorry , i posted the 2nd comment in the wrong area. i think i had like 8 active question at that time. i will be more careful
nevermind !
ASKER CERTIFIED SOLUTION
Avatar of modulo
modulo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial